diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 6129334beece..de5e5cda7404 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -9093,6 +9093,7 @@ packages: /queue-tick@1.0.1: resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} + requiresBuild: true dev: false /randombytes@2.1.0: @@ -10065,6 +10066,7 @@ packages: /text-decoder@1.1.0: resolution: {integrity: sha512-TmLJNj6UgX8xcUZo4UDStGQtDiTzF7BzWlzn9g7UWrjkpHr5uJTK1ld16wZ3LXb2vb6jH8qU89dW5whuMdXYdw==} + requiresBuild: true dependencies: b4a: 1.6.6 dev: false @@ -12183,7 +12185,7 @@ packages: dev: false file:projects/arm-appservice-1.tgz: - resolution: {integrity: sha512-ty0dMNeEV6BYj7X9wqgW86iHPuaXcM0lAES4/XffcGi7IzZVfuzg0li8Vena/FOmW2SlqDDmxT0/RJNMNnLKaQ==, tarball: file:projects/arm-appservice-1.tgz} + resolution: {integrity: sha512-8W9upLlL0c+2hXQWRdzjqwIROon/FlTt2g3OT+K9IZaUTCnDS9SkkKlbYtI2GJ1YjHl/oD5CLRJF9Cjiigx7Bw==, tarball: file:projects/arm-appservice-1.tgz} name: '@rush-temp/arm-appservice-1' version: 0.0.0 dependencies: @@ -12204,6 +12206,7 @@ packages: rimraf: 5.0.7 ts-node: 10.9.2(@types/node@18.19.33)(typescript@5.4.5) tslib: 2.6.2 + tsx: 4.11.2 typescript: 5.4.5 uglify-js: 3.17.4 transitivePeerDependencies: @@ -20487,7 +20490,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-CZ4O+3xMBbuYtuEUrt9IbfcR6o1hfZz+YOQtftnf14O43qq0PydSH9/1GTPTtwKyDJKCa5R7a8NjJiO9Q1ZOAQ==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-HOn2lenS436bZjX50GxIZ2KXrBHMB9QlGkB1jVyrD+wA32j/yHPpnifF8ILq5DWOGbsJnBAPSyZsWnW3QxG4aA==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: diff --git a/sdk/appservice/arm-appservice/CHANGELOG.md b/sdk/appservice/arm-appservice/CHANGELOG.md index f0a1ea2e7e88..f65b376a500a 100644 --- a/sdk/appservice/arm-appservice/CHANGELOG.md +++ b/sdk/appservice/arm-appservice/CHANGELOG.md @@ -1,15 +1,78 @@ # Release History + +## 15.0.0 (2024-06-06) + +**Features** -## 14.1.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added operation WebApps.createOrUpdateSiteContainer + - Added operation WebApps.createOrUpdateSiteContainerSlot + - Added operation WebApps.deleteSiteContainer + - Added operation WebApps.deleteSiteContainerSlot + - Added operation WebApps.getSiteContainer + - Added operation WebApps.getSiteContainerSlot + - Added operation WebApps.listSiteContainers + - Added operation WebApps.listSiteContainersSlot + - Added Interface EnvironmentVariable + - Added Interface FunctionAppConfig + - Added Interface FunctionsAlwaysReadyConfig + - Added Interface FunctionsDeployment + - Added Interface FunctionsDeploymentStorage + - Added Interface FunctionsDeploymentStorageAuthentication + - Added Interface FunctionsRuntime + - Added Interface FunctionsScaleAndConcurrency + - Added Interface FunctionsScaleAndConcurrencyTriggers + - Added Interface FunctionsScaleAndConcurrencyTriggersHttp + - Added Interface SiteContainer + - Added Interface SiteContainerCollection + - Added Interface SiteDnsConfig + - Added Interface VolumeMount + - Added Interface WebAppsCreateOrUpdateSiteContainerOptionalParams + - Added Interface WebAppsCreateOrUpdateSiteContainerSlotOptionalParams + - Added Interface WebAppsDeleteSiteContainerOptionalParams + - Added Interface WebAppsDeleteSiteContainerSlotOptionalParams + - Added Interface WebAppsGetSiteContainerOptionalParams + - Added Interface WebAppsGetSiteContainerSlotOptionalParams + - Added Interface WebAppsListSiteContainersNextOptionalParams + - Added Interface WebAppsListSiteContainersOptionalParams + - Added Interface WebAppsListSiteContainersSlotNextOptionalParams + - Added Interface WebAppsListSiteContainersSlotOptionalParams + - Added Type Alias AuthenticationType + - Added Type Alias AuthType + - Added Type Alias AzureStorageProtocol + - Added Type Alias FunctionsDeploymentStorageType + - Added Type Alias RuntimeName + - Added Type Alias WebAppsCreateOrUpdateSiteContainerResponse + - Added Type Alias WebAppsCreateOrUpdateSiteContainerSlotResponse + - Added Type Alias WebAppsGetSiteContainerResponse + - Added Type Alias WebAppsGetSiteContainerSlotResponse + - Added Type Alias WebAppsListSiteContainersNextResponse + - Added Type Alias WebAppsListSiteContainersResponse + - Added Type Alias WebAppsListSiteContainersSlotNextResponse + - Added Type Alias WebAppsListSiteContainersSlotResponse + - Interface AzureStorageInfoValue has a new optional parameter protocol + - Interface Site has a new optional parameter dnsConfiguration + - Interface Site has a new optional parameter functionAppConfig + - Interface Site has a new optional parameter vnetBackupRestoreEnabled + - Interface SitePatchResource has a new optional parameter dnsConfiguration + - Added Enum KnownAuthenticationType + - Added Enum KnownAzureStorageProtocol + - Added Enum KnownFunctionsDeploymentStorageType + - Added Enum KnownRuntimeName + - Enum KnownSkuName has a new value FlexConsumption + - Enum KnownSupportedTlsVersions has a new value One3 -### Other Changes +**Breaking Changes** + - Operation AppServiceEnvironments.beginApproveOrRejectPrivateEndpointConnection has a new signature + - Operation AppServiceEnvironments.beginApproveOrRejectPrivateEndpointConnectionAndWait has a new signature + - Operation StaticSites.beginApproveOrRejectPrivateEndpointConnection has a new signature + - Operation StaticSites.beginApproveOrRejectPrivateEndpointConnectionAndWait has a new signature + - Operation WebApps.beginApproveOrRejectPrivateEndpointConnection has a new signature + - Operation WebApps.beginApproveOrRejectPrivateEndpointConnectionAndWait has a new signature + - Operation WebApps.beginApproveOrRejectPrivateEndpointConnectionSlot has a new signature + - Operation WebApps.beginApproveOrRejectPrivateEndpointConnectionSlotAndWait has a new signature + + ## 14.1.0 (2023-11-16) **Features** diff --git a/sdk/appservice/arm-appservice/LICENSE b/sdk/appservice/arm-appservice/LICENSE index 3a1d9b6f24f7..7d5934740965 100644 --- a/sdk/appservice/arm-appservice/LICENSE +++ b/sdk/appservice/arm-appservice/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2023 Microsoft +Copyright (c) 2024 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/appservice/arm-appservice/_meta.json b/sdk/appservice/arm-appservice/_meta.json index 037430affa5e..4e121b8ade81 100644 --- a/sdk/appservice/arm-appservice/_meta.json +++ b/sdk/appservice/arm-appservice/_meta.json @@ -1,8 +1,8 @@ { - "commit": "69ece3818b8b0929b43a07c3fe25716427734882", + "commit": "c705fa2261968d2b0971f9b079b626753f0c1465", "readme": "specification/web/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\web\\resource-manager\\readme.md --use=@autorest/typescript@6.0.12 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/web/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.2", - "use": "@autorest/typescript@6.0.12" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.10", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/package.json b/sdk/appservice/arm-appservice/package.json index e29fe1cc3e50..072569e5d0e9 100644 --- a/sdk/appservice/arm-appservice/package.json +++ b/sdk/appservice/arm-appservice/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for WebSiteManagementClient.", - "version": "14.1.1", + "version": "15.0.0", "engines": { "node": ">=18.0.0" }, @@ -12,8 +12,8 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", - "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.12.0", + "@azure/core-auth": "^1.6.0", + "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, "keywords": [ @@ -37,9 +37,10 @@ "@azure/dev-tool": "^1.0.0", "@azure/identity": "^4.0.1", "@azure-tools/test-recorder": "^3.0.0", - "@azure-tools/test-credential": "^1.0.0", + "@azure-tools/test-credential": "^1.1.0", "mocha": "^10.0.0", "@types/mocha": "^10.0.0", + "tsx": "^4.7.1", "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", @@ -77,7 +78,6 @@ "pack": "npm pack 2>&1", "extract-api": "dev-tool run extract-api", "lint": "echo skipped", - "audit": "echo skipped", "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", "build:browser": "echo skipped", @@ -106,13 +106,5 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appservice?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice" +} \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/review/arm-appservice.api.md b/sdk/appservice/arm-appservice/review/arm-appservice.api.md index 8ed22c31802c..87b0309bc92b 100644 --- a/sdk/appservice/arm-appservice/review/arm-appservice.api.md +++ b/sdk/appservice/arm-appservice/review/arm-appservice.api.md @@ -501,8 +501,8 @@ export interface AppServiceEnvironmentResource extends Resource { // @public export interface AppServiceEnvironments { - beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse>>; - beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise; + beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse>>; + beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise; beginCreateOrUpdate(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentResource, options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams): Promise, AppServiceEnvironmentsCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentResource, options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams): Promise; beginCreateOrUpdateMultiRolePool(resourceGroupName: string, name: string, multiRolePoolEnvelope: WorkerPoolResource, options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams): Promise, AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse>>; @@ -1460,6 +1460,9 @@ export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { readonly windowsOutboundIpAddresses?: string[]; } +// @public +export type AuthenticationType = string; + // @public export interface AuthPlatform { configFilePath?: string; @@ -1467,6 +1470,9 @@ export interface AuthPlatform { runtimeVersion?: string; } +// @public +export type AuthType = "Anonymous" | "UserCredentials" | "SystemIdentity" | "UserAssigned"; + // @public export interface AutoHealActions { actionType?: AutoHealActionType; @@ -1570,6 +1576,7 @@ export interface AzureStorageInfoValue { accessKey?: string; accountName?: string; mountPath?: string; + protocol?: AzureStorageProtocol; shareName?: string; readonly state?: AzureStorageState; type?: AzureStorageType; @@ -1582,6 +1589,9 @@ export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResourc }; } +// @public +export type AzureStorageProtocol = string; + // @public export type AzureStorageState = "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; @@ -3407,6 +3417,12 @@ export interface EnvironmentVar { value?: string; } +// @public (undocumented) +export interface EnvironmentVariable { + name: string; + value: string; +} + // @public export interface ErrorEntity { code?: string; @@ -3543,6 +3559,13 @@ export type FrontEndServiceType = "NodePort" | "LoadBalancer"; // @public export type FtpsState = string; +// @public +export interface FunctionAppConfig { + deployment?: FunctionsDeployment; + runtime?: FunctionsRuntime; + scaleAndConcurrency?: FunctionsScaleAndConcurrency; +} + // @public export interface FunctionAppMajorVersion { readonly displayText?: string; @@ -3623,12 +3646,64 @@ export interface FunctionEnvelopeCollection { value: FunctionEnvelope[]; } +// @public +export interface FunctionsAlwaysReadyConfig { + instanceCount?: number; + name?: string; +} + +// @public +export interface FunctionsDeployment { + storage?: FunctionsDeploymentStorage; +} + +// @public +export interface FunctionsDeploymentStorage { + authentication?: FunctionsDeploymentStorageAuthentication; + type?: FunctionsDeploymentStorageType; + value?: string; +} + +// @public +export interface FunctionsDeploymentStorageAuthentication { + storageAccountConnectionStringName?: string; + type?: AuthenticationType; + userAssignedIdentityResourceId?: string; +} + +// @public +export type FunctionsDeploymentStorageType = string; + // @public export interface FunctionSecrets { key?: string; triggerUrl?: string; } +// @public +export interface FunctionsRuntime { + name?: RuntimeName; + version?: string; +} + +// @public +export interface FunctionsScaleAndConcurrency { + alwaysReady?: FunctionsAlwaysReadyConfig[]; + instanceMemoryMB?: number; + maximumInstanceCount?: number; + triggers?: FunctionsScaleAndConcurrencyTriggers; +} + +// @public +export interface FunctionsScaleAndConcurrencyTriggers { + http?: FunctionsScaleAndConcurrencyTriggersHttp; +} + +// @public +export interface FunctionsScaleAndConcurrencyTriggersHttp { + perInstanceConcurrency?: number; +} + // @public export interface GeoRegion extends ProxyOnlyResource { readonly description?: string; @@ -4046,6 +4121,20 @@ export enum KnownActiveRevisionsMode { Single = "single" } +// @public +export enum KnownAuthenticationType { + StorageAccountConnectionString = "StorageAccountConnectionString", + SystemAssignedIdentity = "SystemAssignedIdentity", + UserAssignedIdentity = "UserAssignedIdentity" +} + +// @public +export enum KnownAzureStorageProtocol { + Http = "Http", + Nfs = "Nfs", + Smb = "Smb" +} + // @public export enum KnownBasicAuthName { Default = "default" @@ -4147,6 +4236,11 @@ export enum KnownFtpsState { FtpsOnly = "FtpsOnly" } +// @public +export enum KnownFunctionsDeploymentStorageType { + BlobContainer = "blobContainer" +} + // @public export enum KnownInAvailabilityReasonType { AlreadyExists = "AlreadyExists", @@ -4278,6 +4372,16 @@ export enum KnownRouteType { Static = "STATIC" } +// @public +export enum KnownRuntimeName { + Custom = "custom", + DotnetIsolated = "dotnet-isolated", + Java = "java", + Node = "node", + Powershell = "powershell", + Python = "python" +} + // @public export enum KnownScmType { BitbucketGit = "BitbucketGit", @@ -4302,6 +4406,7 @@ export enum KnownSkuName { Dynamic = "Dynamic", ElasticIsolated = "ElasticIsolated", ElasticPremium = "ElasticPremium", + FlexConsumption = "FlexConsumption", Free = "Free", Isolated = "Isolated", IsolatedV2 = "IsolatedV2", @@ -4317,7 +4422,8 @@ export enum KnownSkuName { export enum KnownSupportedTlsVersions { One0 = "1.0", One1 = "1.1", - One2 = "1.2" + One2 = "1.2", + One3 = "1.3" } // @public @@ -6030,6 +6136,9 @@ export interface RunCorrelation { clientTrackingId?: string; } +// @public +export type RuntimeName = string; + // @public export interface SampleUtterance { links?: string[]; @@ -6093,9 +6202,11 @@ export interface Site extends Resource { dailyMemoryTimeQuota?: number; daprConfig?: DaprConfig; readonly defaultHostName?: string; + dnsConfiguration?: SiteDnsConfig; enabled?: boolean; readonly enabledHostNames?: string[]; extendedLocation?: ExtendedLocation; + functionAppConfig?: FunctionAppConfig; hostingEnvironmentProfile?: HostingEnvironmentProfile; readonly hostNames?: string[]; hostNamesDisabled?: boolean; @@ -6129,6 +6240,7 @@ export interface Site extends Resource { readonly trafficManagerHostNames?: string[]; readonly usageState?: UsageState; virtualNetworkSubnetId?: string; + vnetBackupRestoreEnabled?: boolean; vnetContentShareEnabled?: boolean; vnetImagePullEnabled?: boolean; vnetRouteAllEnabled?: boolean; @@ -6385,6 +6497,38 @@ export interface SiteConfigurationSnapshotInfoCollection { value: SiteConfigurationSnapshotInfo[]; } +// @public +export interface SiteContainer extends ProxyOnlyResource { + authType?: AuthType; + readonly createdTime?: Date; + environmentVariables?: EnvironmentVariable[]; + image?: string; + isMain?: boolean; + readonly lastModifiedTime?: Date; + passwordSecret?: string; + startUpCommand?: string; + targetPort?: string; + userManagedIdentityClientId?: string; + userName?: string; + volumeMounts?: VolumeMount[]; +} + +// @public +export interface SiteContainerCollection { + readonly nextLink?: string; + value: SiteContainer[]; +} + +// @public (undocumented) +export interface SiteDnsConfig { + dnsAltServer?: string; + readonly dnsLegacySortOrder?: boolean; + dnsMaxCacheTimeout?: number; + dnsRetryAttemptCount?: number; + dnsRetryAttemptTimeout?: number; + dnsServers?: string[]; +} + // @public export interface SiteExtensionInfo extends ProxyOnlyResource { authors?: string[]; @@ -6427,7 +6571,7 @@ export interface SiteLimits { } // @public -export type SiteLoadBalancing = "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin"; +export type SiteLoadBalancing = "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin" | "LeastRequestsWithTieBreaker"; // @public export interface SiteLogsConfig extends ProxyOnlyResource { @@ -6457,6 +6601,7 @@ export interface SitePatchResource extends ProxyOnlyResource { customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; readonly defaultHostName?: string; + dnsConfiguration?: SiteDnsConfig; enabled?: boolean; readonly enabledHostNames?: string[]; hostingEnvironmentProfile?: HostingEnvironmentProfile; @@ -6885,8 +7030,8 @@ export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource // @public export interface StaticSites { - beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse>>; - beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise; + beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse>>; + beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise; beginCreateOrUpdateStaticSite(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams): Promise, StaticSitesCreateOrUpdateStaticSiteResponse>>; beginCreateOrUpdateStaticSiteAndWait(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams): Promise; beginCreateOrUpdateStaticSiteCustomDomain(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams): Promise, StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse>>; @@ -8137,6 +8282,14 @@ export interface VnetValidationTestFailure extends ProxyOnlyResource { testName?: string; } +// @public (undocumented) +export interface VolumeMount { + containerMountPath: string; + data?: string; + readOnly?: boolean; + volumeSubPath: string; +} + // @public export interface WebAppCollection { readonly nextLink?: string; @@ -8195,10 +8348,10 @@ export interface WebApps { applySlotConfigurationSlot(resourceGroupName: string, name: string, slot: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsApplySlotConfigurationSlotOptionalParams): Promise; backup(resourceGroupName: string, name: string, request: BackupRequest, options?: WebAppsBackupOptionalParams): Promise; backupSlot(resourceGroupName: string, name: string, slot: string, request: BackupRequest, options?: WebAppsBackupSlotOptionalParams): Promise; - beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise, WebAppsApproveOrRejectPrivateEndpointConnectionResponse>>; - beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise; - beginApproveOrRejectPrivateEndpointConnectionSlot(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams): Promise, WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse>>; - beginApproveOrRejectPrivateEndpointConnectionSlotAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams): Promise; + beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise, WebAppsApproveOrRejectPrivateEndpointConnectionResponse>>; + beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise; + beginApproveOrRejectPrivateEndpointConnectionSlot(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams): Promise, WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse>>; + beginApproveOrRejectPrivateEndpointConnectionSlotAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams): Promise; beginCreateFunction(resourceGroupName: string, name: string, functionName: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateFunctionOptionalParams): Promise, WebAppsCreateFunctionResponse>>; beginCreateFunctionAndWait(resourceGroupName: string, name: string, functionName: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateFunctionOptionalParams): Promise; beginCreateInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateInstanceFunctionSlotOptionalParams): Promise, WebAppsCreateInstanceFunctionSlotResponse>>; @@ -8286,6 +8439,8 @@ export interface WebApps { createOrUpdatePublicCertificateSlot(resourceGroupName: string, name: string, publicCertificateName: string, slot: string, publicCertificate: PublicCertificate, options?: WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams): Promise; createOrUpdateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: RelayServiceConnectionEntity, options?: WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams): Promise; createOrUpdateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, connectionEnvelope: RelayServiceConnectionEntity, options?: WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams): Promise; + createOrUpdateSiteContainer(resourceGroupName: string, name: string, containerName: string, request: SiteContainer, options?: WebAppsCreateOrUpdateSiteContainerOptionalParams): Promise; + createOrUpdateSiteContainerSlot(resourceGroupName: string, name: string, slot: string, containerName: string, request: SiteContainer, options?: WebAppsCreateOrUpdateSiteContainerSlotOptionalParams): Promise; createOrUpdateSwiftVirtualNetworkConnectionWithCheck(resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams): Promise; createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot(resourceGroupName: string, name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams): Promise; createOrUpdateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: VnetInfoResource, options?: WebAppsCreateOrUpdateVnetConnectionOptionalParams): Promise; @@ -8323,6 +8478,8 @@ export interface WebApps { deletePublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options?: WebAppsDeletePublicCertificateSlotOptionalParams): Promise; deleteRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options?: WebAppsDeleteRelayServiceConnectionOptionalParams): Promise; deleteRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options?: WebAppsDeleteRelayServiceConnectionSlotOptionalParams): Promise; + deleteSiteContainer(resourceGroupName: string, name: string, containerName: string, options?: WebAppsDeleteSiteContainerOptionalParams): Promise; + deleteSiteContainerSlot(resourceGroupName: string, name: string, slot: string, containerName: string, options?: WebAppsDeleteSiteContainerSlotOptionalParams): Promise; deleteSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: WebAppsDeleteSiteExtensionOptionalParams): Promise; deleteSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: WebAppsDeleteSiteExtensionSlotOptionalParams): Promise; deleteSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsDeleteSlotOptionalParams): Promise; @@ -8427,6 +8584,8 @@ export interface WebApps { getScmAllowedSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetScmAllowedSlotOptionalParams): Promise; getSiteConnectionStringKeyVaultReference(resourceGroupName: string, name: string, connectionStringKey: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams): Promise; getSiteConnectionStringKeyVaultReferenceSlot(resourceGroupName: string, name: string, connectionStringKey: string, slot: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams): Promise; + getSiteContainer(resourceGroupName: string, name: string, containerName: string, options?: WebAppsGetSiteContainerOptionalParams): Promise; + getSiteContainerSlot(resourceGroupName: string, name: string, slot: string, containerName: string, options?: WebAppsGetSiteContainerSlotOptionalParams): Promise; getSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: WebAppsGetSiteExtensionOptionalParams): Promise; getSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: WebAppsGetSiteExtensionSlotOptionalParams): Promise; getSitePhpErrorLogFlag(resourceGroupName: string, name: string, options?: WebAppsGetSitePhpErrorLogFlagOptionalParams): Promise; @@ -8527,6 +8686,8 @@ export interface WebApps { listSiteBackupsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSiteBackupsSlotOptionalParams): PagedAsyncIterableIterator; listSiteConnectionStringKeyVaultReferences(resourceGroupName: string, name: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams): PagedAsyncIterableIterator; listSiteConnectionStringKeyVaultReferencesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams): PagedAsyncIterableIterator; + listSiteContainers(resourceGroupName: string, name: string, options?: WebAppsListSiteContainersOptionalParams): PagedAsyncIterableIterator; + listSiteContainersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSiteContainersSlotOptionalParams): PagedAsyncIterableIterator; listSiteExtensions(resourceGroupName: string, name: string, options?: WebAppsListSiteExtensionsOptionalParams): PagedAsyncIterableIterator; listSiteExtensionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSiteExtensionsSlotOptionalParams): PagedAsyncIterableIterator; listSitePushSettings(resourceGroupName: string, name: string, options?: WebAppsListSitePushSettingsOptionalParams): Promise; @@ -8898,6 +9059,20 @@ export type WebAppsCreateOrUpdateRelayServiceConnectionSlotResponse = RelayServi // @public export type WebAppsCreateOrUpdateResponse = Site; +// @public +export interface WebAppsCreateOrUpdateSiteContainerOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsCreateOrUpdateSiteContainerResponse = SiteContainer; + +// @public +export interface WebAppsCreateOrUpdateSiteContainerSlotOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsCreateOrUpdateSiteContainerSlotResponse = SiteContainer; + // @public export interface WebAppsCreateOrUpdateSlotOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -9111,6 +9286,14 @@ export interface WebAppsDeleteRelayServiceConnectionOptionalParams extends coreC export interface WebAppsDeleteRelayServiceConnectionSlotOptionalParams extends coreClient.OperationOptions { } +// @public +export interface WebAppsDeleteSiteContainerOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface WebAppsDeleteSiteContainerSlotOptionalParams extends coreClient.OperationOptions { +} + // @public export interface WebAppsDeleteSiteExtensionOptionalParams extends coreClient.OperationOptions { } @@ -9917,6 +10100,20 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalPar // @public export type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotResponse = ApiKVReferenceCollection; +// @public +export interface WebAppsGetSiteContainerOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsGetSiteContainerResponse = SiteContainer; + +// @public +export interface WebAppsGetSiteContainerSlotOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsGetSiteContainerSlotResponse = SiteContainer; + // @public export interface WebAppsGetSiteExtensionOptionalParams extends coreClient.OperationOptions { } @@ -10929,6 +11126,34 @@ export interface WebAppsListSiteBackupsSlotOptionalParams extends coreClient.Ope // @public export type WebAppsListSiteBackupsSlotResponse = BackupItemCollection; +// @public +export interface WebAppsListSiteContainersNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsListSiteContainersNextResponse = SiteContainerCollection; + +// @public +export interface WebAppsListSiteContainersOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsListSiteContainersResponse = SiteContainerCollection; + +// @public +export interface WebAppsListSiteContainersSlotNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsListSiteContainersSlotNextResponse = SiteContainerCollection; + +// @public +export interface WebAppsListSiteContainersSlotOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsListSiteContainersSlotResponse = SiteContainerCollection; + // @public export interface WebAppsListSiteExtensionsNextOptionalParams extends coreClient.OperationOptions { } diff --git a/sdk/appservice/arm-appservice/src/lroImpl.ts b/sdk/appservice/arm-appservice/src/lroImpl.ts index dd803cd5e28c..b27f5ac7209b 100644 --- a/sdk/appservice/arm-appservice/src/lroImpl.ts +++ b/sdk/appservice/arm-appservice/src/lroImpl.ts @@ -28,15 +28,15 @@ export function createLroSpec(inputs: { sendInitialRequest: () => sendOperationFn(args, spec), sendPollRequest: ( path: string, - options?: { abortSignal?: AbortSignalLike } + options?: { abortSignal?: AbortSignalLike }, ) => { const { requestBody, ...restSpec } = spec; return sendOperationFn(args, { ...restSpec, httpMethod: "GET", path, - abortSignal: options?.abortSignal + abortSignal: options?.abortSignal, }); - } + }, }; } diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts index 98b9222126f5..e949cc245106 100644 --- a/sdk/appservice/arm-appservice/src/models/index.ts +++ b/sdk/appservice/arm-appservice/src/models/index.ts @@ -862,6 +862,24 @@ export interface HostNameSslState { hostType?: HostType; } +export interface SiteDnsConfig { + /** List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set. */ + dnsServers?: string[]; + /** Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting. */ + dnsAltServer?: string; + /** Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3. */ + dnsRetryAttemptTimeout?: number; + /** Total number of retries for dns lookup. Allowed range: 1-5. Default is 3. */ + dnsRetryAttemptCount?: number; + /** Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled. */ + dnsMaxCacheTimeout?: number; + /** + * Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dnsLegacySortOrder?: boolean; +} + /** Configuration of an App Service app. */ export interface SiteConfig { /** Number of workers. */ @@ -1314,6 +1332,84 @@ export interface AzureStorageInfoValue { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly state?: AzureStorageState; + /** Mounting protocol to use for the storage account. */ + protocol?: AzureStorageProtocol; +} + +/** Function app configuration. */ +export interface FunctionAppConfig { + /** Function app deployment configuration. */ + deployment?: FunctionsDeployment; + /** Function app runtime settings. */ + runtime?: FunctionsRuntime; + /** Function app scale and concurrency settings. */ + scaleAndConcurrency?: FunctionsScaleAndConcurrency; +} + +/** Configuration section for the function app deployment. */ +export interface FunctionsDeployment { + /** Storage for deployed package used by the function app. */ + storage?: FunctionsDeploymentStorage; +} + +/** Storage for deployed package used by the function app. */ +export interface FunctionsDeploymentStorage { + /** Property to select Azure Storage type. Available options: blobContainer. */ + type?: FunctionsDeploymentStorageType; + /** Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://.blob.core.windows.net/. */ + value?: string; + /** Authentication method to access the storage account for deployment. */ + authentication?: FunctionsDeploymentStorageAuthentication; +} + +/** Authentication method to access the storage account for deployment. */ +export interface FunctionsDeploymentStorageAuthentication { + /** Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString. */ + type?: AuthenticationType; + /** Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type. */ + userAssignedIdentityResourceId?: string; + /** Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type. */ + storageAccountConnectionStringName?: string; +} + +/** Function app runtime name and version. */ +export interface FunctionsRuntime { + /** Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom */ + name?: RuntimeName; + /** Function app runtime version. Example: 8 (for dotnet-isolated) */ + version?: string; +} + +/** Scale and concurrency settings for the function app. */ +export interface FunctionsScaleAndConcurrency { + /** 'Always Ready' configuration for the function app. */ + alwaysReady?: FunctionsAlwaysReadyConfig[]; + /** The maximum number of instances for the function app. */ + maximumInstanceCount?: number; + /** Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally. */ + instanceMemoryMB?: number; + /** Scale and concurrency settings for the function app triggers. */ + triggers?: FunctionsScaleAndConcurrencyTriggers; +} + +/** Sets the number of 'Always Ready' instances for a function group or a specific function. */ +export interface FunctionsAlwaysReadyConfig { + /** Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready. */ + name?: string; + /** Sets the number of 'Always Ready' instances for a given function group or a specific function. For additional information see https://aka.ms/flexconsumption/alwaysready. */ + instanceCount?: number; +} + +/** Scale and concurrency settings for the function app triggers. */ +export interface FunctionsScaleAndConcurrencyTriggers { + /** Scale and concurrency settings for the HTTP trigger. */ + http?: FunctionsScaleAndConcurrencyTriggersHttp; +} + +/** Scale and concurrency settings for the HTTP trigger. */ +export interface FunctionsScaleAndConcurrencyTriggersHttp { + /** The maximum number of concurrent HTTP trigger invocations per instance. */ + perInstanceConcurrency?: number; } /** App Dapr configuration. */ @@ -4253,6 +4349,35 @@ export interface SnapshotRecoverySource { id?: string; } +/** Collection of site containers */ +export interface SiteContainerCollection { + /** Collection of resources. */ + value: SiteContainer[]; + /** + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +export interface VolumeMount { + /** Sub path in the volume where volume is mounted from. */ + volumeSubPath: string; + /** Target path on the container where volume is mounted on */ + containerMountPath: string; + /** Config Data to be mounted on the volume */ + data?: string; + /** Boolean to specify if the mount is read only on the container */ + readOnly?: boolean; +} + +export interface EnvironmentVariable { + /** Environment variable name */ + name: string; + /** Environment variable value */ + value: string; +} + /** Collection of Kudu site extension information elements. */ export interface SiteExtensionInfoCollection { /** Collection of resources. */ @@ -5307,14 +5432,20 @@ export interface Site extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastModifiedTimeUtc?: Date; + /** Property to configure various DNS related settings for a site. */ + dnsConfiguration?: SiteDnsConfig; /** Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. */ vnetRouteAllEnabled?: boolean; /** To enable pulling image over Virtual Network */ vnetImagePullEnabled?: boolean; /** To enable accessing content over virtual network */ vnetContentShareEnabled?: boolean; + /** To enable Backup and Restore operations over virtual network */ + vnetBackupRestoreEnabled?: boolean; /** Configuration of the app. */ siteConfig?: SiteConfig; + /** Configuration specific of the Azure Function app. */ + functionAppConfig?: FunctionAppConfig; /** Dapr configuration of the app. */ daprConfig?: DaprConfig; /** Workload profile name for function app to execute on. */ @@ -6249,13 +6380,6 @@ export interface RemotePrivateEndpointConnectionARMResource ipAddresses?: string[]; } -/** Private Endpoint Connection Approval ARM resource. */ -export interface PrivateLinkConnectionApprovalRequestResource - extends ProxyOnlyResource { - /** The state of a private link connection */ - privateLinkServiceConnectionState?: PrivateLinkConnectionState; -} - /** ARM resource for a app service plan. */ export interface AppServicePlanPatchResource extends ProxyOnlyResource { /** Target worker tier assigned to the App Service plan. */ @@ -7455,6 +7579,8 @@ export interface SitePatchResource extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastModifiedTimeUtc?: Date; + /** Property to configure various DNS related settings for a site. */ + dnsConfiguration?: SiteDnsConfig; /** Configuration of the app. */ siteConfig?: SiteConfig; /** @@ -8680,6 +8806,40 @@ export interface SnapshotRestoreRequest extends ProxyOnlyResource { useDRSecondary?: boolean; } +/** Container of a site */ +export interface SiteContainer extends ProxyOnlyResource { + /** Image Name */ + image?: string; + /** Target Port */ + targetPort?: string; + /** true if the container is the main site container; false otherwise. */ + isMain?: boolean; + /** StartUp Command */ + startUpCommand?: string; + /** Auth Type */ + authType?: AuthType; + /** User Name */ + userName?: string; + /** Password Secret */ + passwordSecret?: string; + /** UserManagedIdentity ClientId */ + userManagedIdentityClientId?: string; + /** + * Created Time + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdTime?: Date; + /** + * Last Modified Time + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastModifiedTime?: Date; + /** List of volume mounts */ + volumeMounts?: VolumeMount[]; + /** List of environment variables */ + environmentVariables?: EnvironmentVariable[]; +} + /** Site Extension Information. */ export interface SiteExtensionInfo extends ProxyOnlyResource { /** Site extension ID. */ @@ -8832,6 +8992,13 @@ export interface WebJob extends ProxyOnlyResource { settings?: { [propertyName: string]: Record }; } +/** Private Endpoint Connection Approval ARM resource. */ +export interface PrivateLinkConnectionApprovalRequestResource + extends ProxyOnlyResource { + /** The state of a private link connection */ + privateLinkServiceConnectionState?: PrivateLinkConnectionState; +} + /** The workflow output parameter. */ export interface WorkflowOutputParameter extends WorkflowParameter { /** @@ -9337,7 +9504,7 @@ export enum KnownResourceNotRenewableReason { /** ExpirationNotInRenewalTimeRange */ ExpirationNotInRenewalTimeRange = "ExpirationNotInRenewalTimeRange", /** SubscriptionNotActive */ - SubscriptionNotActive = "SubscriptionNotActive" + SubscriptionNotActive = "SubscriptionNotActive", } /** @@ -9360,7 +9527,7 @@ export enum KnownLoadBalancingMode { /** Publishing */ Publishing = "Publishing", /** WebPublishing */ - WebPublishing = "Web, Publishing" + WebPublishing = "Web, Publishing", } /** @@ -9384,7 +9551,7 @@ export enum KnownUpgradePreference { /** This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early' */ Late = "Late", /** ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for the upgrade to be manually initiated. After 10 days the upgrade will begin automatically */ - Manual = "Manual" + Manual = "Manual", } /** @@ -9404,7 +9571,7 @@ export enum KnownUpgradeAvailability { /** No upgrade is currently available for this App Service Environment */ None = "None", /** An upgrade is ready to be manually initiated on this App Service Environment */ - Ready = "Ready" + Ready = "Ready", } /** @@ -9446,7 +9613,7 @@ export enum KnownScmType { /** VSO */ VSO = "VSO", /** Vstsrm */ - Vstsrm = "VSTSRM" + Vstsrm = "VSTSRM", } /** @@ -9478,7 +9645,7 @@ export enum KnownIpFilterTag { /** XffProxy */ XffProxy = "XffProxy", /** ServiceTag */ - ServiceTag = "ServiceTag" + ServiceTag = "ServiceTag", } /** @@ -9497,7 +9664,7 @@ export enum KnownDefaultAction { /** Allow */ Allow = "Allow", /** Deny */ - Deny = "Deny" + Deny = "Deny", } /** @@ -9517,7 +9684,9 @@ export enum KnownSupportedTlsVersions { /** One1 */ One1 = "1.1", /** One2 */ - One2 = "1.2" + One2 = "1.2", + /** One3 */ + One3 = "1.3", } /** @@ -9527,7 +9696,8 @@ export enum KnownSupportedTlsVersions { * ### Known values supported by the service * **1.0** \ * **1.1** \ - * **1.2** + * **1.2** \ + * **1.3** */ export type SupportedTlsVersions = string; @@ -9566,7 +9736,7 @@ export enum KnownTlsCipherSuites { /** TLSRSAWithAES256CBCSHA */ TLSRSAWithAES256CBCSHA = "TLS_RSA_WITH_AES_256_CBC_SHA", /** TLSRSAWithAES128CBCSHA */ - TLSRSAWithAES128CBCSHA = "TLS_RSA_WITH_AES_128_CBC_SHA" + TLSRSAWithAES128CBCSHA = "TLS_RSA_WITH_AES_128_CBC_SHA", } /** @@ -9601,7 +9771,7 @@ export enum KnownFtpsState { /** FtpsOnly */ FtpsOnly = "FtpsOnly", /** Disabled */ - Disabled = "Disabled" + Disabled = "Disabled", } /** @@ -9615,6 +9785,93 @@ export enum KnownFtpsState { */ export type FtpsState = string; +/** Known values of {@link AzureStorageProtocol} that the service accepts. */ +export enum KnownAzureStorageProtocol { + /** Smb */ + Smb = "Smb", + /** Http */ + Http = "Http", + /** Nfs */ + Nfs = "Nfs", +} + +/** + * Defines values for AzureStorageProtocol. \ + * {@link KnownAzureStorageProtocol} can be used interchangeably with AzureStorageProtocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Smb** \ + * **Http** \ + * **Nfs** + */ +export type AzureStorageProtocol = string; + +/** Known values of {@link FunctionsDeploymentStorageType} that the service accepts. */ +export enum KnownFunctionsDeploymentStorageType { + /** BlobContainer */ + BlobContainer = "blobContainer", +} + +/** + * Defines values for FunctionsDeploymentStorageType. \ + * {@link KnownFunctionsDeploymentStorageType} can be used interchangeably with FunctionsDeploymentStorageType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **blobContainer** + */ +export type FunctionsDeploymentStorageType = string; + +/** Known values of {@link AuthenticationType} that the service accepts. */ +export enum KnownAuthenticationType { + /** SystemAssignedIdentity */ + SystemAssignedIdentity = "SystemAssignedIdentity", + /** UserAssignedIdentity */ + UserAssignedIdentity = "UserAssignedIdentity", + /** StorageAccountConnectionString */ + StorageAccountConnectionString = "StorageAccountConnectionString", +} + +/** + * Defines values for AuthenticationType. \ + * {@link KnownAuthenticationType} can be used interchangeably with AuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SystemAssignedIdentity** \ + * **UserAssignedIdentity** \ + * **StorageAccountConnectionString** + */ +export type AuthenticationType = string; + +/** Known values of {@link RuntimeName} that the service accepts. */ +export enum KnownRuntimeName { + /** DotnetIsolated */ + DotnetIsolated = "dotnet-isolated", + /** Node */ + Node = "node", + /** Java */ + Java = "java", + /** Powershell */ + Powershell = "powershell", + /** Python */ + Python = "python", + /** Custom */ + Custom = "custom", +} + +/** + * Defines values for RuntimeName. \ + * {@link KnownRuntimeName} can be used interchangeably with RuntimeName, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **dotnet-isolated** \ + * **node** \ + * **java** \ + * **powershell** \ + * **python** \ + * **custom** + */ +export type RuntimeName = string; + /** Known values of {@link DaprLogLevel} that the service accepts. */ export enum KnownDaprLogLevel { /** Info */ @@ -9624,7 +9881,7 @@ export enum KnownDaprLogLevel { /** Warn */ Warn = "warn", /** Error */ - Error = "error" + Error = "error", } /** @@ -9646,7 +9903,7 @@ export enum KnownRouteType { /** Inherited */ Inherited = "INHERITED", /** Static */ - Static = "STATIC" + Static = "STATIC", } /** @@ -9669,7 +9926,7 @@ export enum KnownContainerAppProvisioningState { /** Failed */ Failed = "Failed", /** Canceled */ - Canceled = "Canceled" + Canceled = "Canceled", } /** @@ -9689,7 +9946,7 @@ export enum KnownActiveRevisionsMode { /** Multiple */ Multiple = "multiple", /** Single */ - Single = "single" + Single = "single", } /** @@ -9709,7 +9966,7 @@ export enum KnownIngressTransportMethod { /** Http */ Http = "http", /** Http2 */ - Http2 = "http2" + Http2 = "http2", } /** @@ -9730,7 +9987,7 @@ export enum KnownRevisionHealthState { /** Unhealthy */ Unhealthy = "Unhealthy", /** None */ - None = "None" + None = "None", } /** @@ -9755,7 +10012,7 @@ export enum KnownRevisionProvisioningState { /** Deprovisioning */ Deprovisioning = "Deprovisioning", /** Deprovisioned */ - Deprovisioned = "Deprovisioned" + Deprovisioned = "Deprovisioned", } /** @@ -9782,7 +10039,7 @@ export enum KnownProviderOsTypeSelected { /** LinuxFunctions */ LinuxFunctions = "LinuxFunctions", /** All */ - All = "All" + All = "All", } /** @@ -9805,7 +10062,7 @@ export enum KnownProviderStackOsType { /** Linux */ Linux = "Linux", /** All */ - All = "All" + All = "All", } /** @@ -9826,7 +10083,7 @@ export enum KnownResourceScopeType { /** Subscription */ Subscription = "Subscription", /** WebSite */ - WebSite = "WebSite" + WebSite = "WebSite", } /** @@ -9857,7 +10114,7 @@ export enum KnownCheckNameResourceTypes { /** MicrosoftWebHostingEnvironments */ MicrosoftWebHostingEnvironments = "Microsoft.Web/hostingEnvironments", /** MicrosoftWebPublishingUsers */ - MicrosoftWebPublishingUsers = "Microsoft.Web/publishingUsers" + MicrosoftWebPublishingUsers = "Microsoft.Web/publishingUsers", } /** @@ -9881,7 +10138,7 @@ export enum KnownInAvailabilityReasonType { /** Invalid */ Invalid = "Invalid", /** AlreadyExists */ - AlreadyExists = "AlreadyExists" + AlreadyExists = "AlreadyExists", } /** @@ -9921,7 +10178,9 @@ export enum KnownSkuName { /** ElasticPremium */ ElasticPremium = "ElasticPremium", /** ElasticIsolated */ - ElasticIsolated = "ElasticIsolated" + ElasticIsolated = "ElasticIsolated", + /** FlexConsumption */ + FlexConsumption = "FlexConsumption", } /** @@ -9941,7 +10200,8 @@ export enum KnownSkuName { * **PremiumV3** \ * **PremiumContainer** \ * **ElasticPremium** \ - * **ElasticIsolated** + * **ElasticIsolated** \ + * **FlexConsumption** */ export type SkuName = string; @@ -9952,7 +10212,7 @@ export enum KnownValidateResourceTypes { /** Site */ Site = "Site", /** MicrosoftWebHostingEnvironments */ - MicrosoftWebHostingEnvironments = "Microsoft.Web/hostingEnvironments" + MicrosoftWebHostingEnvironments = "Microsoft.Web/hostingEnvironments", } /** @@ -9975,7 +10235,7 @@ export enum KnownEnterpriseGradeCdnStatus { /** Disabled */ Disabled = "Disabled", /** Disabling */ - Disabling = "Disabling" + Disabling = "Disabling", } /** @@ -10005,7 +10265,7 @@ export enum KnownBuildStatus { /** Deleting */ Deleting = "Deleting", /** Detached */ - Detached = "Detached" + Detached = "Detached", } /** @@ -10028,7 +10288,7 @@ export enum KnownTriggerTypes { /** HttpTrigger */ HttpTrigger = "HttpTrigger", /** Unknown */ - Unknown = "Unknown" + Unknown = "Unknown", } /** @@ -10044,7 +10304,7 @@ export type TriggerTypes = string; /** Known values of {@link BasicAuthName} that the service accepts. */ export enum KnownBasicAuthName { /** Default */ - Default = "default" + Default = "default", } /** @@ -10071,7 +10331,7 @@ export enum KnownCustomDomainStatus { /** Deleting */ Deleting = "Deleting", /** Unhealthy */ - Unhealthy = "Unhealthy" + Unhealthy = "Unhealthy", } /** @@ -10098,7 +10358,7 @@ export enum KnownDatabaseType { /** LocalMySql */ LocalMySql = "LocalMySql", /** PostgreSql */ - PostgreSql = "PostgreSql" + PostgreSql = "PostgreSql", } /** @@ -10140,7 +10400,7 @@ export enum KnownDeploymentBuildStatus { /** RuntimeStarting */ RuntimeStarting = "RuntimeStarting", /** RuntimeSuccessful */ - RuntimeSuccessful = "RuntimeSuccessful" + RuntimeSuccessful = "RuntimeSuccessful", } /** @@ -10171,7 +10431,7 @@ export enum KnownPublishingProfileFormat { /** WebDeploy */ WebDeploy = "WebDeploy", /** Ftp */ - Ftp = "Ftp" + Ftp = "Ftp", } /** @@ -10198,7 +10458,7 @@ export enum KnownWorkflowState { /** Deleted */ Deleted = "Deleted", /** Suspended */ - Suspended = "Suspended" + Suspended = "Suspended", } /** @@ -10222,7 +10482,7 @@ export enum KnownKeyType { /** Primary */ Primary = "Primary", /** Secondary */ - Secondary = "Secondary" + Secondary = "Secondary", } /** @@ -10263,7 +10523,7 @@ export enum KnownWorkflowStatus { /** Aborted */ Aborted = "Aborted", /** Ignored */ - Ignored = "Ignored" + Ignored = "Ignored", } /** @@ -10306,7 +10566,7 @@ export enum KnownParameterType { /** Object */ Object = "Object", /** SecureObject */ - SecureObject = "SecureObject" + SecureObject = "SecureObject", } /** @@ -10363,7 +10623,7 @@ export enum KnownWorkflowTriggerProvisioningState { /** Unregistered */ Unregistered = "Unregistered", /** Completed */ - Completed = "Completed" + Completed = "Completed", } /** @@ -10409,7 +10669,7 @@ export enum KnownRecurrenceFrequency { /** Month */ Month = "Month", /** Year */ - Year = "Year" + Year = "Year", } /** @@ -10473,7 +10733,7 @@ export enum KnownWorkflowProvisioningState { /** Waiting */ Waiting = "Waiting", /** InProgress */ - InProgress = "InProgress" + InProgress = "InProgress", } /** @@ -10509,7 +10769,7 @@ export type WorkflowProvisioningState = string; /** Known values of {@link OpenAuthenticationProviderType} that the service accepts. */ export enum KnownOpenAuthenticationProviderType { /** AAD */ - AAD = "AAD" + AAD = "AAD", } /** @@ -10534,7 +10794,7 @@ export enum KnownWorkflowSkuName { /** Standard */ Standard = "Standard", /** Premium */ - Premium = "Premium" + Premium = "Premium", } /** @@ -10556,7 +10816,7 @@ export enum KnownKind { /** Stateful */ Stateful = "Stateful", /** Stateless */ - Stateless = "Stateless" + Stateless = "Stateless", } /** @@ -10750,7 +11010,8 @@ export type SiteLoadBalancing = | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" - | "PerSiteRoundRobin"; + | "PerSiteRoundRobin" + | "LeastRequestsWithTieBreaker"; /** Defines values for AutoHealActionType. */ export type AutoHealActionType = "Recycle" | "LogEvent" | "CustomAction"; /** Defines values for AzureStorageType. */ @@ -10933,6 +11194,12 @@ export type PublicCertificateLocation = | "CurrentUserMy" | "LocalMachineMy" | "Unknown"; +/** Defines values for AuthType. */ +export type AuthType = + | "Anonymous" + | "UserCredentials" + | "SystemIdentity" + | "UserAssigned"; /** Defines values for SiteExtensionType. */ export type SiteExtensionType = "Gallery" | "WebRoot"; /** Defines values for TriggeredWebJobStatus. */ @@ -10967,7 +11234,8 @@ export interface AppServiceCertificateOrdersListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type AppServiceCertificateOrdersListResponse = AppServiceCertificateOrderCollection; +export type AppServiceCertificateOrdersListResponse = + AppServiceCertificateOrderCollection; /** Optional parameters. */ export interface AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams @@ -10978,7 +11246,8 @@ export interface AppServiceCertificateOrdersListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type AppServiceCertificateOrdersListByResourceGroupResponse = AppServiceCertificateOrderCollection; +export type AppServiceCertificateOrdersListByResourceGroupResponse = + AppServiceCertificateOrderCollection; /** Optional parameters. */ export interface AppServiceCertificateOrdersGetOptionalParams @@ -10997,7 +11266,8 @@ export interface AppServiceCertificateOrdersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type AppServiceCertificateOrdersCreateOrUpdateResponse = AppServiceCertificateOrder; +export type AppServiceCertificateOrdersCreateOrUpdateResponse = + AppServiceCertificateOrder; /** Optional parameters. */ export interface AppServiceCertificateOrdersDeleteOptionalParams @@ -11008,21 +11278,24 @@ export interface AppServiceCertificateOrdersUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type AppServiceCertificateOrdersUpdateResponse = AppServiceCertificateOrder; +export type AppServiceCertificateOrdersUpdateResponse = + AppServiceCertificateOrder; /** Optional parameters. */ export interface AppServiceCertificateOrdersListCertificatesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listCertificates operation. */ -export type AppServiceCertificateOrdersListCertificatesResponse = AppServiceCertificateCollection; +export type AppServiceCertificateOrdersListCertificatesResponse = + AppServiceCertificateCollection; /** Optional parameters. */ export interface AppServiceCertificateOrdersGetCertificateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getCertificate operation. */ -export type AppServiceCertificateOrdersGetCertificateResponse = AppServiceCertificateResource; +export type AppServiceCertificateOrdersGetCertificateResponse = + AppServiceCertificateResource; /** Optional parameters. */ export interface AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams @@ -11034,7 +11307,8 @@ export interface AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalPar } /** Contains response data for the createOrUpdateCertificate operation. */ -export type AppServiceCertificateOrdersCreateOrUpdateCertificateResponse = AppServiceCertificateResource; +export type AppServiceCertificateOrdersCreateOrUpdateCertificateResponse = + AppServiceCertificateResource; /** Optional parameters. */ export interface AppServiceCertificateOrdersDeleteCertificateOptionalParams @@ -11045,7 +11319,8 @@ export interface AppServiceCertificateOrdersUpdateCertificateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateCertificate operation. */ -export type AppServiceCertificateOrdersUpdateCertificateResponse = AppServiceCertificateResource; +export type AppServiceCertificateOrdersUpdateCertificateResponse = + AppServiceCertificateResource; /** Optional parameters. */ export interface AppServiceCertificateOrdersReissueOptionalParams @@ -11079,42 +11354,48 @@ export interface AppServiceCertificateOrdersRetrieveCertificateActionsOptionalPa extends coreClient.OperationOptions {} /** Contains response data for the retrieveCertificateActions operation. */ -export type AppServiceCertificateOrdersRetrieveCertificateActionsResponse = CertificateOrderAction[]; +export type AppServiceCertificateOrdersRetrieveCertificateActionsResponse = + CertificateOrderAction[]; /** Optional parameters. */ export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the retrieveCertificateEmailHistory operation. */ -export type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse = CertificateEmail[]; +export type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse = + CertificateEmail[]; /** Optional parameters. */ export interface AppServiceCertificateOrdersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type AppServiceCertificateOrdersListNextResponse = AppServiceCertificateOrderCollection; +export type AppServiceCertificateOrdersListNextResponse = + AppServiceCertificateOrderCollection; /** Optional parameters. */ export interface AppServiceCertificateOrdersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type AppServiceCertificateOrdersListByResourceGroupNextResponse = AppServiceCertificateOrderCollection; +export type AppServiceCertificateOrdersListByResourceGroupNextResponse = + AppServiceCertificateOrderCollection; /** Optional parameters. */ export interface AppServiceCertificateOrdersListCertificatesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listCertificatesNext operation. */ -export type AppServiceCertificateOrdersListCertificatesNextResponse = AppServiceCertificateCollection; +export type AppServiceCertificateOrdersListCertificatesNextResponse = + AppServiceCertificateCollection; /** Optional parameters. */ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listAppServiceCertificateOrderDetectorResponse operation. */ -export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseResponse = DetectorResponseCollection; +export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams @@ -11128,28 +11409,48 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect } /** Contains response data for the getAppServiceCertificateOrderDetectorResponse operation. */ -export type CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse = DetectorResponse; +export type CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse = + DetectorResponse; /** Optional parameters. */ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listAppServiceCertificateOrderDetectorResponseNext operation. */ -export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextResponse = DetectorResponseCollection; +export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface CertificateRegistrationProviderListOperationsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listOperations operation. */ -export type CertificateRegistrationProviderListOperationsResponse = CsmOperationCollection; +export type CertificateRegistrationProviderListOperationsResponse = + CsmOperationCollection; /** Optional parameters. */ export interface CertificateRegistrationProviderListOperationsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listOperationsNext operation. */ -export type CertificateRegistrationProviderListOperationsNextResponse = CsmOperationCollection; +export type CertificateRegistrationProviderListOperationsNextResponse = + CsmOperationCollection; + +/** Optional parameters. */ +export interface DomainRegistrationProviderListOperationsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listOperations operation. */ +export type DomainRegistrationProviderListOperationsResponse = + CsmOperationCollection; + +/** Optional parameters. */ +export interface DomainRegistrationProviderListOperationsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listOperationsNext operation. */ +export type DomainRegistrationProviderListOperationsNextResponse = + CsmOperationCollection; /** Optional parameters. */ export interface DomainsCheckAvailabilityOptionalParams @@ -11170,7 +11471,8 @@ export interface DomainsGetControlCenterSsoRequestOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getControlCenterSsoRequest operation. */ -export type DomainsGetControlCenterSsoRequestResponse = DomainControlCenterSsoRequest; +export type DomainsGetControlCenterSsoRequestResponse = + DomainControlCenterSsoRequest; /** Optional parameters. */ export interface DomainsListRecommendationsOptionalParams @@ -11223,7 +11525,8 @@ export interface DomainsListOwnershipIdentifiersOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listOwnershipIdentifiers operation. */ -export type DomainsListOwnershipIdentifiersResponse = DomainOwnershipIdentifierCollection; +export type DomainsListOwnershipIdentifiersResponse = + DomainOwnershipIdentifierCollection; /** Optional parameters. */ export interface DomainsGetOwnershipIdentifierOptionalParams @@ -11237,7 +11540,8 @@ export interface DomainsCreateOrUpdateOwnershipIdentifierOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateOwnershipIdentifier operation. */ -export type DomainsCreateOrUpdateOwnershipIdentifierResponse = DomainOwnershipIdentifier; +export type DomainsCreateOrUpdateOwnershipIdentifierResponse = + DomainOwnershipIdentifier; /** Optional parameters. */ export interface DomainsDeleteOwnershipIdentifierOptionalParams @@ -11248,7 +11552,8 @@ export interface DomainsUpdateOwnershipIdentifierOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateOwnershipIdentifier operation. */ -export type DomainsUpdateOwnershipIdentifierResponse = DomainOwnershipIdentifier; +export type DomainsUpdateOwnershipIdentifierResponse = + DomainOwnershipIdentifier; /** Optional parameters. */ export interface DomainsRenewOptionalParams @@ -11287,7 +11592,8 @@ export interface DomainsListOwnershipIdentifiersNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listOwnershipIdentifiersNext operation. */ -export type DomainsListOwnershipIdentifiersNextResponse = DomainOwnershipIdentifierCollection; +export type DomainsListOwnershipIdentifiersNextResponse = + DomainOwnershipIdentifierCollection; /** Optional parameters. */ export interface TopLevelDomainsListOptionalParams @@ -11322,35 +11628,24 @@ export interface TopLevelDomainsListAgreementsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listAgreementsNext operation. */ -export type TopLevelDomainsListAgreementsNextResponse = TldLegalAgreementCollection; - -/** Optional parameters. */ -export interface DomainRegistrationProviderListOperationsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listOperations operation. */ -export type DomainRegistrationProviderListOperationsResponse = CsmOperationCollection; - -/** Optional parameters. */ -export interface DomainRegistrationProviderListOperationsNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listOperationsNext operation. */ -export type DomainRegistrationProviderListOperationsNextResponse = CsmOperationCollection; +export type TopLevelDomainsListAgreementsNextResponse = + TldLegalAgreementCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type AppServiceEnvironmentsListResponse = AppServiceEnvironmentCollection; +export type AppServiceEnvironmentsListResponse = + AppServiceEnvironmentCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type AppServiceEnvironmentsListByResourceGroupResponse = AppServiceEnvironmentCollection; +export type AppServiceEnvironmentsListByResourceGroupResponse = + AppServiceEnvironmentCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetOptionalParams @@ -11369,7 +11664,8 @@ export interface AppServiceEnvironmentsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type AppServiceEnvironmentsCreateOrUpdateResponse = AppServiceEnvironmentResource; +export type AppServiceEnvironmentsCreateOrUpdateResponse = + AppServiceEnvironmentResource; /** Optional parameters. */ export interface AppServiceEnvironmentsDeleteOptionalParams @@ -11387,14 +11683,16 @@ export interface AppServiceEnvironmentsUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type AppServiceEnvironmentsUpdateResponse = AppServiceEnvironmentResource; +export type AppServiceEnvironmentsUpdateResponse = + AppServiceEnvironmentResource; /** Optional parameters. */ export interface AppServiceEnvironmentsListCapacitiesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listCapacities operation. */ -export type AppServiceEnvironmentsListCapacitiesResponse = StampCapacityCollection; +export type AppServiceEnvironmentsListCapacitiesResponse = + StampCapacityCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetVipInfoOptionalParams @@ -11420,66 +11718,72 @@ export interface AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptiona extends coreClient.OperationOptions {} /** Contains response data for the getAseCustomDnsSuffixConfiguration operation. */ -export type AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationResponse = CustomDnsSuffixConfiguration; +export type AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationResponse = + CustomDnsSuffixConfiguration; /** Optional parameters. */ export interface AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateAseCustomDnsSuffixConfiguration operation. */ -export type AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationResponse = CustomDnsSuffixConfiguration; +export type AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationResponse = + CustomDnsSuffixConfiguration; /** Optional parameters. */ export interface AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the deleteAseCustomDnsSuffixConfiguration operation. */ -export type AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationResponse = Record< - string, - unknown ->; +export type AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationResponse = + Record; /** Optional parameters. */ export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getAseV3NetworkingConfiguration operation. */ -export type AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse = AseV3NetworkingConfiguration; +export type AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse = + AseV3NetworkingConfiguration; /** Optional parameters. */ export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateAseNetworkingConfiguration operation. */ -export type AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse = AseV3NetworkingConfiguration; +export type AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse = + AseV3NetworkingConfiguration; /** Optional parameters. */ export interface AppServiceEnvironmentsListDiagnosticsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listDiagnostics operation. */ -export type AppServiceEnvironmentsListDiagnosticsResponse = HostingEnvironmentDiagnostics[]; +export type AppServiceEnvironmentsListDiagnosticsResponse = + HostingEnvironmentDiagnostics[]; /** Optional parameters. */ export interface AppServiceEnvironmentsGetDiagnosticsItemOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getDiagnosticsItem operation. */ -export type AppServiceEnvironmentsGetDiagnosticsItemResponse = HostingEnvironmentDiagnostics; +export type AppServiceEnvironmentsGetDiagnosticsItemResponse = + HostingEnvironmentDiagnostics; /** Optional parameters. */ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getInboundNetworkDependenciesEndpoints operation. */ -export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse = InboundEnvironmentEndpointCollection; +export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse = + InboundEnvironmentEndpointCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRolePoolsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRolePools operation. */ -export type AppServiceEnvironmentsListMultiRolePoolsResponse = WorkerPoolCollection; +export type AppServiceEnvironmentsListMultiRolePoolsResponse = + WorkerPoolCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetMultiRolePoolOptionalParams @@ -11498,35 +11802,40 @@ export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams } /** Contains response data for the createOrUpdateMultiRolePool operation. */ -export type AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse = WorkerPoolResource; +export type AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse = + WorkerPoolResource; /** Optional parameters. */ export interface AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateMultiRolePool operation. */ -export type AppServiceEnvironmentsUpdateMultiRolePoolResponse = WorkerPoolResource; +export type AppServiceEnvironmentsUpdateMultiRolePoolResponse = + WorkerPoolResource; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRolePoolInstanceMetricDefinitions operation. */ -export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRoleMetricDefinitions operation. */ -export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRolePoolSkus operation. */ -export type AppServiceEnvironmentsListMultiRolePoolSkusResponse = SkuInfoCollection; +export type AppServiceEnvironmentsListMultiRolePoolSkusResponse = + SkuInfoCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams @@ -11560,21 +11869,24 @@ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOp extends coreClient.OperationOptions {} /** Contains response data for the getOutboundNetworkDependenciesEndpoints operation. */ -export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection; +export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse = + OutboundEnvironmentEndpointCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionList operation. */ -export type AppServiceEnvironmentsGetPrivateEndpointConnectionListResponse = PrivateEndpointConnectionCollection; +export type AppServiceEnvironmentsGetPrivateEndpointConnectionListResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnection operation. */ -export type AppServiceEnvironmentsGetPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource; +export type AppServiceEnvironmentsGetPrivateEndpointConnectionResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams @@ -11586,7 +11898,8 @@ export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionO } /** Contains response data for the approveOrRejectPrivateEndpointConnection operation. */ -export type AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource; +export type AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams @@ -11598,17 +11911,16 @@ export interface AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalPa } /** Contains response data for the deletePrivateEndpointConnection operation. */ -export type AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse = Record< - string, - unknown ->; +export type AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse = + Record; /** Optional parameters. */ export interface AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateLinkResources operation. */ -export type AppServiceEnvironmentsGetPrivateLinkResourcesResponse = PrivateLinkResourcesWrapper; +export type AppServiceEnvironmentsGetPrivateLinkResourcesResponse = + PrivateLinkResourcesWrapper; /** Optional parameters. */ export interface AppServiceEnvironmentsRebootOptionalParams @@ -11631,7 +11943,8 @@ export interface AppServiceEnvironmentsListAppServicePlansOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listAppServicePlans operation. */ -export type AppServiceEnvironmentsListAppServicePlansResponse = AppServicePlanCollection; +export type AppServiceEnvironmentsListAppServicePlansResponse = + AppServicePlanCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWebAppsOptionalParams @@ -11670,7 +11983,8 @@ export interface AppServiceEnvironmentsListWorkerPoolsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWorkerPools operation. */ -export type AppServiceEnvironmentsListWorkerPoolsResponse = WorkerPoolCollection; +export type AppServiceEnvironmentsListWorkerPoolsResponse = + WorkerPoolCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetWorkerPoolOptionalParams @@ -11689,7 +12003,8 @@ export interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams } /** Contains response data for the createOrUpdateWorkerPool operation. */ -export type AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse = WorkerPoolResource; +export type AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse = + WorkerPoolResource; /** Optional parameters. */ export interface AppServiceEnvironmentsUpdateWorkerPoolOptionalParams @@ -11703,21 +12018,24 @@ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOp extends coreClient.OperationOptions {} /** Contains response data for the listWorkerPoolInstanceMetricDefinitions operation. */ -export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWebWorkerMetricDefinitions operation. */ -export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWorkerPoolSkusOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWorkerPoolSkus operation. */ -export type AppServiceEnvironmentsListWorkerPoolSkusResponse = SkuInfoCollection; +export type AppServiceEnvironmentsListWorkerPoolSkusResponse = + SkuInfoCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWebWorkerUsagesOptionalParams @@ -11731,21 +12049,24 @@ export interface AppServiceEnvironmentsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type AppServiceEnvironmentsListNextResponse = AppServiceEnvironmentCollection; +export type AppServiceEnvironmentsListNextResponse = + AppServiceEnvironmentCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type AppServiceEnvironmentsListByResourceGroupNextResponse = AppServiceEnvironmentCollection; +export type AppServiceEnvironmentsListByResourceGroupNextResponse = + AppServiceEnvironmentCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListCapacitiesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listCapacitiesNext operation. */ -export type AppServiceEnvironmentsListCapacitiesNextResponse = StampCapacityCollection; +export type AppServiceEnvironmentsListCapacitiesNextResponse = + StampCapacityCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsChangeVnetNextOptionalParams @@ -11759,56 +12080,64 @@ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNex extends coreClient.OperationOptions {} /** Contains response data for the getInboundNetworkDependenciesEndpointsNext operation. */ -export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResponse = InboundEnvironmentEndpointCollection; +export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResponse = + InboundEnvironmentEndpointCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRolePoolsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRolePoolsNext operation. */ -export type AppServiceEnvironmentsListMultiRolePoolsNextResponse = WorkerPoolCollection; +export type AppServiceEnvironmentsListMultiRolePoolsNextResponse = + WorkerPoolCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRolePoolInstanceMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRoleMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRolePoolSkusNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRolePoolSkusNext operation. */ -export type AppServiceEnvironmentsListMultiRolePoolSkusNextResponse = SkuInfoCollection; +export type AppServiceEnvironmentsListMultiRolePoolSkusNextResponse = + SkuInfoCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListMultiRoleUsagesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listMultiRoleUsagesNext operation. */ -export type AppServiceEnvironmentsListMultiRoleUsagesNextResponse = UsageCollection; +export type AppServiceEnvironmentsListMultiRoleUsagesNextResponse = + UsageCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getOutboundNetworkDependenciesEndpointsNext operation. */ -export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection; +export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextResponse = + OutboundEnvironmentEndpointCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionListNext operation. */ -export type AppServiceEnvironmentsGetPrivateEndpointConnectionListNextResponse = PrivateEndpointConnectionCollection; +export type AppServiceEnvironmentsGetPrivateEndpointConnectionListNextResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsResumeNextOptionalParams @@ -11822,7 +12151,8 @@ export interface AppServiceEnvironmentsListAppServicePlansNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listAppServicePlansNext operation. */ -export type AppServiceEnvironmentsListAppServicePlansNextResponse = AppServicePlanCollection; +export type AppServiceEnvironmentsListAppServicePlansNextResponse = + AppServicePlanCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWebAppsNextOptionalParams @@ -11843,42 +12173,48 @@ export interface AppServiceEnvironmentsListUsagesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listUsagesNext operation. */ -export type AppServiceEnvironmentsListUsagesNextResponse = CsmUsageQuotaCollection; +export type AppServiceEnvironmentsListUsagesNextResponse = + CsmUsageQuotaCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWorkerPoolsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWorkerPoolsNext operation. */ -export type AppServiceEnvironmentsListWorkerPoolsNextResponse = WorkerPoolCollection; +export type AppServiceEnvironmentsListWorkerPoolsNextResponse = + WorkerPoolCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWorkerPoolInstanceMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWebWorkerMetricDefinitionsNext operation. */ -export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection; +export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse = + ResourceMetricDefinitionCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWorkerPoolSkusNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWorkerPoolSkusNext operation. */ -export type AppServiceEnvironmentsListWorkerPoolSkusNextResponse = SkuInfoCollection; +export type AppServiceEnvironmentsListWorkerPoolSkusNextResponse = + SkuInfoCollection; /** Optional parameters. */ export interface AppServiceEnvironmentsListWebWorkerUsagesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWebWorkerUsagesNext operation. */ -export type AppServiceEnvironmentsListWebWorkerUsagesNextResponse = UsageCollection; +export type AppServiceEnvironmentsListWebWorkerUsagesNextResponse = + UsageCollection; /** Optional parameters. */ export interface AppServicePlansListOptionalParams @@ -11898,7 +12234,8 @@ export interface AppServicePlansListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type AppServicePlansListByResourceGroupResponse = AppServicePlanCollection; +export type AppServicePlansListByResourceGroupResponse = + AppServicePlanCollection; /** Optional parameters. */ export interface AppServicePlansGetOptionalParams @@ -11953,28 +12290,32 @@ export interface AppServicePlansListHybridConnectionKeysOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listHybridConnectionKeys operation. */ -export type AppServicePlansListHybridConnectionKeysResponse = HybridConnectionKey; +export type AppServicePlansListHybridConnectionKeysResponse = + HybridConnectionKey; /** Optional parameters. */ export interface AppServicePlansListWebAppsByHybridConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWebAppsByHybridConnection operation. */ -export type AppServicePlansListWebAppsByHybridConnectionResponse = ResourceCollection; +export type AppServicePlansListWebAppsByHybridConnectionResponse = + ResourceCollection; /** Optional parameters. */ export interface AppServicePlansGetHybridConnectionPlanLimitOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getHybridConnectionPlanLimit operation. */ -export type AppServicePlansGetHybridConnectionPlanLimitResponse = HybridConnectionLimits; +export type AppServicePlansGetHybridConnectionPlanLimitResponse = + HybridConnectionLimits; /** Optional parameters. */ export interface AppServicePlansListHybridConnectionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listHybridConnections operation. */ -export type AppServicePlansListHybridConnectionsResponse = HybridConnectionCollection; +export type AppServicePlansListHybridConnectionsResponse = + HybridConnectionCollection; /** Optional parameters. */ export interface AppServicePlansRestartWebAppsOptionalParams @@ -12090,21 +12431,24 @@ export interface AppServicePlansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type AppServicePlansListByResourceGroupNextResponse = AppServicePlanCollection; +export type AppServicePlansListByResourceGroupNextResponse = + AppServicePlanCollection; /** Optional parameters. */ export interface AppServicePlansListWebAppsByHybridConnectionNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listWebAppsByHybridConnectionNext operation. */ -export type AppServicePlansListWebAppsByHybridConnectionNextResponse = ResourceCollection; +export type AppServicePlansListWebAppsByHybridConnectionNextResponse = + ResourceCollection; /** Optional parameters. */ export interface AppServicePlansListHybridConnectionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listHybridConnectionsNext operation. */ -export type AppServicePlansListHybridConnectionsNextResponse = HybridConnectionCollection; +export type AppServicePlansListHybridConnectionsNextResponse = + HybridConnectionCollection; /** Optional parameters. */ export interface AppServicePlansListWebAppsNextOptionalParams @@ -12230,14 +12574,16 @@ export interface ContainerAppsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ -export type ContainerAppsListBySubscriptionNextResponse = ContainerAppCollection; +export type ContainerAppsListBySubscriptionNextResponse = + ContainerAppCollection; /** Optional parameters. */ export interface ContainerAppsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type ContainerAppsListByResourceGroupNextResponse = ContainerAppCollection; +export type ContainerAppsListByResourceGroupNextResponse = + ContainerAppCollection; /** Optional parameters. */ export interface ContainerAppsRevisionsListRevisionsOptionalParams @@ -12270,7 +12616,8 @@ export interface ContainerAppsRevisionsListRevisionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listRevisionsNext operation. */ -export type ContainerAppsRevisionsListRevisionsNextResponse = RevisionCollection; +export type ContainerAppsRevisionsListRevisionsNextResponse = + RevisionCollection; /** Optional parameters. */ export interface DeletedWebAppsListOptionalParams @@ -12312,7 +12659,8 @@ export interface DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParam extends coreClient.OperationOptions {} /** Contains response data for the listHostingEnvironmentDetectorResponses operation. */ -export type DiagnosticsListHostingEnvironmentDetectorResponsesResponse = DetectorResponseCollection; +export type DiagnosticsListHostingEnvironmentDetectorResponsesResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams @@ -12326,14 +12674,16 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams } /** Contains response data for the getHostingEnvironmentDetectorResponse operation. */ -export type DiagnosticsGetHostingEnvironmentDetectorResponseResponse = DetectorResponse; +export type DiagnosticsGetHostingEnvironmentDetectorResponseResponse = + DetectorResponse; /** Optional parameters. */ export interface DiagnosticsListSiteDetectorResponsesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDetectorResponses operation. */ -export type DiagnosticsListSiteDetectorResponsesResponse = DetectorResponseCollection; +export type DiagnosticsListSiteDetectorResponsesResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface DiagnosticsGetSiteDetectorResponseOptionalParams @@ -12354,7 +12704,8 @@ export interface DiagnosticsListSiteDiagnosticCategoriesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDiagnosticCategories operation. */ -export type DiagnosticsListSiteDiagnosticCategoriesResponse = DiagnosticCategoryCollection; +export type DiagnosticsListSiteDiagnosticCategoriesResponse = + DiagnosticCategoryCollection; /** Optional parameters. */ export interface DiagnosticsGetSiteDiagnosticCategoryOptionalParams @@ -12424,7 +12775,8 @@ export interface DiagnosticsListSiteDetectorResponsesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDetectorResponsesSlot operation. */ -export type DiagnosticsListSiteDetectorResponsesSlotResponse = DetectorResponseCollection; +export type DiagnosticsListSiteDetectorResponsesSlotResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface DiagnosticsGetSiteDetectorResponseSlotOptionalParams @@ -12445,21 +12797,24 @@ export interface DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDiagnosticCategoriesSlot operation. */ -export type DiagnosticsListSiteDiagnosticCategoriesSlotResponse = DiagnosticCategoryCollection; +export type DiagnosticsListSiteDiagnosticCategoriesSlotResponse = + DiagnosticCategoryCollection; /** Optional parameters. */ export interface DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSiteDiagnosticCategorySlot operation. */ -export type DiagnosticsGetSiteDiagnosticCategorySlotResponse = DiagnosticCategory; +export type DiagnosticsGetSiteDiagnosticCategorySlotResponse = + DiagnosticCategory; /** Optional parameters. */ export interface DiagnosticsListSiteAnalysesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteAnalysesSlot operation. */ -export type DiagnosticsListSiteAnalysesSlotResponse = DiagnosticAnalysisCollection; +export type DiagnosticsListSiteAnalysesSlotResponse = + DiagnosticAnalysisCollection; /** Optional parameters. */ export interface DiagnosticsGetSiteAnalysisSlotOptionalParams @@ -12487,7 +12842,8 @@ export interface DiagnosticsListSiteDetectorsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDetectorsSlot operation. */ -export type DiagnosticsListSiteDetectorsSlotResponse = DiagnosticDetectorCollection; +export type DiagnosticsListSiteDetectorsSlotResponse = + DiagnosticDetectorCollection; /** Optional parameters. */ export interface DiagnosticsGetSiteDetectorSlotOptionalParams @@ -12508,70 +12864,80 @@ export interface DiagnosticsExecuteSiteDetectorSlotOptionalParams } /** Contains response data for the executeSiteDetectorSlot operation. */ -export type DiagnosticsExecuteSiteDetectorSlotResponse = DiagnosticDetectorResponse; +export type DiagnosticsExecuteSiteDetectorSlotResponse = + DiagnosticDetectorResponse; /** Optional parameters. */ export interface DiagnosticsListHostingEnvironmentDetectorResponsesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listHostingEnvironmentDetectorResponsesNext operation. */ -export type DiagnosticsListHostingEnvironmentDetectorResponsesNextResponse = DetectorResponseCollection; +export type DiagnosticsListHostingEnvironmentDetectorResponsesNextResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface DiagnosticsListSiteDetectorResponsesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDetectorResponsesNext operation. */ -export type DiagnosticsListSiteDetectorResponsesNextResponse = DetectorResponseCollection; +export type DiagnosticsListSiteDetectorResponsesNextResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface DiagnosticsListSiteDiagnosticCategoriesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDiagnosticCategoriesNext operation. */ -export type DiagnosticsListSiteDiagnosticCategoriesNextResponse = DiagnosticCategoryCollection; +export type DiagnosticsListSiteDiagnosticCategoriesNextResponse = + DiagnosticCategoryCollection; /** Optional parameters. */ export interface DiagnosticsListSiteAnalysesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteAnalysesNext operation. */ -export type DiagnosticsListSiteAnalysesNextResponse = DiagnosticAnalysisCollection; +export type DiagnosticsListSiteAnalysesNextResponse = + DiagnosticAnalysisCollection; /** Optional parameters. */ export interface DiagnosticsListSiteDetectorsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDetectorsNext operation. */ -export type DiagnosticsListSiteDetectorsNextResponse = DiagnosticDetectorCollection; +export type DiagnosticsListSiteDetectorsNextResponse = + DiagnosticDetectorCollection; /** Optional parameters. */ export interface DiagnosticsListSiteDetectorResponsesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDetectorResponsesSlotNext operation. */ -export type DiagnosticsListSiteDetectorResponsesSlotNextResponse = DetectorResponseCollection; +export type DiagnosticsListSiteDetectorResponsesSlotNextResponse = + DetectorResponseCollection; /** Optional parameters. */ export interface DiagnosticsListSiteDiagnosticCategoriesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDiagnosticCategoriesSlotNext operation. */ -export type DiagnosticsListSiteDiagnosticCategoriesSlotNextResponse = DiagnosticCategoryCollection; +export type DiagnosticsListSiteDiagnosticCategoriesSlotNextResponse = + DiagnosticCategoryCollection; /** Optional parameters. */ export interface DiagnosticsListSiteAnalysesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteAnalysesSlotNext operation. */ -export type DiagnosticsListSiteAnalysesSlotNextResponse = DiagnosticAnalysisCollection; +export type DiagnosticsListSiteAnalysesSlotNextResponse = + DiagnosticAnalysisCollection; /** Optional parameters. */ export interface DiagnosticsListSiteDetectorsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteDetectorsSlotNext operation. */ -export type DiagnosticsListSiteDetectorsSlotNextResponse = DiagnosticDetectorCollection; +export type DiagnosticsListSiteDetectorsSlotNextResponse = + DiagnosticDetectorCollection; /** Optional parameters. */ export interface GlobalGetDeletedWebAppOptionalParams @@ -12596,14 +12962,16 @@ export interface KubeEnvironmentsListBySubscriptionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySubscription operation. */ -export type KubeEnvironmentsListBySubscriptionResponse = KubeEnvironmentCollection; +export type KubeEnvironmentsListBySubscriptionResponse = + KubeEnvironmentCollection; /** Optional parameters. */ export interface KubeEnvironmentsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type KubeEnvironmentsListByResourceGroupResponse = KubeEnvironmentCollection; +export type KubeEnvironmentsListByResourceGroupResponse = + KubeEnvironmentCollection; /** Optional parameters. */ export interface KubeEnvironmentsGetOptionalParams @@ -12645,14 +13013,16 @@ export interface KubeEnvironmentsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ -export type KubeEnvironmentsListBySubscriptionNextResponse = KubeEnvironmentCollection; +export type KubeEnvironmentsListBySubscriptionNextResponse = + KubeEnvironmentCollection; /** Optional parameters. */ export interface KubeEnvironmentsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type KubeEnvironmentsListByResourceGroupNextResponse = KubeEnvironmentCollection; +export type KubeEnvironmentsListByResourceGroupNextResponse = + KubeEnvironmentCollection; /** Optional parameters. */ export interface ProviderGetAvailableStacksOptionalParams @@ -12681,7 +13051,8 @@ export interface ProviderGetFunctionAppStacksForLocationOptionalParams } /** Contains response data for the getFunctionAppStacksForLocation operation. */ -export type ProviderGetFunctionAppStacksForLocationResponse = FunctionAppStackCollection; +export type ProviderGetFunctionAppStacksForLocationResponse = + FunctionAppStackCollection; /** Optional parameters. */ export interface ProviderGetWebAppStacksForLocationOptionalParams @@ -12717,7 +13088,8 @@ export interface ProviderGetAvailableStacksOnPremOptionalParams } /** Contains response data for the getAvailableStacksOnPrem operation. */ -export type ProviderGetAvailableStacksOnPremResponse = ApplicationStackCollection; +export type ProviderGetAvailableStacksOnPremResponse = + ApplicationStackCollection; /** Optional parameters. */ export interface ProviderGetAvailableStacksNextOptionalParams @@ -12731,21 +13103,24 @@ export interface ProviderGetFunctionAppStacksNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getFunctionAppStacksNext operation. */ -export type ProviderGetFunctionAppStacksNextResponse = FunctionAppStackCollection; +export type ProviderGetFunctionAppStacksNextResponse = + FunctionAppStackCollection; /** Optional parameters. */ export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getFunctionAppStacksForLocationNext operation. */ -export type ProviderGetFunctionAppStacksForLocationNextResponse = FunctionAppStackCollection; +export type ProviderGetFunctionAppStacksForLocationNextResponse = + FunctionAppStackCollection; /** Optional parameters. */ export interface ProviderGetWebAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getWebAppStacksForLocationNext operation. */ -export type ProviderGetWebAppStacksForLocationNextResponse = WebAppStackCollection; +export type ProviderGetWebAppStacksForLocationNextResponse = + WebAppStackCollection; /** Optional parameters. */ export interface ProviderListOperationsNextOptionalParams @@ -12766,7 +13141,8 @@ export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getAvailableStacksOnPremNext operation. */ -export type ProviderGetAvailableStacksOnPremNextResponse = ApplicationStackCollection; +export type ProviderGetAvailableStacksOnPremNextResponse = + ApplicationStackCollection; /** Optional parameters. */ export interface RecommendationsListOptionalParams @@ -12798,7 +13174,8 @@ export interface RecommendationsListHistoryForHostingEnvironmentOptionalParams } /** Contains response data for the listHistoryForHostingEnvironment operation. */ -export type RecommendationsListHistoryForHostingEnvironmentResponse = RecommendationCollection; +export type RecommendationsListHistoryForHostingEnvironmentResponse = + RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams @@ -12810,7 +13187,8 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironmentOptiona } /** Contains response data for the listRecommendedRulesForHostingEnvironment operation. */ -export type RecommendationsListRecommendedRulesForHostingEnvironmentResponse = RecommendationCollection; +export type RecommendationsListRecommendedRulesForHostingEnvironmentResponse = + RecommendationCollection; /** Optional parameters. */ export interface RecommendationsDisableAllForHostingEnvironmentOptionalParams @@ -12830,7 +13208,8 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams } /** Contains response data for the getRuleDetailsByHostingEnvironment operation. */ -export type RecommendationsGetRuleDetailsByHostingEnvironmentResponse = RecommendationRule; +export type RecommendationsGetRuleDetailsByHostingEnvironmentResponse = + RecommendationRule; /** Optional parameters. */ export interface RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams @@ -12846,7 +13225,8 @@ export interface RecommendationsListHistoryForWebAppOptionalParams } /** Contains response data for the listHistoryForWebApp operation. */ -export type RecommendationsListHistoryForWebAppResponse = RecommendationCollection; +export type RecommendationsListHistoryForWebAppResponse = + RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListRecommendedRulesForWebAppOptionalParams @@ -12858,7 +13238,8 @@ export interface RecommendationsListRecommendedRulesForWebAppOptionalParams } /** Contains response data for the listRecommendedRulesForWebApp operation. */ -export type RecommendationsListRecommendedRulesForWebAppResponse = RecommendationCollection; +export type RecommendationsListRecommendedRulesForWebAppResponse = + RecommendationCollection; /** Optional parameters. */ export interface RecommendationsDisableAllForWebAppOptionalParams @@ -12896,49 +13277,56 @@ export interface RecommendationsListHistoryForHostingEnvironmentNextOptionalPara extends coreClient.OperationOptions {} /** Contains response data for the listHistoryForHostingEnvironmentNext operation. */ -export type RecommendationsListHistoryForHostingEnvironmentNextResponse = RecommendationCollection; +export type RecommendationsListHistoryForHostingEnvironmentNextResponse = + RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listRecommendedRulesForHostingEnvironmentNext operation. */ -export type RecommendationsListRecommendedRulesForHostingEnvironmentNextResponse = RecommendationCollection; +export type RecommendationsListRecommendedRulesForHostingEnvironmentNextResponse = + RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListHistoryForWebAppNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listHistoryForWebAppNext operation. */ -export type RecommendationsListHistoryForWebAppNextResponse = RecommendationCollection; +export type RecommendationsListHistoryForWebAppNextResponse = + RecommendationCollection; /** Optional parameters. */ export interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listRecommendedRulesForWebAppNext operation. */ -export type RecommendationsListRecommendedRulesForWebAppNextResponse = RecommendationCollection; +export type RecommendationsListRecommendedRulesForWebAppNextResponse = + RecommendationCollection; /** Optional parameters. */ export interface ResourceHealthMetadataListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type ResourceHealthMetadataListResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface ResourceHealthMetadataListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type ResourceHealthMetadataListByResourceGroupResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListByResourceGroupResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface ResourceHealthMetadataListBySiteOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySite operation. */ -export type ResourceHealthMetadataListBySiteResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListBySiteResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface ResourceHealthMetadataGetBySiteOptionalParams @@ -12952,42 +13340,48 @@ export interface ResourceHealthMetadataListBySiteSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySiteSlot operation. */ -export type ResourceHealthMetadataListBySiteSlotResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListBySiteSlotResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface ResourceHealthMetadataGetBySiteSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBySiteSlot operation. */ -export type ResourceHealthMetadataGetBySiteSlotResponse = ResourceHealthMetadata; +export type ResourceHealthMetadataGetBySiteSlotResponse = + ResourceHealthMetadata; /** Optional parameters. */ export interface ResourceHealthMetadataListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ResourceHealthMetadataListNextResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListNextResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface ResourceHealthMetadataListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ -export type ResourceHealthMetadataListByResourceGroupNextResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListByResourceGroupNextResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface ResourceHealthMetadataListBySiteNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySiteNext operation. */ -export type ResourceHealthMetadataListBySiteNextResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListBySiteNextResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface ResourceHealthMetadataListBySiteSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySiteSlotNext operation. */ -export type ResourceHealthMetadataListBySiteSlotNextResponse = ResourceHealthMetadataCollection; +export type ResourceHealthMetadataListBySiteSlotNextResponse = + ResourceHealthMetadataCollection; /** Optional parameters. */ export interface GetPublishingUserOptionalParams @@ -13093,7 +13487,8 @@ export interface ListSiteIdentifiersAssignedToHostNameOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteIdentifiersAssignedToHostName operation. */ -export type ListSiteIdentifiersAssignedToHostNameResponse = IdentifierCollection; +export type ListSiteIdentifiersAssignedToHostNameResponse = + IdentifierCollection; /** Optional parameters. */ export interface ListPremierAddOnOffersOptionalParams @@ -13168,7 +13563,8 @@ export interface ListSiteIdentifiersAssignedToHostNameNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteIdentifiersAssignedToHostNameNext operation. */ -export type ListSiteIdentifiersAssignedToHostNameNextResponse = IdentifierCollection; +export type ListSiteIdentifiersAssignedToHostNameNextResponse = + IdentifierCollection; /** Optional parameters. */ export interface ListPremierAddOnOffersNextOptionalParams @@ -13210,7 +13606,8 @@ export interface StaticSitesGetStaticSitesByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getStaticSitesByResourceGroup operation. */ -export type StaticSitesGetStaticSitesByResourceGroupResponse = StaticSiteCollection; +export type StaticSitesGetStaticSitesByResourceGroupResponse = + StaticSiteCollection; /** Optional parameters. */ export interface StaticSitesGetStaticSiteOptionalParams @@ -13293,21 +13690,24 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalPara extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateStaticSiteBuildAppSettings operation. */ -export type StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsResponse = StringDictionary; +export type StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsResponse = + StringDictionary; /** Optional parameters. */ export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateStaticSiteBuildFunctionAppSettings operation. */ -export type StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse = StringDictionary; +export type StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse = + StringDictionary; /** Optional parameters. */ export interface StaticSitesGetBuildDatabaseConnectionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBuildDatabaseConnections operation. */ -export type StaticSitesGetBuildDatabaseConnectionsResponse = DatabaseConnectionCollection; +export type StaticSitesGetBuildDatabaseConnectionsResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetBuildDatabaseConnectionOptionalParams @@ -13321,7 +13721,8 @@ export interface StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateBuildDatabaseConnection operation. */ -export type StaticSitesCreateOrUpdateBuildDatabaseConnectionResponse = DatabaseConnection; +export type StaticSitesCreateOrUpdateBuildDatabaseConnectionResponse = + DatabaseConnection; /** Optional parameters. */ export interface StaticSitesDeleteBuildDatabaseConnectionOptionalParams @@ -13332,56 +13733,64 @@ export interface StaticSitesUpdateBuildDatabaseConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateBuildDatabaseConnection operation. */ -export type StaticSitesUpdateBuildDatabaseConnectionResponse = DatabaseConnection; +export type StaticSitesUpdateBuildDatabaseConnectionResponse = + DatabaseConnection; /** Optional parameters. */ export interface StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBuildDatabaseConnectionWithDetails operation. */ -export type StaticSitesGetBuildDatabaseConnectionWithDetailsResponse = DatabaseConnection; +export type StaticSitesGetBuildDatabaseConnectionWithDetailsResponse = + DatabaseConnection; /** Optional parameters. */ export interface StaticSitesListStaticSiteBuildFunctionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteBuildFunctions operation. */ -export type StaticSitesListStaticSiteBuildFunctionsResponse = StaticSiteFunctionOverviewCollection; +export type StaticSitesListStaticSiteBuildFunctionsResponse = + StaticSiteFunctionOverviewCollection; /** Optional parameters. */ export interface StaticSitesListStaticSiteBuildAppSettingsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteBuildAppSettings operation. */ -export type StaticSitesListStaticSiteBuildAppSettingsResponse = StringDictionary; +export type StaticSitesListStaticSiteBuildAppSettingsResponse = + StringDictionary; /** Optional parameters. */ export interface StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteBuildFunctionAppSettings operation. */ -export type StaticSitesListStaticSiteBuildFunctionAppSettingsResponse = StringDictionary; +export type StaticSitesListStaticSiteBuildFunctionAppSettingsResponse = + StringDictionary; /** Optional parameters. */ export interface StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBuildDatabaseConnectionsWithDetails operation. */ -export type StaticSitesGetBuildDatabaseConnectionsWithDetailsResponse = DatabaseConnectionCollection; +export type StaticSitesGetBuildDatabaseConnectionsWithDetailsResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getUserProvidedFunctionAppsForStaticSiteBuild operation. */ -export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildResponse = StaticSiteUserProvidedFunctionAppsCollection; +export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildResponse = + StaticSiteUserProvidedFunctionAppsCollection; /** Optional parameters. */ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getUserProvidedFunctionAppForStaticSiteBuild operation. */ -export type StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildResponse = StaticSiteUserProvidedFunctionAppARMResource; +export type StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildResponse = + StaticSiteUserProvidedFunctionAppARMResource; /** Optional parameters. */ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams @@ -13395,7 +13804,8 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOp } /** Contains response data for the registerUserProvidedFunctionAppWithStaticSiteBuild operation. */ -export type StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse = StaticSiteUserProvidedFunctionAppARMResource; +export type StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse = + StaticSiteUserProvidedFunctionAppARMResource; /** Optional parameters. */ export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams @@ -13415,56 +13825,64 @@ export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateStaticSiteAppSettings operation. */ -export type StaticSitesCreateOrUpdateStaticSiteAppSettingsResponse = StringDictionary; +export type StaticSitesCreateOrUpdateStaticSiteAppSettingsResponse = + StringDictionary; /** Optional parameters. */ export interface StaticSitesListBasicAuthOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBasicAuth operation. */ -export type StaticSitesListBasicAuthResponse = StaticSiteBasicAuthPropertiesCollection; +export type StaticSitesListBasicAuthResponse = + StaticSiteBasicAuthPropertiesCollection; /** Optional parameters. */ export interface StaticSitesGetBasicAuthOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBasicAuth operation. */ -export type StaticSitesGetBasicAuthResponse = StaticSiteBasicAuthPropertiesARMResource; +export type StaticSitesGetBasicAuthResponse = + StaticSiteBasicAuthPropertiesARMResource; /** Optional parameters. */ export interface StaticSitesCreateOrUpdateBasicAuthOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateBasicAuth operation. */ -export type StaticSitesCreateOrUpdateBasicAuthResponse = StaticSiteBasicAuthPropertiesARMResource; +export type StaticSitesCreateOrUpdateBasicAuthResponse = + StaticSiteBasicAuthPropertiesARMResource; /** Optional parameters. */ export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateStaticSiteFunctionAppSettings operation. */ -export type StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsResponse = StringDictionary; +export type StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsResponse = + StringDictionary; /** Optional parameters. */ export interface StaticSitesCreateUserRolesInvitationLinkOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createUserRolesInvitationLink operation. */ -export type StaticSitesCreateUserRolesInvitationLinkResponse = StaticSiteUserInvitationResponseResource; +export type StaticSitesCreateUserRolesInvitationLinkResponse = + StaticSiteUserInvitationResponseResource; /** Optional parameters. */ export interface StaticSitesListStaticSiteCustomDomainsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteCustomDomains operation. */ -export type StaticSitesListStaticSiteCustomDomainsResponse = StaticSiteCustomDomainOverviewCollection; +export type StaticSitesListStaticSiteCustomDomainsResponse = + StaticSiteCustomDomainOverviewCollection; /** Optional parameters. */ export interface StaticSitesGetStaticSiteCustomDomainOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getStaticSiteCustomDomain operation. */ -export type StaticSitesGetStaticSiteCustomDomainResponse = StaticSiteCustomDomainOverviewARMResource; +export type StaticSitesGetStaticSiteCustomDomainResponse = + StaticSiteCustomDomainOverviewARMResource; /** Optional parameters. */ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams @@ -13476,7 +13894,8 @@ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams } /** Contains response data for the createOrUpdateStaticSiteCustomDomain operation. */ -export type StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse = StaticSiteCustomDomainOverviewARMResource; +export type StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse = + StaticSiteCustomDomainOverviewARMResource; /** Optional parameters. */ export interface StaticSitesDeleteStaticSiteCustomDomainOptionalParams @@ -13501,7 +13920,8 @@ export interface StaticSitesGetDatabaseConnectionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getDatabaseConnections operation. */ -export type StaticSitesGetDatabaseConnectionsResponse = DatabaseConnectionCollection; +export type StaticSitesGetDatabaseConnectionsResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetDatabaseConnectionOptionalParams @@ -13515,7 +13935,8 @@ export interface StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateDatabaseConnection operation. */ -export type StaticSitesCreateOrUpdateDatabaseConnectionResponse = DatabaseConnection; +export type StaticSitesCreateOrUpdateDatabaseConnectionResponse = + DatabaseConnection; /** Optional parameters. */ export interface StaticSitesDeleteDatabaseConnectionOptionalParams @@ -13533,7 +13954,8 @@ export interface StaticSitesGetDatabaseConnectionWithDetailsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getDatabaseConnectionWithDetails operation. */ -export type StaticSitesGetDatabaseConnectionWithDetailsResponse = DatabaseConnection; +export type StaticSitesGetDatabaseConnectionWithDetailsResponse = + DatabaseConnection; /** Optional parameters. */ export interface StaticSitesDetachStaticSiteOptionalParams @@ -13549,7 +13971,8 @@ export interface StaticSitesListStaticSiteFunctionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteFunctions operation. */ -export type StaticSitesListStaticSiteFunctionsResponse = StaticSiteFunctionOverviewCollection; +export type StaticSitesListStaticSiteFunctionsResponse = + StaticSiteFunctionOverviewCollection; /** Optional parameters. */ export interface StaticSitesListStaticSiteAppSettingsOptionalParams @@ -13570,7 +13993,8 @@ export interface StaticSitesListStaticSiteFunctionAppSettingsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteFunctionAppSettings operation. */ -export type StaticSitesListStaticSiteFunctionAppSettingsResponse = StringDictionary; +export type StaticSitesListStaticSiteFunctionAppSettingsResponse = + StringDictionary; /** Optional parameters. */ export interface StaticSitesListStaticSiteSecretsOptionalParams @@ -13584,14 +14008,16 @@ export interface StaticSitesGetPrivateEndpointConnectionListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionList operation. */ -export type StaticSitesGetPrivateEndpointConnectionListResponse = PrivateEndpointConnectionCollection; +export type StaticSitesGetPrivateEndpointConnectionListResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnection operation. */ -export type StaticSitesGetPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource; +export type StaticSitesGetPrivateEndpointConnectionResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams @@ -13603,7 +14029,8 @@ export interface StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalPara } /** Contains response data for the approveOrRejectPrivateEndpointConnection operation. */ -export type StaticSitesApproveOrRejectPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource; +export type StaticSitesApproveOrRejectPrivateEndpointConnectionResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface StaticSitesDeletePrivateEndpointConnectionOptionalParams @@ -13625,7 +14052,8 @@ export interface StaticSitesGetPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateLinkResources operation. */ -export type StaticSitesGetPrivateLinkResourcesResponse = PrivateLinkResourcesWrapper; +export type StaticSitesGetPrivateLinkResourcesResponse = + PrivateLinkResourcesWrapper; /** Optional parameters. */ export interface StaticSitesResetStaticSiteApiKeyOptionalParams @@ -13636,21 +14064,24 @@ export interface StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getDatabaseConnectionsWithDetails operation. */ -export type StaticSitesGetDatabaseConnectionsWithDetailsResponse = DatabaseConnectionCollection; +export type StaticSitesGetDatabaseConnectionsWithDetailsResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getUserProvidedFunctionAppsForStaticSite operation. */ -export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteResponse = StaticSiteUserProvidedFunctionAppsCollection; +export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteResponse = + StaticSiteUserProvidedFunctionAppsCollection; /** Optional parameters. */ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getUserProvidedFunctionAppForStaticSite operation. */ -export type StaticSitesGetUserProvidedFunctionAppForStaticSiteResponse = StaticSiteUserProvidedFunctionAppARMResource; +export type StaticSitesGetUserProvidedFunctionAppForStaticSiteResponse = + StaticSiteUserProvidedFunctionAppARMResource; /** Optional parameters. */ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams @@ -13664,7 +14095,8 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptiona } /** Contains response data for the registerUserProvidedFunctionAppWithStaticSite operation. */ -export type StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse = StaticSiteUserProvidedFunctionAppARMResource; +export type StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse = + StaticSiteUserProvidedFunctionAppARMResource; /** Optional parameters. */ export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams @@ -13702,21 +14134,24 @@ export interface StaticSitesGetLinkedBackendsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getLinkedBackends operation. */ -export type StaticSitesGetLinkedBackendsResponse = StaticSiteLinkedBackendsCollection; +export type StaticSitesGetLinkedBackendsResponse = + StaticSiteLinkedBackendsCollection; /** Optional parameters. */ export interface StaticSitesGetLinkedBackendsForBuildOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getLinkedBackendsForBuild operation. */ -export type StaticSitesGetLinkedBackendsForBuildResponse = StaticSiteLinkedBackendsCollection; +export type StaticSitesGetLinkedBackendsForBuildResponse = + StaticSiteLinkedBackendsCollection; /** Optional parameters. */ export interface StaticSitesGetLinkedBackendOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getLinkedBackend operation. */ -export type StaticSitesGetLinkedBackendResponse = StaticSiteLinkedBackendARMResource; +export type StaticSitesGetLinkedBackendResponse = + StaticSiteLinkedBackendARMResource; /** Optional parameters. */ export interface StaticSitesLinkBackendOptionalParams @@ -13742,7 +14177,8 @@ export interface StaticSitesGetLinkedBackendForBuildOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getLinkedBackendForBuild operation. */ -export type StaticSitesGetLinkedBackendForBuildResponse = StaticSiteLinkedBackendARMResource; +export type StaticSitesGetLinkedBackendForBuildResponse = + StaticSiteLinkedBackendARMResource; /** Optional parameters. */ export interface StaticSitesLinkBackendToBuildOptionalParams @@ -13754,7 +14190,8 @@ export interface StaticSitesLinkBackendToBuildOptionalParams } /** Contains response data for the linkBackendToBuild operation. */ -export type StaticSitesLinkBackendToBuildResponse = StaticSiteLinkedBackendARMResource; +export type StaticSitesLinkBackendToBuildResponse = + StaticSiteLinkedBackendARMResource; /** Optional parameters. */ export interface StaticSitesUnlinkBackendFromBuildOptionalParams @@ -13775,112 +14212,128 @@ export interface StaticSitesGetStaticSitesByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getStaticSitesByResourceGroupNext operation. */ -export type StaticSitesGetStaticSitesByResourceGroupNextResponse = StaticSiteCollection; +export type StaticSitesGetStaticSitesByResourceGroupNextResponse = + StaticSiteCollection; /** Optional parameters. */ export interface StaticSitesListStaticSiteUsersNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteUsersNext operation. */ -export type StaticSitesListStaticSiteUsersNextResponse = StaticSiteUserCollection; +export type StaticSitesListStaticSiteUsersNextResponse = + StaticSiteUserCollection; /** Optional parameters. */ export interface StaticSitesGetStaticSiteBuildsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getStaticSiteBuildsNext operation. */ -export type StaticSitesGetStaticSiteBuildsNextResponse = StaticSiteBuildCollection; +export type StaticSitesGetStaticSiteBuildsNextResponse = + StaticSiteBuildCollection; /** Optional parameters. */ export interface StaticSitesGetBuildDatabaseConnectionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBuildDatabaseConnectionsNext operation. */ -export type StaticSitesGetBuildDatabaseConnectionsNextResponse = DatabaseConnectionCollection; +export type StaticSitesGetBuildDatabaseConnectionsNextResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesListStaticSiteBuildFunctionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteBuildFunctionsNext operation. */ -export type StaticSitesListStaticSiteBuildFunctionsNextResponse = StaticSiteFunctionOverviewCollection; +export type StaticSitesListStaticSiteBuildFunctionsNextResponse = + StaticSiteFunctionOverviewCollection; /** Optional parameters. */ export interface StaticSitesGetBuildDatabaseConnectionsWithDetailsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBuildDatabaseConnectionsWithDetailsNext operation. */ -export type StaticSitesGetBuildDatabaseConnectionsWithDetailsNextResponse = DatabaseConnectionCollection; +export type StaticSitesGetBuildDatabaseConnectionsWithDetailsNextResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getUserProvidedFunctionAppsForStaticSiteBuildNext operation. */ -export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildNextResponse = StaticSiteUserProvidedFunctionAppsCollection; +export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildNextResponse = + StaticSiteUserProvidedFunctionAppsCollection; /** Optional parameters. */ export interface StaticSitesListBasicAuthNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBasicAuthNext operation. */ -export type StaticSitesListBasicAuthNextResponse = StaticSiteBasicAuthPropertiesCollection; +export type StaticSitesListBasicAuthNextResponse = + StaticSiteBasicAuthPropertiesCollection; /** Optional parameters. */ export interface StaticSitesListStaticSiteCustomDomainsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteCustomDomainsNext operation. */ -export type StaticSitesListStaticSiteCustomDomainsNextResponse = StaticSiteCustomDomainOverviewCollection; +export type StaticSitesListStaticSiteCustomDomainsNextResponse = + StaticSiteCustomDomainOverviewCollection; /** Optional parameters. */ export interface StaticSitesGetDatabaseConnectionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getDatabaseConnectionsNext operation. */ -export type StaticSitesGetDatabaseConnectionsNextResponse = DatabaseConnectionCollection; +export type StaticSitesGetDatabaseConnectionsNextResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesListStaticSiteFunctionsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listStaticSiteFunctionsNext operation. */ -export type StaticSitesListStaticSiteFunctionsNextResponse = StaticSiteFunctionOverviewCollection; +export type StaticSitesListStaticSiteFunctionsNextResponse = + StaticSiteFunctionOverviewCollection; /** Optional parameters. */ export interface StaticSitesGetPrivateEndpointConnectionListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionListNext operation. */ -export type StaticSitesGetPrivateEndpointConnectionListNextResponse = PrivateEndpointConnectionCollection; +export type StaticSitesGetPrivateEndpointConnectionListNextResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetDatabaseConnectionsWithDetailsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getDatabaseConnectionsWithDetailsNext operation. */ -export type StaticSitesGetDatabaseConnectionsWithDetailsNextResponse = DatabaseConnectionCollection; +export type StaticSitesGetDatabaseConnectionsWithDetailsNextResponse = + DatabaseConnectionCollection; /** Optional parameters. */ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getUserProvidedFunctionAppsForStaticSiteNext operation. */ -export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteNextResponse = StaticSiteUserProvidedFunctionAppsCollection; +export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteNextResponse = + StaticSiteUserProvidedFunctionAppsCollection; /** Optional parameters. */ export interface StaticSitesGetLinkedBackendsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getLinkedBackendsNext operation. */ -export type StaticSitesGetLinkedBackendsNextResponse = StaticSiteLinkedBackendsCollection; +export type StaticSitesGetLinkedBackendsNextResponse = + StaticSiteLinkedBackendsCollection; /** Optional parameters. */ export interface StaticSitesGetLinkedBackendsForBuildNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getLinkedBackendsForBuildNext operation. */ -export type StaticSitesGetLinkedBackendsForBuildNextResponse = StaticSiteLinkedBackendsCollection; +export type StaticSitesGetLinkedBackendsForBuildNextResponse = + StaticSiteLinkedBackendsCollection; /** Optional parameters. */ export interface WebAppsListOptionalParams @@ -13993,35 +14446,40 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBasicPublishingCredentialsPolicies operation. */ -export type WebAppsListBasicPublishingCredentialsPoliciesResponse = PublishingCredentialsPoliciesCollection; +export type WebAppsListBasicPublishingCredentialsPoliciesResponse = + PublishingCredentialsPoliciesCollection; /** Optional parameters. */ export interface WebAppsGetFtpAllowedOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getFtpAllowed operation. */ -export type WebAppsGetFtpAllowedResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsGetFtpAllowedResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsUpdateFtpAllowedOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateFtpAllowed operation. */ -export type WebAppsUpdateFtpAllowedResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsUpdateFtpAllowedResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsGetScmAllowedOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getScmAllowed operation. */ -export type WebAppsGetScmAllowedResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsGetScmAllowedResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsUpdateScmAllowedOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateScmAllowed operation. */ -export type WebAppsUpdateScmAllowedResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsUpdateScmAllowedResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsListConfigurationsOptionalParams @@ -14084,14 +14542,16 @@ export interface WebAppsUpdateAzureStorageAccountsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateAzureStorageAccounts operation. */ -export type WebAppsUpdateAzureStorageAccountsResponse = AzureStoragePropertyDictionaryResource; +export type WebAppsUpdateAzureStorageAccountsResponse = + AzureStoragePropertyDictionaryResource; /** Optional parameters. */ export interface WebAppsListAzureStorageAccountsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listAzureStorageAccounts operation. */ -export type WebAppsListAzureStorageAccountsResponse = AzureStoragePropertyDictionaryResource; +export type WebAppsListAzureStorageAccountsResponse = + AzureStoragePropertyDictionaryResource; /** Optional parameters. */ export interface WebAppsUpdateBackupConfigurationOptionalParams @@ -14116,7 +14576,8 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getAppSettingsKeyVaultReferences operation. */ -export type WebAppsGetAppSettingsKeyVaultReferencesResponse = ApiKVReferenceCollection; +export type WebAppsGetAppSettingsKeyVaultReferencesResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsGetAppSettingKeyVaultReferenceOptionalParams @@ -14130,14 +14591,16 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSiteConnectionStringKeyVaultReferences operation. */ -export type WebAppsGetSiteConnectionStringKeyVaultReferencesResponse = ApiKVReferenceCollection; +export type WebAppsGetSiteConnectionStringKeyVaultReferencesResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSiteConnectionStringKeyVaultReference operation. */ -export type WebAppsGetSiteConnectionStringKeyVaultReferenceResponse = ApiKVReference; +export type WebAppsGetSiteConnectionStringKeyVaultReferenceResponse = + ApiKVReference; /** Optional parameters. */ export interface WebAppsUpdateConnectionStringsOptionalParams @@ -14219,7 +14682,8 @@ export interface WebAppsUpdateSlotConfigurationNamesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateSlotConfigurationNames operation. */ -export type WebAppsUpdateSlotConfigurationNamesResponse = SlotConfigNamesResource; +export type WebAppsUpdateSlotConfigurationNamesResponse = + SlotConfigNamesResource; /** Optional parameters. */ export interface WebAppsGetConfigurationOptionalParams @@ -14247,7 +14711,8 @@ export interface WebAppsListConfigurationSnapshotInfoOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConfigurationSnapshotInfo operation. */ -export type WebAppsListConfigurationSnapshotInfoResponse = SiteConfigurationSnapshotInfoCollection; +export type WebAppsListConfigurationSnapshotInfoResponse = + SiteConfigurationSnapshotInfoCollection; /** Optional parameters. */ export interface WebAppsGetConfigurationSnapshotOptionalParams @@ -14335,7 +14800,8 @@ export interface WebAppsListProductionSiteDeploymentStatusesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listProductionSiteDeploymentStatuses operation. */ -export type WebAppsListProductionSiteDeploymentStatusesResponse = CsmDeploymentStatusCollection; +export type WebAppsListProductionSiteDeploymentStatusesResponse = + CsmDeploymentStatusCollection; /** Optional parameters. */ export interface WebAppsGetProductionSiteDeploymentStatusOptionalParams @@ -14347,7 +14813,8 @@ export interface WebAppsGetProductionSiteDeploymentStatusOptionalParams } /** Contains response data for the getProductionSiteDeploymentStatus operation. */ -export type WebAppsGetProductionSiteDeploymentStatusResponse = CsmDeploymentStatus; +export type WebAppsGetProductionSiteDeploymentStatusResponse = + CsmDeploymentStatus; /** Optional parameters. */ export interface WebAppsListDeploymentsOptionalParams @@ -14393,7 +14860,8 @@ export interface WebAppsListDomainOwnershipIdentifiersOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listDomainOwnershipIdentifiers operation. */ -export type WebAppsListDomainOwnershipIdentifiersResponse = IdentifierCollection; +export type WebAppsListDomainOwnershipIdentifiersResponse = + IdentifierCollection; /** Optional parameters. */ export interface WebAppsGetDomainOwnershipIdentifierOptionalParams @@ -14613,21 +15081,24 @@ export interface WebAppsListRelayServiceConnectionsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listRelayServiceConnections operation. */ -export type WebAppsListRelayServiceConnectionsResponse = RelayServiceConnectionEntity; +export type WebAppsListRelayServiceConnectionsResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsGetRelayServiceConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getRelayServiceConnection operation. */ -export type WebAppsGetRelayServiceConnectionResponse = RelayServiceConnectionEntity; +export type WebAppsGetRelayServiceConnectionResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateRelayServiceConnection operation. */ -export type WebAppsCreateOrUpdateRelayServiceConnectionResponse = RelayServiceConnectionEntity; +export type WebAppsCreateOrUpdateRelayServiceConnectionResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsDeleteRelayServiceConnectionOptionalParams @@ -14638,14 +15109,16 @@ export interface WebAppsUpdateRelayServiceConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateRelayServiceConnection operation. */ -export type WebAppsUpdateRelayServiceConnectionResponse = RelayServiceConnectionEntity; +export type WebAppsUpdateRelayServiceConnectionResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsListInstanceIdentifiersOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceIdentifiers operation. */ -export type WebAppsListInstanceIdentifiersResponse = WebAppInstanceStatusCollection; +export type WebAppsListInstanceIdentifiersResponse = + WebAppInstanceStatusCollection; /** Optional parameters. */ export interface WebAppsGetInstanceInfoOptionalParams @@ -14725,7 +15198,8 @@ export interface WebAppsListInstanceProcessModulesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessModules operation. */ -export type WebAppsListInstanceProcessModulesResponse = ProcessModuleInfoCollection; +export type WebAppsListInstanceProcessModulesResponse = + ProcessModuleInfoCollection; /** Optional parameters. */ export interface WebAppsGetInstanceProcessModuleOptionalParams @@ -14739,7 +15213,8 @@ export interface WebAppsListInstanceProcessThreadsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessThreads operation. */ -export type WebAppsListInstanceProcessThreadsResponse = ProcessThreadInfoCollection; +export type WebAppsListInstanceProcessThreadsResponse = + ProcessThreadInfoCollection; /** Optional parameters. */ export interface WebAppsIsCloneableOptionalParams @@ -14798,14 +15273,16 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSwiftVirtualNetworkConnection operation. */ -export type WebAppsGetSwiftVirtualNetworkConnectionResponse = SwiftVirtualNetwork; +export type WebAppsGetSwiftVirtualNetworkConnectionResponse = + SwiftVirtualNetwork; /** Optional parameters. */ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateSwiftVirtualNetworkConnectionWithCheck operation. */ -export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse = SwiftVirtualNetwork; +export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse = + SwiftVirtualNetwork; /** Optional parameters. */ export interface WebAppsDeleteSwiftVirtualNetworkOptionalParams @@ -14816,7 +15293,8 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckOptionalPara extends coreClient.OperationOptions {} /** Contains response data for the updateSwiftVirtualNetworkConnectionWithCheck operation. */ -export type WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckResponse = SwiftVirtualNetwork; +export type WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckResponse = + SwiftVirtualNetwork; /** Optional parameters. */ export interface WebAppsListNetworkFeaturesOptionalParams @@ -14964,14 +15442,16 @@ export interface WebAppsGetPrivateEndpointConnectionListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionList operation. */ -export type WebAppsGetPrivateEndpointConnectionListResponse = PrivateEndpointConnectionCollection; +export type WebAppsGetPrivateEndpointConnectionListResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface WebAppsGetPrivateEndpointConnectionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnection operation. */ -export type WebAppsGetPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource; +export type WebAppsGetPrivateEndpointConnectionResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams @@ -14983,7 +15463,8 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams } /** Contains response data for the approveOrRejectPrivateEndpointConnection operation. */ -export type WebAppsApproveOrRejectPrivateEndpointConnectionResponse = RemotePrivateEndpointConnectionARMResource; +export type WebAppsApproveOrRejectPrivateEndpointConnectionResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface WebAppsDeletePrivateEndpointConnectionOptionalParams @@ -15005,7 +15486,8 @@ export interface WebAppsGetPrivateLinkResourcesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateLinkResources operation. */ -export type WebAppsGetPrivateLinkResourcesResponse = PrivateLinkResourcesWrapper; +export type WebAppsGetPrivateLinkResourcesResponse = + PrivateLinkResourcesWrapper; /** Optional parameters. */ export interface WebAppsListProcessesOptionalParams @@ -15155,6 +15637,31 @@ export interface WebAppsRestoreSnapshotOptionalParams resumeFrom?: string; } +/** Optional parameters. */ +export interface WebAppsListSiteContainersOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listSiteContainers operation. */ +export type WebAppsListSiteContainersResponse = SiteContainerCollection; + +/** Optional parameters. */ +export interface WebAppsGetSiteContainerOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getSiteContainer operation. */ +export type WebAppsGetSiteContainerResponse = SiteContainer; + +/** Optional parameters. */ +export interface WebAppsCreateOrUpdateSiteContainerOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdateSiteContainer operation. */ +export type WebAppsCreateOrUpdateSiteContainerResponse = SiteContainer; + +/** Optional parameters. */ +export interface WebAppsDeleteSiteContainerOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface WebAppsListSiteExtensionsOptionalParams extends coreClient.OperationOptions {} @@ -15235,7 +15742,8 @@ export interface WebAppsAnalyzeCustomHostnameSlotOptionalParams } /** Contains response data for the analyzeCustomHostnameSlot operation. */ -export type WebAppsAnalyzeCustomHostnameSlotResponse = CustomHostnameAnalysisResult; +export type WebAppsAnalyzeCustomHostnameSlotResponse = + CustomHostnameAnalysisResult; /** Optional parameters. */ export interface WebAppsApplySlotConfigurationSlotOptionalParams @@ -15287,42 +15795,48 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBasicPublishingCredentialsPoliciesSlot operation. */ -export type WebAppsListBasicPublishingCredentialsPoliciesSlotResponse = PublishingCredentialsPoliciesCollection; +export type WebAppsListBasicPublishingCredentialsPoliciesSlotResponse = + PublishingCredentialsPoliciesCollection; /** Optional parameters. */ export interface WebAppsGetFtpAllowedSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getFtpAllowedSlot operation. */ -export type WebAppsGetFtpAllowedSlotResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsGetFtpAllowedSlotResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsUpdateFtpAllowedSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateFtpAllowedSlot operation. */ -export type WebAppsUpdateFtpAllowedSlotResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsUpdateFtpAllowedSlotResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsGetScmAllowedSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getScmAllowedSlot operation. */ -export type WebAppsGetScmAllowedSlotResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsGetScmAllowedSlotResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsUpdateScmAllowedSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateScmAllowedSlot operation. */ -export type WebAppsUpdateScmAllowedSlotResponse = CsmPublishingCredentialsPoliciesEntity; +export type WebAppsUpdateScmAllowedSlotResponse = + CsmPublishingCredentialsPoliciesEntity; /** Optional parameters. */ export interface WebAppsListConfigurationsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConfigurationsSlot operation. */ -export type WebAppsListConfigurationsSlotResponse = SiteConfigResourceCollection; +export type WebAppsListConfigurationsSlotResponse = + SiteConfigResourceCollection; /** Optional parameters. */ export interface WebAppsUpdateApplicationSettingsSlotOptionalParams @@ -15357,7 +15871,8 @@ export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getAuthSettingsV2WithoutSecretsSlot operation. */ -export type WebAppsGetAuthSettingsV2WithoutSecretsSlotResponse = SiteAuthSettingsV2; +export type WebAppsGetAuthSettingsV2WithoutSecretsSlotResponse = + SiteAuthSettingsV2; /** Optional parameters. */ export interface WebAppsUpdateAuthSettingsV2SlotOptionalParams @@ -15378,14 +15893,16 @@ export interface WebAppsUpdateAzureStorageAccountsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateAzureStorageAccountsSlot operation. */ -export type WebAppsUpdateAzureStorageAccountsSlotResponse = AzureStoragePropertyDictionaryResource; +export type WebAppsUpdateAzureStorageAccountsSlotResponse = + AzureStoragePropertyDictionaryResource; /** Optional parameters. */ export interface WebAppsListAzureStorageAccountsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listAzureStorageAccountsSlot operation. */ -export type WebAppsListAzureStorageAccountsSlotResponse = AzureStoragePropertyDictionaryResource; +export type WebAppsListAzureStorageAccountsSlotResponse = + AzureStoragePropertyDictionaryResource; /** Optional parameters. */ export interface WebAppsUpdateBackupConfigurationSlotOptionalParams @@ -15410,7 +15927,8 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getAppSettingsKeyVaultReferencesSlot operation. */ -export type WebAppsGetAppSettingsKeyVaultReferencesSlotResponse = ApiKVReferenceCollection; +export type WebAppsGetAppSettingsKeyVaultReferencesSlotResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams @@ -15424,28 +15942,32 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalPar extends coreClient.OperationOptions {} /** Contains response data for the getSiteConnectionStringKeyVaultReferencesSlot operation. */ -export type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotResponse = ApiKVReferenceCollection; +export type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSiteConnectionStringKeyVaultReferenceSlot operation. */ -export type WebAppsGetSiteConnectionStringKeyVaultReferenceSlotResponse = ApiKVReference; +export type WebAppsGetSiteConnectionStringKeyVaultReferenceSlotResponse = + ApiKVReference; /** Optional parameters. */ export interface WebAppsUpdateConnectionStringsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateConnectionStringsSlot operation. */ -export type WebAppsUpdateConnectionStringsSlotResponse = ConnectionStringDictionary; +export type WebAppsUpdateConnectionStringsSlotResponse = + ConnectionStringDictionary; /** Optional parameters. */ export interface WebAppsListConnectionStringsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConnectionStringsSlot operation. */ -export type WebAppsListConnectionStringsSlotResponse = ConnectionStringDictionary; +export type WebAppsListConnectionStringsSlotResponse = + ConnectionStringDictionary; /** Optional parameters. */ export interface WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams @@ -15527,7 +16049,8 @@ export interface WebAppsListConfigurationSnapshotInfoSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConfigurationSnapshotInfoSlot operation. */ -export type WebAppsListConfigurationSnapshotInfoSlotResponse = SiteConfigurationSnapshotInfoCollection; +export type WebAppsListConfigurationSnapshotInfoSlotResponse = + SiteConfigurationSnapshotInfoCollection; /** Optional parameters. */ export interface WebAppsGetConfigurationSnapshotSlotOptionalParams @@ -15589,7 +16112,8 @@ export interface WebAppsListContinuousWebJobsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listContinuousWebJobsSlot operation. */ -export type WebAppsListContinuousWebJobsSlotResponse = ContinuousWebJobCollection; +export type WebAppsListContinuousWebJobsSlotResponse = + ContinuousWebJobCollection; /** Optional parameters. */ export interface WebAppsGetContinuousWebJobSlotOptionalParams @@ -15615,7 +16139,8 @@ export interface WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSlotSiteDeploymentStatusesSlot operation. */ -export type WebAppsListSlotSiteDeploymentStatusesSlotResponse = CsmDeploymentStatusCollection; +export type WebAppsListSlotSiteDeploymentStatusesSlotResponse = + CsmDeploymentStatusCollection; /** Optional parameters. */ export interface WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams @@ -15627,7 +16152,8 @@ export interface WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams } /** Contains response data for the getSlotSiteDeploymentStatusSlot operation. */ -export type WebAppsGetSlotSiteDeploymentStatusSlotResponse = CsmDeploymentStatus; +export type WebAppsGetSlotSiteDeploymentStatusSlotResponse = + CsmDeploymentStatus; /** Optional parameters. */ export interface WebAppsListDeploymentsSlotOptionalParams @@ -15673,7 +16199,8 @@ export interface WebAppsListDomainOwnershipIdentifiersSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listDomainOwnershipIdentifiersSlot operation. */ -export type WebAppsListDomainOwnershipIdentifiersSlotResponse = IdentifierCollection; +export type WebAppsListDomainOwnershipIdentifiersSlotResponse = + IdentifierCollection; /** Optional parameters. */ export interface WebAppsGetDomainOwnershipIdentifierSlotOptionalParams @@ -15687,7 +16214,8 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParam extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateDomainOwnershipIdentifierSlot operation. */ -export type WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotResponse = Identifier; +export type WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotResponse = + Identifier; /** Optional parameters. */ export interface WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams @@ -15731,7 +16259,8 @@ export interface WebAppsListInstanceFunctionsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceFunctionsSlot operation. */ -export type WebAppsListInstanceFunctionsSlotResponse = FunctionEnvelopeCollection; +export type WebAppsListInstanceFunctionsSlotResponse = + FunctionEnvelopeCollection; /** Optional parameters. */ export interface WebAppsGetFunctionsAdminTokenSlotOptionalParams @@ -15854,7 +16383,8 @@ export interface WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateHybridConnectionSlot operation. */ -export type WebAppsCreateOrUpdateHybridConnectionSlotResponse = HybridConnection; +export type WebAppsCreateOrUpdateHybridConnectionSlotResponse = + HybridConnection; /** Optional parameters. */ export interface WebAppsDeleteHybridConnectionSlotOptionalParams @@ -15879,21 +16409,24 @@ export interface WebAppsListRelayServiceConnectionsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listRelayServiceConnectionsSlot operation. */ -export type WebAppsListRelayServiceConnectionsSlotResponse = RelayServiceConnectionEntity; +export type WebAppsListRelayServiceConnectionsSlotResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsGetRelayServiceConnectionSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getRelayServiceConnectionSlot operation. */ -export type WebAppsGetRelayServiceConnectionSlotResponse = RelayServiceConnectionEntity; +export type WebAppsGetRelayServiceConnectionSlotResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateRelayServiceConnectionSlot operation. */ -export type WebAppsCreateOrUpdateRelayServiceConnectionSlotResponse = RelayServiceConnectionEntity; +export type WebAppsCreateOrUpdateRelayServiceConnectionSlotResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsDeleteRelayServiceConnectionSlotOptionalParams @@ -15904,14 +16437,16 @@ export interface WebAppsUpdateRelayServiceConnectionSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the updateRelayServiceConnectionSlot operation. */ -export type WebAppsUpdateRelayServiceConnectionSlotResponse = RelayServiceConnectionEntity; +export type WebAppsUpdateRelayServiceConnectionSlotResponse = + RelayServiceConnectionEntity; /** Optional parameters. */ export interface WebAppsListInstanceIdentifiersSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceIdentifiersSlot operation. */ -export type WebAppsListInstanceIdentifiersSlotResponse = WebAppInstanceStatusCollection; +export type WebAppsListInstanceIdentifiersSlotResponse = + WebAppInstanceStatusCollection; /** Optional parameters. */ export interface WebAppsGetInstanceInfoSlotOptionalParams @@ -15991,7 +16526,8 @@ export interface WebAppsListInstanceProcessModulesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessModulesSlot operation. */ -export type WebAppsListInstanceProcessModulesSlotResponse = ProcessModuleInfoCollection; +export type WebAppsListInstanceProcessModulesSlotResponse = + ProcessModuleInfoCollection; /** Optional parameters. */ export interface WebAppsGetInstanceProcessModuleSlotOptionalParams @@ -16005,7 +16541,8 @@ export interface WebAppsListInstanceProcessThreadsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessThreadsSlot operation. */ -export type WebAppsListInstanceProcessThreadsSlotResponse = ProcessThreadInfoCollection; +export type WebAppsListInstanceProcessThreadsSlotResponse = + ProcessThreadInfoCollection; /** Optional parameters. */ export interface WebAppsIsCloneableSlotOptionalParams @@ -16040,14 +16577,16 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSwiftVirtualNetworkConnectionSlot operation. */ -export type WebAppsGetSwiftVirtualNetworkConnectionSlotResponse = SwiftVirtualNetwork; +export type WebAppsGetSwiftVirtualNetworkConnectionSlotResponse = + SwiftVirtualNetwork; /** Optional parameters. */ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot operation. */ -export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse = SwiftVirtualNetwork; +export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse = + SwiftVirtualNetwork; /** Optional parameters. */ export interface WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams @@ -16058,7 +16597,8 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptional extends coreClient.OperationOptions {} /** Contains response data for the updateSwiftVirtualNetworkConnectionWithCheckSlot operation. */ -export type WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse = SwiftVirtualNetwork; +export type WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse = + SwiftVirtualNetwork; /** Optional parameters. */ export interface WebAppsListNetworkFeaturesSlotOptionalParams @@ -16107,7 +16647,8 @@ export interface WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams } /** Contains response data for the startWebSiteNetworkTraceOperationSlot operation. */ -export type WebAppsStartWebSiteNetworkTraceOperationSlotResponse = NetworkTrace[]; +export type WebAppsStartWebSiteNetworkTraceOperationSlotResponse = + NetworkTrace[]; /** Optional parameters. */ export interface WebAppsStopWebSiteNetworkTraceSlotOptionalParams @@ -16206,14 +16747,16 @@ export interface WebAppsGetPrivateEndpointConnectionListSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionListSlot operation. */ -export type WebAppsGetPrivateEndpointConnectionListSlotResponse = PrivateEndpointConnectionCollection; +export type WebAppsGetPrivateEndpointConnectionListSlotResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface WebAppsGetPrivateEndpointConnectionSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionSlot operation. */ -export type WebAppsGetPrivateEndpointConnectionSlotResponse = RemotePrivateEndpointConnectionARMResource; +export type WebAppsGetPrivateEndpointConnectionSlotResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams @@ -16225,7 +16768,8 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalPara } /** Contains response data for the approveOrRejectPrivateEndpointConnectionSlot operation. */ -export type WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse = RemotePrivateEndpointConnectionARMResource; +export type WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse = + RemotePrivateEndpointConnectionARMResource; /** Optional parameters. */ export interface WebAppsDeletePrivateEndpointConnectionSlotOptionalParams @@ -16247,7 +16791,8 @@ export interface WebAppsGetPrivateLinkResourcesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateLinkResourcesSlot operation. */ -export type WebAppsGetPrivateLinkResourcesSlotResponse = PrivateLinkResourcesWrapper; +export type WebAppsGetPrivateLinkResourcesSlotResponse = + PrivateLinkResourcesWrapper; /** Optional parameters. */ export interface WebAppsListProcessesSlotOptionalParams @@ -16315,7 +16860,8 @@ export interface WebAppsListPublicCertificatesSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listPublicCertificatesSlot operation. */ -export type WebAppsListPublicCertificatesSlotResponse = PublicCertificateCollection; +export type WebAppsListPublicCertificatesSlotResponse = + PublicCertificateCollection; /** Optional parameters. */ export interface WebAppsGetPublicCertificateSlotOptionalParams @@ -16329,7 +16875,8 @@ export interface WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdatePublicCertificateSlot operation. */ -export type WebAppsCreateOrUpdatePublicCertificateSlotResponse = PublicCertificate; +export type WebAppsCreateOrUpdatePublicCertificateSlotResponse = + PublicCertificate; /** Optional parameters. */ export interface WebAppsDeletePublicCertificateSlotOptionalParams @@ -16397,6 +16944,31 @@ export interface WebAppsRestoreSnapshotSlotOptionalParams resumeFrom?: string; } +/** Optional parameters. */ +export interface WebAppsListSiteContainersSlotOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listSiteContainersSlot operation. */ +export type WebAppsListSiteContainersSlotResponse = SiteContainerCollection; + +/** Optional parameters. */ +export interface WebAppsGetSiteContainerSlotOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getSiteContainerSlot operation. */ +export type WebAppsGetSiteContainerSlotResponse = SiteContainer; + +/** Optional parameters. */ +export interface WebAppsCreateOrUpdateSiteContainerSlotOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdateSiteContainerSlot operation. */ +export type WebAppsCreateOrUpdateSiteContainerSlotResponse = SiteContainer; + +/** Optional parameters. */ +export interface WebAppsDeleteSiteContainerSlotOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface WebAppsListSiteExtensionsSlotOptionalParams extends coreClient.OperationOptions {} @@ -16455,7 +17027,8 @@ export interface WebAppsListSnapshotsFromDRSecondarySlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSnapshotsFromDRSecondarySlot operation. */ -export type WebAppsListSnapshotsFromDRSecondarySlotResponse = SnapshotCollection; +export type WebAppsListSnapshotsFromDRSecondarySlotResponse = + SnapshotCollection; /** Optional parameters. */ export interface WebAppsGetSourceControlSlotOptionalParams @@ -16550,7 +17123,8 @@ export interface WebAppsListTriggeredWebJobHistorySlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listTriggeredWebJobHistorySlot operation. */ -export type WebAppsListTriggeredWebJobHistorySlotResponse = TriggeredJobHistoryCollection; +export type WebAppsListTriggeredWebJobHistorySlotResponse = + TriggeredJobHistoryCollection; /** Optional parameters. */ export interface WebAppsGetTriggeredWebJobHistorySlotOptionalParams @@ -16617,7 +17191,8 @@ export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdateVnetConnectionGatewaySlot operation. */ -export type WebAppsCreateOrUpdateVnetConnectionGatewaySlotResponse = VnetGateway; +export type WebAppsCreateOrUpdateVnetConnectionGatewaySlotResponse = + VnetGateway; /** Optional parameters. */ export interface WebAppsUpdateVnetConnectionGatewaySlotOptionalParams @@ -16645,7 +17220,8 @@ export interface WebAppsListSlotDifferencesFromProductionOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSlotDifferencesFromProduction operation. */ -export type WebAppsListSlotDifferencesFromProductionResponse = SlotDifferenceCollection; +export type WebAppsListSlotDifferencesFromProductionResponse = + SlotDifferenceCollection; /** Optional parameters. */ export interface WebAppsSwapSlotWithProductionOptionalParams @@ -16763,7 +17339,8 @@ export interface WebAppsListTriggeredWebJobHistoryOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listTriggeredWebJobHistory operation. */ -export type WebAppsListTriggeredWebJobHistoryResponse = TriggeredJobHistoryCollection; +export type WebAppsListTriggeredWebJobHistoryResponse = + TriggeredJobHistoryCollection; /** Optional parameters. */ export interface WebAppsGetTriggeredWebJobHistoryOptionalParams @@ -16872,7 +17449,8 @@ export interface WebAppsListInstanceWorkflowsSlotOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceWorkflowsSlot operation. */ -export type WebAppsListInstanceWorkflowsSlotResponse = WorkflowEnvelopeCollection; +export type WebAppsListInstanceWorkflowsSlotResponse = + WorkflowEnvelopeCollection; /** Optional parameters. */ export interface WebAppsGetInstanceWorkflowSlotOptionalParams @@ -16935,49 +17513,56 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBasicPublishingCredentialsPoliciesNext operation. */ -export type WebAppsListBasicPublishingCredentialsPoliciesNextResponse = PublishingCredentialsPoliciesCollection; +export type WebAppsListBasicPublishingCredentialsPoliciesNextResponse = + PublishingCredentialsPoliciesCollection; /** Optional parameters. */ export interface WebAppsListConfigurationsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConfigurationsNext operation. */ -export type WebAppsListConfigurationsNextResponse = SiteConfigResourceCollection; +export type WebAppsListConfigurationsNextResponse = + SiteConfigResourceCollection; /** Optional parameters. */ export interface WebAppsGetAppSettingsKeyVaultReferencesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getAppSettingsKeyVaultReferencesNext operation. */ -export type WebAppsGetAppSettingsKeyVaultReferencesNextResponse = ApiKVReferenceCollection; +export type WebAppsGetAppSettingsKeyVaultReferencesNextResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSiteConnectionStringKeyVaultReferencesNext operation. */ -export type WebAppsGetSiteConnectionStringKeyVaultReferencesNextResponse = ApiKVReferenceCollection; +export type WebAppsGetSiteConnectionStringKeyVaultReferencesNextResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsListConfigurationSnapshotInfoNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConfigurationSnapshotInfoNext operation. */ -export type WebAppsListConfigurationSnapshotInfoNextResponse = SiteConfigurationSnapshotInfoCollection; +export type WebAppsListConfigurationSnapshotInfoNextResponse = + SiteConfigurationSnapshotInfoCollection; /** Optional parameters. */ export interface WebAppsListContinuousWebJobsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listContinuousWebJobsNext operation. */ -export type WebAppsListContinuousWebJobsNextResponse = ContinuousWebJobCollection; +export type WebAppsListContinuousWebJobsNextResponse = + ContinuousWebJobCollection; /** Optional parameters. */ export interface WebAppsListProductionSiteDeploymentStatusesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listProductionSiteDeploymentStatusesNext operation. */ -export type WebAppsListProductionSiteDeploymentStatusesNextResponse = CsmDeploymentStatusCollection; +export type WebAppsListProductionSiteDeploymentStatusesNextResponse = + CsmDeploymentStatusCollection; /** Optional parameters. */ export interface WebAppsListDeploymentsNextOptionalParams @@ -16991,7 +17576,8 @@ export interface WebAppsListDomainOwnershipIdentifiersNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listDomainOwnershipIdentifiersNext operation. */ -export type WebAppsListDomainOwnershipIdentifiersNextResponse = IdentifierCollection; +export type WebAppsListDomainOwnershipIdentifiersNextResponse = + IdentifierCollection; /** Optional parameters. */ export interface WebAppsListFunctionsNextOptionalParams @@ -17012,7 +17598,8 @@ export interface WebAppsListInstanceIdentifiersNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceIdentifiersNext operation. */ -export type WebAppsListInstanceIdentifiersNextResponse = WebAppInstanceStatusCollection; +export type WebAppsListInstanceIdentifiersNextResponse = + WebAppInstanceStatusCollection; /** Optional parameters. */ export interface WebAppsListInstanceProcessesNextOptionalParams @@ -17026,14 +17613,16 @@ export interface WebAppsListInstanceProcessModulesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessModulesNext operation. */ -export type WebAppsListInstanceProcessModulesNextResponse = ProcessModuleInfoCollection; +export type WebAppsListInstanceProcessModulesNextResponse = + ProcessModuleInfoCollection; /** Optional parameters. */ export interface WebAppsListInstanceProcessThreadsNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessThreadsNext operation. */ -export type WebAppsListInstanceProcessThreadsNextResponse = ProcessThreadInfoCollection; +export type WebAppsListInstanceProcessThreadsNextResponse = + ProcessThreadInfoCollection; /** Optional parameters. */ export interface WebAppsListSiteBackupsNextOptionalParams @@ -17054,7 +17643,8 @@ export interface WebAppsGetPrivateEndpointConnectionListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionListNext operation. */ -export type WebAppsGetPrivateEndpointConnectionListNextResponse = PrivateEndpointConnectionCollection; +export type WebAppsGetPrivateEndpointConnectionListNextResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface WebAppsListProcessesNextOptionalParams @@ -17082,7 +17672,15 @@ export interface WebAppsListPublicCertificatesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listPublicCertificatesNext operation. */ -export type WebAppsListPublicCertificatesNextResponse = PublicCertificateCollection; +export type WebAppsListPublicCertificatesNextResponse = + PublicCertificateCollection; + +/** Optional parameters. */ +export interface WebAppsListSiteContainersNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listSiteContainersNext operation. */ +export type WebAppsListSiteContainersNextResponse = SiteContainerCollection; /** Optional parameters. */ export interface WebAppsListSiteExtensionsNextOptionalParams @@ -17110,49 +17708,56 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlotNextOptionalPa extends coreClient.OperationOptions {} /** Contains response data for the listBasicPublishingCredentialsPoliciesSlotNext operation. */ -export type WebAppsListBasicPublishingCredentialsPoliciesSlotNextResponse = PublishingCredentialsPoliciesCollection; +export type WebAppsListBasicPublishingCredentialsPoliciesSlotNextResponse = + PublishingCredentialsPoliciesCollection; /** Optional parameters. */ export interface WebAppsListConfigurationsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConfigurationsSlotNext operation. */ -export type WebAppsListConfigurationsSlotNextResponse = SiteConfigResourceCollection; +export type WebAppsListConfigurationsSlotNextResponse = + SiteConfigResourceCollection; /** Optional parameters. */ export interface WebAppsGetAppSettingsKeyVaultReferencesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getAppSettingsKeyVaultReferencesSlotNext operation. */ -export type WebAppsGetAppSettingsKeyVaultReferencesSlotNextResponse = ApiKVReferenceCollection; +export type WebAppsGetAppSettingsKeyVaultReferencesSlotNextResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getSiteConnectionStringKeyVaultReferencesSlotNext operation. */ -export type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotNextResponse = ApiKVReferenceCollection; +export type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotNextResponse = + ApiKVReferenceCollection; /** Optional parameters. */ export interface WebAppsListConfigurationSnapshotInfoSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listConfigurationSnapshotInfoSlotNext operation. */ -export type WebAppsListConfigurationSnapshotInfoSlotNextResponse = SiteConfigurationSnapshotInfoCollection; +export type WebAppsListConfigurationSnapshotInfoSlotNextResponse = + SiteConfigurationSnapshotInfoCollection; /** Optional parameters. */ export interface WebAppsListContinuousWebJobsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listContinuousWebJobsSlotNext operation. */ -export type WebAppsListContinuousWebJobsSlotNextResponse = ContinuousWebJobCollection; +export type WebAppsListContinuousWebJobsSlotNextResponse = + ContinuousWebJobCollection; /** Optional parameters. */ export interface WebAppsListSlotSiteDeploymentStatusesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSlotSiteDeploymentStatusesSlotNext operation. */ -export type WebAppsListSlotSiteDeploymentStatusesSlotNextResponse = CsmDeploymentStatusCollection; +export type WebAppsListSlotSiteDeploymentStatusesSlotNextResponse = + CsmDeploymentStatusCollection; /** Optional parameters. */ export interface WebAppsListDeploymentsSlotNextOptionalParams @@ -17166,49 +17771,56 @@ export interface WebAppsListDomainOwnershipIdentifiersSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listDomainOwnershipIdentifiersSlotNext operation. */ -export type WebAppsListDomainOwnershipIdentifiersSlotNextResponse = IdentifierCollection; +export type WebAppsListDomainOwnershipIdentifiersSlotNextResponse = + IdentifierCollection; /** Optional parameters. */ export interface WebAppsListInstanceFunctionsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceFunctionsSlotNext operation. */ -export type WebAppsListInstanceFunctionsSlotNextResponse = FunctionEnvelopeCollection; +export type WebAppsListInstanceFunctionsSlotNextResponse = + FunctionEnvelopeCollection; /** Optional parameters. */ export interface WebAppsListHostNameBindingsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listHostNameBindingsSlotNext operation. */ -export type WebAppsListHostNameBindingsSlotNextResponse = HostNameBindingCollection; +export type WebAppsListHostNameBindingsSlotNextResponse = + HostNameBindingCollection; /** Optional parameters. */ export interface WebAppsListInstanceIdentifiersSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceIdentifiersSlotNext operation. */ -export type WebAppsListInstanceIdentifiersSlotNextResponse = WebAppInstanceStatusCollection; +export type WebAppsListInstanceIdentifiersSlotNextResponse = + WebAppInstanceStatusCollection; /** Optional parameters. */ export interface WebAppsListInstanceProcessesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessesSlotNext operation. */ -export type WebAppsListInstanceProcessesSlotNextResponse = ProcessInfoCollection; +export type WebAppsListInstanceProcessesSlotNextResponse = + ProcessInfoCollection; /** Optional parameters. */ export interface WebAppsListInstanceProcessModulesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessModulesSlotNext operation. */ -export type WebAppsListInstanceProcessModulesSlotNextResponse = ProcessModuleInfoCollection; +export type WebAppsListInstanceProcessModulesSlotNextResponse = + ProcessModuleInfoCollection; /** Optional parameters. */ export interface WebAppsListInstanceProcessThreadsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceProcessThreadsSlotNext operation. */ -export type WebAppsListInstanceProcessThreadsSlotNextResponse = ProcessThreadInfoCollection; +export type WebAppsListInstanceProcessThreadsSlotNextResponse = + ProcessThreadInfoCollection; /** Optional parameters. */ export interface WebAppsListSiteBackupsSlotNextOptionalParams @@ -17222,14 +17834,16 @@ export interface WebAppsListPerfMonCountersSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listPerfMonCountersSlotNext operation. */ -export type WebAppsListPerfMonCountersSlotNextResponse = PerfMonCounterCollection; +export type WebAppsListPerfMonCountersSlotNextResponse = + PerfMonCounterCollection; /** Optional parameters. */ export interface WebAppsGetPrivateEndpointConnectionListSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getPrivateEndpointConnectionListSlotNext operation. */ -export type WebAppsGetPrivateEndpointConnectionListSlotNextResponse = PrivateEndpointConnectionCollection; +export type WebAppsGetPrivateEndpointConnectionListSlotNextResponse = + PrivateEndpointConnectionCollection; /** Optional parameters. */ export interface WebAppsListProcessesSlotNextOptionalParams @@ -17243,35 +17857,47 @@ export interface WebAppsListProcessModulesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listProcessModulesSlotNext operation. */ -export type WebAppsListProcessModulesSlotNextResponse = ProcessModuleInfoCollection; +export type WebAppsListProcessModulesSlotNextResponse = + ProcessModuleInfoCollection; /** Optional parameters. */ export interface WebAppsListProcessThreadsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listProcessThreadsSlotNext operation. */ -export type WebAppsListProcessThreadsSlotNextResponse = ProcessThreadInfoCollection; +export type WebAppsListProcessThreadsSlotNextResponse = + ProcessThreadInfoCollection; /** Optional parameters. */ export interface WebAppsListPublicCertificatesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listPublicCertificatesSlotNext operation. */ -export type WebAppsListPublicCertificatesSlotNextResponse = PublicCertificateCollection; +export type WebAppsListPublicCertificatesSlotNextResponse = + PublicCertificateCollection; + +/** Optional parameters. */ +export interface WebAppsListSiteContainersSlotNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listSiteContainersSlotNext operation. */ +export type WebAppsListSiteContainersSlotNextResponse = SiteContainerCollection; /** Optional parameters. */ export interface WebAppsListSiteExtensionsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSiteExtensionsSlotNext operation. */ -export type WebAppsListSiteExtensionsSlotNextResponse = SiteExtensionInfoCollection; +export type WebAppsListSiteExtensionsSlotNextResponse = + SiteExtensionInfoCollection; /** Optional parameters. */ export interface WebAppsListSlotDifferencesSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSlotDifferencesSlotNext operation. */ -export type WebAppsListSlotDifferencesSlotNextResponse = SlotDifferenceCollection; +export type WebAppsListSlotDifferencesSlotNextResponse = + SlotDifferenceCollection; /** Optional parameters. */ export interface WebAppsListSnapshotsSlotNextOptionalParams @@ -17285,21 +17911,24 @@ export interface WebAppsListSnapshotsFromDRSecondarySlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSnapshotsFromDRSecondarySlotNext operation. */ -export type WebAppsListSnapshotsFromDRSecondarySlotNextResponse = SnapshotCollection; +export type WebAppsListSnapshotsFromDRSecondarySlotNextResponse = + SnapshotCollection; /** Optional parameters. */ export interface WebAppsListTriggeredWebJobsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listTriggeredWebJobsSlotNext operation. */ -export type WebAppsListTriggeredWebJobsSlotNextResponse = TriggeredWebJobCollection; +export type WebAppsListTriggeredWebJobsSlotNextResponse = + TriggeredWebJobCollection; /** Optional parameters. */ export interface WebAppsListTriggeredWebJobHistorySlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listTriggeredWebJobHistorySlotNext operation. */ -export type WebAppsListTriggeredWebJobHistorySlotNextResponse = TriggeredJobHistoryCollection; +export type WebAppsListTriggeredWebJobHistorySlotNextResponse = + TriggeredJobHistoryCollection; /** Optional parameters. */ export interface WebAppsListUsagesSlotNextOptionalParams @@ -17320,7 +17949,8 @@ export interface WebAppsListSlotDifferencesFromProductionNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSlotDifferencesFromProductionNext operation. */ -export type WebAppsListSlotDifferencesFromProductionNextResponse = SlotDifferenceCollection; +export type WebAppsListSlotDifferencesFromProductionNextResponse = + SlotDifferenceCollection; /** Optional parameters. */ export interface WebAppsListSnapshotsNextOptionalParams @@ -17334,7 +17964,8 @@ export interface WebAppsListSnapshotsFromDRSecondaryNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSnapshotsFromDRSecondaryNext operation. */ -export type WebAppsListSnapshotsFromDRSecondaryNextResponse = SnapshotCollection; +export type WebAppsListSnapshotsFromDRSecondaryNextResponse = + SnapshotCollection; /** Optional parameters. */ export interface WebAppsListTriggeredWebJobsNextOptionalParams @@ -17348,7 +17979,8 @@ export interface WebAppsListTriggeredWebJobHistoryNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listTriggeredWebJobHistoryNext operation. */ -export type WebAppsListTriggeredWebJobHistoryNextResponse = TriggeredJobHistoryCollection; +export type WebAppsListTriggeredWebJobHistoryNextResponse = + TriggeredJobHistoryCollection; /** Optional parameters. */ export interface WebAppsListUsagesNextOptionalParams @@ -17369,7 +18001,8 @@ export interface WebAppsListInstanceWorkflowsSlotNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listInstanceWorkflowsSlotNext operation. */ -export type WebAppsListInstanceWorkflowsSlotNextResponse = WorkflowEnvelopeCollection; +export type WebAppsListInstanceWorkflowsSlotNextResponse = + WorkflowEnvelopeCollection; /** Optional parameters. */ export interface WebAppsListWorkflowsNextOptionalParams @@ -17454,84 +18087,96 @@ export interface WorkflowRunActionsListExpressionTracesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listExpressionTracesNext operation. */ -export type WorkflowRunActionsListExpressionTracesNextResponse = ExpressionTraces; +export type WorkflowRunActionsListExpressionTracesNextResponse = + ExpressionTraces; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type WorkflowRunActionRepetitionsListResponse = WorkflowRunActionRepetitionDefinitionCollection; +export type WorkflowRunActionRepetitionsListResponse = + WorkflowRunActionRepetitionDefinitionCollection; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkflowRunActionRepetitionsGetResponse = WorkflowRunActionRepetitionDefinition; +export type WorkflowRunActionRepetitionsGetResponse = + WorkflowRunActionRepetitionDefinition; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsListExpressionTracesOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listExpressionTraces operation. */ -export type WorkflowRunActionRepetitionsListExpressionTracesResponse = ExpressionTraces; +export type WorkflowRunActionRepetitionsListExpressionTracesResponse = + ExpressionTraces; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkflowRunActionRepetitionsListNextResponse = WorkflowRunActionRepetitionDefinitionCollection; +export type WorkflowRunActionRepetitionsListNextResponse = + WorkflowRunActionRepetitionDefinitionCollection; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsListExpressionTracesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listExpressionTracesNext operation. */ -export type WorkflowRunActionRepetitionsListExpressionTracesNextResponse = ExpressionTraces; +export type WorkflowRunActionRepetitionsListExpressionTracesNextResponse = + ExpressionTraces; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type WorkflowRunActionRepetitionsRequestHistoriesListResponse = RequestHistoryListResult; +export type WorkflowRunActionRepetitionsRequestHistoriesListResponse = + RequestHistoryListResult; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkflowRunActionRepetitionsRequestHistoriesGetResponse = RequestHistory; +export type WorkflowRunActionRepetitionsRequestHistoriesGetResponse = + RequestHistory; /** Optional parameters. */ export interface WorkflowRunActionRepetitionsRequestHistoriesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkflowRunActionRepetitionsRequestHistoriesListNextResponse = RequestHistoryListResult; +export type WorkflowRunActionRepetitionsRequestHistoriesListNextResponse = + RequestHistoryListResult; /** Optional parameters. */ export interface WorkflowRunActionScopeRepetitionsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type WorkflowRunActionScopeRepetitionsListResponse = WorkflowRunActionRepetitionDefinitionCollection; +export type WorkflowRunActionScopeRepetitionsListResponse = + WorkflowRunActionRepetitionDefinitionCollection; /** Optional parameters. */ export interface WorkflowRunActionScopeRepetitionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkflowRunActionScopeRepetitionsGetResponse = WorkflowRunActionRepetitionDefinition; +export type WorkflowRunActionScopeRepetitionsGetResponse = + WorkflowRunActionRepetitionDefinition; /** Optional parameters. */ export interface WorkflowRunActionScopeRepetitionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkflowRunActionScopeRepetitionsListNextResponse = WorkflowRunActionRepetitionDefinitionCollection; +export type WorkflowRunActionScopeRepetitionsListNextResponse = + WorkflowRunActionRepetitionDefinitionCollection; /** Optional parameters. */ export interface WorkflowTriggersListOptionalParams @@ -17557,7 +18202,8 @@ export interface WorkflowTriggersListCallbackUrlOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listCallbackUrl operation. */ -export type WorkflowTriggersListCallbackUrlResponse = WorkflowTriggerCallbackUrl; +export type WorkflowTriggersListCallbackUrlResponse = + WorkflowTriggerCallbackUrl; /** Optional parameters. */ export interface WorkflowTriggersRunOptionalParams @@ -17592,7 +18238,8 @@ export interface WorkflowTriggerHistoriesListOptionalParams } /** Contains response data for the list operation. */ -export type WorkflowTriggerHistoriesListResponse = WorkflowTriggerHistoryListResult; +export type WorkflowTriggerHistoriesListResponse = + WorkflowTriggerHistoryListResult; /** Optional parameters. */ export interface WorkflowTriggerHistoriesGetOptionalParams @@ -17615,7 +18262,8 @@ export interface WorkflowTriggerHistoriesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkflowTriggerHistoriesListNextResponse = WorkflowTriggerHistoryListResult; +export type WorkflowTriggerHistoriesListNextResponse = + WorkflowTriggerHistoryListResult; /** Optional parameters. */ export interface WorkflowVersionsListOptionalParams diff --git a/sdk/appservice/arm-appservice/src/models/mappers.ts b/sdk/appservice/arm-appservice/src/models/mappers.ts index c5260a6640e8..79fe78cb179f 100644 --- a/sdk/appservice/arm-appservice/src/models/mappers.ts +++ b/sdk/appservice/arm-appservice/src/models/mappers.ts @@ -8,38 +8,39 @@ import * as coreClient from "@azure/core-client"; -export const AppServiceCertificateOrderCollection: coreClient.CompositeMapper = { - serializedName: "AppServiceCertificateOrderCollection", - type: { - name: "Composite", - className: "AppServiceCertificateOrderCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "AppServiceCertificateOrder", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AppServiceCertificateOrder" - } - } - } +export const AppServiceCertificateOrderCollection: coreClient.CompositeMapper = + { + serializedName: "AppServiceCertificateOrderCollection", + type: { + name: "Composite", + className: "AppServiceCertificateOrderCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "AppServiceCertificateOrder", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AppServiceCertificateOrder", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; + }, + }; export const AppServiceCertificate: coreClient.CompositeMapper = { serializedName: "AppServiceCertificate", @@ -51,15 +52,15 @@ export const AppServiceCertificate: coreClient.CompositeMapper = { serializedName: "keyVaultId", xmlName: "keyVaultId", type: { - name: "String" - } + name: "String", + }, }, keyVaultSecretName: { serializedName: "keyVaultSecretName", xmlName: "keyVaultSecretName", type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "provisioningState", @@ -78,12 +79,12 @@ export const AppServiceCertificate: coreClient.CompositeMapper = { "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", - "Unknown" - ] - } - } - } - } + "Unknown", + ], + }, + }, + }, + }, }; export const CertificateDetails: coreClient.CompositeMapper = { @@ -97,75 +98,75 @@ export const CertificateDetails: coreClient.CompositeMapper = { readOnly: true, xmlName: "version", type: { - name: "Number" - } + name: "Number", + }, }, serialNumber: { serializedName: "serialNumber", readOnly: true, xmlName: "serialNumber", type: { - name: "String" - } + name: "String", + }, }, thumbprint: { serializedName: "thumbprint", readOnly: true, xmlName: "thumbprint", type: { - name: "String" - } + name: "String", + }, }, subject: { serializedName: "subject", readOnly: true, xmlName: "subject", type: { - name: "String" - } + name: "String", + }, }, notBefore: { serializedName: "notBefore", readOnly: true, xmlName: "notBefore", type: { - name: "DateTime" - } + name: "DateTime", + }, }, notAfter: { serializedName: "notAfter", readOnly: true, xmlName: "notAfter", type: { - name: "DateTime" - } + name: "DateTime", + }, }, signatureAlgorithm: { serializedName: "signatureAlgorithm", readOnly: true, xmlName: "signatureAlgorithm", type: { - name: "String" - } + name: "String", + }, }, issuer: { serializedName: "issuer", readOnly: true, xmlName: "issuer", type: { - name: "String" - } + name: "String", + }, }, rawData: { serializedName: "rawData", readOnly: true, xmlName: "rawData", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CertificateOrderContact: coreClient.CompositeMapper = { @@ -178,32 +179,32 @@ export const CertificateOrderContact: coreClient.CompositeMapper = { serializedName: "email", xmlName: "email", type: { - name: "String" - } + name: "String", + }, }, nameFirst: { serializedName: "nameFirst", xmlName: "nameFirst", type: { - name: "String" - } + name: "String", + }, }, nameLast: { serializedName: "nameLast", xmlName: "nameLast", type: { - name: "String" - } + name: "String", + }, }, phone: { serializedName: "phone", xmlName: "phone", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Resource: coreClient.CompositeMapper = { @@ -217,50 +218,50 @@ export const Resource: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, kind: { serializedName: "kind", xmlName: "kind", type: { - name: "String" - } + name: "String", + }, }, location: { serializedName: "location", required: true, xmlName: "location", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, tags: { serializedName: "tags", xmlName: "tags", type: { name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + value: { type: { name: "String" } }, + }, + }, + }, + }, }; export const DefaultErrorResponse: coreClient.CompositeMapper = { @@ -274,11 +275,11 @@ export const DefaultErrorResponse: coreClient.CompositeMapper = { xmlName: "error", type: { name: "Composite", - className: "DefaultErrorResponseError" - } - } - } - } + className: "DefaultErrorResponseError", + }, + }, + }, + }, }; export const DefaultErrorResponseError: coreClient.CompositeMapper = { @@ -292,24 +293,24 @@ export const DefaultErrorResponseError: coreClient.CompositeMapper = { readOnly: true, xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", readOnly: true, xmlName: "message", type: { - name: "String" - } + name: "String", + }, }, target: { serializedName: "target", readOnly: true, xmlName: "target", type: { - name: "String" - } + name: "String", + }, }, details: { serializedName: "details", @@ -320,56 +321,57 @@ export const DefaultErrorResponseError: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DefaultErrorResponseErrorDetailsItem" - } - } - } + className: "DefaultErrorResponseErrorDetailsItem", + }, + }, + }, }, innererror: { serializedName: "innererror", readOnly: true, xmlName: "innererror", type: { - name: "String" - } - } - } - } -}; - -export const DefaultErrorResponseErrorDetailsItem: coreClient.CompositeMapper = { - serializedName: "DefaultErrorResponseErrorDetailsItem", - type: { - name: "Composite", - className: "DefaultErrorResponseErrorDetailsItem", - modelProperties: { - code: { - serializedName: "code", - readOnly: true, - xmlName: "code", - type: { - name: "String" - } + name: "String", + }, }, - message: { - serializedName: "message", - readOnly: true, - xmlName: "message", - type: { - name: "String" - } + }, + }, +}; + +export const DefaultErrorResponseErrorDetailsItem: coreClient.CompositeMapper = + { + serializedName: "DefaultErrorResponseErrorDetailsItem", + type: { + name: "Composite", + className: "DefaultErrorResponseErrorDetailsItem", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, + xmlName: "code", + type: { + name: "String", + }, + }, + message: { + serializedName: "message", + readOnly: true, + xmlName: "message", + type: { + name: "String", + }, + }, + target: { + serializedName: "target", + readOnly: true, + xmlName: "target", + type: { + name: "String", + }, + }, }, - target: { - serializedName: "target", - readOnly: true, - xmlName: "target", - type: { - name: "String" - } - } - } - } -}; + }, + }; export const ProxyOnlyResource: coreClient.CompositeMapper = { serializedName: "ProxyOnlyResource", @@ -382,34 +384,34 @@ export const ProxyOnlyResource: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, kind: { serializedName: "kind", xmlName: "kind", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppServiceCertificateCollection: coreClient.CompositeMapper = { @@ -428,21 +430,21 @@ export const AppServiceCertificateCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AppServiceCertificateResource" - } - } - } + className: "AppServiceCertificateResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const NameIdentifier: coreClient.CompositeMapper = { @@ -455,11 +457,11 @@ export const NameIdentifier: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteSealRequest: coreClient.CompositeMapper = { @@ -472,18 +474,18 @@ export const SiteSealRequest: coreClient.CompositeMapper = { serializedName: "lightTheme", xmlName: "lightTheme", type: { - name: "Boolean" - } + name: "Boolean", + }, }, locale: { serializedName: "locale", xmlName: "locale", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteSeal: coreClient.CompositeMapper = { @@ -497,11 +499,11 @@ export const SiteSeal: coreClient.CompositeMapper = { required: true, xmlName: "html", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CertificateOrderAction: coreClient.CompositeMapper = { @@ -530,20 +532,20 @@ export const CertificateOrderAction: coreClient.CompositeMapper = { "CertificateExpired", "CertificateExpirationWarning", "FraudDocumentationRequired", - "Unknown" - ] - } + "Unknown", + ], + }, }, createdAt: { serializedName: "createdAt", readOnly: true, xmlName: "createdAt", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const CertificateEmail: coreClient.CompositeMapper = { @@ -556,18 +558,18 @@ export const CertificateEmail: coreClient.CompositeMapper = { serializedName: "emailId", xmlName: "emailId", type: { - name: "String" - } + name: "String", + }, }, timeStamp: { serializedName: "timeStamp", xmlName: "timeStamp", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const DetectorResponseCollection: coreClient.CompositeMapper = { @@ -586,21 +588,21 @@ export const DetectorResponseCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DetectorResponse" - } - } - } + className: "DetectorResponse", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DetectorInfo: coreClient.CompositeMapper = { @@ -614,40 +616,40 @@ export const DetectorInfo: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", readOnly: true, xmlName: "description", type: { - name: "String" - } + name: "String", + }, }, author: { serializedName: "author", readOnly: true, xmlName: "author", type: { - name: "String" - } + name: "String", + }, }, category: { serializedName: "category", readOnly: true, xmlName: "category", type: { - name: "String" - } + name: "String", + }, }, supportTopicList: { serializedName: "supportTopicList", @@ -659,10 +661,10 @@ export const DetectorInfo: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SupportTopic" - } - } - } + className: "SupportTopic", + }, + }, + }, }, analysisType: { serializedName: "analysisType", @@ -673,10 +675,10 @@ export const DetectorInfo: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, type: { serializedName: "type", @@ -684,19 +686,19 @@ export const DetectorInfo: coreClient.CompositeMapper = { xmlName: "type", type: { name: "Enum", - allowedValues: ["Detector", "Analysis", "CategoryOverview"] - } + allowedValues: ["Detector", "Analysis", "CategoryOverview"], + }, }, score: { serializedName: "score", readOnly: true, xmlName: "score", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const SupportTopic: coreClient.CompositeMapper = { @@ -710,19 +712,19 @@ export const SupportTopic: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, pesId: { serializedName: "pesId", readOnly: true, xmlName: "pesId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DiagnosticData: coreClient.CompositeMapper = { @@ -736,19 +738,19 @@ export const DiagnosticData: coreClient.CompositeMapper = { xmlName: "table", type: { name: "Composite", - className: "DataTableResponseObject" - } + className: "DataTableResponseObject", + }, }, renderingProperties: { serializedName: "renderingProperties", xmlName: "renderingProperties", type: { name: "Composite", - className: "Rendering" - } - } - } - } + className: "Rendering", + }, + }, + }, + }, }; export const DataTableResponseObject: coreClient.CompositeMapper = { @@ -761,8 +763,8 @@ export const DataTableResponseObject: coreClient.CompositeMapper = { serializedName: "tableName", xmlName: "tableName", type: { - name: "String" - } + name: "String", + }, }, columns: { serializedName: "columns", @@ -773,10 +775,10 @@ export const DataTableResponseObject: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DataTableResponseColumn" - } - } - } + className: "DataTableResponseColumn", + }, + }, + }, }, rows: { serializedName: "rows", @@ -789,15 +791,15 @@ export const DataTableResponseObject: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, + }, + }, }; export const DataTableResponseColumn: coreClient.CompositeMapper = { @@ -810,25 +812,25 @@ export const DataTableResponseColumn: coreClient.CompositeMapper = { serializedName: "columnName", xmlName: "columnName", type: { - name: "String" - } + name: "String", + }, }, dataType: { serializedName: "dataType", xmlName: "dataType", type: { - name: "String" - } + name: "String", + }, }, columnType: { serializedName: "columnType", xmlName: "columnType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Rendering: coreClient.CompositeMapper = { @@ -867,26 +869,26 @@ export const Rendering: coreClient.CompositeMapper = { "DownTime", "SummaryCard", "SearchComponent", - "AppInsightEnablement" - ] - } + "AppInsightEnablement", + ], + }, }, title: { serializedName: "title", xmlName: "title", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Status: coreClient.CompositeMapper = { @@ -899,19 +901,19 @@ export const Status: coreClient.CompositeMapper = { serializedName: "message", xmlName: "message", type: { - name: "String" - } + name: "String", + }, }, statusId: { serializedName: "statusId", xmlName: "statusId", type: { name: "Enum", - allowedValues: ["Critical", "Warning", "Info", "Success", "None"] - } - } - } - } + allowedValues: ["Critical", "Warning", "Info", "Success", "None"], + }, + }, + }, + }, }; export const DataProviderMetadata: coreClient.CompositeMapper = { @@ -924,8 +926,8 @@ export const DataProviderMetadata: coreClient.CompositeMapper = { serializedName: "providerName", xmlName: "providerName", type: { - name: "String" - } + name: "String", + }, }, propertyBag: { serializedName: "propertyBag", @@ -937,13 +939,13 @@ export const DataProviderMetadata: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "KeyValuePairStringObject" - } - } - } - } - } - } + className: "KeyValuePairStringObject", + }, + }, + }, + }, + }, + }, }; export const KeyValuePairStringObject: coreClient.CompositeMapper = { @@ -957,8 +959,8 @@ export const KeyValuePairStringObject: coreClient.CompositeMapper = { readOnly: true, xmlName: "key", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", @@ -966,11 +968,11 @@ export const KeyValuePairStringObject: coreClient.CompositeMapper = { xmlName: "value", type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, }; export const QueryUtterancesResults: coreClient.CompositeMapper = { @@ -983,8 +985,8 @@ export const QueryUtterancesResults: coreClient.CompositeMapper = { serializedName: "query", xmlName: "query", type: { - name: "String" - } + name: "String", + }, }, results: { serializedName: "results", @@ -995,13 +997,13 @@ export const QueryUtterancesResults: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "QueryUtterancesResult" - } - } - } - } - } - } + className: "QueryUtterancesResult", + }, + }, + }, + }, + }, + }, }; export const QueryUtterancesResult: coreClient.CompositeMapper = { @@ -1015,18 +1017,18 @@ export const QueryUtterancesResult: coreClient.CompositeMapper = { xmlName: "sampleUtterance", type: { name: "Composite", - className: "SampleUtterance" - } + className: "SampleUtterance", + }, }, score: { serializedName: "score", xmlName: "score", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const SampleUtterance: coreClient.CompositeMapper = { @@ -1039,8 +1041,8 @@ export const SampleUtterance: coreClient.CompositeMapper = { serializedName: "text", xmlName: "text", type: { - name: "String" - } + name: "String", + }, }, links: { serializedName: "links", @@ -1050,20 +1052,20 @@ export const SampleUtterance: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, qid: { serializedName: "qid", xmlName: "qid", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmOperationCollection: coreClient.CompositeMapper = { @@ -1082,21 +1084,21 @@ export const CsmOperationCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "CsmOperationDescription" - } - } - } + className: "CsmOperationDescription", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmOperationDescription: coreClient.CompositeMapper = { @@ -1109,41 +1111,41 @@ export const CsmOperationDescription: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, isDataAction: { serializedName: "isDataAction", xmlName: "isDataAction", type: { - name: "Boolean" - } + name: "Boolean", + }, }, display: { serializedName: "display", xmlName: "display", type: { name: "Composite", - className: "CsmOperationDisplay" - } + className: "CsmOperationDisplay", + }, }, origin: { serializedName: "origin", xmlName: "origin", type: { - name: "String" - } + name: "String", + }, }, properties: { serializedName: "properties", xmlName: "properties", type: { name: "Composite", - className: "CsmOperationDescriptionProperties" - } - } - } - } + className: "CsmOperationDescriptionProperties", + }, + }, + }, + }, }; export const CsmOperationDisplay: coreClient.CompositeMapper = { @@ -1156,32 +1158,32 @@ export const CsmOperationDisplay: coreClient.CompositeMapper = { serializedName: "provider", xmlName: "provider", type: { - name: "String" - } + name: "String", + }, }, resource: { serializedName: "resource", xmlName: "resource", type: { - name: "String" - } + name: "String", + }, }, operation: { serializedName: "operation", xmlName: "operation", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmOperationDescriptionProperties: coreClient.CompositeMapper = { @@ -1195,11 +1197,11 @@ export const CsmOperationDescriptionProperties: coreClient.CompositeMapper = { xmlName: "serviceSpecification", type: { name: "Composite", - className: "ServiceSpecification" - } - } - } - } + className: "ServiceSpecification", + }, + }, + }, + }, }; export const ServiceSpecification: coreClient.CompositeMapper = { @@ -1217,10 +1219,10 @@ export const ServiceSpecification: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "MetricSpecification" - } - } - } + className: "MetricSpecification", + }, + }, + }, }, logSpecifications: { serializedName: "logSpecifications", @@ -1231,13 +1233,13 @@ export const ServiceSpecification: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "LogSpecification" - } - } - } - } - } - } + className: "LogSpecification", + }, + }, + }, + }, + }, + }, }; export const MetricSpecification: coreClient.CompositeMapper = { @@ -1250,85 +1252,85 @@ export const MetricSpecification: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "displayName", xmlName: "displayName", type: { - name: "String" - } + name: "String", + }, }, displayDescription: { serializedName: "displayDescription", xmlName: "displayDescription", type: { - name: "String" - } + name: "String", + }, }, unit: { serializedName: "unit", xmlName: "unit", type: { - name: "String" - } + name: "String", + }, }, aggregationType: { serializedName: "aggregationType", xmlName: "aggregationType", type: { - name: "String" - } + name: "String", + }, }, supportsInstanceLevelAggregation: { serializedName: "supportsInstanceLevelAggregation", xmlName: "supportsInstanceLevelAggregation", type: { - name: "Boolean" - } + name: "Boolean", + }, }, enableRegionalMdmAccount: { serializedName: "enableRegionalMdmAccount", xmlName: "enableRegionalMdmAccount", type: { - name: "Boolean" - } + name: "Boolean", + }, }, sourceMdmAccount: { serializedName: "sourceMdmAccount", xmlName: "sourceMdmAccount", type: { - name: "String" - } + name: "String", + }, }, sourceMdmNamespace: { serializedName: "sourceMdmNamespace", xmlName: "sourceMdmNamespace", type: { - name: "String" - } + name: "String", + }, }, metricFilterPattern: { serializedName: "metricFilterPattern", xmlName: "metricFilterPattern", type: { - name: "String" - } + name: "String", + }, }, fillGapWithZero: { serializedName: "fillGapWithZero", xmlName: "fillGapWithZero", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isInternal: { serializedName: "isInternal", xmlName: "isInternal", type: { - name: "Boolean" - } + name: "Boolean", + }, }, dimensions: { serializedName: "dimensions", @@ -1339,17 +1341,17 @@ export const MetricSpecification: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Dimension" - } - } - } + className: "Dimension", + }, + }, + }, }, category: { serializedName: "category", xmlName: "category", type: { - name: "String" - } + name: "String", + }, }, availabilities: { serializedName: "availabilities", @@ -1360,10 +1362,10 @@ export const MetricSpecification: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "MetricAvailability" - } - } - } + className: "MetricAvailability", + }, + }, + }, }, supportedTimeGrainTypes: { serializedName: "supportedTimeGrainTypes", @@ -1373,10 +1375,10 @@ export const MetricSpecification: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, supportedAggregationTypes: { serializedName: "supportedAggregationTypes", @@ -1386,13 +1388,13 @@ export const MetricSpecification: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const Dimension: coreClient.CompositeMapper = { @@ -1405,32 +1407,32 @@ export const Dimension: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "displayName", xmlName: "displayName", type: { - name: "String" - } + name: "String", + }, }, internalName: { serializedName: "internalName", xmlName: "internalName", type: { - name: "String" - } + name: "String", + }, }, toBeExportedForShoebox: { serializedName: "toBeExportedForShoebox", xmlName: "toBeExportedForShoebox", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const MetricAvailability: coreClient.CompositeMapper = { @@ -1443,18 +1445,18 @@ export const MetricAvailability: coreClient.CompositeMapper = { serializedName: "timeGrain", xmlName: "timeGrain", type: { - name: "String" - } + name: "String", + }, }, blobDuration: { serializedName: "blobDuration", xmlName: "blobDuration", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const LogSpecification: coreClient.CompositeMapper = { @@ -1467,32 +1469,32 @@ export const LogSpecification: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "displayName", xmlName: "displayName", type: { - name: "String" - } + name: "String", + }, }, blobDuration: { serializedName: "blobDuration", xmlName: "blobDuration", type: { - name: "String" - } + name: "String", + }, }, logFilterPattern: { serializedName: "logFilterPattern", xmlName: "logFilterPattern", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DomainAvailabilityCheckResult: coreClient.CompositeMapper = { @@ -1505,26 +1507,26 @@ export const DomainAvailabilityCheckResult: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, available: { serializedName: "available", xmlName: "available", type: { - name: "Boolean" - } + name: "Boolean", + }, }, domainType: { serializedName: "domainType", xmlName: "domainType", type: { name: "Enum", - allowedValues: ["Regular", "SoftDeleted"] - } - } - } - } + allowedValues: ["Regular", "SoftDeleted"], + }, + }, + }, + }, }; export const DomainCollection: coreClient.CompositeMapper = { @@ -1543,21 +1545,21 @@ export const DomainCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Domain" - } - } - } + className: "Domain", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Contact: coreClient.CompositeMapper = { @@ -1571,71 +1573,71 @@ export const Contact: coreClient.CompositeMapper = { xmlName: "addressMailing", type: { name: "Composite", - className: "Address" - } + className: "Address", + }, }, email: { serializedName: "email", required: true, xmlName: "email", type: { - name: "String" - } + name: "String", + }, }, fax: { serializedName: "fax", xmlName: "fax", type: { - name: "String" - } + name: "String", + }, }, jobTitle: { serializedName: "jobTitle", xmlName: "jobTitle", type: { - name: "String" - } + name: "String", + }, }, nameFirst: { serializedName: "nameFirst", required: true, xmlName: "nameFirst", type: { - name: "String" - } + name: "String", + }, }, nameLast: { serializedName: "nameLast", required: true, xmlName: "nameLast", type: { - name: "String" - } + name: "String", + }, }, nameMiddle: { serializedName: "nameMiddle", xmlName: "nameMiddle", type: { - name: "String" - } + name: "String", + }, }, organization: { serializedName: "organization", xmlName: "organization", type: { - name: "String" - } + name: "String", + }, }, phone: { serializedName: "phone", required: true, xmlName: "phone", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Address: coreClient.CompositeMapper = { @@ -1649,50 +1651,50 @@ export const Address: coreClient.CompositeMapper = { required: true, xmlName: "address1", type: { - name: "String" - } + name: "String", + }, }, address2: { serializedName: "address2", xmlName: "address2", type: { - name: "String" - } + name: "String", + }, }, city: { serializedName: "city", required: true, xmlName: "city", type: { - name: "String" - } + name: "String", + }, }, country: { serializedName: "country", required: true, xmlName: "country", type: { - name: "String" - } + name: "String", + }, }, postalCode: { serializedName: "postalCode", required: true, xmlName: "postalCode", type: { - name: "String" - } + name: "String", + }, }, state: { serializedName: "state", required: true, xmlName: "state", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HostName: coreClient.CompositeMapper = { @@ -1705,8 +1707,8 @@ export const HostName: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, siteNames: { serializedName: "siteNames", @@ -1716,44 +1718,44 @@ export const HostName: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, azureResourceName: { serializedName: "azureResourceName", xmlName: "azureResourceName", type: { - name: "String" - } + name: "String", + }, }, azureResourceType: { serializedName: "azureResourceType", xmlName: "azureResourceType", type: { name: "Enum", - allowedValues: ["Website", "TrafficManager"] - } + allowedValues: ["Website", "TrafficManager"], + }, }, customHostNameDnsRecordType: { serializedName: "customHostNameDnsRecordType", xmlName: "customHostNameDnsRecordType", type: { name: "Enum", - allowedValues: ["CName", "A"] - } + allowedValues: ["CName", "A"], + }, }, hostNameType: { serializedName: "hostNameType", xmlName: "hostNameType", type: { name: "Enum", - allowedValues: ["Verified", "Managed"] - } - } - } - } + allowedValues: ["Verified", "Managed"], + }, + }, + }, + }, }; export const DomainPurchaseConsent: coreClient.CompositeMapper = { @@ -1770,27 +1772,27 @@ export const DomainPurchaseConsent: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, agreedBy: { serializedName: "agreedBy", xmlName: "agreedBy", type: { - name: "String" - } + name: "String", + }, }, agreedAt: { serializedName: "agreedAt", xmlName: "agreedAt", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const DomainControlCenterSsoRequest: coreClient.CompositeMapper = { @@ -1804,52 +1806,53 @@ export const DomainControlCenterSsoRequest: coreClient.CompositeMapper = { readOnly: true, xmlName: "url", type: { - name: "String" - } + name: "String", + }, }, postParameterKey: { serializedName: "postParameterKey", readOnly: true, xmlName: "postParameterKey", type: { - name: "String" - } + name: "String", + }, }, postParameterValue: { serializedName: "postParameterValue", readOnly: true, xmlName: "postParameterValue", type: { - name: "String" - } - } - } - } -}; - -export const DomainRecommendationSearchParameters: coreClient.CompositeMapper = { - serializedName: "DomainRecommendationSearchParameters", - type: { - name: "Composite", - className: "DomainRecommendationSearchParameters", - modelProperties: { - keywords: { - serializedName: "keywords", - xmlName: "keywords", - type: { - name: "String" - } + name: "String", + }, }, - maxDomainRecommendations: { - serializedName: "maxDomainRecommendations", - xmlName: "maxDomainRecommendations", - type: { - name: "Number" - } - } - } - } -}; + }, + }, +}; + +export const DomainRecommendationSearchParameters: coreClient.CompositeMapper = + { + serializedName: "DomainRecommendationSearchParameters", + type: { + name: "Composite", + className: "DomainRecommendationSearchParameters", + modelProperties: { + keywords: { + serializedName: "keywords", + xmlName: "keywords", + type: { + name: "String", + }, + }, + maxDomainRecommendations: { + serializedName: "maxDomainRecommendations", + xmlName: "maxDomainRecommendations", + type: { + name: "Number", + }, + }, + }, + }, + }; export const NameIdentifierCollection: coreClient.CompositeMapper = { serializedName: "NameIdentifierCollection", @@ -1867,21 +1870,21 @@ export const NameIdentifierCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameIdentifier" - } - } - } + className: "NameIdentifier", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DomainOwnershipIdentifierCollection: coreClient.CompositeMapper = { @@ -1900,21 +1903,21 @@ export const DomainOwnershipIdentifierCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DomainOwnershipIdentifier" - } - } - } + className: "DomainOwnershipIdentifier", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TopLevelDomainCollection: coreClient.CompositeMapper = { @@ -1933,21 +1936,21 @@ export const TopLevelDomainCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "TopLevelDomain" - } - } - } + className: "TopLevelDomain", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TopLevelDomainAgreementOption: coreClient.CompositeMapper = { @@ -1960,18 +1963,18 @@ export const TopLevelDomainAgreementOption: coreClient.CompositeMapper = { serializedName: "includePrivacy", xmlName: "includePrivacy", type: { - name: "Boolean" - } + name: "Boolean", + }, }, forTransfer: { serializedName: "forTransfer", xmlName: "forTransfer", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const TldLegalAgreementCollection: coreClient.CompositeMapper = { @@ -1990,21 +1993,21 @@ export const TldLegalAgreementCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "TldLegalAgreement" - } - } - } + className: "TldLegalAgreement", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TldLegalAgreement: coreClient.CompositeMapper = { @@ -2018,34 +2021,34 @@ export const TldLegalAgreement: coreClient.CompositeMapper = { required: true, xmlName: "agreementKey", type: { - name: "String" - } + name: "String", + }, }, title: { serializedName: "title", required: true, xmlName: "title", type: { - name: "String" - } + name: "String", + }, }, content: { serializedName: "content", required: true, xmlName: "content", type: { - name: "String" - } + name: "String", + }, }, url: { serializedName: "url", xmlName: "url", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppServiceEnvironmentCollection: coreClient.CompositeMapper = { @@ -2064,21 +2067,21 @@ export const AppServiceEnvironmentCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AppServiceEnvironmentResource" - } - } - } + className: "AppServiceEnvironmentResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppServiceEnvironment: coreClient.CompositeMapper = { @@ -2098,9 +2101,9 @@ export const AppServiceEnvironment: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, status: { serializedName: "status", @@ -2108,75 +2111,75 @@ export const AppServiceEnvironment: coreClient.CompositeMapper = { xmlName: "status", type: { name: "Enum", - allowedValues: ["Preparing", "Ready", "Scaling", "Deleting"] - } + allowedValues: ["Preparing", "Ready", "Scaling", "Deleting"], + }, }, virtualNetwork: { serializedName: "virtualNetwork", xmlName: "virtualNetwork", type: { name: "Composite", - className: "VirtualNetworkProfile" - } + className: "VirtualNetworkProfile", + }, }, internalLoadBalancingMode: { serializedName: "internalLoadBalancingMode", xmlName: "internalLoadBalancingMode", type: { - name: "String" - } + name: "String", + }, }, multiSize: { serializedName: "multiSize", xmlName: "multiSize", type: { - name: "String" - } + name: "String", + }, }, multiRoleCount: { serializedName: "multiRoleCount", readOnly: true, xmlName: "multiRoleCount", type: { - name: "Number" - } + name: "Number", + }, }, ipsslAddressCount: { serializedName: "ipsslAddressCount", xmlName: "ipsslAddressCount", type: { - name: "Number" - } + name: "Number", + }, }, dnsSuffix: { serializedName: "dnsSuffix", xmlName: "dnsSuffix", type: { - name: "String" - } + name: "String", + }, }, maximumNumberOfMachines: { serializedName: "maximumNumberOfMachines", readOnly: true, xmlName: "maximumNumberOfMachines", type: { - name: "Number" - } + name: "Number", + }, }, frontEndScaleFactor: { serializedName: "frontEndScaleFactor", xmlName: "frontEndScaleFactor", type: { - name: "Number" - } + name: "Number", + }, }, suspended: { serializedName: "suspended", readOnly: true, xmlName: "suspended", type: { - name: "Boolean" - } + name: "Boolean", + }, }, clusterSettings: { serializedName: "clusterSettings", @@ -2187,10 +2190,10 @@ export const AppServiceEnvironment: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } + className: "NameValuePair", + }, + }, + }, }, userWhitelistedIpRanges: { serializedName: "userWhitelistedIpRanges", @@ -2200,67 +2203,67 @@ export const AppServiceEnvironment: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, hasLinuxWorkers: { serializedName: "hasLinuxWorkers", readOnly: true, xmlName: "hasLinuxWorkers", type: { - name: "Boolean" - } + name: "Boolean", + }, }, upgradePreference: { defaultValue: "None", serializedName: "upgradePreference", xmlName: "upgradePreference", type: { - name: "String" - } + name: "String", + }, }, dedicatedHostCount: { serializedName: "dedicatedHostCount", xmlName: "dedicatedHostCount", type: { - name: "Number" - } + name: "Number", + }, }, zoneRedundant: { serializedName: "zoneRedundant", xmlName: "zoneRedundant", type: { - name: "Boolean" - } + name: "Boolean", + }, }, customDnsSuffixConfiguration: { serializedName: "customDnsSuffixConfiguration", xmlName: "customDnsSuffixConfiguration", type: { name: "Composite", - className: "CustomDnsSuffixConfiguration" - } + className: "CustomDnsSuffixConfiguration", + }, }, networkingConfiguration: { serializedName: "networkingConfiguration", xmlName: "networkingConfiguration", type: { name: "Composite", - className: "AseV3NetworkingConfiguration" - } + className: "AseV3NetworkingConfiguration", + }, }, upgradeAvailability: { serializedName: "upgradeAvailability", readOnly: true, xmlName: "upgradeAvailability", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VirtualNetworkProfile: coreClient.CompositeMapper = { @@ -2274,34 +2277,34 @@ export const VirtualNetworkProfile: coreClient.CompositeMapper = { required: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, subnet: { serializedName: "subnet", xmlName: "subnet", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const NameValuePair: coreClient.CompositeMapper = { @@ -2314,18 +2317,18 @@ export const NameValuePair: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StampCapacityCollection: coreClient.CompositeMapper = { @@ -2344,21 +2347,21 @@ export const StampCapacityCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StampCapacity" - } - } - } + className: "StampCapacity", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StampCapacity: coreClient.CompositeMapper = { @@ -2371,37 +2374,37 @@ export const StampCapacity: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, availableCapacity: { serializedName: "availableCapacity", xmlName: "availableCapacity", type: { - name: "Number" - } + name: "Number", + }, }, totalCapacity: { serializedName: "totalCapacity", xmlName: "totalCapacity", type: { - name: "Number" - } + name: "Number", + }, }, unit: { serializedName: "unit", xmlName: "unit", type: { - name: "String" - } + name: "String", + }, }, computeMode: { serializedName: "computeMode", xmlName: "computeMode", type: { name: "Enum", - allowedValues: ["Shared", "Dedicated", "Dynamic"] - } + allowedValues: ["Shared", "Dedicated", "Dynamic"], + }, }, workerSize: { serializedName: "workerSize", @@ -2420,47 +2423,47 @@ export const StampCapacity: coreClient.CompositeMapper = { "LargeV3", "NestedSmall", "NestedSmallLinux", - "Default" - ] - } + "Default", + ], + }, }, workerSizeId: { serializedName: "workerSizeId", xmlName: "workerSizeId", type: { - name: "Number" - } + name: "Number", + }, }, excludeFromCapacityAllocation: { serializedName: "excludeFromCapacityAllocation", xmlName: "excludeFromCapacityAllocation", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isApplicableForAllComputeModes: { serializedName: "isApplicableForAllComputeModes", xmlName: "isApplicableForAllComputeModes", type: { - name: "Boolean" - } + name: "Boolean", + }, }, siteMode: { serializedName: "siteMode", xmlName: "siteMode", type: { - name: "String" - } + name: "String", + }, }, isLinux: { serializedName: "isLinux", xmlName: "isLinux", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const VirtualIPMapping: coreClient.CompositeMapper = { @@ -2473,39 +2476,39 @@ export const VirtualIPMapping: coreClient.CompositeMapper = { serializedName: "virtualIP", xmlName: "virtualIP", type: { - name: "String" - } + name: "String", + }, }, internalHttpPort: { serializedName: "internalHttpPort", xmlName: "internalHttpPort", type: { - name: "Number" - } + name: "Number", + }, }, internalHttpsPort: { serializedName: "internalHttpsPort", xmlName: "internalHttpsPort", type: { - name: "Number" - } + name: "Number", + }, }, inUse: { serializedName: "inUse", xmlName: "inUse", type: { - name: "Boolean" - } + name: "Boolean", + }, }, serviceName: { serializedName: "serviceName", xmlName: "serviceName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WebAppCollection: coreClient.CompositeMapper = { @@ -2524,21 +2527,21 @@ export const WebAppCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Site" - } - } - } + className: "Site", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HostNameSslState: coreClient.CompositeMapper = { @@ -2551,48 +2554,107 @@ export const HostNameSslState: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, sslState: { serializedName: "sslState", xmlName: "sslState", type: { name: "Enum", - allowedValues: ["Disabled", "SniEnabled", "IpBasedEnabled"] - } + allowedValues: ["Disabled", "SniEnabled", "IpBasedEnabled"], + }, }, virtualIP: { serializedName: "virtualIP", xmlName: "virtualIP", type: { - name: "String" - } + name: "String", + }, }, thumbprint: { serializedName: "thumbprint", xmlName: "thumbprint", type: { - name: "String" - } + name: "String", + }, }, toUpdate: { serializedName: "toUpdate", xmlName: "toUpdate", type: { - name: "Boolean" - } + name: "Boolean", + }, }, hostType: { serializedName: "hostType", xmlName: "hostType", type: { name: "Enum", - allowedValues: ["Standard", "Repository"] - } - } - } - } + allowedValues: ["Standard", "Repository"], + }, + }, + }, + }, +}; + +export const SiteDnsConfig: coreClient.CompositeMapper = { + serializedName: "SiteDnsConfig", + type: { + name: "Composite", + className: "SiteDnsConfig", + modelProperties: { + dnsServers: { + serializedName: "dnsServers", + xmlName: "dnsServers", + xmlElementName: "SiteDnsConfigDnsServersItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + dnsAltServer: { + serializedName: "dnsAltServer", + xmlName: "dnsAltServer", + type: { + name: "String", + }, + }, + dnsRetryAttemptTimeout: { + serializedName: "dnsRetryAttemptTimeout", + xmlName: "dnsRetryAttemptTimeout", + type: { + name: "Number", + }, + }, + dnsRetryAttemptCount: { + serializedName: "dnsRetryAttemptCount", + xmlName: "dnsRetryAttemptCount", + type: { + name: "Number", + }, + }, + dnsMaxCacheTimeout: { + serializedName: "dnsMaxCacheTimeout", + xmlName: "dnsMaxCacheTimeout", + type: { + name: "Number", + }, + }, + dnsLegacySortOrder: { + serializedName: "dnsLegacySortOrder", + readOnly: true, + xmlName: "dnsLegacySortOrder", + type: { + name: "Boolean", + }, + }, + }, + }, }; export const SiteConfig: coreClient.CompositeMapper = { @@ -2605,8 +2667,8 @@ export const SiteConfig: coreClient.CompositeMapper = { serializedName: "numberOfWorkers", xmlName: "numberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, defaultDocuments: { serializedName: "defaultDocuments", @@ -2616,130 +2678,130 @@ export const SiteConfig: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, netFrameworkVersion: { defaultValue: "v4.6", serializedName: "netFrameworkVersion", xmlName: "netFrameworkVersion", type: { - name: "String" - } + name: "String", + }, }, phpVersion: { serializedName: "phpVersion", xmlName: "phpVersion", type: { - name: "String" - } + name: "String", + }, }, pythonVersion: { serializedName: "pythonVersion", xmlName: "pythonVersion", type: { - name: "String" - } + name: "String", + }, }, nodeVersion: { serializedName: "nodeVersion", xmlName: "nodeVersion", type: { - name: "String" - } + name: "String", + }, }, powerShellVersion: { serializedName: "powerShellVersion", xmlName: "powerShellVersion", type: { - name: "String" - } + name: "String", + }, }, linuxFxVersion: { serializedName: "linuxFxVersion", xmlName: "linuxFxVersion", type: { - name: "String" - } + name: "String", + }, }, windowsFxVersion: { serializedName: "windowsFxVersion", xmlName: "windowsFxVersion", type: { - name: "String" - } + name: "String", + }, }, requestTracingEnabled: { serializedName: "requestTracingEnabled", xmlName: "requestTracingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, requestTracingExpirationTime: { serializedName: "requestTracingExpirationTime", xmlName: "requestTracingExpirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, remoteDebuggingEnabled: { serializedName: "remoteDebuggingEnabled", xmlName: "remoteDebuggingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, remoteDebuggingVersion: { serializedName: "remoteDebuggingVersion", xmlName: "remoteDebuggingVersion", type: { - name: "String" - } + name: "String", + }, }, httpLoggingEnabled: { serializedName: "httpLoggingEnabled", xmlName: "httpLoggingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, acrUseManagedIdentityCreds: { serializedName: "acrUseManagedIdentityCreds", xmlName: "acrUseManagedIdentityCreds", type: { - name: "Boolean" - } + name: "Boolean", + }, }, acrUserManagedIdentityID: { serializedName: "acrUserManagedIdentityID", xmlName: "acrUserManagedIdentityID", type: { - name: "String" - } + name: "String", + }, }, logsDirectorySizeLimit: { serializedName: "logsDirectorySizeLimit", xmlName: "logsDirectorySizeLimit", type: { - name: "Number" - } + name: "Number", + }, }, detailedErrorLoggingEnabled: { serializedName: "detailedErrorLoggingEnabled", xmlName: "detailedErrorLoggingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, publishingUsername: { serializedName: "publishingUsername", xmlName: "publishingUsername", type: { - name: "String" - } + name: "String", + }, }, appSettings: { serializedName: "appSettings", @@ -2750,10 +2812,10 @@ export const SiteConfig: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } + className: "NameValuePair", + }, + }, + }, }, metadata: { serializedName: "metadata", @@ -2764,10 +2826,10 @@ export const SiteConfig: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } + className: "NameValuePair", + }, + }, + }, }, connectionStrings: { serializedName: "connectionStrings", @@ -2778,18 +2840,18 @@ export const SiteConfig: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ConnStringInfo" - } - } - } + className: "ConnStringInfo", + }, + }, + }, }, machineKey: { serializedName: "machineKey", xmlName: "machineKey", type: { name: "Composite", - className: "SiteMachineKey" - } + className: "SiteMachineKey", + }, }, handlerMappings: { serializedName: "handlerMappings", @@ -2800,81 +2862,81 @@ export const SiteConfig: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HandlerMapping" - } - } - } + className: "HandlerMapping", + }, + }, + }, }, documentRoot: { serializedName: "documentRoot", xmlName: "documentRoot", type: { - name: "String" - } + name: "String", + }, }, scmType: { serializedName: "scmType", xmlName: "scmType", type: { - name: "String" - } + name: "String", + }, }, use32BitWorkerProcess: { serializedName: "use32BitWorkerProcess", xmlName: "use32BitWorkerProcess", type: { - name: "Boolean" - } + name: "Boolean", + }, }, webSocketsEnabled: { serializedName: "webSocketsEnabled", xmlName: "webSocketsEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, alwaysOn: { serializedName: "alwaysOn", xmlName: "alwaysOn", type: { - name: "Boolean" - } + name: "Boolean", + }, }, javaVersion: { serializedName: "javaVersion", xmlName: "javaVersion", type: { - name: "String" - } + name: "String", + }, }, javaContainer: { serializedName: "javaContainer", xmlName: "javaContainer", type: { - name: "String" - } + name: "String", + }, }, javaContainerVersion: { serializedName: "javaContainerVersion", xmlName: "javaContainerVersion", type: { - name: "String" - } + name: "String", + }, }, appCommandLine: { serializedName: "appCommandLine", xmlName: "appCommandLine", type: { - name: "String" - } + name: "String", + }, }, managedPipelineMode: { serializedName: "managedPipelineMode", xmlName: "managedPipelineMode", type: { name: "Enum", - allowedValues: ["Integrated", "Classic"] - } + allowedValues: ["Integrated", "Classic"], + }, }, virtualApplications: { serializedName: "virtualApplications", @@ -2885,10 +2947,10 @@ export const SiteConfig: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualApplication" - } - } - } + className: "VirtualApplication", + }, + }, + }, }, loadBalancing: { serializedName: "loadBalancing", @@ -2901,136 +2963,137 @@ export const SiteConfig: coreClient.CompositeMapper = { "LeastResponseTime", "WeightedTotalTraffic", "RequestHash", - "PerSiteRoundRobin" - ] - } + "PerSiteRoundRobin", + "LeastRequestsWithTieBreaker", + ], + }, }, experiments: { serializedName: "experiments", xmlName: "experiments", type: { name: "Composite", - className: "Experiments" - } + className: "Experiments", + }, }, limits: { serializedName: "limits", xmlName: "limits", type: { name: "Composite", - className: "SiteLimits" - } + className: "SiteLimits", + }, }, autoHealEnabled: { serializedName: "autoHealEnabled", xmlName: "autoHealEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, autoHealRules: { serializedName: "autoHealRules", xmlName: "autoHealRules", type: { name: "Composite", - className: "AutoHealRules" - } + className: "AutoHealRules", + }, }, tracingOptions: { serializedName: "tracingOptions", xmlName: "tracingOptions", type: { - name: "String" - } + name: "String", + }, }, vnetName: { serializedName: "vnetName", xmlName: "vnetName", type: { - name: "String" - } + name: "String", + }, }, vnetRouteAllEnabled: { serializedName: "vnetRouteAllEnabled", xmlName: "vnetRouteAllEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, vnetPrivatePortsCount: { serializedName: "vnetPrivatePortsCount", xmlName: "vnetPrivatePortsCount", type: { - name: "Number" - } + name: "Number", + }, }, cors: { serializedName: "cors", xmlName: "cors", type: { name: "Composite", - className: "CorsSettings" - } + className: "CorsSettings", + }, }, push: { serializedName: "push", xmlName: "push", type: { name: "Composite", - className: "PushSettings" - } + className: "PushSettings", + }, }, apiDefinition: { serializedName: "apiDefinition", xmlName: "apiDefinition", type: { name: "Composite", - className: "ApiDefinitionInfo" - } + className: "ApiDefinitionInfo", + }, }, apiManagementConfig: { serializedName: "apiManagementConfig", xmlName: "apiManagementConfig", type: { name: "Composite", - className: "ApiManagementConfig" - } + className: "ApiManagementConfig", + }, }, autoSwapSlotName: { serializedName: "autoSwapSlotName", xmlName: "autoSwapSlotName", type: { - name: "String" - } + name: "String", + }, }, localMySqlEnabled: { defaultValue: false, serializedName: "localMySqlEnabled", xmlName: "localMySqlEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, managedServiceIdentityId: { serializedName: "managedServiceIdentityId", xmlName: "managedServiceIdentityId", type: { - name: "Number" - } + name: "Number", + }, }, xManagedServiceIdentityId: { serializedName: "xManagedServiceIdentityId", xmlName: "xManagedServiceIdentityId", type: { - name: "Number" - } + name: "Number", + }, }, keyVaultReferenceIdentity: { serializedName: "keyVaultReferenceIdentity", xmlName: "keyVaultReferenceIdentity", type: { - name: "String" - } + name: "String", + }, }, ipSecurityRestrictions: { serializedName: "ipSecurityRestrictions", @@ -3041,17 +3104,17 @@ export const SiteConfig: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "IpSecurityRestriction" - } - } - } + className: "IpSecurityRestriction", + }, + }, + }, }, ipSecurityRestrictionsDefaultAction: { serializedName: "ipSecurityRestrictionsDefaultAction", xmlName: "ipSecurityRestrictionsDefaultAction", type: { - name: "String" - } + name: "String", + }, }, scmIpSecurityRestrictions: { serializedName: "scmIpSecurityRestrictions", @@ -3062,123 +3125,123 @@ export const SiteConfig: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "IpSecurityRestriction" - } - } - } + className: "IpSecurityRestriction", + }, + }, + }, }, scmIpSecurityRestrictionsDefaultAction: { serializedName: "scmIpSecurityRestrictionsDefaultAction", xmlName: "scmIpSecurityRestrictionsDefaultAction", type: { - name: "String" - } + name: "String", + }, }, scmIpSecurityRestrictionsUseMain: { serializedName: "scmIpSecurityRestrictionsUseMain", xmlName: "scmIpSecurityRestrictionsUseMain", type: { - name: "Boolean" - } + name: "Boolean", + }, }, http20Enabled: { defaultValue: true, serializedName: "http20Enabled", xmlName: "http20Enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, minTlsVersion: { serializedName: "minTlsVersion", xmlName: "minTlsVersion", type: { - name: "String" - } + name: "String", + }, }, minTlsCipherSuite: { serializedName: "minTlsCipherSuite", xmlName: "minTlsCipherSuite", type: { - name: "String" - } + name: "String", + }, }, scmMinTlsVersion: { serializedName: "scmMinTlsVersion", xmlName: "scmMinTlsVersion", type: { - name: "String" - } + name: "String", + }, }, ftpsState: { serializedName: "ftpsState", xmlName: "ftpsState", type: { - name: "String" - } + name: "String", + }, }, preWarmedInstanceCount: { constraints: { InclusiveMaximum: 10, - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "preWarmedInstanceCount", xmlName: "preWarmedInstanceCount", type: { - name: "Number" - } + name: "Number", + }, }, functionAppScaleLimit: { constraints: { - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "functionAppScaleLimit", xmlName: "functionAppScaleLimit", type: { - name: "Number" - } + name: "Number", + }, }, elasticWebAppScaleLimit: { constraints: { - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "elasticWebAppScaleLimit", xmlName: "elasticWebAppScaleLimit", type: { - name: "Number" - } + name: "Number", + }, }, healthCheckPath: { serializedName: "healthCheckPath", xmlName: "healthCheckPath", type: { - name: "String" - } + name: "String", + }, }, functionsRuntimeScaleMonitoringEnabled: { serializedName: "functionsRuntimeScaleMonitoringEnabled", xmlName: "functionsRuntimeScaleMonitoringEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, websiteTimeZone: { serializedName: "websiteTimeZone", xmlName: "websiteTimeZone", type: { - name: "String" - } + name: "String", + }, }, minimumElasticInstanceCount: { constraints: { InclusiveMaximum: 20, - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "minimumElasticInstanceCount", xmlName: "minimumElasticInstanceCount", type: { - name: "Number" - } + name: "Number", + }, }, azureStorageAccounts: { serializedName: "azureStorageAccounts", @@ -3186,19 +3249,19 @@ export const SiteConfig: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Composite", className: "AzureStorageInfoValue" } - } - } + type: { name: "Composite", className: "AzureStorageInfoValue" }, + }, + }, }, publicNetworkAccess: { serializedName: "publicNetworkAccess", xmlName: "publicNetworkAccess", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ConnStringInfo: coreClient.CompositeMapper = { @@ -3211,15 +3274,15 @@ export const ConnStringInfo: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, connectionString: { serializedName: "connectionString", xmlName: "connectionString", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", @@ -3237,12 +3300,12 @@ export const ConnStringInfo: coreClient.CompositeMapper = { "ApiHub", "DocDb", "RedisCache", - "PostgreSQL" - ] - } - } - } - } + "PostgreSQL", + ], + }, + }, + }, + }, }; export const SiteMachineKey: coreClient.CompositeMapper = { @@ -3255,32 +3318,32 @@ export const SiteMachineKey: coreClient.CompositeMapper = { serializedName: "validation", xmlName: "validation", type: { - name: "String" - } + name: "String", + }, }, validationKey: { serializedName: "validationKey", xmlName: "validationKey", type: { - name: "String" - } + name: "String", + }, }, decryption: { serializedName: "decryption", xmlName: "decryption", type: { - name: "String" - } + name: "String", + }, }, decryptionKey: { serializedName: "decryptionKey", xmlName: "decryptionKey", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HandlerMapping: coreClient.CompositeMapper = { @@ -3293,25 +3356,25 @@ export const HandlerMapping: coreClient.CompositeMapper = { serializedName: "extension", xmlName: "extension", type: { - name: "String" - } + name: "String", + }, }, scriptProcessor: { serializedName: "scriptProcessor", xmlName: "scriptProcessor", type: { - name: "String" - } + name: "String", + }, }, arguments: { serializedName: "arguments", xmlName: "arguments", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VirtualApplication: coreClient.CompositeMapper = { @@ -3324,22 +3387,22 @@ export const VirtualApplication: coreClient.CompositeMapper = { serializedName: "virtualPath", xmlName: "virtualPath", type: { - name: "String" - } + name: "String", + }, }, physicalPath: { serializedName: "physicalPath", xmlName: "physicalPath", type: { - name: "String" - } + name: "String", + }, }, preloadEnabled: { serializedName: "preloadEnabled", xmlName: "preloadEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, virtualDirectories: { serializedName: "virtualDirectories", @@ -3350,13 +3413,13 @@ export const VirtualApplication: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualDirectory" - } - } - } - } - } - } + className: "VirtualDirectory", + }, + }, + }, + }, + }, + }, }; export const VirtualDirectory: coreClient.CompositeMapper = { @@ -3369,18 +3432,18 @@ export const VirtualDirectory: coreClient.CompositeMapper = { serializedName: "virtualPath", xmlName: "virtualPath", type: { - name: "String" - } + name: "String", + }, }, physicalPath: { serializedName: "physicalPath", xmlName: "physicalPath", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Experiments: coreClient.CompositeMapper = { @@ -3398,13 +3461,13 @@ export const Experiments: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RampUpRule" - } - } - } - } - } - } + className: "RampUpRule", + }, + }, + }, + }, + }, + }, }; export const RampUpRule: coreClient.CompositeMapper = { @@ -3417,60 +3480,60 @@ export const RampUpRule: coreClient.CompositeMapper = { serializedName: "actionHostName", xmlName: "actionHostName", type: { - name: "String" - } + name: "String", + }, }, reroutePercentage: { serializedName: "reroutePercentage", xmlName: "reroutePercentage", type: { - name: "Number" - } + name: "Number", + }, }, changeStep: { serializedName: "changeStep", xmlName: "changeStep", type: { - name: "Number" - } + name: "Number", + }, }, changeIntervalInMinutes: { serializedName: "changeIntervalInMinutes", xmlName: "changeIntervalInMinutes", type: { - name: "Number" - } + name: "Number", + }, }, minReroutePercentage: { serializedName: "minReroutePercentage", xmlName: "minReroutePercentage", type: { - name: "Number" - } + name: "Number", + }, }, maxReroutePercentage: { serializedName: "maxReroutePercentage", xmlName: "maxReroutePercentage", type: { - name: "Number" - } + name: "Number", + }, }, changeDecisionCallbackUrl: { serializedName: "changeDecisionCallbackUrl", xmlName: "changeDecisionCallbackUrl", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", xmlName: "name", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteLimits: coreClient.CompositeMapper = { @@ -3483,25 +3546,25 @@ export const SiteLimits: coreClient.CompositeMapper = { serializedName: "maxPercentageCpu", xmlName: "maxPercentageCpu", type: { - name: "Number" - } + name: "Number", + }, }, maxMemoryInMb: { serializedName: "maxMemoryInMb", xmlName: "maxMemoryInMb", type: { - name: "Number" - } + name: "Number", + }, }, maxDiskSizeInMb: { serializedName: "maxDiskSizeInMb", xmlName: "maxDiskSizeInMb", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const AutoHealRules: coreClient.CompositeMapper = { @@ -3515,19 +3578,19 @@ export const AutoHealRules: coreClient.CompositeMapper = { xmlName: "triggers", type: { name: "Composite", - className: "AutoHealTriggers" - } + className: "AutoHealTriggers", + }, }, actions: { serializedName: "actions", xmlName: "actions", type: { name: "Composite", - className: "AutoHealActions" - } - } - } - } + className: "AutoHealActions", + }, + }, + }, + }, }; export const AutoHealTriggers: coreClient.CompositeMapper = { @@ -3541,15 +3604,15 @@ export const AutoHealTriggers: coreClient.CompositeMapper = { xmlName: "requests", type: { name: "Composite", - className: "RequestsBasedTrigger" - } + className: "RequestsBasedTrigger", + }, }, privateBytesInKB: { serializedName: "privateBytesInKB", xmlName: "privateBytesInKB", type: { - name: "Number" - } + name: "Number", + }, }, statusCodes: { serializedName: "statusCodes", @@ -3560,18 +3623,18 @@ export const AutoHealTriggers: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StatusCodesBasedTrigger" - } - } - } + className: "StatusCodesBasedTrigger", + }, + }, + }, }, slowRequests: { serializedName: "slowRequests", xmlName: "slowRequests", type: { name: "Composite", - className: "SlowRequestsBasedTrigger" - } + className: "SlowRequestsBasedTrigger", + }, }, slowRequestsWithPath: { serializedName: "slowRequestsWithPath", @@ -3582,10 +3645,10 @@ export const AutoHealTriggers: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SlowRequestsBasedTrigger" - } - } - } + className: "SlowRequestsBasedTrigger", + }, + }, + }, }, statusCodesRange: { serializedName: "statusCodesRange", @@ -3596,13 +3659,13 @@ export const AutoHealTriggers: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StatusCodesRangeBasedTrigger" - } - } - } - } - } - } + className: "StatusCodesRangeBasedTrigger", + }, + }, + }, + }, + }, + }, }; export const RequestsBasedTrigger: coreClient.CompositeMapper = { @@ -3615,18 +3678,18 @@ export const RequestsBasedTrigger: coreClient.CompositeMapper = { serializedName: "count", xmlName: "count", type: { - name: "Number" - } + name: "Number", + }, }, timeInterval: { serializedName: "timeInterval", xmlName: "timeInterval", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StatusCodesBasedTrigger: coreClient.CompositeMapper = { @@ -3639,46 +3702,46 @@ export const StatusCodesBasedTrigger: coreClient.CompositeMapper = { serializedName: "status", xmlName: "status", type: { - name: "Number" - } + name: "Number", + }, }, subStatus: { serializedName: "subStatus", xmlName: "subStatus", type: { - name: "Number" - } + name: "Number", + }, }, win32Status: { serializedName: "win32Status", xmlName: "win32Status", type: { - name: "Number" - } + name: "Number", + }, }, count: { serializedName: "count", xmlName: "count", type: { - name: "Number" - } + name: "Number", + }, }, timeInterval: { serializedName: "timeInterval", xmlName: "timeInterval", type: { - name: "String" - } + name: "String", + }, }, path: { serializedName: "path", xmlName: "path", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SlowRequestsBasedTrigger: coreClient.CompositeMapper = { @@ -3691,32 +3754,32 @@ export const SlowRequestsBasedTrigger: coreClient.CompositeMapper = { serializedName: "timeTaken", xmlName: "timeTaken", type: { - name: "String" - } + name: "String", + }, }, path: { serializedName: "path", xmlName: "path", type: { - name: "String" - } + name: "String", + }, }, count: { serializedName: "count", xmlName: "count", type: { - name: "Number" - } + name: "Number", + }, }, timeInterval: { serializedName: "timeInterval", xmlName: "timeInterval", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StatusCodesRangeBasedTrigger: coreClient.CompositeMapper = { @@ -3729,32 +3792,32 @@ export const StatusCodesRangeBasedTrigger: coreClient.CompositeMapper = { serializedName: "statusCodes", xmlName: "statusCodes", type: { - name: "String" - } + name: "String", + }, }, path: { serializedName: "path", xmlName: "path", type: { - name: "String" - } + name: "String", + }, }, count: { serializedName: "count", xmlName: "count", type: { - name: "Number" - } + name: "Number", + }, }, timeInterval: { serializedName: "timeInterval", xmlName: "timeInterval", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AutoHealActions: coreClient.CompositeMapper = { @@ -3768,26 +3831,26 @@ export const AutoHealActions: coreClient.CompositeMapper = { xmlName: "actionType", type: { name: "Enum", - allowedValues: ["Recycle", "LogEvent", "CustomAction"] - } + allowedValues: ["Recycle", "LogEvent", "CustomAction"], + }, }, customAction: { serializedName: "customAction", xmlName: "customAction", type: { name: "Composite", - className: "AutoHealCustomAction" - } + className: "AutoHealCustomAction", + }, }, minProcessExecutionTime: { serializedName: "minProcessExecutionTime", xmlName: "minProcessExecutionTime", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AutoHealCustomAction: coreClient.CompositeMapper = { @@ -3800,18 +3863,18 @@ export const AutoHealCustomAction: coreClient.CompositeMapper = { serializedName: "exe", xmlName: "exe", type: { - name: "String" - } + name: "String", + }, }, parameters: { serializedName: "parameters", xmlName: "parameters", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CorsSettings: coreClient.CompositeMapper = { @@ -3828,20 +3891,20 @@ export const CorsSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, supportCredentials: { serializedName: "supportCredentials", xmlName: "supportCredentials", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const ApiDefinitionInfo: coreClient.CompositeMapper = { @@ -3854,11 +3917,11 @@ export const ApiDefinitionInfo: coreClient.CompositeMapper = { serializedName: "url", xmlName: "url", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ApiManagementConfig: coreClient.CompositeMapper = { @@ -3871,11 +3934,11 @@ export const ApiManagementConfig: coreClient.CompositeMapper = { serializedName: "id", xmlName: "id", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const IpSecurityRestriction: coreClient.CompositeMapper = { @@ -3888,71 +3951,71 @@ export const IpSecurityRestriction: coreClient.CompositeMapper = { serializedName: "ipAddress", xmlName: "ipAddress", type: { - name: "String" - } + name: "String", + }, }, subnetMask: { serializedName: "subnetMask", xmlName: "subnetMask", type: { - name: "String" - } + name: "String", + }, }, vnetSubnetResourceId: { serializedName: "vnetSubnetResourceId", xmlName: "vnetSubnetResourceId", type: { - name: "String" - } + name: "String", + }, }, vnetTrafficTag: { serializedName: "vnetTrafficTag", xmlName: "vnetTrafficTag", type: { - name: "Number" - } + name: "Number", + }, }, subnetTrafficTag: { serializedName: "subnetTrafficTag", xmlName: "subnetTrafficTag", type: { - name: "Number" - } + name: "Number", + }, }, action: { serializedName: "action", xmlName: "action", type: { - name: "String" - } + name: "String", + }, }, tag: { serializedName: "tag", xmlName: "tag", type: { - name: "String" - } + name: "String", + }, }, priority: { serializedName: "priority", xmlName: "priority", type: { - name: "Number" - } + name: "Number", + }, }, name: { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } + name: "String", + }, }, headers: { serializedName: "headers", @@ -3960,12 +4023,12 @@ export const IpSecurityRestriction: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Sequence", element: { type: { name: "String" } } } - } - } - } - } - } + type: { name: "Sequence", element: { type: { name: "String" } } }, + }, + }, + }, + }, + }, }; export const AzureStorageInfoValue: coreClient.CompositeMapper = { @@ -3979,36 +4042,36 @@ export const AzureStorageInfoValue: coreClient.CompositeMapper = { xmlName: "type", type: { name: "Enum", - allowedValues: ["AzureFiles", "AzureBlob"] - } + allowedValues: ["AzureFiles", "AzureBlob"], + }, }, accountName: { serializedName: "accountName", xmlName: "accountName", type: { - name: "String" - } + name: "String", + }, }, shareName: { serializedName: "shareName", xmlName: "shareName", type: { - name: "String" - } + name: "String", + }, }, accessKey: { serializedName: "accessKey", xmlName: "accessKey", type: { - name: "String" - } + name: "String", + }, }, mountPath: { serializedName: "mountPath", xmlName: "mountPath", type: { - name: "String" - } + name: "String", + }, }, state: { serializedName: "state", @@ -4020,14 +4083,269 @@ export const AzureStorageInfoValue: coreClient.CompositeMapper = { "Ok", "InvalidCredentials", "InvalidShare", - "NotValidated" - ] - } - } - } - } + "NotValidated", + ], + }, + }, + protocol: { + serializedName: "protocol", + xmlName: "protocol", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FunctionAppConfig: coreClient.CompositeMapper = { + serializedName: "FunctionAppConfig", + type: { + name: "Composite", + className: "FunctionAppConfig", + modelProperties: { + deployment: { + serializedName: "deployment", + xmlName: "deployment", + type: { + name: "Composite", + className: "FunctionsDeployment", + }, + }, + runtime: { + serializedName: "runtime", + xmlName: "runtime", + type: { + name: "Composite", + className: "FunctionsRuntime", + }, + }, + scaleAndConcurrency: { + serializedName: "scaleAndConcurrency", + xmlName: "scaleAndConcurrency", + type: { + name: "Composite", + className: "FunctionsScaleAndConcurrency", + }, + }, + }, + }, +}; + +export const FunctionsDeployment: coreClient.CompositeMapper = { + serializedName: "FunctionsDeployment", + type: { + name: "Composite", + className: "FunctionsDeployment", + modelProperties: { + storage: { + serializedName: "storage", + xmlName: "storage", + type: { + name: "Composite", + className: "FunctionsDeploymentStorage", + }, + }, + }, + }, +}; + +export const FunctionsDeploymentStorage: coreClient.CompositeMapper = { + serializedName: "FunctionsDeploymentStorage", + type: { + name: "Composite", + className: "FunctionsDeploymentStorage", + modelProperties: { + type: { + serializedName: "type", + xmlName: "type", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + xmlName: "value", + type: { + name: "String", + }, + }, + authentication: { + serializedName: "authentication", + xmlName: "authentication", + type: { + name: "Composite", + className: "FunctionsDeploymentStorageAuthentication", + }, + }, + }, + }, +}; + +export const FunctionsDeploymentStorageAuthentication: coreClient.CompositeMapper = + { + serializedName: "FunctionsDeploymentStorageAuthentication", + type: { + name: "Composite", + className: "FunctionsDeploymentStorageAuthentication", + modelProperties: { + type: { + serializedName: "type", + xmlName: "type", + type: { + name: "String", + }, + }, + userAssignedIdentityResourceId: { + serializedName: "userAssignedIdentityResourceId", + xmlName: "userAssignedIdentityResourceId", + type: { + name: "String", + }, + }, + storageAccountConnectionStringName: { + serializedName: "storageAccountConnectionStringName", + xmlName: "storageAccountConnectionStringName", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const FunctionsRuntime: coreClient.CompositeMapper = { + serializedName: "FunctionsRuntime", + type: { + name: "Composite", + className: "FunctionsRuntime", + modelProperties: { + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + nullable: true, + xmlName: "version", + type: { + name: "String", + }, + }, + }, + }, }; +export const FunctionsScaleAndConcurrency: coreClient.CompositeMapper = { + serializedName: "FunctionsScaleAndConcurrency", + type: { + name: "Composite", + className: "FunctionsScaleAndConcurrency", + modelProperties: { + alwaysReady: { + serializedName: "alwaysReady", + xmlName: "alwaysReady", + xmlElementName: "FunctionsAlwaysReadyConfig", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FunctionsAlwaysReadyConfig", + }, + }, + }, + }, + maximumInstanceCount: { + serializedName: "maximumInstanceCount", + xmlName: "maximumInstanceCount", + type: { + name: "Number", + }, + }, + instanceMemoryMB: { + serializedName: "instanceMemoryMB", + xmlName: "instanceMemoryMB", + type: { + name: "Number", + }, + }, + triggers: { + serializedName: "triggers", + xmlName: "triggers", + type: { + name: "Composite", + className: "FunctionsScaleAndConcurrencyTriggers", + }, + }, + }, + }, +}; + +export const FunctionsAlwaysReadyConfig: coreClient.CompositeMapper = { + serializedName: "FunctionsAlwaysReadyConfig", + type: { + name: "Composite", + className: "FunctionsAlwaysReadyConfig", + modelProperties: { + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + instanceCount: { + serializedName: "instanceCount", + xmlName: "instanceCount", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const FunctionsScaleAndConcurrencyTriggers: coreClient.CompositeMapper = + { + serializedName: "FunctionsScaleAndConcurrencyTriggers", + type: { + name: "Composite", + className: "FunctionsScaleAndConcurrencyTriggers", + modelProperties: { + http: { + serializedName: "http", + xmlName: "http", + type: { + name: "Composite", + className: "FunctionsScaleAndConcurrencyTriggersHttp", + }, + }, + }, + }, + }; + +export const FunctionsScaleAndConcurrencyTriggersHttp: coreClient.CompositeMapper = + { + serializedName: "FunctionsScaleAndConcurrencyTriggersHttp", + type: { + name: "Composite", + className: "FunctionsScaleAndConcurrencyTriggersHttp", + modelProperties: { + perInstanceConcurrency: { + serializedName: "perInstanceConcurrency", + xmlName: "perInstanceConcurrency", + type: { + name: "Number", + }, + }, + }, + }, + }; + export const DaprConfig: coreClient.CompositeMapper = { serializedName: "DaprConfig", type: { @@ -4039,53 +4357,53 @@ export const DaprConfig: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appId: { serializedName: "appId", xmlName: "appId", type: { - name: "String" - } + name: "String", + }, }, appPort: { serializedName: "appPort", xmlName: "appPort", type: { - name: "Number" - } + name: "Number", + }, }, httpReadBufferSize: { serializedName: "httpReadBufferSize", xmlName: "httpReadBufferSize", type: { - name: "Number" - } + name: "Number", + }, }, httpMaxRequestSize: { serializedName: "httpMaxRequestSize", xmlName: "httpMaxRequestSize", type: { - name: "Number" - } + name: "Number", + }, }, logLevel: { serializedName: "logLevel", xmlName: "logLevel", type: { - name: "String" - } + name: "String", + }, }, enableApiLogging: { serializedName: "enableApiLogging", xmlName: "enableApiLogging", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const ResourceConfig: coreClient.CompositeMapper = { @@ -4098,18 +4416,18 @@ export const ResourceConfig: coreClient.CompositeMapper = { serializedName: "cpu", xmlName: "cpu", type: { - name: "Number" - } + name: "Number", + }, }, memory: { serializedName: "memory", xmlName: "memory", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HostingEnvironmentProfile: coreClient.CompositeMapper = { @@ -4122,27 +4440,27 @@ export const HostingEnvironmentProfile: coreClient.CompositeMapper = { serializedName: "id", xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CloningInfo: coreClient.CompositeMapper = { @@ -4155,83 +4473,83 @@ export const CloningInfo: coreClient.CompositeMapper = { serializedName: "correlationId", xmlName: "correlationId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, overwrite: { serializedName: "overwrite", xmlName: "overwrite", type: { - name: "Boolean" - } + name: "Boolean", + }, }, cloneCustomHostNames: { serializedName: "cloneCustomHostNames", xmlName: "cloneCustomHostNames", type: { - name: "Boolean" - } + name: "Boolean", + }, }, cloneSourceControl: { serializedName: "cloneSourceControl", xmlName: "cloneSourceControl", type: { - name: "Boolean" - } + name: "Boolean", + }, }, sourceWebAppId: { serializedName: "sourceWebAppId", required: true, xmlName: "sourceWebAppId", type: { - name: "String" - } + name: "String", + }, }, sourceWebAppLocation: { serializedName: "sourceWebAppLocation", xmlName: "sourceWebAppLocation", type: { - name: "String" - } + name: "String", + }, }, hostingEnvironment: { serializedName: "hostingEnvironment", xmlName: "hostingEnvironment", type: { - name: "String" - } + name: "String", + }, }, appSettingsOverrides: { serializedName: "appSettingsOverrides", xmlName: "appSettingsOverrides", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, configureLoadBalancing: { serializedName: "configureLoadBalancing", xmlName: "configureLoadBalancing", type: { - name: "Boolean" - } + name: "Boolean", + }, }, trafficManagerProfileId: { serializedName: "trafficManagerProfileId", xmlName: "trafficManagerProfileId", type: { - name: "String" - } + name: "String", + }, }, trafficManagerProfileName: { serializedName: "trafficManagerProfileName", xmlName: "trafficManagerProfileName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SlotSwapStatus: coreClient.CompositeMapper = { @@ -4245,27 +4563,27 @@ export const SlotSwapStatus: coreClient.CompositeMapper = { readOnly: true, xmlName: "timestampUtc", type: { - name: "DateTime" - } + name: "DateTime", + }, }, sourceSlotName: { serializedName: "sourceSlotName", readOnly: true, xmlName: "sourceSlotName", type: { - name: "String" - } + name: "String", + }, }, destinationSlotName: { serializedName: "destinationSlotName", readOnly: true, xmlName: "destinationSlotName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ManagedServiceIdentity: coreClient.CompositeMapper = { @@ -4283,25 +4601,25 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", - "None" - ] - } + "None", + ], + }, }, tenantId: { serializedName: "tenantId", readOnly: true, xmlName: "tenantId", type: { - name: "String" - } + name: "String", + }, }, principalId: { serializedName: "principalId", readOnly: true, xmlName: "principalId", type: { - name: "String" - } + name: "String", + }, }, userAssignedIdentities: { serializedName: "userAssignedIdentities", @@ -4309,12 +4627,12 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Composite", className: "UserAssignedIdentity" } - } - } - } - } - } + type: { name: "Composite", className: "UserAssignedIdentity" }, + }, + }, + }, + }, + }, }; export const UserAssignedIdentity: coreClient.CompositeMapper = { @@ -4328,19 +4646,19 @@ export const UserAssignedIdentity: coreClient.CompositeMapper = { readOnly: true, xmlName: "principalId", type: { - name: "String" - } + name: "String", + }, }, clientId: { serializedName: "clientId", readOnly: true, xmlName: "clientId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ExtendedLocation: coreClient.CompositeMapper = { @@ -4353,19 +4671,19 @@ export const ExtendedLocation: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HostingEnvironmentDiagnostics: coreClient.CompositeMapper = { @@ -4378,52 +4696,53 @@ export const HostingEnvironmentDiagnostics: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, diagnosticsOutput: { serializedName: "diagnosticsOutput", xmlName: "diagnosticsOutput", type: { - name: "String" - } - } - } - } -}; - -export const InboundEnvironmentEndpointCollection: coreClient.CompositeMapper = { - serializedName: "InboundEnvironmentEndpointCollection", - type: { - name: "Composite", - className: "InboundEnvironmentEndpointCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "InboundEnvironmentEndpoint", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InboundEnvironmentEndpoint" - } - } - } + name: "String", + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const InboundEnvironmentEndpointCollection: coreClient.CompositeMapper = + { + serializedName: "InboundEnvironmentEndpointCollection", + type: { + name: "Composite", + className: "InboundEnvironmentEndpointCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "InboundEnvironmentEndpoint", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InboundEnvironmentEndpoint", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; export const InboundEnvironmentEndpoint: coreClient.CompositeMapper = { serializedName: "InboundEnvironmentEndpoint", @@ -4435,8 +4754,8 @@ export const InboundEnvironmentEndpoint: coreClient.CompositeMapper = { serializedName: "description", xmlName: "description", type: { - name: "String" - } + name: "String", + }, }, endpoints: { serializedName: "endpoints", @@ -4446,10 +4765,10 @@ export const InboundEnvironmentEndpoint: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, ports: { serializedName: "ports", @@ -4459,13 +4778,13 @@ export const InboundEnvironmentEndpoint: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const WorkerPoolCollection: coreClient.CompositeMapper = { @@ -4484,21 +4803,21 @@ export const WorkerPoolCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WorkerPoolResource" - } - } - } + className: "WorkerPoolResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SkuDescription: coreClient.CompositeMapper = { @@ -4511,44 +4830,44 @@ export const SkuDescription: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, tier: { serializedName: "tier", xmlName: "tier", type: { - name: "String" - } + name: "String", + }, }, size: { serializedName: "size", xmlName: "size", type: { - name: "String" - } + name: "String", + }, }, family: { serializedName: "family", xmlName: "family", type: { - name: "String" - } + name: "String", + }, }, capacity: { serializedName: "capacity", xmlName: "capacity", type: { - name: "Number" - } + name: "Number", + }, }, skuCapacity: { serializedName: "skuCapacity", xmlName: "skuCapacity", type: { name: "Composite", - className: "SkuCapacity" - } + className: "SkuCapacity", + }, }, locations: { serializedName: "locations", @@ -4558,10 +4877,10 @@ export const SkuDescription: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, capabilities: { serializedName: "capabilities", @@ -4572,13 +4891,13 @@ export const SkuDescription: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Capability" - } - } - } - } - } - } + className: "Capability", + }, + }, + }, + }, + }, + }, }; export const SkuCapacity: coreClient.CompositeMapper = { @@ -4591,39 +4910,39 @@ export const SkuCapacity: coreClient.CompositeMapper = { serializedName: "minimum", xmlName: "minimum", type: { - name: "Number" - } + name: "Number", + }, }, maximum: { serializedName: "maximum", xmlName: "maximum", type: { - name: "Number" - } + name: "Number", + }, }, elasticMaximum: { serializedName: "elasticMaximum", xmlName: "elasticMaximum", type: { - name: "Number" - } + name: "Number", + }, }, default: { serializedName: "default", xmlName: "default", type: { - name: "Number" - } + name: "Number", + }, }, scaleType: { serializedName: "scaleType", xmlName: "scaleType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Capability: coreClient.CompositeMapper = { @@ -4636,25 +4955,25 @@ export const Capability: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, reason: { serializedName: "reason", xmlName: "reason", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceMetricDefinitionCollection: coreClient.CompositeMapper = { @@ -4673,21 +4992,21 @@ export const ResourceMetricDefinitionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ResourceMetricDefinition" - } - } - } + className: "ResourceMetricDefinition", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceMetricAvailability: coreClient.CompositeMapper = { @@ -4701,19 +5020,19 @@ export const ResourceMetricAvailability: coreClient.CompositeMapper = { readOnly: true, xmlName: "timeGrain", type: { - name: "String" - } + name: "String", + }, }, retention: { serializedName: "retention", readOnly: true, xmlName: "retention", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SkuInfoCollection: coreClient.CompositeMapper = { @@ -4732,21 +5051,21 @@ export const SkuInfoCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SkuInfo" - } - } - } + className: "SkuInfo", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SkuInfo: coreClient.CompositeMapper = { @@ -4759,27 +5078,27 @@ export const SkuInfo: coreClient.CompositeMapper = { serializedName: "resourceType", xmlName: "resourceType", type: { - name: "String" - } + name: "String", + }, }, sku: { serializedName: "sku", xmlName: "sku", type: { name: "Composite", - className: "SkuDescription" - } + className: "SkuDescription", + }, }, capacity: { serializedName: "capacity", xmlName: "capacity", type: { name: "Composite", - className: "SkuCapacity" - } - } - } - } + className: "SkuCapacity", + }, + }, + }, + }, }; export const UsageCollection: coreClient.CompositeMapper = { @@ -4798,21 +5117,21 @@ export const UsageCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Usage" - } - } - } + className: "Usage", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Operation: coreClient.CompositeMapper = { @@ -4825,15 +5144,15 @@ export const Operation: coreClient.CompositeMapper = { serializedName: "id", xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "status", @@ -4845,9 +5164,9 @@ export const Operation: coreClient.CompositeMapper = { "Failed", "Succeeded", "TimedOut", - "Created" - ] - } + "Created", + ], + }, }, errors: { serializedName: "errors", @@ -4858,41 +5177,41 @@ export const Operation: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ErrorEntity" - } - } - } + className: "ErrorEntity", + }, + }, + }, }, createdTime: { serializedName: "createdTime", xmlName: "createdTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, modifiedTime: { serializedName: "modifiedTime", xmlName: "modifiedTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, expirationTime: { serializedName: "expirationTime", xmlName: "expirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, geoMasterOperationId: { serializedName: "geoMasterOperationId", xmlName: "geoMasterOperationId", type: { - name: "Uuid" - } - } - } - } + name: "Uuid", + }, + }, + }, + }, }; export const ErrorEntity: coreClient.CompositeMapper = { @@ -4905,15 +5224,15 @@ export const ErrorEntity: coreClient.CompositeMapper = { serializedName: "extendedCode", xmlName: "extendedCode", type: { - name: "String" - } + name: "String", + }, }, messageTemplate: { serializedName: "messageTemplate", xmlName: "messageTemplate", type: { - name: "String" - } + name: "String", + }, }, parameters: { serializedName: "parameters", @@ -4923,10 +5242,10 @@ export const ErrorEntity: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, innerErrors: { serializedName: "innerErrors", @@ -4937,10 +5256,10 @@ export const ErrorEntity: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ErrorEntity" - } - } - } + className: "ErrorEntity", + }, + }, + }, }, details: { serializedName: "details", @@ -4951,68 +5270,69 @@ export const ErrorEntity: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ErrorEntity" - } - } - } + className: "ErrorEntity", + }, + }, + }, }, target: { serializedName: "target", xmlName: "target", type: { - name: "String" - } + name: "String", + }, }, code: { serializedName: "code", xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", xmlName: "message", type: { - name: "String" - } - } - } - } -}; - -export const OutboundEnvironmentEndpointCollection: coreClient.CompositeMapper = { - serializedName: "OutboundEnvironmentEndpointCollection", - type: { - name: "Composite", - className: "OutboundEnvironmentEndpointCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "OutboundEnvironmentEndpoint", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OutboundEnvironmentEndpoint" - } - } - } + name: "String", + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const OutboundEnvironmentEndpointCollection: coreClient.CompositeMapper = + { + serializedName: "OutboundEnvironmentEndpointCollection", + type: { + name: "Composite", + className: "OutboundEnvironmentEndpointCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "OutboundEnvironmentEndpoint", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundEnvironmentEndpoint", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; export const OutboundEnvironmentEndpoint: coreClient.CompositeMapper = { serializedName: "OutboundEnvironmentEndpoint", @@ -5024,8 +5344,8 @@ export const OutboundEnvironmentEndpoint: coreClient.CompositeMapper = { serializedName: "category", xmlName: "category", type: { - name: "String" - } + name: "String", + }, }, endpoints: { serializedName: "endpoints", @@ -5036,13 +5356,13 @@ export const OutboundEnvironmentEndpoint: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EndpointDependency" - } - } - } - } - } - } + className: "EndpointDependency", + }, + }, + }, + }, + }, + }, }; export const EndpointDependency: coreClient.CompositeMapper = { @@ -5055,8 +5375,8 @@ export const EndpointDependency: coreClient.CompositeMapper = { serializedName: "domainName", xmlName: "domainName", type: { - name: "String" - } + name: "String", + }, }, endpointDetails: { serializedName: "endpointDetails", @@ -5067,13 +5387,13 @@ export const EndpointDependency: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EndpointDetail" - } - } - } - } - } - } + className: "EndpointDetail", + }, + }, + }, + }, + }, + }, }; export const EndpointDetail: coreClient.CompositeMapper = { @@ -5086,32 +5406,32 @@ export const EndpointDetail: coreClient.CompositeMapper = { serializedName: "ipAddress", xmlName: "ipAddress", type: { - name: "String" - } + name: "String", + }, }, port: { serializedName: "port", xmlName: "port", type: { - name: "Number" - } + name: "Number", + }, }, latency: { serializedName: "latency", xmlName: "latency", type: { - name: "Number" - } + name: "Number", + }, }, isAccessible: { serializedName: "isAccessible", xmlName: "isAccessible", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const PrivateEndpointConnectionCollection: coreClient.CompositeMapper = { @@ -5130,21 +5450,21 @@ export const PrivateEndpointConnectionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RemotePrivateEndpointConnectionARMResource" - } - } - } + className: "RemotePrivateEndpointConnectionARMResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ArmIdWrapper: coreClient.CompositeMapper = { @@ -5158,11 +5478,11 @@ export const ArmIdWrapper: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PrivateLinkConnectionState: coreClient.CompositeMapper = { @@ -5175,25 +5495,25 @@ export const PrivateLinkConnectionState: coreClient.CompositeMapper = { serializedName: "status", xmlName: "status", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } + name: "String", + }, }, actionsRequired: { serializedName: "actionsRequired", xmlName: "actionsRequired", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PrivateLinkResourcesWrapper: coreClient.CompositeMapper = { @@ -5212,13 +5532,13 @@ export const PrivateLinkResourcesWrapper: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkResource" - } - } - } - } - } - } + className: "PrivateLinkResource", + }, + }, + }, + }, + }, + }, }; export const PrivateLinkResource: coreClient.CompositeMapper = { @@ -5232,35 +5552,35 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { required: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", required: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", required: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, properties: { serializedName: "properties", xmlName: "properties", type: { name: "Composite", - className: "PrivateLinkResourceProperties" - } - } - } - } + className: "PrivateLinkResourceProperties", + }, + }, + }, + }, }; export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { @@ -5274,8 +5594,8 @@ export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { readOnly: true, xmlName: "groupId", type: { - name: "String" - } + name: "String", + }, }, requiredMembers: { serializedName: "requiredMembers", @@ -5286,10 +5606,10 @@ export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, requiredZoneNames: { serializedName: "requiredZoneNames", @@ -5300,13 +5620,13 @@ export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const AppServicePlanCollection: coreClient.CompositeMapper = { @@ -5325,21 +5645,21 @@ export const AppServicePlanCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AppServicePlan" - } - } - } + className: "AppServicePlan", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const KubeEnvironmentProfile: coreClient.CompositeMapper = { @@ -5352,27 +5672,27 @@ export const KubeEnvironmentProfile: coreClient.CompositeMapper = { serializedName: "id", xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmUsageQuotaCollection: coreClient.CompositeMapper = { @@ -5391,21 +5711,21 @@ export const CsmUsageQuotaCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "CsmUsageQuota" - } - } - } + className: "CsmUsageQuota", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmUsageQuota: coreClient.CompositeMapper = { @@ -5418,40 +5738,40 @@ export const CsmUsageQuota: coreClient.CompositeMapper = { serializedName: "unit", xmlName: "unit", type: { - name: "String" - } + name: "String", + }, }, nextResetTime: { serializedName: "nextResetTime", xmlName: "nextResetTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, currentValue: { serializedName: "currentValue", xmlName: "currentValue", type: { - name: "Number" - } + name: "Number", + }, }, limit: { serializedName: "limit", xmlName: "limit", type: { - name: "Number" - } + name: "Number", + }, }, name: { serializedName: "name", xmlName: "name", type: { name: "Composite", - className: "LocalizableString" - } - } - } - } + className: "LocalizableString", + }, + }, + }, + }, }; export const LocalizableString: coreClient.CompositeMapper = { @@ -5464,18 +5784,18 @@ export const LocalizableString: coreClient.CompositeMapper = { serializedName: "value", xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, localizedValue: { serializedName: "localizedValue", xmlName: "localizedValue", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceCollection: coreClient.CompositeMapper = { @@ -5493,21 +5813,21 @@ export const ResourceCollection: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HybridConnectionCollection: coreClient.CompositeMapper = { @@ -5526,21 +5846,21 @@ export const HybridConnectionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HybridConnection" - } - } - } + className: "HybridConnection", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VnetInfo: coreClient.CompositeMapper = { @@ -5553,23 +5873,23 @@ export const VnetInfo: coreClient.CompositeMapper = { serializedName: "vnetResourceId", xmlName: "vnetResourceId", type: { - name: "String" - } + name: "String", + }, }, certThumbprint: { serializedName: "certThumbprint", readOnly: true, xmlName: "certThumbprint", type: { - name: "String" - } + name: "String", + }, }, certBlob: { serializedName: "certBlob", xmlName: "certBlob", type: { - name: "String" - } + name: "String", + }, }, routes: { serializedName: "routes", @@ -5581,35 +5901,35 @@ export const VnetInfo: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VnetRoute" - } - } - } + className: "VnetRoute", + }, + }, + }, }, resyncRequired: { serializedName: "resyncRequired", readOnly: true, xmlName: "resyncRequired", type: { - name: "Boolean" - } + name: "Boolean", + }, }, dnsServers: { serializedName: "dnsServers", xmlName: "dnsServers", type: { - name: "String" - } + name: "String", + }, }, isSwift: { serializedName: "isSwift", xmlName: "isSwift", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const CertificateCollection: coreClient.CompositeMapper = { @@ -5628,21 +5948,21 @@ export const CertificateCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Certificate" - } - } - } + className: "Certificate", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ContainerAppCollection: coreClient.CompositeMapper = { @@ -5661,21 +5981,21 @@ export const ContainerAppCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ContainerApp" - } - } - } + className: "ContainerApp", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Configuration: coreClient.CompositeMapper = { @@ -5693,25 +6013,25 @@ export const Configuration: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Secret" - } - } - } + className: "Secret", + }, + }, + }, }, activeRevisionsMode: { serializedName: "activeRevisionsMode", xmlName: "activeRevisionsMode", type: { - name: "String" - } + name: "String", + }, }, ingress: { serializedName: "ingress", xmlName: "ingress", type: { name: "Composite", - className: "Ingress" - } + className: "Ingress", + }, }, registries: { serializedName: "registries", @@ -5722,13 +6042,13 @@ export const Configuration: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RegistryCredentials" - } - } - } - } - } - } + className: "RegistryCredentials", + }, + }, + }, + }, + }, + }, }; export const Secret: coreClient.CompositeMapper = { @@ -5741,18 +6061,18 @@ export const Secret: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Ingress: coreClient.CompositeMapper = { @@ -5766,30 +6086,30 @@ export const Ingress: coreClient.CompositeMapper = { readOnly: true, xmlName: "fqdn", type: { - name: "String" - } + name: "String", + }, }, external: { defaultValue: false, serializedName: "external", xmlName: "external", type: { - name: "Boolean" - } + name: "Boolean", + }, }, targetPort: { serializedName: "targetPort", xmlName: "targetPort", type: { - name: "Number" - } + name: "Number", + }, }, transport: { serializedName: "transport", xmlName: "transport", type: { - name: "String" - } + name: "String", + }, }, traffic: { serializedName: "traffic", @@ -5800,20 +6120,20 @@ export const Ingress: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "TrafficWeight" - } - } - } + className: "TrafficWeight", + }, + }, + }, }, allowInsecure: { serializedName: "allowInsecure", xmlName: "allowInsecure", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const TrafficWeight: coreClient.CompositeMapper = { @@ -5826,26 +6146,26 @@ export const TrafficWeight: coreClient.CompositeMapper = { serializedName: "revisionName", xmlName: "revisionName", type: { - name: "String" - } + name: "String", + }, }, weight: { serializedName: "weight", xmlName: "weight", type: { - name: "Number" - } + name: "Number", + }, }, latestRevision: { defaultValue: false, serializedName: "latestRevision", xmlName: "latestRevision", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const RegistryCredentials: coreClient.CompositeMapper = { @@ -5858,25 +6178,25 @@ export const RegistryCredentials: coreClient.CompositeMapper = { serializedName: "server", xmlName: "server", type: { - name: "String" - } + name: "String", + }, }, username: { serializedName: "username", xmlName: "username", type: { - name: "String" - } + name: "String", + }, }, passwordSecretRef: { serializedName: "passwordSecretRef", xmlName: "passwordSecretRef", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Template: coreClient.CompositeMapper = { @@ -5889,8 +6209,8 @@ export const Template: coreClient.CompositeMapper = { serializedName: "revisionSuffix", xmlName: "revisionSuffix", type: { - name: "String" - } + name: "String", + }, }, containers: { serializedName: "containers", @@ -5901,29 +6221,29 @@ export const Template: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Container" - } - } - } + className: "Container", + }, + }, + }, }, scale: { serializedName: "scale", xmlName: "scale", type: { name: "Composite", - className: "Scale" - } + className: "Scale", + }, }, dapr: { serializedName: "dapr", xmlName: "dapr", type: { name: "Composite", - className: "Dapr" - } - } - } - } + className: "Dapr", + }, + }, + }, + }, }; export const Container: coreClient.CompositeMapper = { @@ -5936,15 +6256,15 @@ export const Container: coreClient.CompositeMapper = { serializedName: "image", xmlName: "image", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, command: { serializedName: "command", @@ -5954,10 +6274,10 @@ export const Container: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, args: { serializedName: "args", @@ -5967,10 +6287,10 @@ export const Container: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, env: { serializedName: "env", @@ -5981,21 +6301,21 @@ export const Container: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "EnvironmentVar" - } - } - } + className: "EnvironmentVar", + }, + }, + }, }, resources: { serializedName: "resources", xmlName: "resources", type: { name: "Composite", - className: "ContainerResources" - } - } - } - } + className: "ContainerResources", + }, + }, + }, + }, }; export const EnvironmentVar: coreClient.CompositeMapper = { @@ -6008,25 +6328,25 @@ export const EnvironmentVar: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, secretRef: { serializedName: "secretRef", xmlName: "secretRef", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ContainerResources: coreClient.CompositeMapper = { @@ -6039,18 +6359,18 @@ export const ContainerResources: coreClient.CompositeMapper = { serializedName: "cpu", xmlName: "cpu", type: { - name: "Number" - } + name: "Number", + }, }, memory: { serializedName: "memory", xmlName: "memory", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Scale: coreClient.CompositeMapper = { @@ -6063,15 +6383,15 @@ export const Scale: coreClient.CompositeMapper = { serializedName: "minReplicas", xmlName: "minReplicas", type: { - name: "Number" - } + name: "Number", + }, }, maxReplicas: { serializedName: "maxReplicas", xmlName: "maxReplicas", type: { - name: "Number" - } + name: "Number", + }, }, rules: { serializedName: "rules", @@ -6082,13 +6402,13 @@ export const Scale: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ScaleRule" - } - } - } - } - } - } + className: "ScaleRule", + }, + }, + }, + }, + }, + }, }; export const ScaleRule: coreClient.CompositeMapper = { @@ -6101,35 +6421,35 @@ export const ScaleRule: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, azureQueue: { serializedName: "azureQueue", xmlName: "azureQueue", type: { name: "Composite", - className: "QueueScaleRule" - } + className: "QueueScaleRule", + }, }, custom: { serializedName: "custom", xmlName: "custom", type: { name: "Composite", - className: "CustomScaleRule" - } + className: "CustomScaleRule", + }, }, http: { serializedName: "http", xmlName: "http", type: { name: "Composite", - className: "HttpScaleRule" - } - } - } - } + className: "HttpScaleRule", + }, + }, + }, + }, }; export const QueueScaleRule: coreClient.CompositeMapper = { @@ -6142,15 +6462,15 @@ export const QueueScaleRule: coreClient.CompositeMapper = { serializedName: "queueName", xmlName: "queueName", type: { - name: "String" - } + name: "String", + }, }, queueLength: { serializedName: "queueLength", xmlName: "queueLength", type: { - name: "Number" - } + name: "Number", + }, }, auth: { serializedName: "auth", @@ -6161,13 +6481,13 @@ export const QueueScaleRule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ScaleRuleAuth" - } - } - } - } - } - } + className: "ScaleRuleAuth", + }, + }, + }, + }, + }, + }, }; export const ScaleRuleAuth: coreClient.CompositeMapper = { @@ -6180,18 +6500,18 @@ export const ScaleRuleAuth: coreClient.CompositeMapper = { serializedName: "secretRef", xmlName: "secretRef", type: { - name: "String" - } + name: "String", + }, }, triggerParameter: { serializedName: "triggerParameter", xmlName: "triggerParameter", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CustomScaleRule: coreClient.CompositeMapper = { @@ -6204,16 +6524,16 @@ export const CustomScaleRule: coreClient.CompositeMapper = { serializedName: "type", xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, metadata: { serializedName: "metadata", xmlName: "metadata", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, auth: { serializedName: "auth", @@ -6224,13 +6544,13 @@ export const CustomScaleRule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ScaleRuleAuth" - } - } - } - } - } - } + className: "ScaleRuleAuth", + }, + }, + }, + }, + }, + }, }; export const HttpScaleRule: coreClient.CompositeMapper = { @@ -6244,8 +6564,8 @@ export const HttpScaleRule: coreClient.CompositeMapper = { xmlName: "metadata", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, auth: { serializedName: "auth", @@ -6256,13 +6576,13 @@ export const HttpScaleRule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ScaleRuleAuth" - } - } - } - } - } - } + className: "ScaleRuleAuth", + }, + }, + }, + }, + }, + }, }; export const Dapr: coreClient.CompositeMapper = { @@ -6275,22 +6595,22 @@ export const Dapr: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appId: { serializedName: "appId", xmlName: "appId", type: { - name: "String" - } + name: "String", + }, }, appPort: { serializedName: "appPort", xmlName: "appPort", type: { - name: "Number" - } + name: "Number", + }, }, components: { serializedName: "components", @@ -6301,13 +6621,13 @@ export const Dapr: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DaprComponent" - } - } - } - } - } - } + className: "DaprComponent", + }, + }, + }, + }, + }, + }, }; export const DaprComponent: coreClient.CompositeMapper = { @@ -6320,22 +6640,22 @@ export const DaprComponent: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "version", xmlName: "version", type: { - name: "String" - } + name: "String", + }, }, metadata: { serializedName: "metadata", @@ -6346,13 +6666,13 @@ export const DaprComponent: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DaprMetadata" - } - } - } - } - } - } + className: "DaprMetadata", + }, + }, + }, + }, + }, + }, }; export const DaprMetadata: coreClient.CompositeMapper = { @@ -6365,25 +6685,25 @@ export const DaprMetadata: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, secretRef: { serializedName: "secretRef", xmlName: "secretRef", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SecretsCollection: coreClient.CompositeMapper = { @@ -6402,13 +6722,13 @@ export const SecretsCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ContainerAppSecret" - } - } - } - } - } - } + className: "ContainerAppSecret", + }, + }, + }, + }, + }, + }, }; export const ContainerAppSecret: coreClient.CompositeMapper = { @@ -6422,19 +6742,19 @@ export const ContainerAppSecret: coreClient.CompositeMapper = { readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", readOnly: true, xmlName: "value", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RevisionCollection: coreClient.CompositeMapper = { @@ -6453,21 +6773,21 @@ export const RevisionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Revision" - } - } - } + className: "Revision", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DeletedWebAppCollection: coreClient.CompositeMapper = { @@ -6486,21 +6806,21 @@ export const DeletedWebAppCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DeletedSite" - } - } - } + className: "DeletedSite", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DiagnosticCategoryCollection: coreClient.CompositeMapper = { @@ -6519,21 +6839,21 @@ export const DiagnosticCategoryCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnosticCategory" - } - } - } + className: "DiagnosticCategory", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DiagnosticAnalysisCollection: coreClient.CompositeMapper = { @@ -6552,21 +6872,21 @@ export const DiagnosticAnalysisCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AnalysisDefinition" - } - } - } + className: "AnalysisDefinition", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AbnormalTimePeriod: coreClient.CompositeMapper = { @@ -6579,15 +6899,15 @@ export const AbnormalTimePeriod: coreClient.CompositeMapper = { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, events: { serializedName: "events", @@ -6598,10 +6918,10 @@ export const AbnormalTimePeriod: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DetectorAbnormalTimePeriod" - } - } - } + className: "DetectorAbnormalTimePeriod", + }, + }, + }, }, solutions: { serializedName: "solutions", @@ -6612,13 +6932,13 @@ export const AbnormalTimePeriod: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Solution" - } - } - } - } - } - } + className: "Solution", + }, + }, + }, + }, + }, + }, }; export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { @@ -6631,36 +6951,36 @@ export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, message: { serializedName: "message", xmlName: "message", type: { - name: "String" - } + name: "String", + }, }, source: { serializedName: "source", xmlName: "source", type: { - name: "String" - } + name: "String", + }, }, priority: { serializedName: "priority", xmlName: "priority", type: { - name: "Number" - } + name: "Number", + }, }, metaData: { serializedName: "metaData", @@ -6674,12 +6994,12 @@ export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } - } - } + className: "NameValuePair", + }, + }, + }, + }, + }, }, type: { serializedName: "type", @@ -6694,9 +7014,9 @@ export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { "AseDeployment", "UserIssue", "PlatformIssue", - "Other" - ] - } + "Other", + ], + }, }, solutions: { serializedName: "solutions", @@ -6707,13 +7027,13 @@ export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Solution" - } - } - } - } - } - } + className: "Solution", + }, + }, + }, + }, + }, + }, }; export const Solution: coreClient.CompositeMapper = { @@ -6726,37 +7046,41 @@ export const Solution: coreClient.CompositeMapper = { serializedName: "id", xmlName: "id", type: { - name: "Number" - } + name: "Number", + }, }, displayName: { serializedName: "displayName", xmlName: "displayName", type: { - name: "String" - } + name: "String", + }, }, order: { serializedName: "order", xmlName: "order", type: { - name: "Number" - } + name: "Number", + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", xmlName: "type", type: { name: "Enum", - allowedValues: ["QuickSolution", "DeepInvestigation", "BestPractices"] - } + allowedValues: [ + "QuickSolution", + "DeepInvestigation", + "BestPractices", + ], + }, }, data: { serializedName: "data", @@ -6770,12 +7094,12 @@ export const Solution: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } - } - } + className: "NameValuePair", + }, + }, + }, + }, + }, }, metadata: { serializedName: "metadata", @@ -6789,15 +7113,15 @@ export const Solution: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } - } - } - } - } - } + className: "NameValuePair", + }, + }, + }, + }, + }, + }, + }, + }, }; export const AnalysisData: coreClient.CompositeMapper = { @@ -6810,16 +7134,16 @@ export const AnalysisData: coreClient.CompositeMapper = { serializedName: "source", xmlName: "source", type: { - name: "String" - } + name: "String", + }, }, detectorDefinition: { serializedName: "detectorDefinition", xmlName: "detectorDefinition", type: { name: "Composite", - className: "DetectorDefinition" - } + className: "DetectorDefinition", + }, }, metrics: { serializedName: "metrics", @@ -6830,10 +7154,10 @@ export const AnalysisData: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnosticMetricSet" - } - } - } + className: "DiagnosticMetricSet", + }, + }, + }, }, data: { serializedName: "data", @@ -6847,23 +7171,23 @@ export const AnalysisData: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } - } - } + className: "NameValuePair", + }, + }, + }, + }, + }, }, detectorMetaData: { serializedName: "detectorMetaData", xmlName: "detectorMetaData", type: { name: "Composite", - className: "ResponseMetaData" - } - } - } - } + className: "ResponseMetaData", + }, + }, + }, + }, }; export const DetectorDefinition: coreClient.CompositeMapper = { @@ -6877,35 +7201,35 @@ export const DetectorDefinition: coreClient.CompositeMapper = { readOnly: true, xmlName: "displayName", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", readOnly: true, xmlName: "description", type: { - name: "String" - } + name: "String", + }, }, rank: { serializedName: "rank", readOnly: true, xmlName: "rank", type: { - name: "Number" - } + name: "Number", + }, }, isEnabled: { serializedName: "isEnabled", readOnly: true, xmlName: "isEnabled", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const DiagnosticMetricSet: coreClient.CompositeMapper = { @@ -6918,36 +7242,36 @@ export const DiagnosticMetricSet: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, unit: { serializedName: "unit", xmlName: "unit", type: { - name: "String" - } + name: "String", + }, }, startTime: { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, timeGrain: { serializedName: "timeGrain", xmlName: "timeGrain", type: { - name: "String" - } + name: "String", + }, }, values: { serializedName: "values", @@ -6958,13 +7282,13 @@ export const DiagnosticMetricSet: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnosticMetricSample" - } - } - } - } - } - } + className: "DiagnosticMetricSample", + }, + }, + }, + }, + }, + }, }; export const DiagnosticMetricSample: coreClient.CompositeMapper = { @@ -6977,46 +7301,46 @@ export const DiagnosticMetricSample: coreClient.CompositeMapper = { serializedName: "timestamp", xmlName: "timestamp", type: { - name: "DateTime" - } + name: "DateTime", + }, }, roleInstance: { serializedName: "roleInstance", xmlName: "roleInstance", type: { - name: "String" - } + name: "String", + }, }, total: { serializedName: "total", xmlName: "total", type: { - name: "Number" - } + name: "Number", + }, }, maximum: { serializedName: "maximum", xmlName: "maximum", type: { - name: "Number" - } + name: "Number", + }, }, minimum: { serializedName: "minimum", xmlName: "minimum", type: { - name: "Number" - } + name: "Number", + }, }, isAggregated: { serializedName: "isAggregated", xmlName: "isAggregated", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const ResponseMetaData: coreClient.CompositeMapper = { @@ -7030,11 +7354,11 @@ export const ResponseMetaData: coreClient.CompositeMapper = { xmlName: "dataSource", type: { name: "Composite", - className: "DataSource" - } - } - } - } + className: "DataSource", + }, + }, + }, + }, }; export const DataSource: coreClient.CompositeMapper = { @@ -7051,10 +7375,10 @@ export const DataSource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, dataSourceUri: { serializedName: "dataSourceUri", @@ -7065,13 +7389,13 @@ export const DataSource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } - } - } - } + className: "NameValuePair", + }, + }, + }, + }, + }, + }, }; export const DiagnosticDetectorCollection: coreClient.CompositeMapper = { @@ -7090,21 +7414,21 @@ export const DiagnosticDetectorCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DetectorDefinitionResource" - } - } - } + className: "DetectorDefinitionResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const KubeEnvironmentCollection: coreClient.CompositeMapper = { @@ -7123,21 +7447,21 @@ export const KubeEnvironmentCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "KubeEnvironment" - } - } - } + className: "KubeEnvironment", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ArcConfiguration: coreClient.CompositeMapper = { @@ -7151,54 +7475,54 @@ export const ArcConfiguration: coreClient.CompositeMapper = { xmlName: "artifactsStorageType", type: { name: "Enum", - allowedValues: ["LocalNode", "NetworkFileSystem"] - } + allowedValues: ["LocalNode", "NetworkFileSystem"], + }, }, artifactStorageClassName: { serializedName: "artifactStorageClassName", xmlName: "artifactStorageClassName", type: { - name: "String" - } + name: "String", + }, }, artifactStorageMountPath: { serializedName: "artifactStorageMountPath", xmlName: "artifactStorageMountPath", type: { - name: "String" - } + name: "String", + }, }, artifactStorageNodeName: { serializedName: "artifactStorageNodeName", xmlName: "artifactStorageNodeName", type: { - name: "String" - } + name: "String", + }, }, artifactStorageAccessMode: { serializedName: "artifactStorageAccessMode", xmlName: "artifactStorageAccessMode", type: { - name: "String" - } + name: "String", + }, }, frontEndServiceConfiguration: { serializedName: "frontEndServiceConfiguration", xmlName: "frontEndServiceConfiguration", type: { name: "Composite", - className: "FrontEndConfiguration" - } + className: "FrontEndConfiguration", + }, }, kubeConfig: { serializedName: "kubeConfig", xmlName: "kubeConfig", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const FrontEndConfiguration: coreClient.CompositeMapper = { @@ -7212,11 +7536,11 @@ export const FrontEndConfiguration: coreClient.CompositeMapper = { xmlName: "kind", type: { name: "Enum", - allowedValues: ["NodePort", "LoadBalancer"] - } - } - } - } + allowedValues: ["NodePort", "LoadBalancer"], + }, + }, + }, + }, }; export const AppLogsConfiguration: coreClient.CompositeMapper = { @@ -7229,19 +7553,19 @@ export const AppLogsConfiguration: coreClient.CompositeMapper = { serializedName: "destination", xmlName: "destination", type: { - name: "String" - } + name: "String", + }, }, logAnalyticsConfiguration: { serializedName: "logAnalyticsConfiguration", xmlName: "logAnalyticsConfiguration", type: { name: "Composite", - className: "LogAnalyticsConfiguration" - } - } - } - } + className: "LogAnalyticsConfiguration", + }, + }, + }, + }, }; export const LogAnalyticsConfiguration: coreClient.CompositeMapper = { @@ -7254,18 +7578,18 @@ export const LogAnalyticsConfiguration: coreClient.CompositeMapper = { serializedName: "customerId", xmlName: "customerId", type: { - name: "String" - } + name: "String", + }, }, sharedKey: { serializedName: "sharedKey", xmlName: "sharedKey", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ContainerAppsConfiguration: coreClient.CompositeMapper = { @@ -7278,46 +7602,46 @@ export const ContainerAppsConfiguration: coreClient.CompositeMapper = { serializedName: "daprAIInstrumentationKey", xmlName: "daprAIInstrumentationKey", type: { - name: "String" - } + name: "String", + }, }, platformReservedCidr: { serializedName: "platformReservedCidr", xmlName: "platformReservedCidr", type: { - name: "String" - } + name: "String", + }, }, platformReservedDnsIP: { serializedName: "platformReservedDnsIP", xmlName: "platformReservedDnsIP", type: { - name: "String" - } + name: "String", + }, }, controlPlaneSubnetResourceId: { serializedName: "controlPlaneSubnetResourceId", xmlName: "controlPlaneSubnetResourceId", type: { - name: "String" - } + name: "String", + }, }, appSubnetResourceId: { serializedName: "appSubnetResourceId", xmlName: "appSubnetResourceId", type: { - name: "String" - } + name: "String", + }, }, dockerBridgeCidr: { serializedName: "dockerBridgeCidr", xmlName: "dockerBridgeCidr", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ApplicationStackCollection: coreClient.CompositeMapper = { @@ -7336,21 +7660,21 @@ export const ApplicationStackCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationStackResource" - } - } - } + className: "ApplicationStackResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ApplicationStack: coreClient.CompositeMapper = { @@ -7363,22 +7687,22 @@ export const ApplicationStack: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, display: { serializedName: "display", xmlName: "display", type: { - name: "String" - } + name: "String", + }, }, dependency: { serializedName: "dependency", xmlName: "dependency", type: { - name: "String" - } + name: "String", + }, }, majorVersions: { serializedName: "majorVersions", @@ -7389,10 +7713,10 @@ export const ApplicationStack: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StackMajorVersion" - } - } - } + className: "StackMajorVersion", + }, + }, + }, }, frameworks: { serializedName: "frameworks", @@ -7403,10 +7727,10 @@ export const ApplicationStack: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationStack" - } - } - } + className: "ApplicationStack", + }, + }, + }, }, isDeprecated: { serializedName: "isDeprecated", @@ -7417,13 +7741,13 @@ export const ApplicationStack: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationStack" - } - } - } - } - } - } + className: "ApplicationStack", + }, + }, + }, + }, + }, + }, }; export const StackMajorVersion: coreClient.CompositeMapper = { @@ -7436,22 +7760,22 @@ export const StackMajorVersion: coreClient.CompositeMapper = { serializedName: "displayVersion", xmlName: "displayVersion", type: { - name: "String" - } + name: "String", + }, }, runtimeVersion: { serializedName: "runtimeVersion", xmlName: "runtimeVersion", type: { - name: "String" - } + name: "String", + }, }, isDefault: { serializedName: "isDefault", xmlName: "isDefault", type: { - name: "Boolean" - } + name: "Boolean", + }, }, minorVersions: { serializedName: "minorVersions", @@ -7462,38 +7786,38 @@ export const StackMajorVersion: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StackMinorVersion" - } - } - } + className: "StackMinorVersion", + }, + }, + }, }, applicationInsights: { serializedName: "applicationInsights", xmlName: "applicationInsights", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isPreview: { serializedName: "isPreview", xmlName: "isPreview", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isDeprecated: { serializedName: "isDeprecated", xmlName: "isDeprecated", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isHidden: { serializedName: "isHidden", xmlName: "isHidden", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appSettingsDictionary: { serializedName: "appSettingsDictionary", @@ -7501,9 +7825,9 @@ export const StackMajorVersion: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, siteConfigPropertiesDictionary: { serializedName: "siteConfigPropertiesDictionary", @@ -7511,12 +7835,12 @@ export const StackMajorVersion: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + }, + }, }; export const StackMinorVersion: coreClient.CompositeMapper = { @@ -7529,32 +7853,32 @@ export const StackMinorVersion: coreClient.CompositeMapper = { serializedName: "displayVersion", xmlName: "displayVersion", type: { - name: "String" - } + name: "String", + }, }, runtimeVersion: { serializedName: "runtimeVersion", xmlName: "runtimeVersion", type: { - name: "String" - } + name: "String", + }, }, isDefault: { serializedName: "isDefault", xmlName: "isDefault", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isRemoteDebuggingEnabled: { serializedName: "isRemoteDebuggingEnabled", xmlName: "isRemoteDebuggingEnabled", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const FunctionAppStackCollection: coreClient.CompositeMapper = { @@ -7573,21 +7897,21 @@ export const FunctionAppStackCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FunctionAppStack" - } - } - } + className: "FunctionAppStack", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const FunctionAppMajorVersion: coreClient.CompositeMapper = { @@ -7601,16 +7925,16 @@ export const FunctionAppMajorVersion: coreClient.CompositeMapper = { readOnly: true, xmlName: "displayText", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", readOnly: true, xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, minorVersions: { serializedName: "minorVersions", @@ -7622,13 +7946,13 @@ export const FunctionAppMajorVersion: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FunctionAppMinorVersion" - } - } - } - } - } - } + className: "FunctionAppMinorVersion", + }, + }, + }, + }, + }, + }, }; export const FunctionAppMinorVersion: coreClient.CompositeMapper = { @@ -7642,27 +7966,27 @@ export const FunctionAppMinorVersion: coreClient.CompositeMapper = { readOnly: true, xmlName: "displayText", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", readOnly: true, xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, stackSettings: { serializedName: "stackSettings", xmlName: "stackSettings", type: { name: "Composite", - className: "FunctionAppRuntimes" - } - } - } - } + className: "FunctionAppRuntimes", + }, + }, + }, + }, }; export const FunctionAppRuntimes: coreClient.CompositeMapper = { @@ -7676,19 +8000,19 @@ export const FunctionAppRuntimes: coreClient.CompositeMapper = { xmlName: "linuxRuntimeSettings", type: { name: "Composite", - className: "FunctionAppRuntimeSettings" - } + className: "FunctionAppRuntimeSettings", + }, }, windowsRuntimeSettings: { serializedName: "windowsRuntimeSettings", xmlName: "windowsRuntimeSettings", type: { name: "Composite", - className: "FunctionAppRuntimeSettings" - } - } - } - } + className: "FunctionAppRuntimeSettings", + }, + }, + }, + }, }; export const FunctionAppRuntimeSettings: coreClient.CompositeMapper = { @@ -7702,32 +8026,32 @@ export const FunctionAppRuntimeSettings: coreClient.CompositeMapper = { readOnly: true, xmlName: "runtimeVersion", type: { - name: "String" - } + name: "String", + }, }, remoteDebuggingSupported: { serializedName: "remoteDebuggingSupported", readOnly: true, xmlName: "remoteDebuggingSupported", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appInsightsSettings: { serializedName: "appInsightsSettings", xmlName: "appInsightsSettings", type: { name: "Composite", - className: "AppInsightsWebAppStackSettings" - } + className: "AppInsightsWebAppStackSettings", + }, }, gitHubActionSettings: { serializedName: "gitHubActionSettings", xmlName: "gitHubActionSettings", type: { name: "Composite", - className: "GitHubActionWebAppStackSettings" - } + className: "GitHubActionWebAppStackSettings", + }, }, appSettingsDictionary: { serializedName: "appSettingsDictionary", @@ -7735,16 +8059,16 @@ export const FunctionAppRuntimeSettings: coreClient.CompositeMapper = { xmlName: "appSettingsDictionary", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, siteConfigPropertiesDictionary: { serializedName: "siteConfigPropertiesDictionary", xmlName: "siteConfigPropertiesDictionary", type: { name: "Composite", - className: "SiteConfigPropertiesDictionary" - } + className: "SiteConfigPropertiesDictionary", + }, }, supportedFunctionsExtensionVersions: { serializedName: "supportedFunctionsExtensionVersions", @@ -7756,69 +8080,69 @@ export const FunctionAppRuntimeSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, isPreview: { serializedName: "isPreview", readOnly: true, xmlName: "isPreview", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isDeprecated: { serializedName: "isDeprecated", readOnly: true, xmlName: "isDeprecated", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isHidden: { serializedName: "isHidden", readOnly: true, xmlName: "isHidden", type: { - name: "Boolean" - } + name: "Boolean", + }, }, endOfLifeDate: { serializedName: "endOfLifeDate", readOnly: true, xmlName: "endOfLifeDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, isAutoUpdate: { serializedName: "isAutoUpdate", readOnly: true, xmlName: "isAutoUpdate", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isEarlyAccess: { serializedName: "isEarlyAccess", readOnly: true, xmlName: "isEarlyAccess", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isDefault: { serializedName: "isDefault", readOnly: true, xmlName: "isDefault", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const AppInsightsWebAppStackSettings: coreClient.CompositeMapper = { @@ -7832,19 +8156,19 @@ export const AppInsightsWebAppStackSettings: coreClient.CompositeMapper = { readOnly: true, xmlName: "isSupported", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isDefaultOff: { serializedName: "isDefaultOff", readOnly: true, xmlName: "isDefaultOff", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const GitHubActionWebAppStackSettings: coreClient.CompositeMapper = { @@ -7858,19 +8182,19 @@ export const GitHubActionWebAppStackSettings: coreClient.CompositeMapper = { readOnly: true, xmlName: "isSupported", type: { - name: "Boolean" - } + name: "Boolean", + }, }, supportedVersion: { serializedName: "supportedVersion", readOnly: true, xmlName: "supportedVersion", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteConfigPropertiesDictionary: coreClient.CompositeMapper = { @@ -7884,35 +8208,35 @@ export const SiteConfigPropertiesDictionary: coreClient.CompositeMapper = { readOnly: true, xmlName: "use32BitWorkerProcess", type: { - name: "Boolean" - } + name: "Boolean", + }, }, linuxFxVersion: { serializedName: "linuxFxVersion", readOnly: true, xmlName: "linuxFxVersion", type: { - name: "String" - } + name: "String", + }, }, javaVersion: { serializedName: "javaVersion", readOnly: true, xmlName: "javaVersion", type: { - name: "String" - } + name: "String", + }, }, powerShellVersion: { serializedName: "powerShellVersion", readOnly: true, xmlName: "powerShellVersion", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WebAppStackCollection: coreClient.CompositeMapper = { @@ -7931,21 +8255,21 @@ export const WebAppStackCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WebAppStack" - } - } - } + className: "WebAppStack", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WebAppMajorVersion: coreClient.CompositeMapper = { @@ -7959,16 +8283,16 @@ export const WebAppMajorVersion: coreClient.CompositeMapper = { readOnly: true, xmlName: "displayText", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", readOnly: true, xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, minorVersions: { serializedName: "minorVersions", @@ -7980,13 +8304,13 @@ export const WebAppMajorVersion: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WebAppMinorVersion" - } - } - } - } - } - } + className: "WebAppMinorVersion", + }, + }, + }, + }, + }, + }, }; export const WebAppMinorVersion: coreClient.CompositeMapper = { @@ -8000,27 +8324,27 @@ export const WebAppMinorVersion: coreClient.CompositeMapper = { readOnly: true, xmlName: "displayText", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", readOnly: true, xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, stackSettings: { serializedName: "stackSettings", xmlName: "stackSettings", type: { name: "Composite", - className: "WebAppRuntimes" - } - } - } - } + className: "WebAppRuntimes", + }, + }, + }, + }, }; export const WebAppRuntimes: coreClient.CompositeMapper = { @@ -8034,35 +8358,35 @@ export const WebAppRuntimes: coreClient.CompositeMapper = { xmlName: "linuxRuntimeSettings", type: { name: "Composite", - className: "WebAppRuntimeSettings" - } + className: "WebAppRuntimeSettings", + }, }, windowsRuntimeSettings: { serializedName: "windowsRuntimeSettings", xmlName: "windowsRuntimeSettings", type: { name: "Composite", - className: "WebAppRuntimeSettings" - } + className: "WebAppRuntimeSettings", + }, }, linuxContainerSettings: { serializedName: "linuxContainerSettings", xmlName: "linuxContainerSettings", type: { name: "Composite", - className: "LinuxJavaContainerSettings" - } + className: "LinuxJavaContainerSettings", + }, }, windowsContainerSettings: { serializedName: "windowsContainerSettings", xmlName: "windowsContainerSettings", type: { name: "Composite", - className: "WindowsJavaContainerSettings" - } - } - } - } + className: "WindowsJavaContainerSettings", + }, + }, + }, + }, }; export const WebAppRuntimeSettings: coreClient.CompositeMapper = { @@ -8076,83 +8400,83 @@ export const WebAppRuntimeSettings: coreClient.CompositeMapper = { readOnly: true, xmlName: "runtimeVersion", type: { - name: "String" - } + name: "String", + }, }, remoteDebuggingSupported: { serializedName: "remoteDebuggingSupported", readOnly: true, xmlName: "remoteDebuggingSupported", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appInsightsSettings: { serializedName: "appInsightsSettings", xmlName: "appInsightsSettings", type: { name: "Composite", - className: "AppInsightsWebAppStackSettings" - } + className: "AppInsightsWebAppStackSettings", + }, }, gitHubActionSettings: { serializedName: "gitHubActionSettings", xmlName: "gitHubActionSettings", type: { name: "Composite", - className: "GitHubActionWebAppStackSettings" - } + className: "GitHubActionWebAppStackSettings", + }, }, isPreview: { serializedName: "isPreview", readOnly: true, xmlName: "isPreview", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isDeprecated: { serializedName: "isDeprecated", readOnly: true, xmlName: "isDeprecated", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isHidden: { serializedName: "isHidden", readOnly: true, xmlName: "isHidden", type: { - name: "Boolean" - } + name: "Boolean", + }, }, endOfLifeDate: { serializedName: "endOfLifeDate", readOnly: true, xmlName: "endOfLifeDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, isAutoUpdate: { serializedName: "isAutoUpdate", readOnly: true, xmlName: "isAutoUpdate", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isEarlyAccess: { serializedName: "isEarlyAccess", readOnly: true, xmlName: "isEarlyAccess", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const LinuxJavaContainerSettings: coreClient.CompositeMapper = { @@ -8166,67 +8490,67 @@ export const LinuxJavaContainerSettings: coreClient.CompositeMapper = { readOnly: true, xmlName: "java11Runtime", type: { - name: "String" - } + name: "String", + }, }, java8Runtime: { serializedName: "java8Runtime", readOnly: true, xmlName: "java8Runtime", type: { - name: "String" - } + name: "String", + }, }, isPreview: { serializedName: "isPreview", readOnly: true, xmlName: "isPreview", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isDeprecated: { serializedName: "isDeprecated", readOnly: true, xmlName: "isDeprecated", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isHidden: { serializedName: "isHidden", readOnly: true, xmlName: "isHidden", type: { - name: "Boolean" - } + name: "Boolean", + }, }, endOfLifeDate: { serializedName: "endOfLifeDate", readOnly: true, xmlName: "endOfLifeDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, isAutoUpdate: { serializedName: "isAutoUpdate", readOnly: true, xmlName: "isAutoUpdate", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isEarlyAccess: { serializedName: "isEarlyAccess", readOnly: true, xmlName: "isEarlyAccess", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const WindowsJavaContainerSettings: coreClient.CompositeMapper = { @@ -8240,67 +8564,67 @@ export const WindowsJavaContainerSettings: coreClient.CompositeMapper = { readOnly: true, xmlName: "javaContainer", type: { - name: "String" - } + name: "String", + }, }, javaContainerVersion: { serializedName: "javaContainerVersion", readOnly: true, xmlName: "javaContainerVersion", type: { - name: "String" - } + name: "String", + }, }, isPreview: { serializedName: "isPreview", readOnly: true, xmlName: "isPreview", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isDeprecated: { serializedName: "isDeprecated", readOnly: true, xmlName: "isDeprecated", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isHidden: { serializedName: "isHidden", readOnly: true, xmlName: "isHidden", type: { - name: "Boolean" - } + name: "Boolean", + }, }, endOfLifeDate: { serializedName: "endOfLifeDate", readOnly: true, xmlName: "endOfLifeDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, isAutoUpdate: { serializedName: "isAutoUpdate", readOnly: true, xmlName: "isAutoUpdate", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isEarlyAccess: { serializedName: "isEarlyAccess", readOnly: true, xmlName: "isEarlyAccess", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const RecommendationCollection: coreClient.CompositeMapper = { @@ -8319,21 +8643,21 @@ export const RecommendationCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Recommendation" - } - } - } + className: "Recommendation", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceHealthMetadataCollection: coreClient.CompositeMapper = { @@ -8352,21 +8676,21 @@ export const ResourceHealthMetadataCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ResourceHealthMetadata" - } - } - } + className: "ResourceHealthMetadata", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SourceControlCollection: coreClient.CompositeMapper = { @@ -8385,21 +8709,21 @@ export const SourceControlCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SourceControl" - } - } - } + className: "SourceControl", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const BillingMeterCollection: coreClient.CompositeMapper = { @@ -8418,21 +8742,21 @@ export const BillingMeterCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "BillingMeter" - } - } - } + className: "BillingMeter", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceNameAvailabilityRequest: coreClient.CompositeMapper = { @@ -8446,33 +8770,33 @@ export const ResourceNameAvailabilityRequest: coreClient.CompositeMapper = { required: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, typeParam: { serializedName: "type", required: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, isFqdn: { serializedName: "isFqdn", xmlName: "isFqdn", type: { - name: "Boolean" - } + name: "Boolean", + }, }, environmentId: { serializedName: "environmentId", xmlName: "environmentId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceNameAvailability: coreClient.CompositeMapper = { @@ -8485,25 +8809,25 @@ export const ResourceNameAvailability: coreClient.CompositeMapper = { serializedName: "nameAvailable", xmlName: "nameAvailable", type: { - name: "Boolean" - } + name: "Boolean", + }, }, reason: { serializedName: "reason", xmlName: "reason", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", xmlName: "message", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CustomHostnameSitesCollection: coreClient.CompositeMapper = { @@ -8522,21 +8846,21 @@ export const CustomHostnameSitesCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "CustomHostnameSites" - } - } - } + className: "CustomHostnameSites", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DeploymentLocations: coreClient.CompositeMapper = { @@ -8554,10 +8878,10 @@ export const DeploymentLocations: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "GeoRegion" - } - } - } + className: "GeoRegion", + }, + }, + }, }, hostingEnvironments: { serializedName: "hostingEnvironments", @@ -8568,10 +8892,10 @@ export const DeploymentLocations: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AppServiceEnvironment" - } - } - } + className: "AppServiceEnvironment", + }, + }, + }, }, hostingEnvironmentDeploymentInfos: { serializedName: "hostingEnvironmentDeploymentInfos", @@ -8582,13 +8906,13 @@ export const DeploymentLocations: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HostingEnvironmentDeploymentInfo" - } - } - } - } - } - } + className: "HostingEnvironmentDeploymentInfo", + }, + }, + }, + }, + }, + }, }; export const HostingEnvironmentDeploymentInfo: coreClient.CompositeMapper = { @@ -8601,18 +8925,18 @@ export const HostingEnvironmentDeploymentInfo: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, location: { serializedName: "location", xmlName: "location", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AseRegionCollection: coreClient.CompositeMapper = { @@ -8631,21 +8955,21 @@ export const AseRegionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AseRegion" - } - } - } + className: "AseRegion", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const GeoRegionCollection: coreClient.CompositeMapper = { @@ -8664,21 +8988,21 @@ export const GeoRegionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "GeoRegion" - } - } - } + className: "GeoRegion", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const IdentifierCollection: coreClient.CompositeMapper = { @@ -8697,21 +9021,21 @@ export const IdentifierCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Identifier" - } - } - } + className: "Identifier", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PremierAddOnOfferCollection: coreClient.CompositeMapper = { @@ -8730,21 +9054,21 @@ export const PremierAddOnOfferCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PremierAddOnOffer" - } - } - } + className: "PremierAddOnOffer", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SkuInfos: coreClient.CompositeMapper = { @@ -8757,8 +9081,8 @@ export const SkuInfos: coreClient.CompositeMapper = { serializedName: "resourceType", xmlName: "resourceType", type: { - name: "String" - } + name: "String", + }, }, skus: { serializedName: "skus", @@ -8769,13 +9093,13 @@ export const SkuInfos: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "GlobalCsmSkuDescription" - } - } - } - } - } - } + className: "GlobalCsmSkuDescription", + }, + }, + }, + }, + }, + }, }; export const GlobalCsmSkuDescription: coreClient.CompositeMapper = { @@ -8788,37 +9112,37 @@ export const GlobalCsmSkuDescription: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, tier: { serializedName: "tier", xmlName: "tier", type: { - name: "String" - } + name: "String", + }, }, size: { serializedName: "size", xmlName: "size", type: { - name: "String" - } + name: "String", + }, }, family: { serializedName: "family", xmlName: "family", type: { - name: "String" - } + name: "String", + }, }, capacity: { serializedName: "capacity", xmlName: "capacity", type: { name: "Composite", - className: "SkuCapacity" - } + className: "SkuCapacity", + }, }, locations: { serializedName: "locations", @@ -8828,10 +9152,10 @@ export const GlobalCsmSkuDescription: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, capabilities: { serializedName: "capabilities", @@ -8842,13 +9166,13 @@ export const GlobalCsmSkuDescription: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Capability" - } - } - } - } - } - } + className: "Capability", + }, + }, + }, + }, + }, + }, }; export const CsmMoveResourceEnvelope: coreClient.CompositeMapper = { @@ -8861,13 +9185,13 @@ export const CsmMoveResourceEnvelope: coreClient.CompositeMapper = { constraints: { Pattern: new RegExp(" ^[-\\w\\._\\(\\)]+[^\\.]$"), MaxLength: 90, - MinLength: 1 + MinLength: 1, }, serializedName: "targetResourceGroup", xmlName: "targetResourceGroup", type: { - name: "String" - } + name: "String", + }, }, resources: { serializedName: "resources", @@ -8877,13 +9201,13 @@ export const CsmMoveResourceEnvelope: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const ValidateRequest: coreClient.CompositeMapper = { @@ -8897,129 +9221,129 @@ export const ValidateRequest: coreClient.CompositeMapper = { required: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", required: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, location: { serializedName: "location", required: true, xmlName: "location", type: { - name: "String" - } + name: "String", + }, }, serverFarmId: { serializedName: "properties.serverFarmId", xmlName: "properties.serverFarmId", type: { - name: "String" - } + name: "String", + }, }, skuName: { serializedName: "properties.skuName", xmlName: "properties.skuName", type: { - name: "String" - } + name: "String", + }, }, needLinuxWorkers: { serializedName: "properties.needLinuxWorkers", xmlName: "properties.needLinuxWorkers", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isSpot: { serializedName: "properties.isSpot", xmlName: "properties.isSpot", type: { - name: "Boolean" - } + name: "Boolean", + }, }, capacity: { constraints: { - InclusiveMinimum: 1 + InclusiveMinimum: 1, }, serializedName: "properties.capacity", xmlName: "properties.capacity", type: { - name: "Number" - } + name: "Number", + }, }, hostingEnvironment: { serializedName: "properties.hostingEnvironment", xmlName: "properties.hostingEnvironment", type: { - name: "String" - } + name: "String", + }, }, isXenon: { serializedName: "properties.isXenon", xmlName: "properties.isXenon", type: { - name: "Boolean" - } + name: "Boolean", + }, }, containerRegistryBaseUrl: { serializedName: "properties.containerRegistryBaseUrl", xmlName: "properties.containerRegistryBaseUrl", type: { - name: "String" - } + name: "String", + }, }, containerRegistryUsername: { serializedName: "properties.containerRegistryUsername", xmlName: "properties.containerRegistryUsername", type: { - name: "String" - } + name: "String", + }, }, containerRegistryPassword: { serializedName: "properties.containerRegistryPassword", xmlName: "properties.containerRegistryPassword", type: { - name: "String" - } + name: "String", + }, }, containerImageRepository: { serializedName: "properties.containerImageRepository", xmlName: "properties.containerImageRepository", type: { - name: "String" - } + name: "String", + }, }, containerImageTag: { serializedName: "properties.containerImageTag", xmlName: "properties.containerImageTag", type: { - name: "String" - } + name: "String", + }, }, containerImagePlatform: { serializedName: "properties.containerImagePlatform", xmlName: "properties.containerImagePlatform", type: { - name: "String" - } + name: "String", + }, }, appServiceEnvironment: { serializedName: "properties.appServiceEnvironment", xmlName: "properties.appServiceEnvironment", type: { name: "Composite", - className: "AppServiceEnvironment" - } - } - } - } + className: "AppServiceEnvironment", + }, + }, + }, + }, }; export const ValidateResponse: coreClient.CompositeMapper = { @@ -9032,19 +9356,19 @@ export const ValidateResponse: coreClient.CompositeMapper = { serializedName: "status", xmlName: "status", type: { - name: "String" - } + name: "String", + }, }, error: { serializedName: "error", xmlName: "error", type: { name: "Composite", - className: "ValidateResponseError" - } - } - } - } + className: "ValidateResponseError", + }, + }, + }, + }, }; export const ValidateResponseError: coreClient.CompositeMapper = { @@ -9057,18 +9381,18 @@ export const ValidateResponseError: coreClient.CompositeMapper = { serializedName: "code", xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", xmlName: "message", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StaticSiteBuildProperties: coreClient.CompositeMapper = { @@ -9081,60 +9405,60 @@ export const StaticSiteBuildProperties: coreClient.CompositeMapper = { serializedName: "appLocation", xmlName: "appLocation", type: { - name: "String" - } + name: "String", + }, }, apiLocation: { serializedName: "apiLocation", xmlName: "apiLocation", type: { - name: "String" - } + name: "String", + }, }, appArtifactLocation: { serializedName: "appArtifactLocation", xmlName: "appArtifactLocation", type: { - name: "String" - } + name: "String", + }, }, outputLocation: { serializedName: "outputLocation", xmlName: "outputLocation", type: { - name: "String" - } + name: "String", + }, }, appBuildCommand: { serializedName: "appBuildCommand", xmlName: "appBuildCommand", type: { - name: "String" - } + name: "String", + }, }, apiBuildCommand: { serializedName: "apiBuildCommand", xmlName: "apiBuildCommand", type: { - name: "String" - } + name: "String", + }, }, skipGithubActionWorkflowGeneration: { serializedName: "skipGithubActionWorkflowGeneration", xmlName: "skipGithubActionWorkflowGeneration", type: { - name: "Boolean" - } + name: "Boolean", + }, }, githubActionSecretNameOverride: { serializedName: "githubActionSecretNameOverride", xmlName: "githubActionSecretNameOverride", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StaticSiteCollection: coreClient.CompositeMapper = { @@ -9153,173 +9477,174 @@ export const StaticSiteCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteARMResource" - } - } - } + className: "StaticSiteARMResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } -}; + name: "String", + }, + }, + }, + }, +}; + +export const ResponseMessageEnvelopeRemotePrivateEndpointConnection: coreClient.CompositeMapper = + { + serializedName: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", + type: { + name: "Composite", + className: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", + modelProperties: { + id: { + serializedName: "id", + xmlName: "id", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + xmlName: "type", + type: { + name: "String", + }, + }, + location: { + serializedName: "location", + xmlName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + xmlName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + plan: { + serializedName: "plan", + xmlName: "plan", + type: { + name: "Composite", + className: "ArmPlan", + }, + }, + properties: { + serializedName: "properties", + xmlName: "properties", + type: { + name: "Composite", + className: "RemotePrivateEndpointConnection", + }, + }, + sku: { + serializedName: "sku", + xmlName: "sku", + type: { + name: "Composite", + className: "SkuDescription", + }, + }, + status: { + serializedName: "status", + xmlName: "status", + type: { + name: "String", + }, + }, + error: { + serializedName: "error", + xmlName: "error", + type: { + name: "Composite", + className: "ErrorEntity", + }, + }, + identity: { + serializedName: "identity", + xmlName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + zones: { + serializedName: "zones", + xmlName: "zones", + xmlElementName: + "ResponseMessageEnvelopeRemotePrivateEndpointConnectionZonesItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, + }; -export const ResponseMessageEnvelopeRemotePrivateEndpointConnection: coreClient.CompositeMapper = { - serializedName: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", +export const ArmPlan: coreClient.CompositeMapper = { + serializedName: "ArmPlan", type: { name: "Composite", - className: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", + className: "ArmPlan", modelProperties: { - id: { - serializedName: "id", - xmlName: "id", - type: { - name: "String" - } - }, name: { serializedName: "name", xmlName: "name", type: { - name: "String" - } - }, - type: { - serializedName: "type", - xmlName: "type", - type: { - name: "String" - } - }, - location: { - serializedName: "location", - xmlName: "location", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - xmlName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - plan: { - serializedName: "plan", - xmlName: "plan", - type: { - name: "Composite", - className: "ArmPlan" - } - }, - properties: { - serializedName: "properties", - xmlName: "properties", - type: { - name: "Composite", - className: "RemotePrivateEndpointConnection" - } - }, - sku: { - serializedName: "sku", - xmlName: "sku", - type: { - name: "Composite", - className: "SkuDescription" - } - }, - status: { - serializedName: "status", - xmlName: "status", - type: { - name: "String" - } - }, - error: { - serializedName: "error", - xmlName: "error", - type: { - name: "Composite", - className: "ErrorEntity" - } - }, - identity: { - serializedName: "identity", - xmlName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - zones: { - serializedName: "zones", - xmlName: "zones", - xmlElementName: - "ResponseMessageEnvelopeRemotePrivateEndpointConnectionZonesItem", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const ArmPlan: coreClient.CompositeMapper = { - serializedName: "ArmPlan", - type: { - name: "Composite", - className: "ArmPlan", - modelProperties: { - name: { - serializedName: "name", - xmlName: "name", - type: { - name: "String" - } + name: "String", + }, }, publisher: { serializedName: "publisher", xmlName: "publisher", type: { - name: "String" - } + name: "String", + }, }, product: { serializedName: "product", xmlName: "product", type: { - name: "String" - } + name: "String", + }, }, promotionCode: { serializedName: "promotionCode", xmlName: "promotionCode", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "version", xmlName: "version", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StaticSiteTemplateOptions: coreClient.CompositeMapper = { @@ -9332,39 +9657,39 @@ export const StaticSiteTemplateOptions: coreClient.CompositeMapper = { serializedName: "templateRepositoryUrl", xmlName: "templateRepositoryUrl", type: { - name: "String" - } + name: "String", + }, }, owner: { serializedName: "owner", xmlName: "owner", type: { - name: "String" - } + name: "String", + }, }, repositoryName: { serializedName: "repositoryName", xmlName: "repositoryName", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } + name: "String", + }, }, isPrivate: { serializedName: "isPrivate", xmlName: "isPrivate", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const StaticSiteLinkedBackend: coreClient.CompositeMapper = { @@ -9377,34 +9702,34 @@ export const StaticSiteLinkedBackend: coreClient.CompositeMapper = { serializedName: "backendResourceId", xmlName: "backendResourceId", type: { - name: "String" - } + name: "String", + }, }, region: { serializedName: "region", xmlName: "region", type: { - name: "String" - } + name: "String", + }, }, createdOn: { serializedName: "createdOn", readOnly: true, xmlName: "createdOn", type: { - name: "DateTime" - } + name: "DateTime", + }, }, provisioningState: { serializedName: "provisioningState", readOnly: true, xmlName: "provisioningState", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DatabaseConnectionOverview: coreClient.CompositeMapper = { @@ -9418,24 +9743,24 @@ export const DatabaseConnectionOverview: coreClient.CompositeMapper = { readOnly: true, xmlName: "resourceId", type: { - name: "String" - } + name: "String", + }, }, connectionIdentity: { serializedName: "connectionIdentity", readOnly: true, xmlName: "connectionIdentity", type: { - name: "String" - } + name: "String", + }, }, region: { serializedName: "region", readOnly: true, xmlName: "region", type: { - name: "String" - } + name: "String", + }, }, configurationFiles: { serializedName: "configurationFiles", @@ -9447,56 +9772,58 @@ export const DatabaseConnectionOverview: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteDatabaseConnectionConfigurationFileOverview" - } - } - } + className: + "StaticSiteDatabaseConnectionConfigurationFileOverview", + }, + }, + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteDatabaseConnectionConfigurationFileOverview: coreClient.CompositeMapper = { - serializedName: "StaticSiteDatabaseConnectionConfigurationFileOverview", - type: { - name: "Composite", - className: "StaticSiteDatabaseConnectionConfigurationFileOverview", - modelProperties: { - fileName: { - serializedName: "fileName", - readOnly: true, - xmlName: "fileName", - type: { - name: "String" - } + name: "String", + }, }, - contents: { - serializedName: "contents", - readOnly: true, - xmlName: "contents", + }, + }, +}; + +export const StaticSiteDatabaseConnectionConfigurationFileOverview: coreClient.CompositeMapper = + { + serializedName: "StaticSiteDatabaseConnectionConfigurationFileOverview", + type: { + name: "Composite", + className: "StaticSiteDatabaseConnectionConfigurationFileOverview", + modelProperties: { + fileName: { + serializedName: "fileName", + readOnly: true, + xmlName: "fileName", + type: { + name: "String", + }, + }, + contents: { + serializedName: "contents", + readOnly: true, + xmlName: "contents", + type: { + name: "String", + }, + }, type: { - name: "String" - } + serializedName: "type", + readOnly: true, + xmlName: "type", + type: { + name: "String", + }, + }, }, - type: { - serializedName: "type", - readOnly: true, - xmlName: "type", - type: { - name: "String" - } - } - } - } -}; + }, + }; export const StaticSiteUserCollection: coreClient.CompositeMapper = { serializedName: "StaticSiteUserCollection", @@ -9514,21 +9841,21 @@ export const StaticSiteUserCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteUserARMResource" - } - } - } + className: "StaticSiteUserARMResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StaticSiteBuildCollection: coreClient.CompositeMapper = { @@ -9547,21 +9874,21 @@ export const StaticSiteBuildCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteBuildARMResource" - } - } - } + className: "StaticSiteBuildARMResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DatabaseConnectionCollection: coreClient.CompositeMapper = { @@ -9580,21 +9907,21 @@ export const DatabaseConnectionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseConnection" - } - } - } + className: "DatabaseConnection", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DatabaseConnectionPatchRequest: coreClient.CompositeMapper = { @@ -9607,165 +9934,169 @@ export const DatabaseConnectionPatchRequest: coreClient.CompositeMapper = { serializedName: "properties.resourceId", xmlName: "properties.resourceId", type: { - name: "String" - } + name: "String", + }, }, connectionIdentity: { serializedName: "properties.connectionIdentity", xmlName: "properties.connectionIdentity", type: { - name: "String" - } + name: "String", + }, }, connectionString: { serializedName: "properties.connectionString", xmlName: "properties.connectionString", type: { - name: "String" - } + name: "String", + }, }, region: { serializedName: "properties.region", xmlName: "properties.region", type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteFunctionOverviewCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteFunctionOverviewCollection", - type: { - name: "Composite", - className: "StaticSiteFunctionOverviewCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteFunctionOverviewARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteFunctionOverviewARMResource" - } - } - } + name: "String", + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteUserProvidedFunctionAppsCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteUserProvidedFunctionAppsCollection", - type: { - name: "Composite", - className: "StaticSiteUserProvidedFunctionAppsCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteUserProvidedFunctionAppARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteUserProvidedFunctionAppARMResource" - } - } - } + }, + }, +}; + +export const StaticSiteFunctionOverviewCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteFunctionOverviewCollection", + type: { + name: "Composite", + className: "StaticSiteFunctionOverviewCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteFunctionOverviewARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteFunctionOverviewARMResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteBasicAuthPropertiesCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteBasicAuthPropertiesCollection", - type: { - name: "Composite", - className: "StaticSiteBasicAuthPropertiesCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteBasicAuthPropertiesARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteBasicAuthPropertiesARMResource" - } - } - } + }, + }; + +export const StaticSiteUserProvidedFunctionAppsCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteUserProvidedFunctionAppsCollection", + type: { + name: "Composite", + className: "StaticSiteUserProvidedFunctionAppsCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteUserProvidedFunctionAppARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteUserProvidedFunctionAppARMResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteCustomDomainOverviewCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteCustomDomainOverviewCollection", - type: { - name: "Composite", - className: "StaticSiteCustomDomainOverviewCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteCustomDomainOverviewARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteCustomDomainOverviewARMResource" - } - } - } + }, + }; + +export const StaticSiteBasicAuthPropertiesCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteBasicAuthPropertiesCollection", + type: { + name: "Composite", + className: "StaticSiteBasicAuthPropertiesCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteBasicAuthPropertiesARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteBasicAuthPropertiesARMResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; + }, + }; + +export const StaticSiteCustomDomainOverviewCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteCustomDomainOverviewCollection", + type: { + name: "Composite", + className: "StaticSiteCustomDomainOverviewCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteCustomDomainOverviewARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteCustomDomainOverviewARMResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; export const StaticSiteLinkedBackendsCollection: coreClient.CompositeMapper = { serializedName: "StaticSiteLinkedBackendsCollection", @@ -9783,21 +10114,21 @@ export const StaticSiteLinkedBackendsCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteLinkedBackendARMResource" - } - } - } + className: "StaticSiteLinkedBackendARMResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmSlotEntity: coreClient.CompositeMapper = { @@ -9811,19 +10142,19 @@ export const CsmSlotEntity: coreClient.CompositeMapper = { required: true, xmlName: "targetSlot", type: { - name: "String" - } + name: "String", + }, }, preserveVnet: { serializedName: "preserveVnet", required: true, xmlName: "preserveVnet", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const BackupSchedule: coreClient.CompositeMapper = { @@ -9838,8 +10169,8 @@ export const BackupSchedule: coreClient.CompositeMapper = { required: true, xmlName: "frequencyInterval", type: { - name: "Number" - } + name: "Number", + }, }, frequencyUnit: { defaultValue: "Day", @@ -9848,8 +10179,8 @@ export const BackupSchedule: coreClient.CompositeMapper = { xmlName: "frequencyUnit", type: { name: "Enum", - allowedValues: ["Day", "Hour"] - } + allowedValues: ["Day", "Hour"], + }, }, keepAtLeastOneBackup: { defaultValue: true, @@ -9857,8 +10188,8 @@ export const BackupSchedule: coreClient.CompositeMapper = { required: true, xmlName: "keepAtLeastOneBackup", type: { - name: "Boolean" - } + name: "Boolean", + }, }, retentionPeriodInDays: { defaultValue: 30, @@ -9866,26 +10197,26 @@ export const BackupSchedule: coreClient.CompositeMapper = { required: true, xmlName: "retentionPeriodInDays", type: { - name: "Number" - } + name: "Number", + }, }, startTime: { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastExecutionTime: { serializedName: "lastExecutionTime", readOnly: true, xmlName: "lastExecutionTime", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const DatabaseBackupSetting: coreClient.CompositeMapper = { @@ -9899,32 +10230,32 @@ export const DatabaseBackupSetting: coreClient.CompositeMapper = { required: true, xmlName: "databaseType", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, connectionStringName: { serializedName: "connectionStringName", xmlName: "connectionStringName", type: { - name: "String" - } + name: "String", + }, }, connectionString: { serializedName: "connectionString", xmlName: "connectionString", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const BackupItemCollection: coreClient.CompositeMapper = { @@ -9943,55 +10274,56 @@ export const BackupItemCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "BackupItem" - } - } - } + className: "BackupItem", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } -}; - -export const PublishingCredentialsPoliciesCollection: coreClient.CompositeMapper = { - serializedName: "PublishingCredentialsPoliciesCollection", - type: { - name: "Composite", - className: "PublishingCredentialsPoliciesCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "CsmPublishingCredentialsPoliciesEntity", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CsmPublishingCredentialsPoliciesEntity" - } - } - } + name: "String", + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const PublishingCredentialsPoliciesCollection: coreClient.CompositeMapper = + { + serializedName: "PublishingCredentialsPoliciesCollection", + type: { + name: "Composite", + className: "PublishingCredentialsPoliciesCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "CsmPublishingCredentialsPoliciesEntity", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CsmPublishingCredentialsPoliciesEntity", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; export const SiteConfigResourceCollection: coreClient.CompositeMapper = { serializedName: "SiteConfigResourceCollection", @@ -10009,21 +10341,21 @@ export const SiteConfigResourceCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SiteConfigResource" - } - } - } + className: "SiteConfigResource", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AuthPlatform: coreClient.CompositeMapper = { @@ -10036,25 +10368,25 @@ export const AuthPlatform: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, runtimeVersion: { serializedName: "runtimeVersion", xmlName: "runtimeVersion", type: { - name: "String" - } + name: "String", + }, }, configFilePath: { serializedName: "configFilePath", xmlName: "configFilePath", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const GlobalValidation: coreClient.CompositeMapper = { @@ -10067,8 +10399,8 @@ export const GlobalValidation: coreClient.CompositeMapper = { serializedName: "requireAuthentication", xmlName: "requireAuthentication", type: { - name: "Boolean" - } + name: "Boolean", + }, }, unauthenticatedClientAction: { serializedName: "unauthenticatedClientAction", @@ -10079,16 +10411,16 @@ export const GlobalValidation: coreClient.CompositeMapper = { "RedirectToLoginPage", "AllowAnonymous", "Return401", - "Return403" - ] - } + "Return403", + ], + }, }, redirectToProvider: { serializedName: "redirectToProvider", xmlName: "redirectToProvider", type: { - name: "String" - } + name: "String", + }, }, excludedPaths: { serializedName: "excludedPaths", @@ -10098,13 +10430,13 @@ export const GlobalValidation: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const IdentityProviders: coreClient.CompositeMapper = { @@ -10118,64 +10450,64 @@ export const IdentityProviders: coreClient.CompositeMapper = { xmlName: "azureActiveDirectory", type: { name: "Composite", - className: "AzureActiveDirectory" - } + className: "AzureActiveDirectory", + }, }, facebook: { serializedName: "facebook", xmlName: "facebook", type: { name: "Composite", - className: "Facebook" - } + className: "Facebook", + }, }, gitHub: { serializedName: "gitHub", xmlName: "gitHub", type: { name: "Composite", - className: "GitHub" - } + className: "GitHub", + }, }, google: { serializedName: "google", xmlName: "google", type: { name: "Composite", - className: "Google" - } + className: "Google", + }, }, legacyMicrosoftAccount: { serializedName: "legacyMicrosoftAccount", xmlName: "legacyMicrosoftAccount", type: { name: "Composite", - className: "LegacyMicrosoftAccount" - } + className: "LegacyMicrosoftAccount", + }, }, twitter: { serializedName: "twitter", xmlName: "twitter", type: { name: "Composite", - className: "Twitter" - } + className: "Twitter", + }, }, apple: { serializedName: "apple", xmlName: "apple", type: { name: "Composite", - className: "Apple" - } + className: "Apple", + }, }, azureStaticWebApps: { serializedName: "azureStaticWebApps", xmlName: "azureStaticWebApps", type: { name: "Composite", - className: "AzureStaticWebApps" - } + className: "AzureStaticWebApps", + }, }, customOpenIdConnectProviders: { serializedName: "customOpenIdConnectProviders", @@ -10185,13 +10517,13 @@ export const IdentityProviders: coreClient.CompositeMapper = { value: { type: { name: "Composite", - className: "CustomOpenIdConnectProvider" - } - } - } - } - } - } + className: "CustomOpenIdConnectProvider", + }, + }, + }, + }, + }, + }, }; export const AzureActiveDirectory: coreClient.CompositeMapper = { @@ -10204,42 +10536,42 @@ export const AzureActiveDirectory: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "AzureActiveDirectoryRegistration" - } + className: "AzureActiveDirectoryRegistration", + }, }, login: { serializedName: "login", xmlName: "login", type: { name: "Composite", - className: "AzureActiveDirectoryLogin" - } + className: "AzureActiveDirectoryLogin", + }, }, validation: { serializedName: "validation", xmlName: "validation", type: { name: "Composite", - className: "AzureActiveDirectoryValidation" - } + className: "AzureActiveDirectoryValidation", + }, }, isAutoProvisioned: { serializedName: "isAutoProvisioned", xmlName: "isAutoProvisioned", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const AzureActiveDirectoryRegistration: coreClient.CompositeMapper = { @@ -10252,46 +10584,46 @@ export const AzureActiveDirectoryRegistration: coreClient.CompositeMapper = { serializedName: "openIdIssuer", xmlName: "openIdIssuer", type: { - name: "String" - } + name: "String", + }, }, clientId: { serializedName: "clientId", xmlName: "clientId", type: { - name: "String" - } + name: "String", + }, }, clientSecretSettingName: { serializedName: "clientSecretSettingName", xmlName: "clientSecretSettingName", type: { - name: "String" - } + name: "String", + }, }, clientSecretCertificateThumbprint: { serializedName: "clientSecretCertificateThumbprint", xmlName: "clientSecretCertificateThumbprint", type: { - name: "String" - } + name: "String", + }, }, clientSecretCertificateSubjectAlternativeName: { serializedName: "clientSecretCertificateSubjectAlternativeName", xmlName: "clientSecretCertificateSubjectAlternativeName", type: { - name: "String" - } + name: "String", + }, }, clientSecretCertificateIssuer: { serializedName: "clientSecretCertificateIssuer", xmlName: "clientSecretCertificateIssuer", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AzureActiveDirectoryLogin: coreClient.CompositeMapper = { @@ -10308,20 +10640,20 @@ export const AzureActiveDirectoryLogin: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, disableWWWAuthenticate: { serializedName: "disableWWWAuthenticate", xmlName: "disableWWWAuthenticate", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const AzureActiveDirectoryValidation: coreClient.CompositeMapper = { @@ -10335,8 +10667,8 @@ export const AzureActiveDirectoryValidation: coreClient.CompositeMapper = { xmlName: "jwtClaimChecks", type: { name: "Composite", - className: "JwtClaimChecks" - } + className: "JwtClaimChecks", + }, }, allowedAudiences: { serializedName: "allowedAudiences", @@ -10346,21 +10678,21 @@ export const AzureActiveDirectoryValidation: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, defaultAuthorizationPolicy: { serializedName: "defaultAuthorizationPolicy", xmlName: "defaultAuthorizationPolicy", type: { name: "Composite", - className: "DefaultAuthorizationPolicy" - } - } - } - } + className: "DefaultAuthorizationPolicy", + }, + }, + }, + }, }; export const JwtClaimChecks: coreClient.CompositeMapper = { @@ -10377,10 +10709,10 @@ export const JwtClaimChecks: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, allowedClientApplications: { serializedName: "allowedClientApplications", @@ -10390,13 +10722,13 @@ export const JwtClaimChecks: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const DefaultAuthorizationPolicy: coreClient.CompositeMapper = { @@ -10410,8 +10742,8 @@ export const DefaultAuthorizationPolicy: coreClient.CompositeMapper = { xmlName: "allowedPrincipals", type: { name: "Composite", - className: "AllowedPrincipals" - } + className: "AllowedPrincipals", + }, }, allowedApplications: { serializedName: "allowedApplications", @@ -10421,13 +10753,13 @@ export const DefaultAuthorizationPolicy: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const AllowedPrincipals: coreClient.CompositeMapper = { @@ -10444,10 +10776,10 @@ export const AllowedPrincipals: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, identities: { serializedName: "identities", @@ -10457,13 +10789,13 @@ export const AllowedPrincipals: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const Facebook: coreClient.CompositeMapper = { @@ -10476,34 +10808,34 @@ export const Facebook: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "AppRegistration" - } + className: "AppRegistration", + }, }, graphApiVersion: { serializedName: "graphApiVersion", xmlName: "graphApiVersion", type: { - name: "String" - } + name: "String", + }, }, login: { serializedName: "login", xmlName: "login", type: { name: "Composite", - className: "LoginScopes" - } - } - } - } + className: "LoginScopes", + }, + }, + }, + }, }; export const AppRegistration: coreClient.CompositeMapper = { @@ -10516,18 +10848,18 @@ export const AppRegistration: coreClient.CompositeMapper = { serializedName: "appId", xmlName: "appId", type: { - name: "String" - } + name: "String", + }, }, appSecretSettingName: { serializedName: "appSecretSettingName", xmlName: "appSecretSettingName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const LoginScopes: coreClient.CompositeMapper = { @@ -10544,13 +10876,13 @@ export const LoginScopes: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const GitHub: coreClient.CompositeMapper = { @@ -10563,27 +10895,27 @@ export const GitHub: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "ClientRegistration" - } + className: "ClientRegistration", + }, }, login: { serializedName: "login", xmlName: "login", type: { name: "Composite", - className: "LoginScopes" - } - } - } - } + className: "LoginScopes", + }, + }, + }, + }, }; export const ClientRegistration: coreClient.CompositeMapper = { @@ -10596,18 +10928,18 @@ export const ClientRegistration: coreClient.CompositeMapper = { serializedName: "clientId", xmlName: "clientId", type: { - name: "String" - } + name: "String", + }, }, clientSecretSettingName: { serializedName: "clientSecretSettingName", xmlName: "clientSecretSettingName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Google: coreClient.CompositeMapper = { @@ -10620,35 +10952,35 @@ export const Google: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "ClientRegistration" - } + className: "ClientRegistration", + }, }, login: { serializedName: "login", xmlName: "login", type: { name: "Composite", - className: "LoginScopes" - } + className: "LoginScopes", + }, }, validation: { serializedName: "validation", xmlName: "validation", type: { name: "Composite", - className: "AllowedAudiencesValidation" - } - } - } - } + className: "AllowedAudiencesValidation", + }, + }, + }, + }, }; export const AllowedAudiencesValidation: coreClient.CompositeMapper = { @@ -10665,13 +10997,13 @@ export const AllowedAudiencesValidation: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const LegacyMicrosoftAccount: coreClient.CompositeMapper = { @@ -10684,35 +11016,35 @@ export const LegacyMicrosoftAccount: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "ClientRegistration" - } + className: "ClientRegistration", + }, }, login: { serializedName: "login", xmlName: "login", type: { name: "Composite", - className: "LoginScopes" - } + className: "LoginScopes", + }, }, validation: { serializedName: "validation", xmlName: "validation", type: { name: "Composite", - className: "AllowedAudiencesValidation" - } - } - } - } + className: "AllowedAudiencesValidation", + }, + }, + }, + }, }; export const Twitter: coreClient.CompositeMapper = { @@ -10725,19 +11057,19 @@ export const Twitter: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "TwitterRegistration" - } - } - } - } + className: "TwitterRegistration", + }, + }, + }, + }, }; export const TwitterRegistration: coreClient.CompositeMapper = { @@ -10750,18 +11082,18 @@ export const TwitterRegistration: coreClient.CompositeMapper = { serializedName: "consumerKey", xmlName: "consumerKey", type: { - name: "String" - } + name: "String", + }, }, consumerSecretSettingName: { serializedName: "consumerSecretSettingName", xmlName: "consumerSecretSettingName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Apple: coreClient.CompositeMapper = { @@ -10774,27 +11106,27 @@ export const Apple: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "AppleRegistration" - } + className: "AppleRegistration", + }, }, login: { serializedName: "login", xmlName: "login", type: { name: "Composite", - className: "LoginScopes" - } - } - } - } + className: "LoginScopes", + }, + }, + }, + }, }; export const AppleRegistration: coreClient.CompositeMapper = { @@ -10807,18 +11139,18 @@ export const AppleRegistration: coreClient.CompositeMapper = { serializedName: "clientId", xmlName: "clientId", type: { - name: "String" - } + name: "String", + }, }, clientSecretSettingName: { serializedName: "clientSecretSettingName", xmlName: "clientSecretSettingName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AzureStaticWebApps: coreClient.CompositeMapper = { @@ -10831,19 +11163,19 @@ export const AzureStaticWebApps: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "AzureStaticWebAppsRegistration" - } - } - } - } + className: "AzureStaticWebAppsRegistration", + }, + }, + }, + }, }; export const AzureStaticWebAppsRegistration: coreClient.CompositeMapper = { @@ -10856,11 +11188,11 @@ export const AzureStaticWebAppsRegistration: coreClient.CompositeMapper = { serializedName: "clientId", xmlName: "clientId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CustomOpenIdConnectProvider: coreClient.CompositeMapper = { @@ -10873,27 +11205,27 @@ export const CustomOpenIdConnectProvider: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, registration: { serializedName: "registration", xmlName: "registration", type: { name: "Composite", - className: "OpenIdConnectRegistration" - } + className: "OpenIdConnectRegistration", + }, }, login: { serializedName: "login", xmlName: "login", type: { name: "Composite", - className: "OpenIdConnectLogin" - } - } - } - } + className: "OpenIdConnectLogin", + }, + }, + }, + }, }; export const OpenIdConnectRegistration: coreClient.CompositeMapper = { @@ -10906,27 +11238,27 @@ export const OpenIdConnectRegistration: coreClient.CompositeMapper = { serializedName: "clientId", xmlName: "clientId", type: { - name: "String" - } + name: "String", + }, }, clientCredential: { serializedName: "clientCredential", xmlName: "clientCredential", type: { name: "Composite", - className: "OpenIdConnectClientCredential" - } + className: "OpenIdConnectClientCredential", + }, }, openIdConnectConfiguration: { serializedName: "openIdConnectConfiguration", xmlName: "openIdConnectConfiguration", type: { name: "Composite", - className: "OpenIdConnectConfig" - } - } - } - } + className: "OpenIdConnectConfig", + }, + }, + }, + }, }; export const OpenIdConnectClientCredential: coreClient.CompositeMapper = { @@ -10940,18 +11272,18 @@ export const OpenIdConnectClientCredential: coreClient.CompositeMapper = { isConstant: true, serializedName: "method", type: { - name: "String" - } + name: "String", + }, }, clientSecretSettingName: { serializedName: "clientSecretSettingName", xmlName: "clientSecretSettingName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const OpenIdConnectConfig: coreClient.CompositeMapper = { @@ -10964,39 +11296,39 @@ export const OpenIdConnectConfig: coreClient.CompositeMapper = { serializedName: "authorizationEndpoint", xmlName: "authorizationEndpoint", type: { - name: "String" - } + name: "String", + }, }, tokenEndpoint: { serializedName: "tokenEndpoint", xmlName: "tokenEndpoint", type: { - name: "String" - } + name: "String", + }, }, issuer: { serializedName: "issuer", xmlName: "issuer", type: { - name: "String" - } + name: "String", + }, }, certificationUri: { serializedName: "certificationUri", xmlName: "certificationUri", type: { - name: "String" - } + name: "String", + }, }, wellKnownOpenIdConfiguration: { serializedName: "wellKnownOpenIdConfiguration", xmlName: "wellKnownOpenIdConfiguration", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const OpenIdConnectLogin: coreClient.CompositeMapper = { @@ -11009,8 +11341,8 @@ export const OpenIdConnectLogin: coreClient.CompositeMapper = { serializedName: "nameClaimType", xmlName: "nameClaimType", type: { - name: "String" - } + name: "String", + }, }, scopes: { serializedName: "scopes", @@ -11020,13 +11352,13 @@ export const OpenIdConnectLogin: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const Login: coreClient.CompositeMapper = { @@ -11040,23 +11372,23 @@ export const Login: coreClient.CompositeMapper = { xmlName: "routes", type: { name: "Composite", - className: "LoginRoutes" - } + className: "LoginRoutes", + }, }, tokenStore: { serializedName: "tokenStore", xmlName: "tokenStore", type: { name: "Composite", - className: "TokenStore" - } + className: "TokenStore", + }, }, preserveUrlFragmentsForLogins: { serializedName: "preserveUrlFragmentsForLogins", xmlName: "preserveUrlFragmentsForLogins", type: { - name: "Boolean" - } + name: "Boolean", + }, }, allowedExternalRedirectUrls: { serializedName: "allowedExternalRedirectUrls", @@ -11066,29 +11398,29 @@ export const Login: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, cookieExpiration: { serializedName: "cookieExpiration", xmlName: "cookieExpiration", type: { name: "Composite", - className: "CookieExpiration" - } + className: "CookieExpiration", + }, }, nonce: { serializedName: "nonce", xmlName: "nonce", type: { name: "Composite", - className: "Nonce" - } - } - } - } + className: "Nonce", + }, + }, + }, + }, }; export const LoginRoutes: coreClient.CompositeMapper = { @@ -11101,11 +11433,11 @@ export const LoginRoutes: coreClient.CompositeMapper = { serializedName: "logoutEndpoint", xmlName: "logoutEndpoint", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TokenStore: coreClient.CompositeMapper = { @@ -11118,34 +11450,34 @@ export const TokenStore: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, tokenRefreshExtensionHours: { serializedName: "tokenRefreshExtensionHours", xmlName: "tokenRefreshExtensionHours", type: { - name: "Number" - } + name: "Number", + }, }, fileSystem: { serializedName: "fileSystem", xmlName: "fileSystem", type: { name: "Composite", - className: "FileSystemTokenStore" - } + className: "FileSystemTokenStore", + }, }, azureBlobStorage: { serializedName: "azureBlobStorage", xmlName: "azureBlobStorage", type: { name: "Composite", - className: "BlobStorageTokenStore" - } - } - } - } + className: "BlobStorageTokenStore", + }, + }, + }, + }, }; export const FileSystemTokenStore: coreClient.CompositeMapper = { @@ -11158,11 +11490,11 @@ export const FileSystemTokenStore: coreClient.CompositeMapper = { serializedName: "directory", xmlName: "directory", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const BlobStorageTokenStore: coreClient.CompositeMapper = { @@ -11175,11 +11507,11 @@ export const BlobStorageTokenStore: coreClient.CompositeMapper = { serializedName: "sasUrlSettingName", xmlName: "sasUrlSettingName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CookieExpiration: coreClient.CompositeMapper = { @@ -11193,18 +11525,18 @@ export const CookieExpiration: coreClient.CompositeMapper = { xmlName: "convention", type: { name: "Enum", - allowedValues: ["FixedTime", "IdentityProviderDerived"] - } + allowedValues: ["FixedTime", "IdentityProviderDerived"], + }, }, timeToExpiration: { serializedName: "timeToExpiration", xmlName: "timeToExpiration", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Nonce: coreClient.CompositeMapper = { @@ -11217,18 +11549,18 @@ export const Nonce: coreClient.CompositeMapper = { serializedName: "validateNonce", xmlName: "validateNonce", type: { - name: "Boolean" - } + name: "Boolean", + }, }, nonceExpirationInterval: { serializedName: "nonceExpirationInterval", xmlName: "nonceExpirationInterval", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HttpSettings: coreClient.CompositeMapper = { @@ -11241,27 +11573,27 @@ export const HttpSettings: coreClient.CompositeMapper = { serializedName: "requireHttps", xmlName: "requireHttps", type: { - name: "Boolean" - } + name: "Boolean", + }, }, routes: { serializedName: "routes", xmlName: "routes", type: { name: "Composite", - className: "HttpSettingsRoutes" - } + className: "HttpSettingsRoutes", + }, }, forwardProxy: { serializedName: "forwardProxy", xmlName: "forwardProxy", type: { name: "Composite", - className: "ForwardProxy" - } - } - } - } + className: "ForwardProxy", + }, + }, + }, + }, }; export const HttpSettingsRoutes: coreClient.CompositeMapper = { @@ -11274,11 +11606,11 @@ export const HttpSettingsRoutes: coreClient.CompositeMapper = { serializedName: "apiPrefix", xmlName: "apiPrefix", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ForwardProxy: coreClient.CompositeMapper = { @@ -11292,25 +11624,25 @@ export const ForwardProxy: coreClient.CompositeMapper = { xmlName: "convention", type: { name: "Enum", - allowedValues: ["NoProxy", "Standard", "Custom"] - } + allowedValues: ["NoProxy", "Standard", "Custom"], + }, }, customHostHeaderName: { serializedName: "customHostHeaderName", xmlName: "customHostHeaderName", type: { - name: "String" - } + name: "String", + }, }, customProtoHeaderName: { serializedName: "customProtoHeaderName", xmlName: "customProtoHeaderName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ApiKVReferenceCollection: coreClient.CompositeMapper = { @@ -11329,21 +11661,21 @@ export const ApiKVReferenceCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ApiKVReference" - } - } - } + className: "ApiKVReference", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ConnStringValueTypePair: coreClient.CompositeMapper = { @@ -11357,8 +11689,8 @@ export const ConnStringValueTypePair: coreClient.CompositeMapper = { required: true, xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", @@ -11377,12 +11709,12 @@ export const ConnStringValueTypePair: coreClient.CompositeMapper = { "ApiHub", "DocDb", "RedisCache", - "PostgreSQL" - ] - } - } - } - } + "PostgreSQL", + ], + }, + }, + }, + }, }; export const ApplicationLogsConfig: coreClient.CompositeMapper = { @@ -11396,27 +11728,27 @@ export const ApplicationLogsConfig: coreClient.CompositeMapper = { xmlName: "fileSystem", type: { name: "Composite", - className: "FileSystemApplicationLogsConfig" - } + className: "FileSystemApplicationLogsConfig", + }, }, azureTableStorage: { serializedName: "azureTableStorage", xmlName: "azureTableStorage", type: { name: "Composite", - className: "AzureTableStorageApplicationLogsConfig" - } + className: "AzureTableStorageApplicationLogsConfig", + }, }, azureBlobStorage: { serializedName: "azureBlobStorage", xmlName: "azureBlobStorage", type: { name: "Composite", - className: "AzureBlobStorageApplicationLogsConfig" - } - } - } - } + className: "AzureBlobStorageApplicationLogsConfig", + }, + }, + }, + }, }; export const FileSystemApplicationLogsConfig: coreClient.CompositeMapper = { @@ -11430,70 +11762,84 @@ export const FileSystemApplicationLogsConfig: coreClient.CompositeMapper = { xmlName: "level", type: { name: "Enum", - allowedValues: ["Off", "Verbose", "Information", "Warning", "Error"] - } - } - } - } -}; - -export const AzureTableStorageApplicationLogsConfig: coreClient.CompositeMapper = { - serializedName: "AzureTableStorageApplicationLogsConfig", - type: { - name: "Composite", - className: "AzureTableStorageApplicationLogsConfig", - modelProperties: { - level: { - serializedName: "level", - xmlName: "level", - type: { - name: "Enum", - allowedValues: ["Off", "Verbose", "Information", "Warning", "Error"] - } + allowedValues: ["Off", "Verbose", "Information", "Warning", "Error"], + }, }, - sasUrl: { - serializedName: "sasUrl", - required: true, - xmlName: "sasUrl", - type: { - name: "String" - } - } - } - } -}; - -export const AzureBlobStorageApplicationLogsConfig: coreClient.CompositeMapper = { - serializedName: "AzureBlobStorageApplicationLogsConfig", - type: { - name: "Composite", - className: "AzureBlobStorageApplicationLogsConfig", - modelProperties: { - level: { - serializedName: "level", - xmlName: "level", - type: { - name: "Enum", - allowedValues: ["Off", "Verbose", "Information", "Warning", "Error"] - } + }, + }, +}; + +export const AzureTableStorageApplicationLogsConfig: coreClient.CompositeMapper = + { + serializedName: "AzureTableStorageApplicationLogsConfig", + type: { + name: "Composite", + className: "AzureTableStorageApplicationLogsConfig", + modelProperties: { + level: { + serializedName: "level", + xmlName: "level", + type: { + name: "Enum", + allowedValues: [ + "Off", + "Verbose", + "Information", + "Warning", + "Error", + ], + }, + }, + sasUrl: { + serializedName: "sasUrl", + required: true, + xmlName: "sasUrl", + type: { + name: "String", + }, + }, }, - sasUrl: { - serializedName: "sasUrl", - xmlName: "sasUrl", - type: { - name: "String" - } + }, + }; + +export const AzureBlobStorageApplicationLogsConfig: coreClient.CompositeMapper = + { + serializedName: "AzureBlobStorageApplicationLogsConfig", + type: { + name: "Composite", + className: "AzureBlobStorageApplicationLogsConfig", + modelProperties: { + level: { + serializedName: "level", + xmlName: "level", + type: { + name: "Enum", + allowedValues: [ + "Off", + "Verbose", + "Information", + "Warning", + "Error", + ], + }, + }, + sasUrl: { + serializedName: "sasUrl", + xmlName: "sasUrl", + type: { + name: "String", + }, + }, + retentionInDays: { + serializedName: "retentionInDays", + xmlName: "retentionInDays", + type: { + name: "Number", + }, + }, }, - retentionInDays: { - serializedName: "retentionInDays", - xmlName: "retentionInDays", - type: { - name: "Number" - } - } - } - } -}; + }, + }; export const HttpLogsConfig: coreClient.CompositeMapper = { serializedName: "HttpLogsConfig", @@ -11506,19 +11852,19 @@ export const HttpLogsConfig: coreClient.CompositeMapper = { xmlName: "fileSystem", type: { name: "Composite", - className: "FileSystemHttpLogsConfig" - } + className: "FileSystemHttpLogsConfig", + }, }, azureBlobStorage: { serializedName: "azureBlobStorage", xmlName: "azureBlobStorage", type: { name: "Composite", - className: "AzureBlobStorageHttpLogsConfig" - } - } - } - } + className: "AzureBlobStorageHttpLogsConfig", + }, + }, + }, + }, }; export const FileSystemHttpLogsConfig: coreClient.CompositeMapper = { @@ -11530,30 +11876,30 @@ export const FileSystemHttpLogsConfig: coreClient.CompositeMapper = { retentionInMb: { constraints: { InclusiveMaximum: 100, - InclusiveMinimum: 25 + InclusiveMinimum: 25, }, serializedName: "retentionInMb", xmlName: "retentionInMb", type: { - name: "Number" - } + name: "Number", + }, }, retentionInDays: { serializedName: "retentionInDays", xmlName: "retentionInDays", type: { - name: "Number" - } + name: "Number", + }, }, enabled: { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const AzureBlobStorageHttpLogsConfig: coreClient.CompositeMapper = { @@ -11566,25 +11912,25 @@ export const AzureBlobStorageHttpLogsConfig: coreClient.CompositeMapper = { serializedName: "sasUrl", xmlName: "sasUrl", type: { - name: "String" - } + name: "String", + }, }, retentionInDays: { serializedName: "retentionInDays", xmlName: "retentionInDays", type: { - name: "Number" - } + name: "Number", + }, }, enabled: { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const EnabledConfig: coreClient.CompositeMapper = { @@ -11597,45 +11943,46 @@ export const EnabledConfig: coreClient.CompositeMapper = { serializedName: "enabled", xmlName: "enabled", type: { - name: "Boolean" - } - } - } - } -}; - -export const SiteConfigurationSnapshotInfoCollection: coreClient.CompositeMapper = { - serializedName: "SiteConfigurationSnapshotInfoCollection", - type: { - name: "Composite", - className: "SiteConfigurationSnapshotInfoCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "SiteConfigurationSnapshotInfo", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SiteConfigurationSnapshotInfo" - } - } - } + name: "Boolean", + }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String" - } - } - } - } -}; + }, + }, +}; + +export const SiteConfigurationSnapshotInfoCollection: coreClient.CompositeMapper = + { + serializedName: "SiteConfigurationSnapshotInfoCollection", + type: { + name: "Composite", + className: "SiteConfigurationSnapshotInfoCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "SiteConfigurationSnapshotInfo", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteConfigurationSnapshotInfo", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; export const ContinuousWebJobCollection: coreClient.CompositeMapper = { serializedName: "ContinuousWebJobCollection", @@ -11653,21 +12000,21 @@ export const ContinuousWebJobCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ContinuousWebJob" - } - } - } + className: "ContinuousWebJob", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmDeploymentStatusCollection: coreClient.CompositeMapper = { @@ -11686,21 +12033,21 @@ export const CsmDeploymentStatusCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "CsmDeploymentStatus" - } - } - } + className: "CsmDeploymentStatus", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DeploymentCollection: coreClient.CompositeMapper = { @@ -11719,21 +12066,21 @@ export const DeploymentCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Deployment" - } - } - } + className: "Deployment", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const MSDeployLogEntry: coreClient.CompositeMapper = { @@ -11747,8 +12094,8 @@ export const MSDeployLogEntry: coreClient.CompositeMapper = { readOnly: true, xmlName: "time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, type: { serializedName: "type", @@ -11756,19 +12103,19 @@ export const MSDeployLogEntry: coreClient.CompositeMapper = { xmlName: "type", type: { name: "Enum", - allowedValues: ["Message", "Warning", "Error"] - } + allowedValues: ["Message", "Warning", "Error"], + }, }, message: { serializedName: "message", readOnly: true, xmlName: "message", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const FunctionEnvelopeCollection: coreClient.CompositeMapper = { @@ -11787,21 +12134,21 @@ export const FunctionEnvelopeCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FunctionEnvelope" - } - } - } + className: "FunctionEnvelope", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const KeyInfo: coreClient.CompositeMapper = { @@ -11814,18 +12161,18 @@ export const KeyInfo: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const FunctionSecrets: coreClient.CompositeMapper = { @@ -11838,18 +12185,18 @@ export const FunctionSecrets: coreClient.CompositeMapper = { serializedName: "key", xmlName: "key", type: { - name: "String" - } + name: "String", + }, }, triggerUrl: { serializedName: "trigger_url", xmlName: "trigger_url", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HostKeys: coreClient.CompositeMapper = { @@ -11862,27 +12209,27 @@ export const HostKeys: coreClient.CompositeMapper = { serializedName: "masterKey", xmlName: "masterKey", type: { - name: "String" - } + name: "String", + }, }, functionKeys: { serializedName: "functionKeys", xmlName: "functionKeys", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, systemKeys: { serializedName: "systemKeys", xmlName: "systemKeys", type: { name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + value: { type: { name: "String" } }, + }, + }, + }, + }, }; export const HostNameBindingCollection: coreClient.CompositeMapper = { @@ -11901,21 +12248,21 @@ export const HostNameBindingCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HostNameBinding" - } - } - } + className: "HostNameBinding", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WebAppInstanceStatusCollection: coreClient.CompositeMapper = { @@ -11934,21 +12281,21 @@ export const WebAppInstanceStatusCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WebSiteInstanceStatus" - } - } - } + className: "WebSiteInstanceStatus", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ContainerInfo: coreClient.CompositeMapper = { @@ -11961,64 +12308,64 @@ export const ContainerInfo: coreClient.CompositeMapper = { serializedName: "currentTimeStamp", xmlName: "currentTimeStamp", type: { - name: "DateTime" - } + name: "DateTime", + }, }, previousTimeStamp: { serializedName: "previousTimeStamp", xmlName: "previousTimeStamp", type: { - name: "DateTime" - } + name: "DateTime", + }, }, currentCpuStats: { serializedName: "currentCpuStats", xmlName: "currentCpuStats", type: { name: "Composite", - className: "ContainerCpuStatistics" - } + className: "ContainerCpuStatistics", + }, }, previousCpuStats: { serializedName: "previousCpuStats", xmlName: "previousCpuStats", type: { name: "Composite", - className: "ContainerCpuStatistics" - } + className: "ContainerCpuStatistics", + }, }, memoryStats: { serializedName: "memoryStats", xmlName: "memoryStats", type: { name: "Composite", - className: "ContainerMemoryStatistics" - } + className: "ContainerMemoryStatistics", + }, }, name: { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, id: { serializedName: "id", xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, eth0: { serializedName: "eth0", xmlName: "eth0", type: { name: "Composite", - className: "ContainerNetworkInterfaceStatistics" - } - } - } - } + className: "ContainerNetworkInterfaceStatistics", + }, + }, + }, + }, }; export const ContainerCpuStatistics: coreClient.CompositeMapper = { @@ -12032,33 +12379,33 @@ export const ContainerCpuStatistics: coreClient.CompositeMapper = { xmlName: "cpuUsage", type: { name: "Composite", - className: "ContainerCpuUsage" - } + className: "ContainerCpuUsage", + }, }, systemCpuUsage: { serializedName: "systemCpuUsage", xmlName: "systemCpuUsage", type: { - name: "Number" - } + name: "Number", + }, }, onlineCpuCount: { serializedName: "onlineCpuCount", xmlName: "onlineCpuCount", type: { - name: "Number" - } + name: "Number", + }, }, throttlingData: { serializedName: "throttlingData", xmlName: "throttlingData", type: { name: "Composite", - className: "ContainerThrottlingData" - } - } - } - } + className: "ContainerThrottlingData", + }, + }, + }, + }, }; export const ContainerCpuUsage: coreClient.CompositeMapper = { @@ -12071,8 +12418,8 @@ export const ContainerCpuUsage: coreClient.CompositeMapper = { serializedName: "totalUsage", xmlName: "totalUsage", type: { - name: "Number" - } + name: "Number", + }, }, perCpuUsage: { serializedName: "perCpuUsage", @@ -12082,27 +12429,27 @@ export const ContainerCpuUsage: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "Number" - } - } - } + name: "Number", + }, + }, + }, }, kernelModeUsage: { serializedName: "kernelModeUsage", xmlName: "kernelModeUsage", type: { - name: "Number" - } + name: "Number", + }, }, userModeUsage: { serializedName: "userModeUsage", xmlName: "userModeUsage", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const ContainerThrottlingData: coreClient.CompositeMapper = { @@ -12115,25 +12462,25 @@ export const ContainerThrottlingData: coreClient.CompositeMapper = { serializedName: "periods", xmlName: "periods", type: { - name: "Number" - } + name: "Number", + }, }, throttledPeriods: { serializedName: "throttledPeriods", xmlName: "throttledPeriods", type: { - name: "Number" - } + name: "Number", + }, }, throttledTime: { serializedName: "throttledTime", xmlName: "throttledTime", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const ContainerMemoryStatistics: coreClient.CompositeMapper = { @@ -12146,25 +12493,25 @@ export const ContainerMemoryStatistics: coreClient.CompositeMapper = { serializedName: "usage", xmlName: "usage", type: { - name: "Number" - } + name: "Number", + }, }, maxUsage: { serializedName: "maxUsage", xmlName: "maxUsage", type: { - name: "Number" - } + name: "Number", + }, }, limit: { serializedName: "limit", xmlName: "limit", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const ContainerNetworkInterfaceStatistics: coreClient.CompositeMapper = { @@ -12177,60 +12524,60 @@ export const ContainerNetworkInterfaceStatistics: coreClient.CompositeMapper = { serializedName: "rxBytes", xmlName: "rxBytes", type: { - name: "Number" - } + name: "Number", + }, }, rxPackets: { serializedName: "rxPackets", xmlName: "rxPackets", type: { - name: "Number" - } + name: "Number", + }, }, rxErrors: { serializedName: "rxErrors", xmlName: "rxErrors", type: { - name: "Number" - } + name: "Number", + }, }, rxDropped: { serializedName: "rxDropped", xmlName: "rxDropped", type: { - name: "Number" - } + name: "Number", + }, }, txBytes: { serializedName: "txBytes", xmlName: "txBytes", type: { - name: "Number" - } + name: "Number", + }, }, txPackets: { serializedName: "txPackets", xmlName: "txPackets", type: { - name: "Number" - } + name: "Number", + }, }, txErrors: { serializedName: "txErrors", xmlName: "txErrors", type: { - name: "Number" - } + name: "Number", + }, }, txDropped: { serializedName: "txDropped", xmlName: "txDropped", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const ProcessInfoCollection: coreClient.CompositeMapper = { @@ -12249,21 +12596,21 @@ export const ProcessInfoCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ProcessInfo" - } - } - } + className: "ProcessInfo", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ProcessModuleInfoCollection: coreClient.CompositeMapper = { @@ -12282,21 +12629,21 @@ export const ProcessModuleInfoCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ProcessModuleInfo" - } - } - } + className: "ProcessModuleInfo", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ProcessThreadInfoCollection: coreClient.CompositeMapper = { @@ -12315,21 +12662,21 @@ export const ProcessThreadInfoCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ProcessThreadInfo" - } - } - } + className: "ProcessThreadInfo", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteCloneability: coreClient.CompositeMapper = { @@ -12343,8 +12690,8 @@ export const SiteCloneability: coreClient.CompositeMapper = { xmlName: "result", type: { name: "Enum", - allowedValues: ["Cloneable", "PartiallyCloneable", "NotCloneable"] - } + allowedValues: ["Cloneable", "PartiallyCloneable", "NotCloneable"], + }, }, blockingFeatures: { serializedName: "blockingFeatures", @@ -12355,10 +12702,10 @@ export const SiteCloneability: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SiteCloneabilityCriterion" - } - } - } + className: "SiteCloneabilityCriterion", + }, + }, + }, }, unsupportedFeatures: { serializedName: "unsupportedFeatures", @@ -12369,10 +12716,10 @@ export const SiteCloneability: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SiteCloneabilityCriterion" - } - } - } + className: "SiteCloneabilityCriterion", + }, + }, + }, }, blockingCharacteristics: { serializedName: "blockingCharacteristics", @@ -12383,13 +12730,13 @@ export const SiteCloneability: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SiteCloneabilityCriterion" - } - } - } - } - } - } + className: "SiteCloneabilityCriterion", + }, + }, + }, + }, + }, + }, }; export const SiteCloneabilityCriterion: coreClient.CompositeMapper = { @@ -12402,18 +12749,18 @@ export const SiteCloneabilityCriterion: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const NetworkTrace: coreClient.CompositeMapper = { @@ -12426,25 +12773,25 @@ export const NetworkTrace: coreClient.CompositeMapper = { serializedName: "path", xmlName: "path", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "status", xmlName: "status", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", xmlName: "message", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PerfMonCounterCollection: coreClient.CompositeMapper = { @@ -12463,21 +12810,21 @@ export const PerfMonCounterCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PerfMonResponse" - } - } - } + className: "PerfMonResponse", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PerfMonResponse: coreClient.CompositeMapper = { @@ -12490,26 +12837,26 @@ export const PerfMonResponse: coreClient.CompositeMapper = { serializedName: "code", xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", xmlName: "message", type: { - name: "String" - } + name: "String", + }, }, data: { serializedName: "data", xmlName: "data", type: { name: "Composite", - className: "PerfMonSet" - } - } - } - } + className: "PerfMonSet", + }, + }, + }, + }, }; export const PerfMonSet: coreClient.CompositeMapper = { @@ -12522,29 +12869,29 @@ export const PerfMonSet: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, startTime: { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, timeGrain: { serializedName: "timeGrain", xmlName: "timeGrain", type: { - name: "String" - } + name: "String", + }, }, values: { serializedName: "values", @@ -12555,13 +12902,13 @@ export const PerfMonSet: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PerfMonSample" - } - } - } - } - } - } + className: "PerfMonSample", + }, + }, + }, + }, + }, + }, }; export const PerfMonSample: coreClient.CompositeMapper = { @@ -12574,25 +12921,25 @@ export const PerfMonSample: coreClient.CompositeMapper = { serializedName: "time", xmlName: "time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, instanceName: { serializedName: "instanceName", xmlName: "instanceName", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const PrivateAccessVirtualNetwork: coreClient.CompositeMapper = { @@ -12605,22 +12952,22 @@ export const PrivateAccessVirtualNetwork: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, key: { serializedName: "key", xmlName: "key", type: { - name: "Number" - } + name: "Number", + }, }, resourceId: { serializedName: "resourceId", xmlName: "resourceId", type: { - name: "String" - } + name: "String", + }, }, subnets: { serializedName: "subnets", @@ -12631,13 +12978,13 @@ export const PrivateAccessVirtualNetwork: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateAccessSubnet" - } - } - } - } - } - } + className: "PrivateAccessSubnet", + }, + }, + }, + }, + }, + }, }; export const PrivateAccessSubnet: coreClient.CompositeMapper = { @@ -12650,18 +12997,18 @@ export const PrivateAccessSubnet: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, key: { serializedName: "key", xmlName: "key", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const PublicCertificateCollection: coreClient.CompositeMapper = { @@ -12680,21 +13027,21 @@ export const PublicCertificateCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PublicCertificate" - } - } - } + className: "PublicCertificate", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CsmPublishingProfileOptions: coreClient.CompositeMapper = { @@ -12707,18 +13054,18 @@ export const CsmPublishingProfileOptions: coreClient.CompositeMapper = { serializedName: "format", xmlName: "format", type: { - name: "String" - } + name: "String", + }, }, includeDisasterRecoveryEndpoints: { serializedName: "includeDisasterRecoveryEndpoints", xmlName: "includeDisasterRecoveryEndpoints", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const SnapshotRecoverySource: coreClient.CompositeMapper = { @@ -12731,18 +13078,117 @@ export const SnapshotRecoverySource: coreClient.CompositeMapper = { serializedName: "location", xmlName: "location", type: { - name: "String" - } + name: "String", + }, }, id: { serializedName: "id", xmlName: "id", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, +}; + +export const SiteContainerCollection: coreClient.CompositeMapper = { + serializedName: "SiteContainerCollection", + type: { + name: "Composite", + className: "SiteContainerCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "SiteContainer", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteContainer", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const VolumeMount: coreClient.CompositeMapper = { + serializedName: "VolumeMount", + type: { + name: "Composite", + className: "VolumeMount", + modelProperties: { + volumeSubPath: { + serializedName: "volumeSubPath", + required: true, + xmlName: "volumeSubPath", + type: { + name: "String", + }, + }, + containerMountPath: { + serializedName: "containerMountPath", + required: true, + xmlName: "containerMountPath", + type: { + name: "String", + }, + }, + data: { + serializedName: "data", + xmlName: "data", + type: { + name: "String", + }, + }, + readOnly: { + serializedName: "readOnly", + xmlName: "readOnly", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const EnvironmentVariable: coreClient.CompositeMapper = { + serializedName: "EnvironmentVariable", + type: { + name: "Composite", + className: "EnvironmentVariable", + modelProperties: { + name: { + serializedName: "name", + required: true, + xmlName: "name", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + required: true, + xmlName: "value", + type: { + name: "String", + }, + }, + }, + }, }; export const SiteExtensionInfoCollection: coreClient.CompositeMapper = { @@ -12761,21 +13207,21 @@ export const SiteExtensionInfoCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SiteExtensionInfo" - } - } - } + className: "SiteExtensionInfo", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SlotDifferenceCollection: coreClient.CompositeMapper = { @@ -12794,21 +13240,21 @@ export const SlotDifferenceCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SlotDifference" - } - } - } + className: "SlotDifference", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SnapshotCollection: coreClient.CompositeMapper = { @@ -12827,21 +13273,21 @@ export const SnapshotCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Snapshot" - } - } - } + className: "Snapshot", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const GitHubActionConfiguration: coreClient.CompositeMapper = { @@ -12855,33 +13301,33 @@ export const GitHubActionConfiguration: coreClient.CompositeMapper = { xmlName: "codeConfiguration", type: { name: "Composite", - className: "GitHubActionCodeConfiguration" - } + className: "GitHubActionCodeConfiguration", + }, }, containerConfiguration: { serializedName: "containerConfiguration", xmlName: "containerConfiguration", type: { name: "Composite", - className: "GitHubActionContainerConfiguration" - } + className: "GitHubActionContainerConfiguration", + }, }, isLinux: { serializedName: "isLinux", xmlName: "isLinux", type: { - name: "Boolean" - } + name: "Boolean", + }, }, generateWorkflowFile: { serializedName: "generateWorkflowFile", xmlName: "generateWorkflowFile", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const GitHubActionCodeConfiguration: coreClient.CompositeMapper = { @@ -12894,18 +13340,18 @@ export const GitHubActionCodeConfiguration: coreClient.CompositeMapper = { serializedName: "runtimeStack", xmlName: "runtimeStack", type: { - name: "String" - } + name: "String", + }, }, runtimeVersion: { serializedName: "runtimeVersion", xmlName: "runtimeVersion", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const GitHubActionContainerConfiguration: coreClient.CompositeMapper = { @@ -12918,32 +13364,32 @@ export const GitHubActionContainerConfiguration: coreClient.CompositeMapper = { serializedName: "serverUrl", xmlName: "serverUrl", type: { - name: "String" - } + name: "String", + }, }, imageName: { serializedName: "imageName", xmlName: "imageName", type: { - name: "String" - } + name: "String", + }, }, username: { serializedName: "username", xmlName: "username", type: { - name: "String" - } + name: "String", + }, }, password: { serializedName: "password", xmlName: "password", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TriggeredWebJobCollection: coreClient.CompositeMapper = { @@ -12962,21 +13408,21 @@ export const TriggeredWebJobCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "TriggeredWebJob" - } - } - } + className: "TriggeredWebJob", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TriggeredJobRun: coreClient.CompositeMapper = { @@ -12989,82 +13435,82 @@ export const TriggeredJobRun: coreClient.CompositeMapper = { serializedName: "web_job_id", xmlName: "web_job_id", type: { - name: "String" - } + name: "String", + }, }, webJobName: { serializedName: "web_job_name", xmlName: "web_job_name", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "status", xmlName: "status", type: { name: "Enum", - allowedValues: ["Success", "Failed", "Error"] - } + allowedValues: ["Success", "Failed", "Error"], + }, }, startTime: { serializedName: "start_time", xmlName: "start_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "end_time", xmlName: "end_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, duration: { serializedName: "duration", xmlName: "duration", type: { - name: "String" - } + name: "String", + }, }, outputUrl: { serializedName: "output_url", xmlName: "output_url", type: { - name: "String" - } + name: "String", + }, }, errorUrl: { serializedName: "error_url", xmlName: "error_url", type: { - name: "String" - } + name: "String", + }, }, url: { serializedName: "url", xmlName: "url", type: { - name: "String" - } + name: "String", + }, }, jobName: { serializedName: "job_name", xmlName: "job_name", type: { - name: "String" - } + name: "String", + }, }, trigger: { serializedName: "trigger", xmlName: "trigger", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TriggeredJobHistoryCollection: coreClient.CompositeMapper = { @@ -13083,21 +13529,21 @@ export const TriggeredJobHistoryCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "TriggeredJobHistory" - } - } - } + className: "TriggeredJobHistory", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WebJobCollection: coreClient.CompositeMapper = { @@ -13116,21 +13562,21 @@ export const WebJobCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WebJob" - } - } - } + className: "WebJob", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowArtifacts: coreClient.CompositeMapper = { @@ -13144,8 +13590,8 @@ export const WorkflowArtifacts: coreClient.CompositeMapper = { xmlName: "appSettings", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, files: { serializedName: "files", @@ -13153,9 +13599,9 @@ export const WorkflowArtifacts: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, filesToDelete: { serializedName: "filesToDelete", @@ -13165,13 +13611,13 @@ export const WorkflowArtifacts: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const WorkflowEnvelopeCollection: coreClient.CompositeMapper = { @@ -13190,21 +13636,21 @@ export const WorkflowEnvelopeCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WorkflowEnvelope" - } - } - } + className: "WorkflowEnvelope", + }, + }, + }, }, nextLink: { serializedName: "nextLink", readOnly: true, xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowEnvelope: coreClient.CompositeMapper = { @@ -13218,49 +13664,49 @@ export const WorkflowEnvelope: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, kind: { serializedName: "kind", xmlName: "kind", type: { - name: "String" - } + name: "String", + }, }, location: { serializedName: "location", xmlName: "location", type: { - name: "String" - } + name: "String", + }, }, properties: { serializedName: "properties", xmlName: "properties", type: { name: "Composite", - className: "WorkflowEnvelopeProperties" - } - } - } - } + className: "WorkflowEnvelopeProperties", + }, + }, + }, + }, }; export const WorkflowEnvelopeProperties: coreClient.CompositeMapper = { @@ -13275,27 +13721,27 @@ export const WorkflowEnvelopeProperties: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, }, flowState: { serializedName: "flowState", xmlName: "flowState", type: { - name: "String" - } + name: "String", + }, }, health: { serializedName: "health", xmlName: "health", type: { name: "Composite", - className: "WorkflowHealth" - } - } - } - } + className: "WorkflowHealth", + }, + }, + }, + }, }; export const WorkflowHealth: coreClient.CompositeMapper = { @@ -13310,19 +13756,19 @@ export const WorkflowHealth: coreClient.CompositeMapper = { xmlName: "state", type: { name: "Enum", - allowedValues: ["NotSpecified", "Healthy", "Unhealthy", "Unknown"] - } + allowedValues: ["NotSpecified", "Healthy", "Unhealthy", "Unknown"], + }, }, error: { serializedName: "error", xmlName: "error", type: { name: "Composite", - className: "ErrorEntity" - } - } - } - } + className: "ErrorEntity", + }, + }, + }, + }, }; export const RegenerateActionParameter: coreClient.CompositeMapper = { @@ -13335,11 +13781,11 @@ export const RegenerateActionParameter: coreClient.CompositeMapper = { serializedName: "keyType", xmlName: "keyType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ErrorResponse: coreClient.CompositeMapper = { @@ -13353,11 +13799,11 @@ export const ErrorResponse: coreClient.CompositeMapper = { xmlName: "error", type: { name: "Composite", - className: "ErrorProperties" - } - } - } - } + className: "ErrorProperties", + }, + }, + }, + }, }; export const ErrorProperties: coreClient.CompositeMapper = { @@ -13370,18 +13816,18 @@ export const ErrorProperties: coreClient.CompositeMapper = { serializedName: "code", xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "message", xmlName: "message", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowRunListResult: coreClient.CompositeMapper = { @@ -13399,20 +13845,20 @@ export const WorkflowRunListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WorkflowRun" - } - } - } + className: "WorkflowRun", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Correlation: coreClient.CompositeMapper = { @@ -13425,11 +13871,11 @@ export const Correlation: coreClient.CompositeMapper = { serializedName: "clientTrackingId", xmlName: "clientTrackingId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceReference: coreClient.CompositeMapper = { @@ -13442,27 +13888,27 @@ export const ResourceReference: coreClient.CompositeMapper = { serializedName: "id", xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowRunTrigger: coreClient.CompositeMapper = { @@ -13476,8 +13922,8 @@ export const WorkflowRunTrigger: coreClient.CompositeMapper = { readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, inputs: { serializedName: "inputs", @@ -13485,16 +13931,16 @@ export const WorkflowRunTrigger: coreClient.CompositeMapper = { xmlName: "inputs", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, inputsLink: { serializedName: "inputsLink", xmlName: "inputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, outputs: { serializedName: "outputs", @@ -13502,72 +13948,72 @@ export const WorkflowRunTrigger: coreClient.CompositeMapper = { xmlName: "outputs", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, outputsLink: { serializedName: "outputsLink", xmlName: "outputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, scheduledTime: { serializedName: "scheduledTime", readOnly: true, xmlName: "scheduledTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, startTime: { serializedName: "startTime", readOnly: true, xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", readOnly: true, xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, trackingId: { serializedName: "trackingId", readOnly: true, xmlName: "trackingId", type: { - name: "String" - } + name: "String", + }, }, correlation: { serializedName: "correlation", xmlName: "correlation", type: { name: "Composite", - className: "Correlation" - } + className: "Correlation", + }, }, code: { serializedName: "code", readOnly: true, xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "status", readOnly: true, xmlName: "status", type: { - name: "String" - } + name: "String", + }, }, error: { serializedName: "error", @@ -13575,8 +14021,8 @@ export const WorkflowRunTrigger: coreClient.CompositeMapper = { xmlName: "error", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, trackedProperties: { serializedName: "trackedProperties", @@ -13584,11 +14030,11 @@ export const WorkflowRunTrigger: coreClient.CompositeMapper = { xmlName: "trackedProperties", type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, }; export const ContentLink: coreClient.CompositeMapper = { @@ -13601,32 +14047,32 @@ export const ContentLink: coreClient.CompositeMapper = { serializedName: "uri", xmlName: "uri", type: { - name: "String" - } + name: "String", + }, }, contentVersion: { serializedName: "contentVersion", readOnly: true, xmlName: "contentVersion", type: { - name: "String" - } + name: "String", + }, }, contentSize: { serializedName: "contentSize", readOnly: true, xmlName: "contentSize", type: { - name: "Number" - } + name: "Number", + }, }, contentHash: { serializedName: "contentHash", xmlName: "contentHash", type: { name: "Composite", - className: "ContentHash" - } + className: "ContentHash", + }, }, metadata: { serializedName: "metadata", @@ -13634,11 +14080,11 @@ export const ContentLink: coreClient.CompositeMapper = { xmlName: "metadata", type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, }; export const ContentHash: coreClient.CompositeMapper = { @@ -13651,18 +14097,18 @@ export const ContentHash: coreClient.CompositeMapper = { serializedName: "algorithm", xmlName: "algorithm", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowParameter: coreClient.CompositeMapper = { @@ -13675,34 +14121,34 @@ export const WorkflowParameter: coreClient.CompositeMapper = { serializedName: "type", xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, metadata: { serializedName: "metadata", xmlName: "metadata", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, description: { serializedName: "description", xmlName: "description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SubResource: coreClient.CompositeMapper = { @@ -13716,11 +14162,11 @@ export const SubResource: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowRunActionListResult: coreClient.CompositeMapper = { @@ -13738,20 +14184,20 @@ export const WorkflowRunActionListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WorkflowRunAction" - } - } - } + className: "WorkflowRunAction", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RunCorrelation: coreClient.CompositeMapper = { @@ -13764,8 +14210,8 @@ export const RunCorrelation: coreClient.CompositeMapper = { serializedName: "clientTrackingId", xmlName: "clientTrackingId", type: { - name: "String" - } + name: "String", + }, }, clientKeywords: { serializedName: "clientKeywords", @@ -13775,13 +14221,13 @@ export const RunCorrelation: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const RetryHistory: coreClient.CompositeMapper = { @@ -13794,47 +14240,47 @@ export const RetryHistory: coreClient.CompositeMapper = { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, code: { serializedName: "code", xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, clientRequestId: { serializedName: "clientRequestId", xmlName: "clientRequestId", type: { - name: "String" - } + name: "String", + }, }, serviceRequestId: { serializedName: "serviceRequestId", xmlName: "serviceRequestId", type: { - name: "String" - } + name: "String", + }, }, error: { serializedName: "error", xmlName: "error", type: { name: "Composite", - className: "ErrorResponse" - } - } - } - } + className: "ErrorResponse", + }, + }, + }, + }, }; export const ExpressionTraces: coreClient.CompositeMapper = { @@ -13847,8 +14293,8 @@ export const ExpressionTraces: coreClient.CompositeMapper = { serializedName: "value", xmlName: "value", type: { - name: "any" - } + name: "any", + }, }, inputs: { serializedName: "inputs", @@ -13859,20 +14305,20 @@ export const ExpressionTraces: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ExpressionRoot" - } - } - } + className: "ExpressionRoot", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Expression: coreClient.CompositeMapper = { @@ -13885,15 +14331,15 @@ export const Expression: coreClient.CompositeMapper = { serializedName: "text", xmlName: "text", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "any" - } + name: "any", + }, }, subexpressions: { serializedName: "subexpressions", @@ -13904,21 +14350,21 @@ export const Expression: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Expression" - } - } - } + className: "Expression", + }, + }, + }, }, error: { serializedName: "error", xmlName: "error", type: { name: "Composite", - className: "AzureResourceErrorInfo" - } - } - } - } + className: "AzureResourceErrorInfo", + }, + }, + }, + }, }; export const ErrorInfo: coreClient.CompositeMapper = { @@ -13932,43 +14378,44 @@ export const ErrorInfo: coreClient.CompositeMapper = { required: true, xmlName: "code", type: { - name: "String" - } - } - } - } -}; - -export const WorkflowRunActionRepetitionDefinitionCollection: coreClient.CompositeMapper = { - serializedName: "WorkflowRunActionRepetitionDefinitionCollection", - type: { - name: "Composite", - className: "WorkflowRunActionRepetitionDefinitionCollection", - modelProperties: { - nextLink: { - serializedName: "nextLink", - xmlName: "nextLink", - type: { - name: "String" - } + name: "String", + }, }, - value: { - serializedName: "value", - xmlName: "value", - xmlElementName: "WorkflowRunActionRepetitionDefinition", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WorkflowRunActionRepetitionDefinition" - } - } - } - } - } - } -}; + }, + }, +}; + +export const WorkflowRunActionRepetitionDefinitionCollection: coreClient.CompositeMapper = + { + serializedName: "WorkflowRunActionRepetitionDefinitionCollection", + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinitionCollection", + modelProperties: { + nextLink: { + serializedName: "nextLink", + xmlName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + xmlName: "value", + xmlElementName: "WorkflowRunActionRepetitionDefinition", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinition", + }, + }, + }, + }, + }, + }, + }; export const RepetitionIndex: coreClient.CompositeMapper = { serializedName: "RepetitionIndex", @@ -13980,19 +14427,19 @@ export const RepetitionIndex: coreClient.CompositeMapper = { serializedName: "scopeName", xmlName: "scopeName", type: { - name: "String" - } + name: "String", + }, }, itemIndex: { serializedName: "itemIndex", required: true, xmlName: "itemIndex", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const OperationResultProperties: coreClient.CompositeMapper = { @@ -14005,47 +14452,47 @@ export const OperationResultProperties: coreClient.CompositeMapper = { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, correlation: { serializedName: "correlation", xmlName: "correlation", type: { name: "Composite", - className: "RunActionCorrelation" - } + className: "RunActionCorrelation", + }, }, status: { serializedName: "status", xmlName: "status", type: { - name: "String" - } + name: "String", + }, }, code: { serializedName: "code", xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, error: { serializedName: "error", xmlName: "error", type: { - name: "any" - } - } - } - } + name: "any", + }, + }, + }, + }, }; export const WorkflowResource: coreClient.CompositeMapper = { @@ -14059,42 +14506,42 @@ export const WorkflowResource: coreClient.CompositeMapper = { readOnly: true, xmlName: "id", type: { - name: "String" - } + name: "String", + }, }, name: { serializedName: "name", readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, location: { serializedName: "location", xmlName: "location", type: { - name: "String" - } + name: "String", + }, }, tags: { serializedName: "tags", xmlName: "tags", type: { name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + value: { type: { name: "String" } }, + }, + }, + }, + }, }; export const RequestHistoryListResult: coreClient.CompositeMapper = { @@ -14112,20 +14559,20 @@ export const RequestHistoryListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RequestHistory" - } - } - } + className: "RequestHistory", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RequestHistoryProperties: coreClient.CompositeMapper = { @@ -14138,34 +14585,34 @@ export const RequestHistoryProperties: coreClient.CompositeMapper = { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, request: { serializedName: "request", xmlName: "request", type: { name: "Composite", - className: "Request" - } + className: "Request", + }, }, response: { serializedName: "response", xmlName: "response", type: { name: "Composite", - className: "Response" - } - } - } - } + className: "Response", + }, + }, + }, + }, }; export const Request: coreClient.CompositeMapper = { @@ -14179,25 +14626,25 @@ export const Request: coreClient.CompositeMapper = { xmlName: "headers", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, uri: { serializedName: "uri", xmlName: "uri", type: { - name: "String" - } + name: "String", + }, }, method: { serializedName: "method", xmlName: "method", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Response: coreClient.CompositeMapper = { @@ -14211,26 +14658,26 @@ export const Response: coreClient.CompositeMapper = { xmlName: "headers", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, statusCode: { serializedName: "statusCode", xmlName: "statusCode", type: { - name: "Number" - } + name: "Number", + }, }, bodyLink: { serializedName: "bodyLink", xmlName: "bodyLink", type: { name: "Composite", - className: "ContentLink" - } - } - } - } + className: "ContentLink", + }, + }, + }, + }, }; export const WorkflowTriggerListResult: coreClient.CompositeMapper = { @@ -14248,20 +14695,20 @@ export const WorkflowTriggerListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WorkflowTrigger" - } - } - } + className: "WorkflowTrigger", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowTriggerRecurrence: coreClient.CompositeMapper = { @@ -14274,47 +14721,47 @@ export const WorkflowTriggerRecurrence: coreClient.CompositeMapper = { serializedName: "frequency", xmlName: "frequency", type: { - name: "String" - } + name: "String", + }, }, interval: { serializedName: "interval", xmlName: "interval", type: { - name: "Number" - } + name: "Number", + }, }, startTime: { serializedName: "startTime", xmlName: "startTime", type: { - name: "String" - } + name: "String", + }, }, endTime: { serializedName: "endTime", xmlName: "endTime", type: { - name: "String" - } + name: "String", + }, }, timeZone: { serializedName: "timeZone", xmlName: "timeZone", type: { - name: "String" - } + name: "String", + }, }, schedule: { serializedName: "schedule", xmlName: "schedule", type: { name: "Composite", - className: "RecurrenceSchedule" - } - } - } - } + className: "RecurrenceSchedule", + }, + }, + }, + }, }; export const RecurrenceSchedule: coreClient.CompositeMapper = { @@ -14331,10 +14778,10 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "Number" - } - } - } + name: "Number", + }, + }, + }, }, hours: { serializedName: "hours", @@ -14344,10 +14791,10 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "Number" - } - } - } + name: "Number", + }, + }, + }, }, weekDays: { serializedName: "weekDays", @@ -14365,11 +14812,11 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { "Wednesday", "Thursday", "Friday", - "Saturday" - ] - } - } - } + "Saturday", + ], + }, + }, + }, }, monthDays: { serializedName: "monthDays", @@ -14379,10 +14826,10 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "Number" - } - } - } + name: "Number", + }, + }, + }, }, monthlyOccurrences: { serializedName: "monthlyOccurrences", @@ -14393,13 +14840,13 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RecurrenceScheduleOccurrence" - } - } - } - } - } - } + className: "RecurrenceScheduleOccurrence", + }, + }, + }, + }, + }, + }, }; export const RecurrenceScheduleOccurrence: coreClient.CompositeMapper = { @@ -14420,19 +14867,19 @@ export const RecurrenceScheduleOccurrence: coreClient.CompositeMapper = { "Wednesday", "Thursday", "Friday", - "Saturday" - ] - } + "Saturday", + ], + }, }, occurrence: { serializedName: "occurrence", xmlName: "occurrence", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const WorkflowTriggerHistoryListResult: coreClient.CompositeMapper = { @@ -14450,20 +14897,20 @@ export const WorkflowTriggerHistoryListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WorkflowTriggerHistory" - } - } - } + className: "WorkflowTriggerHistory", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowTriggerCallbackUrl: coreClient.CompositeMapper = { @@ -14477,32 +14924,32 @@ export const WorkflowTriggerCallbackUrl: coreClient.CompositeMapper = { readOnly: true, xmlName: "value", type: { - name: "String" - } + name: "String", + }, }, method: { serializedName: "method", readOnly: true, xmlName: "method", type: { - name: "String" - } + name: "String", + }, }, basePath: { serializedName: "basePath", readOnly: true, xmlName: "basePath", type: { - name: "String" - } + name: "String", + }, }, relativePath: { serializedName: "relativePath", readOnly: true, xmlName: "relativePath", type: { - name: "String" - } + name: "String", + }, }, relativePathParameters: { serializedName: "relativePathParameters", @@ -14512,67 +14959,68 @@ export const WorkflowTriggerCallbackUrl: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, queries: { serializedName: "queries", xmlName: "queries", type: { name: "Composite", - className: "WorkflowTriggerListCallbackUrlQueries" - } - } - } - } -}; - -export const WorkflowTriggerListCallbackUrlQueries: coreClient.CompositeMapper = { - serializedName: "WorkflowTriggerListCallbackUrlQueries", - type: { - name: "Composite", - className: "WorkflowTriggerListCallbackUrlQueries", - modelProperties: { - apiVersion: { - serializedName: "api-version", - xmlName: "api-version", - type: { - name: "String" - } - }, - sp: { - serializedName: "sp", - xmlName: "sp", - type: { - name: "String" - } - }, - sv: { - serializedName: "sv", - xmlName: "sv", - type: { - name: "String" - } + className: "WorkflowTriggerListCallbackUrlQueries", + }, }, - sig: { - serializedName: "sig", - xmlName: "sig", - type: { - name: "String" - } + }, + }, +}; + +export const WorkflowTriggerListCallbackUrlQueries: coreClient.CompositeMapper = + { + serializedName: "WorkflowTriggerListCallbackUrlQueries", + type: { + name: "Composite", + className: "WorkflowTriggerListCallbackUrlQueries", + modelProperties: { + apiVersion: { + serializedName: "api-version", + xmlName: "api-version", + type: { + name: "String", + }, + }, + sp: { + serializedName: "sp", + xmlName: "sp", + type: { + name: "String", + }, + }, + sv: { + serializedName: "sv", + xmlName: "sv", + type: { + name: "String", + }, + }, + sig: { + serializedName: "sig", + xmlName: "sig", + type: { + name: "String", + }, + }, + se: { + serializedName: "se", + xmlName: "se", + type: { + name: "String", + }, + }, }, - se: { - serializedName: "se", - xmlName: "se", - type: { - name: "String" - } - } - } - } -}; + }, + }; export const JsonSchema: coreClient.CompositeMapper = { serializedName: "JsonSchema", @@ -14584,18 +15032,18 @@ export const JsonSchema: coreClient.CompositeMapper = { serializedName: "title", xmlName: "title", type: { - name: "String" - } + name: "String", + }, }, content: { serializedName: "content", xmlName: "content", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const FlowEndpointsConfiguration: coreClient.CompositeMapper = { @@ -14609,19 +15057,19 @@ export const FlowEndpointsConfiguration: coreClient.CompositeMapper = { xmlName: "workflow", type: { name: "Composite", - className: "FlowEndpoints" - } + className: "FlowEndpoints", + }, }, connector: { serializedName: "connector", xmlName: "connector", type: { name: "Composite", - className: "FlowEndpoints" - } - } - } - } + className: "FlowEndpoints", + }, + }, + }, + }, }; export const FlowEndpoints: coreClient.CompositeMapper = { @@ -14639,10 +15087,10 @@ export const FlowEndpoints: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "IpAddress" - } - } - } + className: "IpAddress", + }, + }, + }, }, accessEndpointIpAddresses: { serializedName: "accessEndpointIpAddresses", @@ -14653,13 +15101,13 @@ export const FlowEndpoints: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "IpAddress" - } - } - } - } - } - } + className: "IpAddress", + }, + }, + }, + }, + }, + }, }; export const IpAddress: coreClient.CompositeMapper = { @@ -14672,11 +15120,11 @@ export const IpAddress: coreClient.CompositeMapper = { serializedName: "address", xmlName: "address", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const FlowAccessControlConfiguration: coreClient.CompositeMapper = { @@ -14690,68 +15138,69 @@ export const FlowAccessControlConfiguration: coreClient.CompositeMapper = { xmlName: "triggers", type: { name: "Composite", - className: "FlowAccessControlConfigurationPolicy" - } + className: "FlowAccessControlConfigurationPolicy", + }, }, contents: { serializedName: "contents", xmlName: "contents", type: { name: "Composite", - className: "FlowAccessControlConfigurationPolicy" - } + className: "FlowAccessControlConfigurationPolicy", + }, }, actions: { serializedName: "actions", xmlName: "actions", type: { name: "Composite", - className: "FlowAccessControlConfigurationPolicy" - } + className: "FlowAccessControlConfigurationPolicy", + }, }, workflowManagement: { serializedName: "workflowManagement", xmlName: "workflowManagement", type: { name: "Composite", - className: "FlowAccessControlConfigurationPolicy" - } - } - } - } -}; - -export const FlowAccessControlConfigurationPolicy: coreClient.CompositeMapper = { - serializedName: "FlowAccessControlConfigurationPolicy", - type: { - name: "Composite", - className: "FlowAccessControlConfigurationPolicy", - modelProperties: { - allowedCallerIpAddresses: { - serializedName: "allowedCallerIpAddresses", - xmlName: "allowedCallerIpAddresses", - xmlElementName: "IpAddressRange", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IpAddressRange" - } - } - } + className: "FlowAccessControlConfigurationPolicy", + }, }, - openAuthenticationPolicies: { - serializedName: "openAuthenticationPolicies", - xmlName: "openAuthenticationPolicies", - type: { - name: "Composite", - className: "OpenAuthenticationAccessPolicies" - } - } - } - } -}; + }, + }, +}; + +export const FlowAccessControlConfigurationPolicy: coreClient.CompositeMapper = + { + serializedName: "FlowAccessControlConfigurationPolicy", + type: { + name: "Composite", + className: "FlowAccessControlConfigurationPolicy", + modelProperties: { + allowedCallerIpAddresses: { + serializedName: "allowedCallerIpAddresses", + xmlName: "allowedCallerIpAddresses", + xmlElementName: "IpAddressRange", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpAddressRange", + }, + }, + }, + }, + openAuthenticationPolicies: { + serializedName: "openAuthenticationPolicies", + xmlName: "openAuthenticationPolicies", + type: { + name: "Composite", + className: "OpenAuthenticationAccessPolicies", + }, + }, + }, + }, + }; export const IpAddressRange: coreClient.CompositeMapper = { serializedName: "IpAddressRange", @@ -14763,11 +15212,11 @@ export const IpAddressRange: coreClient.CompositeMapper = { serializedName: "addressRange", xmlName: "addressRange", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const OpenAuthenticationAccessPolicies: coreClient.CompositeMapper = { @@ -14784,13 +15233,13 @@ export const OpenAuthenticationAccessPolicies: coreClient.CompositeMapper = { value: { type: { name: "Composite", - className: "OpenAuthenticationAccessPolicy" - } - } - } - } - } - } + className: "OpenAuthenticationAccessPolicy", + }, + }, + }, + }, + }, + }, }; export const OpenAuthenticationAccessPolicy: coreClient.CompositeMapper = { @@ -14803,8 +15252,8 @@ export const OpenAuthenticationAccessPolicy: coreClient.CompositeMapper = { serializedName: "type", xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, claims: { serializedName: "claims", @@ -14815,13 +15264,13 @@ export const OpenAuthenticationAccessPolicy: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "OpenAuthenticationPolicyClaim" - } - } - } - } - } - } + className: "OpenAuthenticationPolicyClaim", + }, + }, + }, + }, + }, + }, }; export const OpenAuthenticationPolicyClaim: coreClient.CompositeMapper = { @@ -14834,18 +15283,18 @@ export const OpenAuthenticationPolicyClaim: coreClient.CompositeMapper = { serializedName: "name", xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "value", xmlName: "value", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowSku: coreClient.CompositeMapper = { @@ -14859,19 +15308,19 @@ export const WorkflowSku: coreClient.CompositeMapper = { required: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, plan: { serializedName: "plan", xmlName: "plan", type: { name: "Composite", - className: "ResourceReference" - } - } - } - } + className: "ResourceReference", + }, + }, + }, + }, }; export const WorkflowVersionListResult: coreClient.CompositeMapper = { @@ -14889,20 +15338,20 @@ export const WorkflowVersionListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WorkflowVersion" - } - } - } + className: "WorkflowVersion", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppserviceGithubToken: coreClient.CompositeMapper = { @@ -14915,39 +15364,39 @@ export const AppserviceGithubToken: coreClient.CompositeMapper = { serializedName: "accessToken", xmlName: "accessToken", type: { - name: "String" - } + name: "String", + }, }, scope: { serializedName: "scope", xmlName: "scope", type: { - name: "String" - } + name: "String", + }, }, tokenType: { serializedName: "tokenType", xmlName: "tokenType", type: { - name: "String" - } + name: "String", + }, }, gotToken: { serializedName: "gotToken", xmlName: "gotToken", type: { - name: "Boolean" - } + name: "Boolean", + }, }, errorMessage: { serializedName: "errorMessage", xmlName: "errorMessage", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppserviceGithubTokenRequest: coreClient.CompositeMapper = { @@ -14961,19 +15410,19 @@ export const AppserviceGithubTokenRequest: coreClient.CompositeMapper = { required: true, xmlName: "code", type: { - name: "String" - } + name: "String", + }, }, state: { serializedName: "state", required: true, xmlName: "state", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowFilter: coreClient.CompositeMapper = { @@ -14986,11 +15435,11 @@ export const WorkflowFilter: coreClient.CompositeMapper = { serializedName: "state", xmlName: "state", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowListResult: coreClient.CompositeMapper = { @@ -15008,20 +15457,20 @@ export const WorkflowListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Workflow" - } - } - } + className: "Workflow", + }, + }, + }, }, nextLink: { serializedName: "nextLink", xmlName: "nextLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowRunActionFilter: coreClient.CompositeMapper = { @@ -15034,11 +15483,11 @@ export const WorkflowRunActionFilter: coreClient.CompositeMapper = { serializedName: "status", xmlName: "status", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowRunFilter: coreClient.CompositeMapper = { @@ -15051,11 +15500,11 @@ export const WorkflowRunFilter: coreClient.CompositeMapper = { serializedName: "status", xmlName: "status", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowTriggerFilter: coreClient.CompositeMapper = { @@ -15068,11 +15517,11 @@ export const WorkflowTriggerFilter: coreClient.CompositeMapper = { serializedName: "state", xmlName: "state", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowTriggerHistoryFilter: coreClient.CompositeMapper = { @@ -15085,11 +15534,11 @@ export const WorkflowTriggerHistoryFilter: coreClient.CompositeMapper = { serializedName: "status", xmlName: "status", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppServiceCertificateOrder: coreClient.CompositeMapper = { @@ -15105,40 +15554,40 @@ export const AppServiceCertificateOrder: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Composite", className: "AppServiceCertificate" } - } - } + type: { name: "Composite", className: "AppServiceCertificate" }, + }, + }, }, distinguishedName: { serializedName: "properties.distinguishedName", xmlName: "properties.distinguishedName", type: { - name: "String" - } + name: "String", + }, }, domainVerificationToken: { serializedName: "properties.domainVerificationToken", readOnly: true, xmlName: "properties.domainVerificationToken", type: { - name: "String" - } + name: "String", + }, }, validityInYears: { defaultValue: 1, serializedName: "properties.validityInYears", xmlName: "properties.validityInYears", type: { - name: "Number" - } + name: "Number", + }, }, keySize: { defaultValue: 2048, serializedName: "properties.keySize", xmlName: "properties.keySize", type: { - name: "Number" - } + name: "Number", + }, }, productType: { serializedName: "properties.productType", @@ -15147,17 +15596,17 @@ export const AppServiceCertificateOrder: coreClient.CompositeMapper = { name: "Enum", allowedValues: [ "StandardDomainValidatedSsl", - "StandardDomainValidatedWildCardSsl" - ] - } + "StandardDomainValidatedWildCardSsl", + ], + }, }, autoRenew: { defaultValue: true, serializedName: "properties.autoRenew", xmlName: "properties.autoRenew", type: { - name: "Boolean" - } + name: "Boolean", + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -15170,9 +15619,9 @@ export const AppServiceCertificateOrder: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, status: { serializedName: "properties.status", @@ -15190,72 +15639,72 @@ export const AppServiceCertificateOrder: coreClient.CompositeMapper = { "PendingRekey", "Unused", "Expired", - "NotSubmitted" - ] - } + "NotSubmitted", + ], + }, }, signedCertificate: { serializedName: "properties.signedCertificate", xmlName: "properties.signedCertificate", type: { name: "Composite", - className: "CertificateDetails" - } + className: "CertificateDetails", + }, }, csr: { serializedName: "properties.csr", xmlName: "properties.csr", type: { - name: "String" - } + name: "String", + }, }, intermediate: { serializedName: "properties.intermediate", xmlName: "properties.intermediate", type: { name: "Composite", - className: "CertificateDetails" - } + className: "CertificateDetails", + }, }, root: { serializedName: "properties.root", xmlName: "properties.root", type: { name: "Composite", - className: "CertificateDetails" - } + className: "CertificateDetails", + }, }, serialNumber: { serializedName: "properties.serialNumber", readOnly: true, xmlName: "properties.serialNumber", type: { - name: "String" - } + name: "String", + }, }, lastCertificateIssuanceTime: { serializedName: "properties.lastCertificateIssuanceTime", readOnly: true, xmlName: "properties.lastCertificateIssuanceTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, expirationTime: { serializedName: "properties.expirationTime", readOnly: true, xmlName: "properties.expirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, isPrivateKeyExternal: { serializedName: "properties.isPrivateKeyExternal", readOnly: true, xmlName: "properties.isPrivateKeyExternal", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appServiceCertificateNotRenewableReasons: { serializedName: "properties.appServiceCertificateNotRenewableReasons", @@ -15266,29 +15715,29 @@ export const AppServiceCertificateOrder: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, nextAutoRenewalTimeStamp: { serializedName: "properties.nextAutoRenewalTimeStamp", readOnly: true, xmlName: "properties.nextAutoRenewalTimeStamp", type: { - name: "DateTime" - } + name: "DateTime", + }, }, contact: { serializedName: "properties.contact", xmlName: "properties.contact", type: { name: "Composite", - className: "CertificateOrderContact" - } - } - } - } + className: "CertificateOrderContact", + }, + }, + }, + }, }; export const AppServiceCertificateResource: coreClient.CompositeMapper = { @@ -15302,15 +15751,15 @@ export const AppServiceCertificateResource: coreClient.CompositeMapper = { serializedName: "properties.keyVaultId", xmlName: "properties.keyVaultId", type: { - name: "String" - } + name: "String", + }, }, keyVaultSecretName: { serializedName: "properties.keyVaultSecretName", xmlName: "properties.keyVaultSecretName", type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -15329,12 +15778,12 @@ export const AppServiceCertificateResource: coreClient.CompositeMapper = { "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", - "Unknown" - ] - } - } - } - } + "Unknown", + ], + }, + }, + }, + }, }; export const Domain: coreClient.CompositeMapper = { @@ -15349,32 +15798,32 @@ export const Domain: coreClient.CompositeMapper = { xmlName: "properties.contactAdmin", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, contactBilling: { serializedName: "properties.contactBilling", xmlName: "properties.contactBilling", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, contactRegistrant: { serializedName: "properties.contactRegistrant", xmlName: "properties.contactRegistrant", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, contactTech: { serializedName: "properties.contactTech", xmlName: "properties.contactTech", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, registrationStatus: { serializedName: "properties.registrationStatus", @@ -15403,9 +15852,9 @@ export const Domain: coreClient.CompositeMapper = { "Unlocked", "Unparked", "Updated", - "JsonConverterFailed" - ] - } + "JsonConverterFailed", + ], + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -15418,9 +15867,9 @@ export const Domain: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, nameServers: { serializedName: "properties.nameServers", @@ -15431,57 +15880,57 @@ export const Domain: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, privacy: { serializedName: "properties.privacy", xmlName: "properties.privacy", type: { - name: "Boolean" - } + name: "Boolean", + }, }, createdTime: { serializedName: "properties.createdTime", readOnly: true, xmlName: "properties.createdTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, expirationTime: { serializedName: "properties.expirationTime", readOnly: true, xmlName: "properties.expirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastRenewedTime: { serializedName: "properties.lastRenewedTime", readOnly: true, xmlName: "properties.lastRenewedTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, autoRenew: { defaultValue: true, serializedName: "properties.autoRenew", xmlName: "properties.autoRenew", type: { - name: "Boolean" - } + name: "Boolean", + }, }, readyForDnsRecordManagement: { serializedName: "properties.readyForDnsRecordManagement", readOnly: true, xmlName: "properties.readyForDnsRecordManagement", type: { - name: "Boolean" - } + name: "Boolean", + }, }, managedHostNames: { serializedName: "properties.managedHostNames", @@ -15493,18 +15942,18 @@ export const Domain: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HostName" - } - } - } + className: "HostName", + }, + }, + }, }, consent: { serializedName: "properties.consent", xmlName: "properties.consent", type: { name: "Composite", - className: "DomainPurchaseConsent" - } + className: "DomainPurchaseConsent", + }, }, domainNotRenewableReasons: { serializedName: "properties.domainNotRenewableReasons", @@ -15515,43 +15964,43 @@ export const Domain: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, dnsType: { serializedName: "properties.dnsType", xmlName: "properties.dnsType", type: { name: "Enum", - allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"] - } + allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"], + }, }, dnsZoneId: { serializedName: "properties.dnsZoneId", xmlName: "properties.dnsZoneId", type: { - name: "String" - } + name: "String", + }, }, targetDnsType: { serializedName: "properties.targetDnsType", xmlName: "properties.targetDnsType", type: { name: "Enum", - allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"] - } + allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"], + }, }, authCode: { serializedName: "properties.authCode", xmlName: "properties.authCode", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppServiceEnvironmentResource: coreClient.CompositeMapper = { @@ -15572,9 +16021,9 @@ export const AppServiceEnvironmentResource: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, status: { serializedName: "properties.status", @@ -15582,75 +16031,75 @@ export const AppServiceEnvironmentResource: coreClient.CompositeMapper = { xmlName: "properties.status", type: { name: "Enum", - allowedValues: ["Preparing", "Ready", "Scaling", "Deleting"] - } + allowedValues: ["Preparing", "Ready", "Scaling", "Deleting"], + }, }, virtualNetwork: { serializedName: "properties.virtualNetwork", xmlName: "properties.virtualNetwork", type: { name: "Composite", - className: "VirtualNetworkProfile" - } + className: "VirtualNetworkProfile", + }, }, internalLoadBalancingMode: { serializedName: "properties.internalLoadBalancingMode", xmlName: "properties.internalLoadBalancingMode", type: { - name: "String" - } + name: "String", + }, }, multiSize: { serializedName: "properties.multiSize", xmlName: "properties.multiSize", type: { - name: "String" - } + name: "String", + }, }, multiRoleCount: { serializedName: "properties.multiRoleCount", readOnly: true, xmlName: "properties.multiRoleCount", type: { - name: "Number" - } + name: "Number", + }, }, ipsslAddressCount: { serializedName: "properties.ipsslAddressCount", xmlName: "properties.ipsslAddressCount", type: { - name: "Number" - } + name: "Number", + }, }, dnsSuffix: { serializedName: "properties.dnsSuffix", xmlName: "properties.dnsSuffix", type: { - name: "String" - } + name: "String", + }, }, maximumNumberOfMachines: { serializedName: "properties.maximumNumberOfMachines", readOnly: true, xmlName: "properties.maximumNumberOfMachines", type: { - name: "Number" - } + name: "Number", + }, }, frontEndScaleFactor: { serializedName: "properties.frontEndScaleFactor", xmlName: "properties.frontEndScaleFactor", type: { - name: "Number" - } + name: "Number", + }, }, suspended: { serializedName: "properties.suspended", readOnly: true, xmlName: "properties.suspended", type: { - name: "Boolean" - } + name: "Boolean", + }, }, clusterSettings: { serializedName: "properties.clusterSettings", @@ -15661,10 +16110,10 @@ export const AppServiceEnvironmentResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } + className: "NameValuePair", + }, + }, + }, }, userWhitelistedIpRanges: { serializedName: "properties.userWhitelistedIpRanges", @@ -15674,67 +16123,67 @@ export const AppServiceEnvironmentResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, hasLinuxWorkers: { serializedName: "properties.hasLinuxWorkers", readOnly: true, xmlName: "properties.hasLinuxWorkers", type: { - name: "Boolean" - } + name: "Boolean", + }, }, upgradePreference: { defaultValue: "None", serializedName: "properties.upgradePreference", xmlName: "properties.upgradePreference", type: { - name: "String" - } + name: "String", + }, }, dedicatedHostCount: { serializedName: "properties.dedicatedHostCount", xmlName: "properties.dedicatedHostCount", type: { - name: "Number" - } + name: "Number", + }, }, zoneRedundant: { serializedName: "properties.zoneRedundant", xmlName: "properties.zoneRedundant", type: { - name: "Boolean" - } + name: "Boolean", + }, }, customDnsSuffixConfiguration: { serializedName: "properties.customDnsSuffixConfiguration", xmlName: "properties.customDnsSuffixConfiguration", type: { name: "Composite", - className: "CustomDnsSuffixConfiguration" - } + className: "CustomDnsSuffixConfiguration", + }, }, networkingConfiguration: { serializedName: "properties.networkingConfiguration", xmlName: "properties.networkingConfiguration", type: { name: "Composite", - className: "AseV3NetworkingConfiguration" - } + className: "AseV3NetworkingConfiguration", + }, }, upgradeAvailability: { serializedName: "properties.upgradeAvailability", readOnly: true, xmlName: "properties.upgradeAvailability", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const Site: coreClient.CompositeMapper = { @@ -15749,24 +16198,24 @@ export const Site: coreClient.CompositeMapper = { xmlName: "identity", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "ManagedServiceIdentity", + }, }, extendedLocation: { serializedName: "extendedLocation", xmlName: "extendedLocation", type: { name: "Composite", - className: "ExtendedLocation" - } + className: "ExtendedLocation", + }, }, state: { serializedName: "properties.state", readOnly: true, xmlName: "properties.state", type: { - name: "String" - } + name: "String", + }, }, hostNames: { serializedName: "properties.hostNames", @@ -15777,18 +16226,18 @@ export const Site: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, repositorySiteName: { serializedName: "properties.repositorySiteName", readOnly: true, xmlName: "properties.repositorySiteName", type: { - name: "String" - } + name: "String", + }, }, usageState: { serializedName: "properties.usageState", @@ -15796,15 +16245,15 @@ export const Site: coreClient.CompositeMapper = { xmlName: "properties.usageState", type: { name: "Enum", - allowedValues: ["Normal", "Exceeded"] - } + allowedValues: ["Normal", "Exceeded"], + }, }, enabled: { serializedName: "properties.enabled", xmlName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, enabledHostNames: { serializedName: "properties.enabledHostNames", @@ -15815,10 +16264,10 @@ export const Site: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, availabilityState: { serializedName: "properties.availabilityState", @@ -15826,8 +16275,8 @@ export const Site: coreClient.CompositeMapper = { xmlName: "properties.availabilityState", type: { name: "Enum", - allowedValues: ["Normal", "Limited", "DisasterRecoveryMode"] - } + allowedValues: ["Normal", "Limited", "DisasterRecoveryMode"], + }, }, hostNameSslStates: { serializedName: "properties.hostNameSslStates", @@ -15838,101 +16287,124 @@ export const Site: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HostNameSslState" - } - } - } + className: "HostNameSslState", + }, + }, + }, }, serverFarmId: { serializedName: "properties.serverFarmId", xmlName: "properties.serverFarmId", type: { - name: "String" - } + name: "String", + }, }, reserved: { defaultValue: false, serializedName: "properties.reserved", xmlName: "properties.reserved", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isXenon: { defaultValue: false, serializedName: "properties.isXenon", xmlName: "properties.isXenon", type: { - name: "Boolean" - } + name: "Boolean", + }, }, hyperV: { defaultValue: false, serializedName: "properties.hyperV", xmlName: "properties.hyperV", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastModifiedTimeUtc: { serializedName: "properties.lastModifiedTimeUtc", readOnly: true, xmlName: "properties.lastModifiedTimeUtc", type: { - name: "DateTime" - } + name: "DateTime", + }, + }, + dnsConfiguration: { + serializedName: "properties.dnsConfiguration", + xmlName: "properties.dnsConfiguration", + type: { + name: "Composite", + className: "SiteDnsConfig", + }, }, vnetRouteAllEnabled: { serializedName: "properties.vnetRouteAllEnabled", xmlName: "properties.vnetRouteAllEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, vnetImagePullEnabled: { serializedName: "properties.vnetImagePullEnabled", xmlName: "properties.vnetImagePullEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, vnetContentShareEnabled: { serializedName: "properties.vnetContentShareEnabled", xmlName: "properties.vnetContentShareEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, + }, + vnetBackupRestoreEnabled: { + serializedName: "properties.vnetBackupRestoreEnabled", + xmlName: "properties.vnetBackupRestoreEnabled", + type: { + name: "Boolean", + }, }, siteConfig: { serializedName: "properties.siteConfig", xmlName: "properties.siteConfig", type: { name: "Composite", - className: "SiteConfig" - } + className: "SiteConfig", + }, + }, + functionAppConfig: { + serializedName: "properties.functionAppConfig", + xmlName: "properties.functionAppConfig", + type: { + name: "Composite", + className: "FunctionAppConfig", + }, }, daprConfig: { serializedName: "properties.daprConfig", xmlName: "properties.daprConfig", type: { name: "Composite", - className: "DaprConfig" - } + className: "DaprConfig", + }, }, workloadProfileName: { serializedName: "properties.workloadProfileName", xmlName: "properties.workloadProfileName", type: { - name: "String" - } + name: "String", + }, }, resourceConfig: { serializedName: "properties.resourceConfig", xmlName: "properties.resourceConfig", type: { name: "Composite", - className: "ResourceConfig" - } + className: "ResourceConfig", + }, }, trafficManagerHostNames: { serializedName: "properties.trafficManagerHostNames", @@ -15943,170 +16415,170 @@ export const Site: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, scmSiteAlsoStopped: { defaultValue: false, serializedName: "properties.scmSiteAlsoStopped", xmlName: "properties.scmSiteAlsoStopped", type: { - name: "Boolean" - } + name: "Boolean", + }, }, targetSwapSlot: { serializedName: "properties.targetSwapSlot", readOnly: true, xmlName: "properties.targetSwapSlot", type: { - name: "String" - } + name: "String", + }, }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", xmlName: "properties.hostingEnvironmentProfile", type: { name: "Composite", - className: "HostingEnvironmentProfile" - } + className: "HostingEnvironmentProfile", + }, }, clientAffinityEnabled: { serializedName: "properties.clientAffinityEnabled", xmlName: "properties.clientAffinityEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, clientCertEnabled: { serializedName: "properties.clientCertEnabled", xmlName: "properties.clientCertEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, clientCertMode: { serializedName: "properties.clientCertMode", xmlName: "properties.clientCertMode", type: { name: "Enum", - allowedValues: ["Required", "Optional", "OptionalInteractiveUser"] - } + allowedValues: ["Required", "Optional", "OptionalInteractiveUser"], + }, }, clientCertExclusionPaths: { serializedName: "properties.clientCertExclusionPaths", xmlName: "properties.clientCertExclusionPaths", type: { - name: "String" - } + name: "String", + }, }, hostNamesDisabled: { serializedName: "properties.hostNamesDisabled", xmlName: "properties.hostNamesDisabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, customDomainVerificationId: { serializedName: "properties.customDomainVerificationId", xmlName: "properties.customDomainVerificationId", type: { - name: "String" - } + name: "String", + }, }, outboundIpAddresses: { serializedName: "properties.outboundIpAddresses", readOnly: true, xmlName: "properties.outboundIpAddresses", type: { - name: "String" - } + name: "String", + }, }, possibleOutboundIpAddresses: { serializedName: "properties.possibleOutboundIpAddresses", readOnly: true, xmlName: "properties.possibleOutboundIpAddresses", type: { - name: "String" - } + name: "String", + }, }, containerSize: { serializedName: "properties.containerSize", xmlName: "properties.containerSize", type: { - name: "Number" - } + name: "Number", + }, }, dailyMemoryTimeQuota: { serializedName: "properties.dailyMemoryTimeQuota", xmlName: "properties.dailyMemoryTimeQuota", type: { - name: "Number" - } + name: "Number", + }, }, suspendedTill: { serializedName: "properties.suspendedTill", readOnly: true, xmlName: "properties.suspendedTill", type: { - name: "DateTime" - } + name: "DateTime", + }, }, maxNumberOfWorkers: { serializedName: "properties.maxNumberOfWorkers", readOnly: true, xmlName: "properties.maxNumberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, cloningInfo: { serializedName: "properties.cloningInfo", xmlName: "properties.cloningInfo", type: { name: "Composite", - className: "CloningInfo" - } + className: "CloningInfo", + }, }, resourceGroup: { serializedName: "properties.resourceGroup", readOnly: true, xmlName: "properties.resourceGroup", type: { - name: "String" - } + name: "String", + }, }, isDefaultContainer: { serializedName: "properties.isDefaultContainer", readOnly: true, xmlName: "properties.isDefaultContainer", type: { - name: "Boolean" - } + name: "Boolean", + }, }, defaultHostName: { serializedName: "properties.defaultHostName", readOnly: true, xmlName: "properties.defaultHostName", type: { - name: "String" - } + name: "String", + }, }, slotSwapStatus: { serializedName: "properties.slotSwapStatus", xmlName: "properties.slotSwapStatus", type: { name: "Composite", - className: "SlotSwapStatus" - } + className: "SlotSwapStatus", + }, }, httpsOnly: { serializedName: "properties.httpsOnly", xmlName: "properties.httpsOnly", type: { - name: "Boolean" - } + name: "Boolean", + }, }, redundancyMode: { serializedName: "properties.redundancyMode", @@ -16118,55 +16590,55 @@ export const Site: coreClient.CompositeMapper = { "Manual", "Failover", "ActiveActive", - "GeoRedundant" - ] - } + "GeoRedundant", + ], + }, }, inProgressOperationId: { serializedName: "properties.inProgressOperationId", readOnly: true, xmlName: "properties.inProgressOperationId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", xmlName: "properties.publicNetworkAccess", type: { - name: "String" - } + name: "String", + }, }, storageAccountRequired: { serializedName: "properties.storageAccountRequired", xmlName: "properties.storageAccountRequired", type: { - name: "Boolean" - } + name: "Boolean", + }, }, keyVaultReferenceIdentity: { serializedName: "properties.keyVaultReferenceIdentity", xmlName: "properties.keyVaultReferenceIdentity", type: { - name: "String" - } + name: "String", + }, }, virtualNetworkSubnetId: { serializedName: "properties.virtualNetworkSubnetId", xmlName: "properties.virtualNetworkSubnetId", type: { - name: "String" - } + name: "String", + }, }, managedEnvironmentId: { serializedName: "properties.managedEnvironmentId", xmlName: "properties.managedEnvironmentId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppServicePlan: coreClient.CompositeMapper = { @@ -16181,23 +16653,23 @@ export const AppServicePlan: coreClient.CompositeMapper = { xmlName: "sku", type: { name: "Composite", - className: "SkuDescription" - } + className: "SkuDescription", + }, }, extendedLocation: { serializedName: "extendedLocation", xmlName: "extendedLocation", type: { name: "Composite", - className: "ExtendedLocation" - } + className: "ExtendedLocation", + }, }, workerTierName: { serializedName: "properties.workerTierName", xmlName: "properties.workerTierName", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "properties.status", @@ -16205,145 +16677,145 @@ export const AppServicePlan: coreClient.CompositeMapper = { xmlName: "properties.status", type: { name: "Enum", - allowedValues: ["Ready", "Pending", "Creating"] - } + allowedValues: ["Ready", "Pending", "Creating"], + }, }, subscription: { serializedName: "properties.subscription", readOnly: true, xmlName: "properties.subscription", type: { - name: "String" - } + name: "String", + }, }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", xmlName: "properties.hostingEnvironmentProfile", type: { name: "Composite", - className: "HostingEnvironmentProfile" - } + className: "HostingEnvironmentProfile", + }, }, maximumNumberOfWorkers: { serializedName: "properties.maximumNumberOfWorkers", readOnly: true, xmlName: "properties.maximumNumberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, numberOfWorkers: { serializedName: "properties.numberOfWorkers", readOnly: true, xmlName: "properties.numberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, geoRegion: { serializedName: "properties.geoRegion", readOnly: true, xmlName: "properties.geoRegion", type: { - name: "String" - } + name: "String", + }, }, perSiteScaling: { defaultValue: false, serializedName: "properties.perSiteScaling", xmlName: "properties.perSiteScaling", type: { - name: "Boolean" - } + name: "Boolean", + }, }, elasticScaleEnabled: { serializedName: "properties.elasticScaleEnabled", xmlName: "properties.elasticScaleEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, maximumElasticWorkerCount: { serializedName: "properties.maximumElasticWorkerCount", xmlName: "properties.maximumElasticWorkerCount", type: { - name: "Number" - } + name: "Number", + }, }, numberOfSites: { serializedName: "properties.numberOfSites", readOnly: true, xmlName: "properties.numberOfSites", type: { - name: "Number" - } + name: "Number", + }, }, isSpot: { serializedName: "properties.isSpot", xmlName: "properties.isSpot", type: { - name: "Boolean" - } + name: "Boolean", + }, }, spotExpirationTime: { serializedName: "properties.spotExpirationTime", xmlName: "properties.spotExpirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, freeOfferExpirationTime: { serializedName: "properties.freeOfferExpirationTime", xmlName: "properties.freeOfferExpirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, resourceGroup: { serializedName: "properties.resourceGroup", readOnly: true, xmlName: "properties.resourceGroup", type: { - name: "String" - } + name: "String", + }, }, reserved: { defaultValue: false, serializedName: "properties.reserved", xmlName: "properties.reserved", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isXenon: { defaultValue: false, serializedName: "properties.isXenon", xmlName: "properties.isXenon", type: { - name: "Boolean" - } + name: "Boolean", + }, }, hyperV: { defaultValue: false, serializedName: "properties.hyperV", xmlName: "properties.hyperV", type: { - name: "Boolean" - } + name: "Boolean", + }, }, targetWorkerCount: { serializedName: "properties.targetWorkerCount", xmlName: "properties.targetWorkerCount", type: { - name: "Number" - } + name: "Number", + }, }, targetWorkerSizeId: { serializedName: "properties.targetWorkerSizeId", xmlName: "properties.targetWorkerSizeId", type: { - name: "Number" - } + name: "Number", + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -16356,28 +16828,28 @@ export const AppServicePlan: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, kubeEnvironmentProfile: { serializedName: "properties.kubeEnvironmentProfile", xmlName: "properties.kubeEnvironmentProfile", type: { name: "Composite", - className: "KubeEnvironmentProfile" - } + className: "KubeEnvironmentProfile", + }, }, zoneRedundant: { defaultValue: false, serializedName: "properties.zoneRedundant", xmlName: "properties.zoneRedundant", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const Certificate: coreClient.CompositeMapper = { @@ -16391,24 +16863,24 @@ export const Certificate: coreClient.CompositeMapper = { serializedName: "properties.password", xmlName: "properties.password", type: { - name: "String" - } + name: "String", + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, xmlName: "properties.friendlyName", type: { - name: "String" - } + name: "String", + }, }, subjectName: { serializedName: "properties.subjectName", readOnly: true, xmlName: "properties.subjectName", type: { - name: "String" - } + name: "String", + }, }, hostNames: { serializedName: "properties.hostNames", @@ -16418,111 +16890,111 @@ export const Certificate: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, pfxBlob: { serializedName: "properties.pfxBlob", xmlName: "properties.pfxBlob", type: { - name: "ByteArray" - } + name: "ByteArray", + }, }, siteName: { serializedName: "properties.siteName", readOnly: true, xmlName: "properties.siteName", type: { - name: "String" - } + name: "String", + }, }, selfLink: { serializedName: "properties.selfLink", readOnly: true, xmlName: "properties.selfLink", type: { - name: "String" - } + name: "String", + }, }, issuer: { serializedName: "properties.issuer", readOnly: true, xmlName: "properties.issuer", type: { - name: "String" - } + name: "String", + }, }, issueDate: { serializedName: "properties.issueDate", readOnly: true, xmlName: "properties.issueDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, expirationDate: { serializedName: "properties.expirationDate", readOnly: true, xmlName: "properties.expirationDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, thumbprint: { serializedName: "properties.thumbprint", readOnly: true, xmlName: "properties.thumbprint", type: { - name: "String" - } + name: "String", + }, }, valid: { serializedName: "properties.valid", readOnly: true, xmlName: "properties.valid", type: { - name: "Boolean" - } + name: "Boolean", + }, }, cerBlob: { serializedName: "properties.cerBlob", readOnly: true, xmlName: "properties.cerBlob", type: { - name: "ByteArray" - } + name: "ByteArray", + }, }, publicKeyHash: { serializedName: "properties.publicKeyHash", readOnly: true, xmlName: "properties.publicKeyHash", type: { - name: "String" - } + name: "String", + }, }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", xmlName: "properties.hostingEnvironmentProfile", type: { name: "Composite", - className: "HostingEnvironmentProfile" - } + className: "HostingEnvironmentProfile", + }, }, keyVaultId: { serializedName: "properties.keyVaultId", xmlName: "properties.keyVaultId", type: { - name: "String" - } + name: "String", + }, }, keyVaultSecretName: { serializedName: "properties.keyVaultSecretName", xmlName: "properties.keyVaultSecretName", type: { - name: "String" - } + name: "String", + }, }, keyVaultSecretStatus: { serializedName: "properties.keyVaultSecretStatus", @@ -16541,33 +17013,33 @@ export const Certificate: coreClient.CompositeMapper = { "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", - "Unknown" - ] - } + "Unknown", + ], + }, }, serverFarmId: { serializedName: "properties.serverFarmId", xmlName: "properties.serverFarmId", type: { - name: "String" - } + name: "String", + }, }, canonicalName: { serializedName: "properties.canonicalName", xmlName: "properties.canonicalName", type: { - name: "String" - } + name: "String", + }, }, domainValidationMethod: { serializedName: "properties.domainValidationMethod", xmlName: "properties.domainValidationMethod", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ContainerApp: coreClient.CompositeMapper = { @@ -16582,50 +17054,50 @@ export const ContainerApp: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.provisioningState", type: { - name: "String" - } + name: "String", + }, }, kubeEnvironmentId: { serializedName: "properties.kubeEnvironmentId", xmlName: "properties.kubeEnvironmentId", type: { - name: "String" - } + name: "String", + }, }, latestRevisionName: { serializedName: "properties.latestRevisionName", readOnly: true, xmlName: "properties.latestRevisionName", type: { - name: "String" - } + name: "String", + }, }, latestRevisionFqdn: { serializedName: "properties.latestRevisionFqdn", readOnly: true, xmlName: "properties.latestRevisionFqdn", type: { - name: "String" - } + name: "String", + }, }, configuration: { serializedName: "properties.configuration", xmlName: "properties.configuration", type: { name: "Composite", - className: "Configuration" - } + className: "Configuration", + }, }, template: { serializedName: "properties.template", xmlName: "properties.template", type: { name: "Composite", - className: "Template" - } - } - } - } + className: "Template", + }, + }, + }, + }, }; export const Revision: coreClient.CompositeMapper = { @@ -16640,75 +17112,75 @@ export const Revision: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.createdTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, fqdn: { serializedName: "properties.fqdn", readOnly: true, xmlName: "properties.fqdn", type: { - name: "String" - } + name: "String", + }, }, template: { serializedName: "properties.template", xmlName: "properties.template", type: { name: "Composite", - className: "Template" - } + className: "Template", + }, }, active: { serializedName: "properties.active", readOnly: true, xmlName: "properties.active", type: { - name: "Boolean" - } + name: "Boolean", + }, }, replicas: { serializedName: "properties.replicas", readOnly: true, xmlName: "properties.replicas", type: { - name: "Number" - } + name: "Number", + }, }, trafficWeight: { serializedName: "properties.trafficWeight", readOnly: true, xmlName: "properties.trafficWeight", type: { - name: "Number" - } + name: "Number", + }, }, provisioningError: { serializedName: "properties.provisioningError", readOnly: true, xmlName: "properties.provisioningError", type: { - name: "String" - } + name: "String", + }, }, healthState: { serializedName: "properties.healthState", readOnly: true, xmlName: "properties.healthState", type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, xmlName: "properties.provisioningState", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const KubeEnvironment: coreClient.CompositeMapper = { @@ -16723,8 +17195,8 @@ export const KubeEnvironment: coreClient.CompositeMapper = { xmlName: "extendedLocation", type: { name: "Composite", - className: "ExtendedLocation" - } + className: "ExtendedLocation", + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -16742,80 +17214,80 @@ export const KubeEnvironment: coreClient.CompositeMapper = { "InfrastructureSetupComplete", "ScheduledForDelete", "UpgradeRequested", - "UpgradeFailed" - ] - } + "UpgradeFailed", + ], + }, }, deploymentErrors: { serializedName: "properties.deploymentErrors", readOnly: true, xmlName: "properties.deploymentErrors", type: { - name: "String" - } + name: "String", + }, }, internalLoadBalancerEnabled: { serializedName: "properties.internalLoadBalancerEnabled", xmlName: "properties.internalLoadBalancerEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, defaultDomain: { serializedName: "properties.defaultDomain", readOnly: true, xmlName: "properties.defaultDomain", type: { - name: "String" - } + name: "String", + }, }, staticIp: { serializedName: "properties.staticIp", xmlName: "properties.staticIp", type: { - name: "String" - } + name: "String", + }, }, environmentType: { serializedName: "properties.environmentType", xmlName: "properties.environmentType", type: { - name: "String" - } + name: "String", + }, }, arcConfiguration: { serializedName: "properties.arcConfiguration", xmlName: "properties.arcConfiguration", type: { name: "Composite", - className: "ArcConfiguration" - } + className: "ArcConfiguration", + }, }, appLogsConfiguration: { serializedName: "properties.appLogsConfiguration", xmlName: "properties.appLogsConfiguration", type: { name: "Composite", - className: "AppLogsConfiguration" - } + className: "AppLogsConfiguration", + }, }, containerAppsConfiguration: { serializedName: "properties.containerAppsConfiguration", xmlName: "properties.containerAppsConfiguration", type: { name: "Composite", - className: "ContainerAppsConfiguration" - } + className: "ContainerAppsConfiguration", + }, }, aksResourceID: { serializedName: "properties.aksResourceID", xmlName: "properties.aksResourceID", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StaticSiteARMResource: coreClient.CompositeMapper = { @@ -16830,38 +17302,38 @@ export const StaticSiteARMResource: coreClient.CompositeMapper = { xmlName: "sku", type: { name: "Composite", - className: "SkuDescription" - } + className: "SkuDescription", + }, }, identity: { serializedName: "identity", xmlName: "identity", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "ManagedServiceIdentity", + }, }, defaultHostname: { serializedName: "properties.defaultHostname", readOnly: true, xmlName: "properties.defaultHostname", type: { - name: "String" - } + name: "String", + }, }, repositoryUrl: { serializedName: "properties.repositoryUrl", xmlName: "properties.repositoryUrl", type: { - name: "String" - } + name: "String", + }, }, branch: { serializedName: "properties.branch", xmlName: "properties.branch", type: { - name: "String" - } + name: "String", + }, }, customDomains: { serializedName: "properties.customDomains", @@ -16872,25 +17344,25 @@ export const StaticSiteARMResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, repositoryToken: { serializedName: "properties.repositoryToken", xmlName: "properties.repositoryToken", type: { - name: "String" - } + name: "String", + }, }, buildProperties: { serializedName: "properties.buildProperties", xmlName: "properties.buildProperties", type: { name: "Composite", - className: "StaticSiteBuildProperties" - } + className: "StaticSiteBuildProperties", + }, }, privateEndpointConnections: { serializedName: "properties.privateEndpointConnections", @@ -16904,49 +17376,49 @@ export const StaticSiteARMResource: coreClient.CompositeMapper = { type: { name: "Composite", className: - "ResponseMessageEnvelopeRemotePrivateEndpointConnection" - } - } - } + "ResponseMessageEnvelopeRemotePrivateEndpointConnection", + }, + }, + }, }, stagingEnvironmentPolicy: { serializedName: "properties.stagingEnvironmentPolicy", xmlName: "properties.stagingEnvironmentPolicy", type: { name: "Enum", - allowedValues: ["Enabled", "Disabled"] - } + allowedValues: ["Enabled", "Disabled"], + }, }, allowConfigFileUpdates: { serializedName: "properties.allowConfigFileUpdates", xmlName: "properties.allowConfigFileUpdates", type: { - name: "Boolean" - } + name: "Boolean", + }, }, templateProperties: { serializedName: "properties.templateProperties", xmlName: "properties.templateProperties", type: { name: "Composite", - className: "StaticSiteTemplateOptions" - } + className: "StaticSiteTemplateOptions", + }, }, contentDistributionEndpoint: { serializedName: "properties.contentDistributionEndpoint", readOnly: true, xmlName: "properties.contentDistributionEndpoint", type: { - name: "String" - } + name: "String", + }, }, keyVaultReferenceIdentity: { serializedName: "properties.keyVaultReferenceIdentity", readOnly: true, xmlName: "properties.keyVaultReferenceIdentity", type: { - name: "String" - } + name: "String", + }, }, userProvidedFunctionApps: { serializedName: "properties.userProvidedFunctionApps", @@ -16958,10 +17430,10 @@ export const StaticSiteARMResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteUserProvidedFunctionApp" - } - } - } + className: "StaticSiteUserProvidedFunctionApp", + }, + }, + }, }, linkedBackends: { serializedName: "properties.linkedBackends", @@ -16973,295 +17445,296 @@ export const StaticSiteARMResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteLinkedBackend" - } - } - } + className: "StaticSiteLinkedBackend", + }, + }, + }, }, provider: { serializedName: "properties.provider", - xmlName: "properties.provider", - type: { - name: "String" - } - }, - enterpriseGradeCdnStatus: { - serializedName: "properties.enterpriseGradeCdnStatus", - xmlName: "properties.enterpriseGradeCdnStatus", - type: { - name: "String" - } - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - xmlName: "properties.publicNetworkAccess", - type: { - name: "String" - } - }, - databaseConnections: { - serializedName: "properties.databaseConnections", - readOnly: true, - xmlName: "properties.databaseConnections", - xmlElementName: "DatabaseConnectionOverview", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatabaseConnectionOverview" - } - } - } - } - } - } -}; - -export const PremierAddOn: coreClient.CompositeMapper = { - serializedName: "PremierAddOn", - type: { - name: "Composite", - className: "PremierAddOn", - modelProperties: { - ...Resource.type.modelProperties, - sku: { - serializedName: "properties.sku", - xmlName: "properties.sku", - type: { - name: "String" - } - }, - product: { - serializedName: "properties.product", - xmlName: "properties.product", - type: { - name: "String" - } - }, - vendor: { - serializedName: "properties.vendor", - xmlName: "properties.vendor", - type: { - name: "String" - } - }, - marketplacePublisher: { - serializedName: "properties.marketplacePublisher", - xmlName: "properties.marketplacePublisher", - type: { - name: "String" - } - }, - marketplaceOffer: { - serializedName: "properties.marketplaceOffer", - xmlName: "properties.marketplaceOffer", - type: { - name: "String" - } - } - } - } -}; - -export const AppServiceCertificateOrderPatchResource: coreClient.CompositeMapper = { - serializedName: "AppServiceCertificateOrderPatchResource", - type: { - name: "Composite", - className: "AppServiceCertificateOrderPatchResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - certificates: { - serializedName: "properties.certificates", - xmlName: "properties.certificates", - type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "AppServiceCertificate" } - } - } - }, - distinguishedName: { - serializedName: "properties.distinguishedName", - xmlName: "properties.distinguishedName", - type: { - name: "String" - } - }, - domainVerificationToken: { - serializedName: "properties.domainVerificationToken", - readOnly: true, - xmlName: "properties.domainVerificationToken", - type: { - name: "String" - } - }, - validityInYears: { - defaultValue: 1, - serializedName: "properties.validityInYears", - xmlName: "properties.validityInYears", - type: { - name: "Number" - } - }, - keySize: { - defaultValue: 2048, - serializedName: "properties.keySize", - xmlName: "properties.keySize", - type: { - name: "Number" - } - }, - productType: { - serializedName: "properties.productType", - xmlName: "properties.productType", - type: { - name: "Enum", - allowedValues: [ - "StandardDomainValidatedSsl", - "StandardDomainValidatedWildCardSsl" - ] - } - }, - autoRenew: { - defaultValue: true, - serializedName: "properties.autoRenew", - xmlName: "properties.autoRenew", - type: { - name: "Boolean" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - xmlName: "properties.provisioningState", - type: { - name: "Enum", - allowedValues: [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ] - } - }, - status: { - serializedName: "properties.status", - readOnly: true, - xmlName: "properties.status", - type: { - name: "Enum", - allowedValues: [ - "Pendingissuance", - "Issued", - "Revoked", - "Canceled", - "Denied", - "Pendingrevocation", - "PendingRekey", - "Unused", - "Expired", - "NotSubmitted" - ] - } - }, - signedCertificate: { - serializedName: "properties.signedCertificate", - xmlName: "properties.signedCertificate", - type: { - name: "Composite", - className: "CertificateDetails" - } - }, - csr: { - serializedName: "properties.csr", - xmlName: "properties.csr", - type: { - name: "String" - } - }, - intermediate: { - serializedName: "properties.intermediate", - xmlName: "properties.intermediate", - type: { - name: "Composite", - className: "CertificateDetails" - } - }, - root: { - serializedName: "properties.root", - xmlName: "properties.root", - type: { - name: "Composite", - className: "CertificateDetails" - } - }, - serialNumber: { - serializedName: "properties.serialNumber", - readOnly: true, - xmlName: "properties.serialNumber", - type: { - name: "String" - } - }, - lastCertificateIssuanceTime: { - serializedName: "properties.lastCertificateIssuanceTime", - readOnly: true, - xmlName: "properties.lastCertificateIssuanceTime", + xmlName: "properties.provider", type: { - name: "DateTime" - } + name: "String", + }, }, - expirationTime: { - serializedName: "properties.expirationTime", - readOnly: true, - xmlName: "properties.expirationTime", + enterpriseGradeCdnStatus: { + serializedName: "properties.enterpriseGradeCdnStatus", + xmlName: "properties.enterpriseGradeCdnStatus", type: { - name: "DateTime" - } + name: "String", + }, }, - isPrivateKeyExternal: { - serializedName: "properties.isPrivateKeyExternal", - readOnly: true, - xmlName: "properties.isPrivateKeyExternal", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + xmlName: "properties.publicNetworkAccess", type: { - name: "Boolean" - } + name: "String", + }, }, - appServiceCertificateNotRenewableReasons: { - serializedName: "properties.appServiceCertificateNotRenewableReasons", + databaseConnections: { + serializedName: "properties.databaseConnections", readOnly: true, - xmlName: "properties.appServiceCertificateNotRenewableReasons", - xmlElementName: "ResourceNotRenewableReason", + xmlName: "properties.databaseConnections", + xmlElementName: "DatabaseConnectionOverview", type: { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "Composite", + className: "DatabaseConnectionOverview", + }, + }, + }, }, - nextAutoRenewalTimeStamp: { - serializedName: "properties.nextAutoRenewalTimeStamp", - readOnly: true, - xmlName: "properties.nextAutoRenewalTimeStamp", + }, + }, +}; + +export const PremierAddOn: coreClient.CompositeMapper = { + serializedName: "PremierAddOn", + type: { + name: "Composite", + className: "PremierAddOn", + modelProperties: { + ...Resource.type.modelProperties, + sku: { + serializedName: "properties.sku", + xmlName: "properties.sku", type: { - name: "DateTime" - } + name: "String", + }, }, - contact: { - serializedName: "properties.contact", - xmlName: "properties.contact", + product: { + serializedName: "properties.product", + xmlName: "properties.product", type: { - name: "Composite", - className: "CertificateOrderContact" - } - } - } - } -}; + name: "String", + }, + }, + vendor: { + serializedName: "properties.vendor", + xmlName: "properties.vendor", + type: { + name: "String", + }, + }, + marketplacePublisher: { + serializedName: "properties.marketplacePublisher", + xmlName: "properties.marketplacePublisher", + type: { + name: "String", + }, + }, + marketplaceOffer: { + serializedName: "properties.marketplaceOffer", + xmlName: "properties.marketplaceOffer", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AppServiceCertificateOrderPatchResource: coreClient.CompositeMapper = + { + serializedName: "AppServiceCertificateOrderPatchResource", + type: { + name: "Composite", + className: "AppServiceCertificateOrderPatchResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + certificates: { + serializedName: "properties.certificates", + xmlName: "properties.certificates", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "AppServiceCertificate" }, + }, + }, + }, + distinguishedName: { + serializedName: "properties.distinguishedName", + xmlName: "properties.distinguishedName", + type: { + name: "String", + }, + }, + domainVerificationToken: { + serializedName: "properties.domainVerificationToken", + readOnly: true, + xmlName: "properties.domainVerificationToken", + type: { + name: "String", + }, + }, + validityInYears: { + defaultValue: 1, + serializedName: "properties.validityInYears", + xmlName: "properties.validityInYears", + type: { + name: "Number", + }, + }, + keySize: { + defaultValue: 2048, + serializedName: "properties.keySize", + xmlName: "properties.keySize", + type: { + name: "Number", + }, + }, + productType: { + serializedName: "properties.productType", + xmlName: "properties.productType", + type: { + name: "Enum", + allowedValues: [ + "StandardDomainValidatedSsl", + "StandardDomainValidatedWildCardSsl", + ], + }, + }, + autoRenew: { + defaultValue: true, + serializedName: "properties.autoRenew", + xmlName: "properties.autoRenew", + type: { + name: "Boolean", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + xmlName: "properties.provisioningState", + type: { + name: "Enum", + allowedValues: [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting", + ], + }, + }, + status: { + serializedName: "properties.status", + readOnly: true, + xmlName: "properties.status", + type: { + name: "Enum", + allowedValues: [ + "Pendingissuance", + "Issued", + "Revoked", + "Canceled", + "Denied", + "Pendingrevocation", + "PendingRekey", + "Unused", + "Expired", + "NotSubmitted", + ], + }, + }, + signedCertificate: { + serializedName: "properties.signedCertificate", + xmlName: "properties.signedCertificate", + type: { + name: "Composite", + className: "CertificateDetails", + }, + }, + csr: { + serializedName: "properties.csr", + xmlName: "properties.csr", + type: { + name: "String", + }, + }, + intermediate: { + serializedName: "properties.intermediate", + xmlName: "properties.intermediate", + type: { + name: "Composite", + className: "CertificateDetails", + }, + }, + root: { + serializedName: "properties.root", + xmlName: "properties.root", + type: { + name: "Composite", + className: "CertificateDetails", + }, + }, + serialNumber: { + serializedName: "properties.serialNumber", + readOnly: true, + xmlName: "properties.serialNumber", + type: { + name: "String", + }, + }, + lastCertificateIssuanceTime: { + serializedName: "properties.lastCertificateIssuanceTime", + readOnly: true, + xmlName: "properties.lastCertificateIssuanceTime", + type: { + name: "DateTime", + }, + }, + expirationTime: { + serializedName: "properties.expirationTime", + readOnly: true, + xmlName: "properties.expirationTime", + type: { + name: "DateTime", + }, + }, + isPrivateKeyExternal: { + serializedName: "properties.isPrivateKeyExternal", + readOnly: true, + xmlName: "properties.isPrivateKeyExternal", + type: { + name: "Boolean", + }, + }, + appServiceCertificateNotRenewableReasons: { + serializedName: "properties.appServiceCertificateNotRenewableReasons", + readOnly: true, + xmlName: "properties.appServiceCertificateNotRenewableReasons", + xmlElementName: "ResourceNotRenewableReason", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + nextAutoRenewalTimeStamp: { + serializedName: "properties.nextAutoRenewalTimeStamp", + readOnly: true, + xmlName: "properties.nextAutoRenewalTimeStamp", + type: { + name: "DateTime", + }, + }, + contact: { + serializedName: "properties.contact", + xmlName: "properties.contact", + type: { + name: "Composite", + className: "CertificateOrderContact", + }, + }, + }, + }, + }; export const AppServiceCertificatePatchResource: coreClient.CompositeMapper = { serializedName: "AppServiceCertificatePatchResource", @@ -17274,15 +17747,15 @@ export const AppServiceCertificatePatchResource: coreClient.CompositeMapper = { serializedName: "properties.keyVaultId", xmlName: "properties.keyVaultId", type: { - name: "String" - } + name: "String", + }, }, keyVaultSecretName: { serializedName: "properties.keyVaultSecretName", xmlName: "properties.keyVaultSecretName", type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -17301,12 +17774,12 @@ export const AppServiceCertificatePatchResource: coreClient.CompositeMapper = { "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", - "Unknown" - ] - } - } - } - } + "Unknown", + ], + }, + }, + }, + }, }; export const ReissueCertificateOrderRequest: coreClient.CompositeMapper = { @@ -17320,32 +17793,32 @@ export const ReissueCertificateOrderRequest: coreClient.CompositeMapper = { serializedName: "properties.keySize", xmlName: "properties.keySize", type: { - name: "Number" - } + name: "Number", + }, }, delayExistingRevokeInHours: { serializedName: "properties.delayExistingRevokeInHours", xmlName: "properties.delayExistingRevokeInHours", type: { - name: "Number" - } + name: "Number", + }, }, csr: { serializedName: "properties.csr", xmlName: "properties.csr", type: { - name: "String" - } + name: "String", + }, }, isPrivateKeyExternal: { serializedName: "properties.isPrivateKeyExternal", xmlName: "properties.isPrivateKeyExternal", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const RenewCertificateOrderRequest: coreClient.CompositeMapper = { @@ -17359,25 +17832,25 @@ export const RenewCertificateOrderRequest: coreClient.CompositeMapper = { serializedName: "properties.keySize", xmlName: "properties.keySize", type: { - name: "Number" - } + name: "Number", + }, }, csr: { serializedName: "properties.csr", xmlName: "properties.csr", type: { - name: "String" - } + name: "String", + }, }, isPrivateKeyExternal: { serializedName: "properties.isPrivateKeyExternal", xmlName: "properties.isPrivateKeyExternal", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const DetectorResponse: coreClient.CompositeMapper = { @@ -17392,8 +17865,8 @@ export const DetectorResponse: coreClient.CompositeMapper = { xmlName: "properties.metadata", type: { name: "Composite", - className: "DetectorInfo" - } + className: "DetectorInfo", + }, }, dataset: { serializedName: "properties.dataset", @@ -17404,18 +17877,18 @@ export const DetectorResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnosticData" - } - } - } + className: "DiagnosticData", + }, + }, + }, }, status: { serializedName: "properties.status", xmlName: "properties.status", type: { name: "Composite", - className: "Status" - } + className: "Status", + }, }, dataProvidersMetadata: { serializedName: "properties.dataProvidersMetadata", @@ -17426,21 +17899,21 @@ export const DetectorResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DataProviderMetadata" - } - } - } + className: "DataProviderMetadata", + }, + }, + }, }, suggestedUtterances: { serializedName: "properties.suggestedUtterances", xmlName: "properties.suggestedUtterances", type: { name: "Composite", - className: "QueryUtterancesResults" - } - } - } - } + className: "QueryUtterancesResults", + }, + }, + }, + }, }; export const DomainPatchResource: coreClient.CompositeMapper = { @@ -17455,32 +17928,32 @@ export const DomainPatchResource: coreClient.CompositeMapper = { xmlName: "properties.contactAdmin", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, contactBilling: { serializedName: "properties.contactBilling", xmlName: "properties.contactBilling", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, contactRegistrant: { serializedName: "properties.contactRegistrant", xmlName: "properties.contactRegistrant", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, contactTech: { serializedName: "properties.contactTech", xmlName: "properties.contactTech", type: { name: "Composite", - className: "Contact" - } + className: "Contact", + }, }, registrationStatus: { serializedName: "properties.registrationStatus", @@ -17509,9 +17982,9 @@ export const DomainPatchResource: coreClient.CompositeMapper = { "Unlocked", "Unparked", "Updated", - "JsonConverterFailed" - ] - } + "JsonConverterFailed", + ], + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -17524,9 +17997,9 @@ export const DomainPatchResource: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, nameServers: { serializedName: "properties.nameServers", @@ -17537,57 +18010,57 @@ export const DomainPatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, privacy: { serializedName: "properties.privacy", xmlName: "properties.privacy", type: { - name: "Boolean" - } + name: "Boolean", + }, }, createdTime: { serializedName: "properties.createdTime", readOnly: true, xmlName: "properties.createdTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, expirationTime: { serializedName: "properties.expirationTime", readOnly: true, xmlName: "properties.expirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastRenewedTime: { serializedName: "properties.lastRenewedTime", readOnly: true, xmlName: "properties.lastRenewedTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, autoRenew: { defaultValue: true, serializedName: "properties.autoRenew", xmlName: "properties.autoRenew", type: { - name: "Boolean" - } + name: "Boolean", + }, }, readyForDnsRecordManagement: { serializedName: "properties.readyForDnsRecordManagement", readOnly: true, xmlName: "properties.readyForDnsRecordManagement", type: { - name: "Boolean" - } + name: "Boolean", + }, }, managedHostNames: { serializedName: "properties.managedHostNames", @@ -17599,18 +18072,18 @@ export const DomainPatchResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HostName" - } - } - } + className: "HostName", + }, + }, + }, }, consent: { serializedName: "properties.consent", xmlName: "properties.consent", type: { name: "Composite", - className: "DomainPurchaseConsent" - } + className: "DomainPurchaseConsent", + }, }, domainNotRenewableReasons: { serializedName: "properties.domainNotRenewableReasons", @@ -17621,43 +18094,43 @@ export const DomainPatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, dnsType: { serializedName: "properties.dnsType", xmlName: "properties.dnsType", type: { name: "Enum", - allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"] - } + allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"], + }, }, dnsZoneId: { serializedName: "properties.dnsZoneId", xmlName: "properties.dnsZoneId", type: { - name: "String" - } + name: "String", + }, }, targetDnsType: { serializedName: "properties.targetDnsType", xmlName: "properties.targetDnsType", type: { name: "Enum", - allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"] - } + allowedValues: ["AzureDns", "DefaultDomainRegistrarDns"], + }, }, authCode: { serializedName: "properties.authCode", xmlName: "properties.authCode", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DomainOwnershipIdentifier: coreClient.CompositeMapper = { @@ -17671,11 +18144,11 @@ export const DomainOwnershipIdentifier: coreClient.CompositeMapper = { serializedName: "properties.ownershipId", xmlName: "properties.ownershipId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const TopLevelDomain: coreClient.CompositeMapper = { @@ -17689,11 +18162,11 @@ export const TopLevelDomain: coreClient.CompositeMapper = { serializedName: "properties.privacy", xmlName: "properties.privacy", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const CustomDnsSuffixConfiguration: coreClient.CompositeMapper = { @@ -17709,40 +18182,40 @@ export const CustomDnsSuffixConfiguration: coreClient.CompositeMapper = { xmlName: "properties.provisioningState", type: { name: "Enum", - allowedValues: ["Succeeded", "Failed", "Degraded", "InProgress"] - } + allowedValues: ["Succeeded", "Failed", "Degraded", "InProgress"], + }, }, provisioningDetails: { serializedName: "properties.provisioningDetails", readOnly: true, xmlName: "properties.provisioningDetails", type: { - name: "String" - } + name: "String", + }, }, dnsSuffix: { serializedName: "properties.dnsSuffix", xmlName: "properties.dnsSuffix", type: { - name: "String" - } + name: "String", + }, }, certificateUrl: { serializedName: "properties.certificateUrl", xmlName: "properties.certificateUrl", type: { - name: "String" - } + name: "String", + }, }, keyVaultReferenceIdentity: { serializedName: "properties.keyVaultReferenceIdentity", xmlName: "properties.keyVaultReferenceIdentity", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AseV3NetworkingConfiguration: coreClient.CompositeMapper = { @@ -17762,10 +18235,10 @@ export const AseV3NetworkingConfiguration: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, linuxOutboundIpAddresses: { serializedName: "properties.linuxOutboundIpAddresses", @@ -17777,10 +18250,10 @@ export const AseV3NetworkingConfiguration: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, externalInboundIpAddresses: { serializedName: "properties.externalInboundIpAddresses", @@ -17792,10 +18265,10 @@ export const AseV3NetworkingConfiguration: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, internalInboundIpAddresses: { serializedName: "properties.internalInboundIpAddresses", @@ -17807,41 +18280,41 @@ export const AseV3NetworkingConfiguration: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, allowNewPrivateEndpointConnections: { serializedName: "properties.allowNewPrivateEndpointConnections", xmlName: "properties.allowNewPrivateEndpointConnections", type: { - name: "Boolean" - } + name: "Boolean", + }, }, ftpEnabled: { serializedName: "properties.ftpEnabled", xmlName: "properties.ftpEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, remoteDebugEnabled: { serializedName: "properties.remoteDebugEnabled", xmlName: "properties.remoteDebugEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, inboundIpAddressOverride: { serializedName: "properties.inboundIpAddressOverride", xmlName: "properties.inboundIpAddressOverride", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AppServiceEnvironmentPatchResource: coreClient.CompositeMapper = { @@ -17862,9 +18335,9 @@ export const AppServiceEnvironmentPatchResource: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, status: { serializedName: "properties.status", @@ -17872,75 +18345,75 @@ export const AppServiceEnvironmentPatchResource: coreClient.CompositeMapper = { xmlName: "properties.status", type: { name: "Enum", - allowedValues: ["Preparing", "Ready", "Scaling", "Deleting"] - } + allowedValues: ["Preparing", "Ready", "Scaling", "Deleting"], + }, }, virtualNetwork: { serializedName: "properties.virtualNetwork", xmlName: "properties.virtualNetwork", type: { name: "Composite", - className: "VirtualNetworkProfile" - } + className: "VirtualNetworkProfile", + }, }, internalLoadBalancingMode: { serializedName: "properties.internalLoadBalancingMode", xmlName: "properties.internalLoadBalancingMode", type: { - name: "String" - } + name: "String", + }, }, multiSize: { serializedName: "properties.multiSize", xmlName: "properties.multiSize", type: { - name: "String" - } + name: "String", + }, }, multiRoleCount: { serializedName: "properties.multiRoleCount", readOnly: true, xmlName: "properties.multiRoleCount", type: { - name: "Number" - } + name: "Number", + }, }, ipsslAddressCount: { serializedName: "properties.ipsslAddressCount", xmlName: "properties.ipsslAddressCount", type: { - name: "Number" - } + name: "Number", + }, }, dnsSuffix: { serializedName: "properties.dnsSuffix", xmlName: "properties.dnsSuffix", type: { - name: "String" - } + name: "String", + }, }, maximumNumberOfMachines: { serializedName: "properties.maximumNumberOfMachines", readOnly: true, xmlName: "properties.maximumNumberOfMachines", type: { - name: "Number" - } + name: "Number", + }, }, frontEndScaleFactor: { serializedName: "properties.frontEndScaleFactor", xmlName: "properties.frontEndScaleFactor", type: { - name: "Number" - } + name: "Number", + }, }, suspended: { serializedName: "properties.suspended", readOnly: true, xmlName: "properties.suspended", type: { - name: "Boolean" - } + name: "Boolean", + }, }, clusterSettings: { serializedName: "properties.clusterSettings", @@ -17951,10 +18424,10 @@ export const AppServiceEnvironmentPatchResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } + className: "NameValuePair", + }, + }, + }, }, userWhitelistedIpRanges: { serializedName: "properties.userWhitelistedIpRanges", @@ -17964,67 +18437,67 @@ export const AppServiceEnvironmentPatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, hasLinuxWorkers: { serializedName: "properties.hasLinuxWorkers", readOnly: true, xmlName: "properties.hasLinuxWorkers", type: { - name: "Boolean" - } + name: "Boolean", + }, }, upgradePreference: { defaultValue: "None", serializedName: "properties.upgradePreference", xmlName: "properties.upgradePreference", type: { - name: "String" - } + name: "String", + }, }, dedicatedHostCount: { serializedName: "properties.dedicatedHostCount", xmlName: "properties.dedicatedHostCount", type: { - name: "Number" - } + name: "Number", + }, }, zoneRedundant: { serializedName: "properties.zoneRedundant", xmlName: "properties.zoneRedundant", type: { - name: "Boolean" - } + name: "Boolean", + }, }, customDnsSuffixConfiguration: { serializedName: "properties.customDnsSuffixConfiguration", xmlName: "properties.customDnsSuffixConfiguration", type: { name: "Composite", - className: "CustomDnsSuffixConfiguration" - } + className: "CustomDnsSuffixConfiguration", + }, }, networkingConfiguration: { serializedName: "properties.networkingConfiguration", xmlName: "properties.networkingConfiguration", type: { name: "Composite", - className: "AseV3NetworkingConfiguration" - } + className: "AseV3NetworkingConfiguration", + }, }, upgradeAvailability: { serializedName: "properties.upgradeAvailability", readOnly: true, xmlName: "properties.upgradeAvailability", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AddressResponse: coreClient.CompositeMapper = { @@ -18038,15 +18511,15 @@ export const AddressResponse: coreClient.CompositeMapper = { serializedName: "properties.serviceIpAddress", xmlName: "properties.serviceIpAddress", type: { - name: "String" - } + name: "String", + }, }, internalIpAddress: { serializedName: "properties.internalIpAddress", xmlName: "properties.internalIpAddress", type: { - name: "String" - } + name: "String", + }, }, outboundIpAddresses: { serializedName: "properties.outboundIpAddresses", @@ -18056,10 +18529,10 @@ export const AddressResponse: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, vipMappings: { serializedName: "properties.vipMappings", @@ -18070,13 +18543,13 @@ export const AddressResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualIPMapping" - } - } - } - } - } - } + className: "VirtualIPMapping", + }, + }, + }, + }, + }, + }, }; export const PushSettings: coreClient.CompositeMapper = { @@ -18090,32 +18563,32 @@ export const PushSettings: coreClient.CompositeMapper = { serializedName: "properties.isPushEnabled", xmlName: "properties.isPushEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, tagWhitelistJson: { serializedName: "properties.tagWhitelistJson", xmlName: "properties.tagWhitelistJson", type: { - name: "String" - } + name: "String", + }, }, tagsRequiringAuth: { serializedName: "properties.tagsRequiringAuth", xmlName: "properties.tagsRequiringAuth", type: { - name: "String" - } + name: "String", + }, }, dynamicTagsJson: { serializedName: "properties.dynamicTagsJson", xmlName: "properties.dynamicTagsJson", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkerPoolResource: coreClient.CompositeMapper = { @@ -18130,37 +18603,37 @@ export const WorkerPoolResource: coreClient.CompositeMapper = { xmlName: "sku", type: { name: "Composite", - className: "SkuDescription" - } + className: "SkuDescription", + }, }, workerSizeId: { serializedName: "properties.workerSizeId", xmlName: "properties.workerSizeId", type: { - name: "Number" - } + name: "Number", + }, }, computeMode: { serializedName: "properties.computeMode", xmlName: "properties.computeMode", type: { name: "Enum", - allowedValues: ["Shared", "Dedicated", "Dynamic"] - } + allowedValues: ["Shared", "Dedicated", "Dynamic"], + }, }, workerSize: { serializedName: "properties.workerSize", xmlName: "properties.workerSize", type: { - name: "String" - } + name: "String", + }, }, workerCount: { serializedName: "properties.workerCount", xmlName: "properties.workerCount", type: { - name: "Number" - } + name: "Number", + }, }, instanceNames: { serializedName: "properties.instanceNames", @@ -18171,13 +18644,13 @@ export const WorkerPoolResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const ResourceMetricDefinition: coreClient.CompositeMapper = { @@ -18192,16 +18665,16 @@ export const ResourceMetricDefinition: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.unit", type: { - name: "String" - } + name: "String", + }, }, primaryAggregationType: { serializedName: "properties.primaryAggregationType", readOnly: true, xmlName: "properties.primaryAggregationType", type: { - name: "String" - } + name: "String", + }, }, metricAvailabilities: { serializedName: "properties.metricAvailabilities", @@ -18213,18 +18686,18 @@ export const ResourceMetricDefinition: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ResourceMetricAvailability" - } - } - } + className: "ResourceMetricAvailability", + }, + }, + }, }, resourceUri: { serializedName: "properties.resourceUri", readOnly: true, xmlName: "properties.resourceUri", type: { - name: "String" - } + name: "String", + }, }, properties: { serializedName: "properties.properties", @@ -18232,11 +18705,11 @@ export const ResourceMetricDefinition: coreClient.CompositeMapper = { xmlName: "properties.properties", type: { name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + value: { type: { name: "String" } }, + }, + }, + }, + }, }; export const Usage: coreClient.CompositeMapper = { @@ -18251,48 +18724,48 @@ export const Usage: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, resourceName: { serializedName: "properties.resourceName", readOnly: true, xmlName: "properties.resourceName", type: { - name: "String" - } + name: "String", + }, }, unit: { serializedName: "properties.unit", readOnly: true, xmlName: "properties.unit", type: { - name: "String" - } + name: "String", + }, }, currentValue: { serializedName: "properties.currentValue", readOnly: true, xmlName: "properties.currentValue", type: { - name: "Number" - } + name: "Number", + }, }, limit: { serializedName: "properties.limit", readOnly: true, xmlName: "properties.limit", type: { - name: "Number" - } + name: "Number", + }, }, nextResetTime: { serializedName: "properties.nextResetTime", readOnly: true, xmlName: "properties.nextResetTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, computeMode: { serializedName: "properties.computeMode", @@ -18300,88 +18773,70 @@ export const Usage: coreClient.CompositeMapper = { xmlName: "properties.computeMode", type: { name: "Enum", - allowedValues: ["Shared", "Dedicated", "Dynamic"] - } + allowedValues: ["Shared", "Dedicated", "Dynamic"], + }, }, siteMode: { serializedName: "properties.siteMode", readOnly: true, xmlName: "properties.siteMode", type: { - name: "String" - } - } - } - } -}; - -export const RemotePrivateEndpointConnectionARMResource: coreClient.CompositeMapper = { - serializedName: "RemotePrivateEndpointConnectionARMResource", - type: { - name: "Composite", - className: "RemotePrivateEndpointConnectionARMResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - xmlName: "properties.provisioningState", - type: { - name: "String" - } - }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", - xmlName: "properties.privateEndpoint", - type: { - name: "Composite", - className: "ArmIdWrapper" - } + name: "String", + }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", - xmlName: "properties.privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkConnectionState" - } + }, + }, +}; + +export const RemotePrivateEndpointConnectionARMResource: coreClient.CompositeMapper = + { + serializedName: "RemotePrivateEndpointConnectionARMResource", + type: { + name: "Composite", + className: "RemotePrivateEndpointConnectionARMResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + xmlName: "properties.provisioningState", + type: { + name: "String", + }, + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + xmlName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "ArmIdWrapper", + }, + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + xmlName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkConnectionState", + }, + }, + ipAddresses: { + serializedName: "properties.ipAddresses", + xmlName: "properties.ipAddresses", + xmlElementName: + "RemotePrivateEndpointConnectionARMResourcePropertiesIpAddressesItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, - ipAddresses: { - serializedName: "properties.ipAddresses", - xmlName: "properties.ipAddresses", - xmlElementName: - "RemotePrivateEndpointConnectionARMResourcePropertiesIpAddressesItem", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const PrivateLinkConnectionApprovalRequestResource: coreClient.CompositeMapper = { - serializedName: "PrivateLinkConnectionApprovalRequestResource", - type: { - name: "Composite", - className: "PrivateLinkConnectionApprovalRequestResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", - xmlName: "properties.privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkConnectionState" - } - } - } - } -}; + }, + }; export const AppServicePlanPatchResource: coreClient.CompositeMapper = { serializedName: "AppServicePlanPatchResource", @@ -18394,8 +18849,8 @@ export const AppServicePlanPatchResource: coreClient.CompositeMapper = { serializedName: "properties.workerTierName", xmlName: "properties.workerTierName", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "properties.status", @@ -18403,145 +18858,145 @@ export const AppServicePlanPatchResource: coreClient.CompositeMapper = { xmlName: "properties.status", type: { name: "Enum", - allowedValues: ["Ready", "Pending", "Creating"] - } + allowedValues: ["Ready", "Pending", "Creating"], + }, }, subscription: { serializedName: "properties.subscription", readOnly: true, xmlName: "properties.subscription", type: { - name: "String" - } + name: "String", + }, }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", xmlName: "properties.hostingEnvironmentProfile", type: { name: "Composite", - className: "HostingEnvironmentProfile" - } + className: "HostingEnvironmentProfile", + }, }, maximumNumberOfWorkers: { serializedName: "properties.maximumNumberOfWorkers", readOnly: true, xmlName: "properties.maximumNumberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, numberOfWorkers: { serializedName: "properties.numberOfWorkers", readOnly: true, xmlName: "properties.numberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, geoRegion: { serializedName: "properties.geoRegion", readOnly: true, xmlName: "properties.geoRegion", type: { - name: "String" - } + name: "String", + }, }, perSiteScaling: { defaultValue: false, serializedName: "properties.perSiteScaling", xmlName: "properties.perSiteScaling", type: { - name: "Boolean" - } + name: "Boolean", + }, }, elasticScaleEnabled: { serializedName: "properties.elasticScaleEnabled", xmlName: "properties.elasticScaleEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, maximumElasticWorkerCount: { serializedName: "properties.maximumElasticWorkerCount", xmlName: "properties.maximumElasticWorkerCount", type: { - name: "Number" - } + name: "Number", + }, }, numberOfSites: { serializedName: "properties.numberOfSites", readOnly: true, xmlName: "properties.numberOfSites", type: { - name: "Number" - } + name: "Number", + }, }, isSpot: { serializedName: "properties.isSpot", xmlName: "properties.isSpot", type: { - name: "Boolean" - } + name: "Boolean", + }, }, spotExpirationTime: { serializedName: "properties.spotExpirationTime", xmlName: "properties.spotExpirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, freeOfferExpirationTime: { serializedName: "properties.freeOfferExpirationTime", xmlName: "properties.freeOfferExpirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, resourceGroup: { serializedName: "properties.resourceGroup", readOnly: true, xmlName: "properties.resourceGroup", type: { - name: "String" - } + name: "String", + }, }, reserved: { defaultValue: false, serializedName: "properties.reserved", xmlName: "properties.reserved", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isXenon: { defaultValue: false, serializedName: "properties.isXenon", xmlName: "properties.isXenon", type: { - name: "Boolean" - } + name: "Boolean", + }, }, hyperV: { defaultValue: false, serializedName: "properties.hyperV", xmlName: "properties.hyperV", type: { - name: "Boolean" - } + name: "Boolean", + }, }, targetWorkerCount: { serializedName: "properties.targetWorkerCount", xmlName: "properties.targetWorkerCount", type: { - name: "Number" - } + name: "Number", + }, }, targetWorkerSizeId: { serializedName: "properties.targetWorkerSizeId", xmlName: "properties.targetWorkerSizeId", type: { - name: "Number" - } + name: "Number", + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -18554,28 +19009,28 @@ export const AppServicePlanPatchResource: coreClient.CompositeMapper = { "Failed", "Canceled", "InProgress", - "Deleting" - ] - } + "Deleting", + ], + }, }, kubeEnvironmentProfile: { serializedName: "properties.kubeEnvironmentProfile", xmlName: "properties.kubeEnvironmentProfile", type: { name: "Composite", - className: "KubeEnvironmentProfile" - } + className: "KubeEnvironmentProfile", + }, }, zoneRedundant: { defaultValue: false, serializedName: "properties.zoneRedundant", xmlName: "properties.zoneRedundant", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const HybridConnection: coreClient.CompositeMapper = { @@ -18589,60 +19044,60 @@ export const HybridConnection: coreClient.CompositeMapper = { serializedName: "properties.serviceBusNamespace", xmlName: "properties.serviceBusNamespace", type: { - name: "String" - } + name: "String", + }, }, relayName: { serializedName: "properties.relayName", xmlName: "properties.relayName", type: { - name: "String" - } + name: "String", + }, }, relayArmUri: { serializedName: "properties.relayArmUri", xmlName: "properties.relayArmUri", type: { - name: "String" - } + name: "String", + }, }, hostname: { serializedName: "properties.hostname", xmlName: "properties.hostname", type: { - name: "String" - } + name: "String", + }, }, port: { serializedName: "properties.port", xmlName: "properties.port", type: { - name: "Number" - } + name: "Number", + }, }, sendKeyName: { serializedName: "properties.sendKeyName", xmlName: "properties.sendKeyName", type: { - name: "String" - } + name: "String", + }, }, sendKeyValue: { serializedName: "properties.sendKeyValue", xmlName: "properties.sendKeyValue", type: { - name: "String" - } + name: "String", + }, }, serviceBusSuffix: { serializedName: "properties.serviceBusSuffix", xmlName: "properties.serviceBusSuffix", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HybridConnectionKey: coreClient.CompositeMapper = { @@ -18657,19 +19112,19 @@ export const HybridConnectionKey: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.sendKeyName", type: { - name: "String" - } + name: "String", + }, }, sendKeyValue: { serializedName: "properties.sendKeyValue", readOnly: true, xmlName: "properties.sendKeyValue", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const HybridConnectionLimits: coreClient.CompositeMapper = { @@ -18684,19 +19139,19 @@ export const HybridConnectionLimits: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.current", type: { - name: "Number" - } + name: "Number", + }, }, maximum: { serializedName: "properties.maximum", readOnly: true, xmlName: "properties.maximum", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const VnetRoute: coreClient.CompositeMapper = { @@ -18710,25 +19165,25 @@ export const VnetRoute: coreClient.CompositeMapper = { serializedName: "properties.startAddress", xmlName: "properties.startAddress", type: { - name: "String" - } + name: "String", + }, }, endAddress: { serializedName: "properties.endAddress", xmlName: "properties.endAddress", type: { - name: "String" - } + name: "String", + }, }, routeType: { serializedName: "properties.routeType", xmlName: "properties.routeType", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VnetInfoResource: coreClient.CompositeMapper = { @@ -18742,23 +19197,23 @@ export const VnetInfoResource: coreClient.CompositeMapper = { serializedName: "properties.vnetResourceId", xmlName: "properties.vnetResourceId", type: { - name: "String" - } + name: "String", + }, }, certThumbprint: { serializedName: "properties.certThumbprint", readOnly: true, xmlName: "properties.certThumbprint", type: { - name: "String" - } + name: "String", + }, }, certBlob: { serializedName: "properties.certBlob", xmlName: "properties.certBlob", type: { - name: "String" - } + name: "String", + }, }, routes: { serializedName: "properties.routes", @@ -18770,35 +19225,35 @@ export const VnetInfoResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VnetRoute" - } - } - } + className: "VnetRoute", + }, + }, + }, }, resyncRequired: { serializedName: "properties.resyncRequired", readOnly: true, xmlName: "properties.resyncRequired", type: { - name: "Boolean" - } + name: "Boolean", + }, }, dnsServers: { serializedName: "properties.dnsServers", xmlName: "properties.dnsServers", type: { - name: "String" - } + name: "String", + }, }, isSwift: { serializedName: "properties.isSwift", xmlName: "properties.isSwift", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const VnetGateway: coreClient.CompositeMapper = { @@ -18812,18 +19267,18 @@ export const VnetGateway: coreClient.CompositeMapper = { serializedName: "properties.vnetName", xmlName: "properties.vnetName", type: { - name: "String" - } + name: "String", + }, }, vpnPackageUri: { serializedName: "properties.vpnPackageUri", xmlName: "properties.vpnPackageUri", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CertificatePatchResource: coreClient.CompositeMapper = { @@ -18837,24 +19292,24 @@ export const CertificatePatchResource: coreClient.CompositeMapper = { serializedName: "properties.password", xmlName: "properties.password", type: { - name: "String" - } + name: "String", + }, }, friendlyName: { serializedName: "properties.friendlyName", readOnly: true, xmlName: "properties.friendlyName", type: { - name: "String" - } + name: "String", + }, }, subjectName: { serializedName: "properties.subjectName", readOnly: true, xmlName: "properties.subjectName", type: { - name: "String" - } + name: "String", + }, }, hostNames: { serializedName: "properties.hostNames", @@ -18864,111 +19319,111 @@ export const CertificatePatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, pfxBlob: { serializedName: "properties.pfxBlob", xmlName: "properties.pfxBlob", type: { - name: "ByteArray" - } + name: "ByteArray", + }, }, siteName: { serializedName: "properties.siteName", readOnly: true, xmlName: "properties.siteName", type: { - name: "String" - } + name: "String", + }, }, selfLink: { serializedName: "properties.selfLink", readOnly: true, xmlName: "properties.selfLink", type: { - name: "String" - } + name: "String", + }, }, issuer: { serializedName: "properties.issuer", readOnly: true, xmlName: "properties.issuer", type: { - name: "String" - } + name: "String", + }, }, issueDate: { serializedName: "properties.issueDate", readOnly: true, xmlName: "properties.issueDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, expirationDate: { serializedName: "properties.expirationDate", readOnly: true, xmlName: "properties.expirationDate", type: { - name: "DateTime" - } + name: "DateTime", + }, }, thumbprint: { serializedName: "properties.thumbprint", readOnly: true, xmlName: "properties.thumbprint", type: { - name: "String" - } + name: "String", + }, }, valid: { serializedName: "properties.valid", readOnly: true, xmlName: "properties.valid", type: { - name: "Boolean" - } + name: "Boolean", + }, }, cerBlob: { serializedName: "properties.cerBlob", readOnly: true, xmlName: "properties.cerBlob", type: { - name: "ByteArray" - } + name: "ByteArray", + }, }, publicKeyHash: { serializedName: "properties.publicKeyHash", readOnly: true, xmlName: "properties.publicKeyHash", type: { - name: "String" - } + name: "String", + }, }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", xmlName: "properties.hostingEnvironmentProfile", type: { name: "Composite", - className: "HostingEnvironmentProfile" - } + className: "HostingEnvironmentProfile", + }, }, keyVaultId: { serializedName: "properties.keyVaultId", xmlName: "properties.keyVaultId", type: { - name: "String" - } + name: "String", + }, }, keyVaultSecretName: { serializedName: "properties.keyVaultSecretName", xmlName: "properties.keyVaultSecretName", type: { - name: "String" - } + name: "String", + }, }, keyVaultSecretStatus: { serializedName: "properties.keyVaultSecretStatus", @@ -18987,33 +19442,33 @@ export const CertificatePatchResource: coreClient.CompositeMapper = { "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", - "Unknown" - ] - } + "Unknown", + ], + }, }, serverFarmId: { serializedName: "properties.serverFarmId", xmlName: "properties.serverFarmId", type: { - name: "String" - } + name: "String", + }, }, canonicalName: { serializedName: "properties.canonicalName", xmlName: "properties.canonicalName", type: { - name: "String" - } + name: "String", + }, }, domainValidationMethod: { serializedName: "properties.domainValidationMethod", xmlName: "properties.domainValidationMethod", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DeletedSite: coreClient.CompositeMapper = { @@ -19028,67 +19483,67 @@ export const DeletedSite: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.deletedSiteId", type: { - name: "Number" - } + name: "Number", + }, }, deletedTimestamp: { serializedName: "properties.deletedTimestamp", readOnly: true, xmlName: "properties.deletedTimestamp", type: { - name: "String" - } + name: "String", + }, }, subscription: { serializedName: "properties.subscription", readOnly: true, xmlName: "properties.subscription", type: { - name: "String" - } + name: "String", + }, }, resourceGroup: { serializedName: "properties.resourceGroup", readOnly: true, xmlName: "properties.resourceGroup", type: { - name: "String" - } + name: "String", + }, }, deletedSiteName: { serializedName: "properties.deletedSiteName", readOnly: true, xmlName: "properties.deletedSiteName", type: { - name: "String" - } + name: "String", + }, }, slot: { serializedName: "properties.slot", readOnly: true, xmlName: "properties.slot", type: { - name: "String" - } + name: "String", + }, }, kindPropertiesKind: { serializedName: "properties.kind", readOnly: true, xmlName: "properties.kind", type: { - name: "String" - } + name: "String", + }, }, geoRegionName: { serializedName: "properties.geoRegionName", readOnly: true, xmlName: "properties.geoRegionName", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DiagnosticCategory: coreClient.CompositeMapper = { @@ -19103,11 +19558,11 @@ export const DiagnosticCategory: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AnalysisDefinition: coreClient.CompositeMapper = { @@ -19122,11 +19577,11 @@ export const AnalysisDefinition: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DiagnosticAnalysis: coreClient.CompositeMapper = { @@ -19140,15 +19595,15 @@ export const DiagnosticAnalysis: coreClient.CompositeMapper = { serializedName: "properties.startTime", xmlName: "properties.startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.endTime", xmlName: "properties.endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, abnormalTimePeriods: { serializedName: "properties.abnormalTimePeriods", @@ -19159,10 +19614,10 @@ export const DiagnosticAnalysis: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AbnormalTimePeriod" - } - } - } + className: "AbnormalTimePeriod", + }, + }, + }, }, payload: { serializedName: "properties.payload", @@ -19173,10 +19628,10 @@ export const DiagnosticAnalysis: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AnalysisData" - } - } - } + className: "AnalysisData", + }, + }, + }, }, nonCorrelatedDetectors: { serializedName: "properties.nonCorrelatedDetectors", @@ -19187,13 +19642,13 @@ export const DiagnosticAnalysis: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DetectorDefinition" - } - } - } - } - } - } + className: "DetectorDefinition", + }, + }, + }, + }, + }, + }, }; export const DetectorDefinitionResource: coreClient.CompositeMapper = { @@ -19208,35 +19663,35 @@ export const DetectorDefinitionResource: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", readOnly: true, xmlName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, rank: { serializedName: "properties.rank", readOnly: true, xmlName: "properties.rank", type: { - name: "Number" - } + name: "Number", + }, }, isEnabled: { serializedName: "properties.isEnabled", readOnly: true, xmlName: "properties.isEnabled", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const DiagnosticDetectorResponse: coreClient.CompositeMapper = { @@ -19250,30 +19705,30 @@ export const DiagnosticDetectorResponse: coreClient.CompositeMapper = { serializedName: "properties.startTime", xmlName: "properties.startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.endTime", xmlName: "properties.endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, issueDetected: { serializedName: "properties.issueDetected", xmlName: "properties.issueDetected", type: { - name: "Boolean" - } + name: "Boolean", + }, }, detectorDefinition: { serializedName: "properties.detectorDefinition", xmlName: "properties.detectorDefinition", type: { name: "Composite", - className: "DetectorDefinition" - } + className: "DetectorDefinition", + }, }, metrics: { serializedName: "properties.metrics", @@ -19284,10 +19739,10 @@ export const DiagnosticDetectorResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DiagnosticMetricSet" - } - } - } + className: "DiagnosticMetricSet", + }, + }, + }, }, abnormalTimePeriods: { serializedName: "properties.abnormalTimePeriods", @@ -19298,10 +19753,10 @@ export const DiagnosticDetectorResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DetectorAbnormalTimePeriod" - } - } - } + className: "DetectorAbnormalTimePeriod", + }, + }, + }, }, data: { serializedName: "properties.data", @@ -19315,23 +19770,23 @@ export const DiagnosticDetectorResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } - } - } + className: "NameValuePair", + }, + }, + }, + }, + }, }, responseMetaData: { serializedName: "properties.responseMetaData", xmlName: "properties.responseMetaData", type: { name: "Composite", - className: "ResponseMetaData" - } - } - } - } + className: "ResponseMetaData", + }, + }, + }, + }, }; export const Snapshot: coreClient.CompositeMapper = { @@ -19346,11 +19801,11 @@ export const Snapshot: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.time", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const KubeEnvironmentPatchResource: coreClient.CompositeMapper = { @@ -19376,73 +19831,73 @@ export const KubeEnvironmentPatchResource: coreClient.CompositeMapper = { "InfrastructureSetupComplete", "ScheduledForDelete", "UpgradeRequested", - "UpgradeFailed" - ] - } + "UpgradeFailed", + ], + }, }, deploymentErrors: { serializedName: "properties.deploymentErrors", readOnly: true, xmlName: "properties.deploymentErrors", type: { - name: "String" - } + name: "String", + }, }, internalLoadBalancerEnabled: { serializedName: "properties.internalLoadBalancerEnabled", xmlName: "properties.internalLoadBalancerEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, defaultDomain: { serializedName: "properties.defaultDomain", readOnly: true, xmlName: "properties.defaultDomain", type: { - name: "String" - } + name: "String", + }, }, staticIp: { serializedName: "properties.staticIp", xmlName: "properties.staticIp", type: { - name: "String" - } + name: "String", + }, }, arcConfiguration: { serializedName: "properties.arcConfiguration", xmlName: "properties.arcConfiguration", type: { name: "Composite", - className: "ArcConfiguration" - } + className: "ArcConfiguration", + }, }, appLogsConfiguration: { serializedName: "properties.appLogsConfiguration", xmlName: "properties.appLogsConfiguration", type: { name: "Composite", - className: "AppLogsConfiguration" - } + className: "AppLogsConfiguration", + }, }, containerAppsConfiguration: { serializedName: "properties.containerAppsConfiguration", xmlName: "properties.containerAppsConfiguration", type: { name: "Composite", - className: "ContainerAppsConfiguration" - } + className: "ContainerAppsConfiguration", + }, }, aksResourceID: { serializedName: "properties.aksResourceID", xmlName: "properties.aksResourceID", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ApplicationStackResource: coreClient.CompositeMapper = { @@ -19456,22 +19911,22 @@ export const ApplicationStackResource: coreClient.CompositeMapper = { serializedName: "properties.name", xmlName: "properties.name", type: { - name: "String" - } + name: "String", + }, }, display: { serializedName: "properties.display", xmlName: "properties.display", type: { - name: "String" - } + name: "String", + }, }, dependency: { serializedName: "properties.dependency", xmlName: "properties.dependency", type: { - name: "String" - } + name: "String", + }, }, majorVersions: { serializedName: "properties.majorVersions", @@ -19482,10 +19937,10 @@ export const ApplicationStackResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StackMajorVersion" - } - } - } + className: "StackMajorVersion", + }, + }, + }, }, frameworks: { serializedName: "properties.frameworks", @@ -19496,10 +19951,10 @@ export const ApplicationStackResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationStack" - } - } - } + className: "ApplicationStack", + }, + }, + }, }, isDeprecated: { serializedName: "properties.isDeprecated", @@ -19510,13 +19965,13 @@ export const ApplicationStackResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationStack" - } - } - } - } - } - } + className: "ApplicationStack", + }, + }, + }, + }, + }, + }, }; export const FunctionAppStack: coreClient.CompositeMapper = { @@ -19531,24 +19986,24 @@ export const FunctionAppStack: coreClient.CompositeMapper = { readOnly: true, xmlName: "location", type: { - name: "String" - } + name: "String", + }, }, displayText: { serializedName: "properties.displayText", readOnly: true, xmlName: "properties.displayText", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "properties.value", readOnly: true, xmlName: "properties.value", type: { - name: "String" - } + name: "String", + }, }, majorVersions: { serializedName: "properties.majorVersions", @@ -19560,10 +20015,10 @@ export const FunctionAppStack: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FunctionAppMajorVersion" - } - } - } + className: "FunctionAppMajorVersion", + }, + }, + }, }, preferredOs: { serializedName: "properties.preferredOs", @@ -19571,11 +20026,11 @@ export const FunctionAppStack: coreClient.CompositeMapper = { xmlName: "properties.preferredOs", type: { name: "Enum", - allowedValues: ["Windows", "Linux"] - } - } - } - } + allowedValues: ["Windows", "Linux"], + }, + }, + }, + }, }; export const WebAppStack: coreClient.CompositeMapper = { @@ -19590,24 +20045,24 @@ export const WebAppStack: coreClient.CompositeMapper = { readOnly: true, xmlName: "location", type: { - name: "String" - } + name: "String", + }, }, displayText: { serializedName: "properties.displayText", readOnly: true, xmlName: "properties.displayText", type: { - name: "String" - } + name: "String", + }, }, value: { serializedName: "properties.value", readOnly: true, xmlName: "properties.value", type: { - name: "String" - } + name: "String", + }, }, majorVersions: { serializedName: "properties.majorVersions", @@ -19619,10 +20074,10 @@ export const WebAppStack: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "WebAppMajorVersion" - } - } - } + className: "WebAppMajorVersion", + }, + }, + }, }, preferredOs: { serializedName: "properties.preferredOs", @@ -19630,11 +20085,11 @@ export const WebAppStack: coreClient.CompositeMapper = { xmlName: "properties.preferredOs", type: { name: "Enum", - allowedValues: ["Windows", "Linux"] - } - } - } - } + allowedValues: ["Windows", "Linux"], + }, + }, + }, + }, }; export const Recommendation: coreClient.CompositeMapper = { @@ -19648,50 +20103,50 @@ export const Recommendation: coreClient.CompositeMapper = { serializedName: "properties.creationTime", xmlName: "properties.creationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, recommendationId: { serializedName: "properties.recommendationId", xmlName: "properties.recommendationId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, resourceId: { serializedName: "properties.resourceId", xmlName: "properties.resourceId", type: { - name: "String" - } + name: "String", + }, }, resourceScope: { serializedName: "properties.resourceScope", xmlName: "properties.resourceScope", type: { - name: "String" - } + name: "String", + }, }, ruleName: { serializedName: "properties.ruleName", xmlName: "properties.ruleName", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", xmlName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "properties.message", xmlName: "properties.message", type: { - name: "String" - } + name: "String", + }, }, level: { serializedName: "properties.level", @@ -19702,17 +20157,17 @@ export const Recommendation: coreClient.CompositeMapper = { "Critical", "Warning", "Information", - "NonUrgentSuggestion" - ] - } + "NonUrgentSuggestion", + ], + }, }, channels: { serializedName: "properties.channels", xmlName: "properties.channels", type: { name: "Enum", - allowedValues: ["Notification", "Api", "Email", "Webhook", "All"] - } + allowedValues: ["Notification", "Api", "Email", "Webhook", "All"], + }, }, categoryTags: { serializedName: "properties.categoryTags", @@ -19723,24 +20178,24 @@ export const Recommendation: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, actionName: { serializedName: "properties.actionName", xmlName: "properties.actionName", type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", xmlName: "properties.enabled", type: { - name: "Number" - } + name: "Number", + }, }, states: { serializedName: "properties.states", @@ -19750,83 +20205,83 @@ export const Recommendation: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, startTime: { serializedName: "properties.startTime", xmlName: "properties.startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.endTime", xmlName: "properties.endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, nextNotificationTime: { serializedName: "properties.nextNotificationTime", xmlName: "properties.nextNotificationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, notificationExpirationTime: { serializedName: "properties.notificationExpirationTime", xmlName: "properties.notificationExpirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, notifiedTime: { serializedName: "properties.notifiedTime", xmlName: "properties.notifiedTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, score: { serializedName: "properties.score", xmlName: "properties.score", type: { - name: "Number" - } + name: "Number", + }, }, isDynamic: { serializedName: "properties.isDynamic", xmlName: "properties.isDynamic", type: { - name: "Boolean" - } + name: "Boolean", + }, }, extensionName: { serializedName: "properties.extensionName", xmlName: "properties.extensionName", type: { - name: "String" - } + name: "String", + }, }, bladeName: { serializedName: "properties.bladeName", xmlName: "properties.bladeName", type: { - name: "String" - } + name: "String", + }, }, forwardLink: { serializedName: "properties.forwardLink", xmlName: "properties.forwardLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RecommendationRule: coreClient.CompositeMapper = { @@ -19840,43 +20295,43 @@ export const RecommendationRule: coreClient.CompositeMapper = { serializedName: "properties.recommendationName", xmlName: "properties.recommendationName", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", xmlName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, message: { serializedName: "properties.message", xmlName: "properties.message", type: { - name: "String" - } + name: "String", + }, }, recommendationId: { serializedName: "properties.recommendationId", xmlName: "properties.recommendationId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, description: { serializedName: "properties.description", xmlName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, actionName: { serializedName: "properties.actionName", xmlName: "properties.actionName", type: { - name: "String" - } + name: "String", + }, }, level: { serializedName: "properties.level", @@ -19887,17 +20342,17 @@ export const RecommendationRule: coreClient.CompositeMapper = { "Critical", "Warning", "Information", - "NonUrgentSuggestion" - ] - } + "NonUrgentSuggestion", + ], + }, }, channels: { serializedName: "properties.channels", xmlName: "properties.channels", type: { name: "Enum", - allowedValues: ["Notification", "Api", "Email", "Webhook", "All"] - } + allowedValues: ["Notification", "Api", "Email", "Webhook", "All"], + }, }, categoryTags: { serializedName: "properties.categoryTags", @@ -19908,41 +20363,41 @@ export const RecommendationRule: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, isDynamic: { serializedName: "properties.isDynamic", xmlName: "properties.isDynamic", type: { - name: "Boolean" - } + name: "Boolean", + }, }, extensionName: { serializedName: "properties.extensionName", xmlName: "properties.extensionName", type: { - name: "String" - } + name: "String", + }, }, bladeName: { serializedName: "properties.bladeName", xmlName: "properties.bladeName", type: { - name: "String" - } + name: "String", + }, }, forwardLink: { serializedName: "properties.forwardLink", xmlName: "properties.forwardLink", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ResourceHealthMetadata: coreClient.CompositeMapper = { @@ -19956,18 +20411,18 @@ export const ResourceHealthMetadata: coreClient.CompositeMapper = { serializedName: "properties.category", xmlName: "properties.category", type: { - name: "String" - } + name: "String", + }, }, signalAvailability: { serializedName: "properties.signalAvailability", xmlName: "properties.signalAvailability", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const User: coreClient.CompositeMapper = { @@ -19981,39 +20436,39 @@ export const User: coreClient.CompositeMapper = { serializedName: "properties.publishingUserName", xmlName: "properties.publishingUserName", type: { - name: "String" - } + name: "String", + }, }, publishingPassword: { serializedName: "properties.publishingPassword", xmlName: "properties.publishingPassword", type: { - name: "String" - } + name: "String", + }, }, publishingPasswordHash: { serializedName: "properties.publishingPasswordHash", xmlName: "properties.publishingPasswordHash", type: { - name: "String" - } + name: "String", + }, }, publishingPasswordHashSalt: { serializedName: "properties.publishingPasswordHashSalt", xmlName: "properties.publishingPasswordHashSalt", type: { - name: "String" - } + name: "String", + }, }, scmUri: { serializedName: "properties.scmUri", xmlName: "properties.scmUri", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SourceControl: coreClient.CompositeMapper = { @@ -20027,32 +20482,32 @@ export const SourceControl: coreClient.CompositeMapper = { serializedName: "properties.token", xmlName: "properties.token", type: { - name: "String" - } + name: "String", + }, }, tokenSecret: { serializedName: "properties.tokenSecret", xmlName: "properties.tokenSecret", type: { - name: "String" - } + name: "String", + }, }, refreshToken: { serializedName: "properties.refreshToken", xmlName: "properties.refreshToken", type: { - name: "String" - } + name: "String", + }, }, expirationTime: { serializedName: "properties.expirationTime", xmlName: "properties.expirationTime", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const BillingMeter: coreClient.CompositeMapper = { @@ -20066,53 +20521,53 @@ export const BillingMeter: coreClient.CompositeMapper = { serializedName: "properties.meterId", xmlName: "properties.meterId", type: { - name: "String" - } + name: "String", + }, }, billingLocation: { serializedName: "properties.billingLocation", xmlName: "properties.billingLocation", type: { - name: "String" - } + name: "String", + }, }, shortName: { serializedName: "properties.shortName", xmlName: "properties.shortName", type: { - name: "String" - } + name: "String", + }, }, friendlyName: { serializedName: "properties.friendlyName", xmlName: "properties.friendlyName", type: { - name: "String" - } + name: "String", + }, }, resourceType: { serializedName: "properties.resourceType", xmlName: "properties.resourceType", type: { - name: "String" - } + name: "String", + }, }, osType: { serializedName: "properties.osType", xmlName: "properties.osType", type: { - name: "String" - } + name: "String", + }, }, multiplier: { serializedName: "properties.multiplier", xmlName: "properties.multiplier", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const Identifier: coreClient.CompositeMapper = { @@ -20126,11 +20581,11 @@ export const Identifier: coreClient.CompositeMapper = { serializedName: "properties.id", xmlName: "properties.id", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CustomHostnameSites: coreClient.CompositeMapper = { @@ -20144,15 +20599,15 @@ export const CustomHostnameSites: coreClient.CompositeMapper = { serializedName: "properties.customHostname", xmlName: "properties.customHostname", type: { - name: "String" - } + name: "String", + }, }, region: { serializedName: "properties.region", xmlName: "properties.region", type: { - name: "String" - } + name: "String", + }, }, siteResourceIds: { serializedName: "properties.siteResourceIds", @@ -20163,13 +20618,13 @@ export const CustomHostnameSites: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Identifier" - } - } - } - } - } - } + className: "Identifier", + }, + }, + }, + }, + }, + }, }; export const GeoRegion: coreClient.CompositeMapper = { @@ -20184,27 +20639,27 @@ export const GeoRegion: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", readOnly: true, xmlName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, orgDomain: { serializedName: "properties.orgDomain", readOnly: true, xmlName: "properties.orgDomain", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AseRegion: coreClient.CompositeMapper = { @@ -20219,32 +20674,32 @@ export const AseRegion: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, standard: { serializedName: "properties.standard", readOnly: true, xmlName: "properties.standard", type: { - name: "Boolean" - } + name: "Boolean", + }, }, dedicatedHost: { serializedName: "properties.dedicatedHost", readOnly: true, xmlName: "properties.dedicatedHost", type: { - name: "Boolean" - } + name: "Boolean", + }, }, zoneRedundant: { serializedName: "properties.zoneRedundant", readOnly: true, xmlName: "properties.zoneRedundant", type: { - name: "Boolean" - } + name: "Boolean", + }, }, availableSku: { serializedName: "properties.availableSku", @@ -20254,10 +20709,10 @@ export const AseRegion: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, availableOS: { serializedName: "properties.availableOS", @@ -20267,13 +20722,13 @@ export const AseRegion: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const PremierAddOnOffer: coreClient.CompositeMapper = { @@ -20287,36 +20742,36 @@ export const PremierAddOnOffer: coreClient.CompositeMapper = { serializedName: "properties.sku", xmlName: "properties.sku", type: { - name: "String" - } + name: "String", + }, }, product: { serializedName: "properties.product", xmlName: "properties.product", type: { - name: "String" - } + name: "String", + }, }, vendor: { serializedName: "properties.vendor", xmlName: "properties.vendor", type: { - name: "String" - } + name: "String", + }, }, promoCodeRequired: { serializedName: "properties.promoCodeRequired", xmlName: "properties.promoCodeRequired", type: { - name: "Boolean" - } + name: "Boolean", + }, }, quota: { serializedName: "properties.quota", xmlName: "properties.quota", type: { - name: "Number" - } + name: "Number", + }, }, webHostingPlanRestrictions: { serializedName: "properties.webHostingPlanRestrictions", @@ -20329,40 +20784,40 @@ export const PremierAddOnOffer: coreClient.CompositeMapper = { "Shared", "Basic", "Standard", - "Premium" - ] - } + "Premium", + ], + }, }, privacyPolicyUrl: { serializedName: "properties.privacyPolicyUrl", xmlName: "properties.privacyPolicyUrl", type: { - name: "String" - } + name: "String", + }, }, legalTermsUrl: { serializedName: "properties.legalTermsUrl", xmlName: "properties.legalTermsUrl", type: { - name: "String" - } + name: "String", + }, }, marketplacePublisher: { serializedName: "properties.marketplacePublisher", xmlName: "properties.marketplacePublisher", type: { - name: "String" - } + name: "String", + }, }, marketplaceOffer: { serializedName: "properties.marketplaceOffer", xmlName: "properties.marketplaceOffer", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VnetParameters: coreClient.CompositeMapper = { @@ -20376,32 +20831,32 @@ export const VnetParameters: coreClient.CompositeMapper = { serializedName: "properties.vnetResourceGroup", xmlName: "properties.vnetResourceGroup", type: { - name: "String" - } + name: "String", + }, }, vnetName: { serializedName: "properties.vnetName", xmlName: "properties.vnetName", type: { - name: "String" - } + name: "String", + }, }, vnetSubnetName: { serializedName: "properties.vnetSubnetName", xmlName: "properties.vnetSubnetName", type: { - name: "String" - } + name: "String", + }, }, subnetResourceId: { serializedName: "properties.subnetResourceId", xmlName: "properties.subnetResourceId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VnetValidationTestFailure: coreClient.CompositeMapper = { @@ -20415,18 +20870,18 @@ export const VnetValidationTestFailure: coreClient.CompositeMapper = { serializedName: "properties.testName", xmlName: "properties.testName", type: { - name: "String" - } + name: "String", + }, }, details: { serializedName: "properties.details", xmlName: "properties.details", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const VnetValidationFailureDetails: coreClient.CompositeMapper = { @@ -20440,15 +20895,15 @@ export const VnetValidationFailureDetails: coreClient.CompositeMapper = { serializedName: "properties.message", xmlName: "properties.message", type: { - name: "String" - } + name: "String", + }, }, failed: { serializedName: "properties.failed", xmlName: "properties.failed", type: { - name: "Boolean" - } + name: "Boolean", + }, }, failedTests: { serializedName: "properties.failedTests", @@ -20459,10 +20914,10 @@ export const VnetValidationFailureDetails: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VnetValidationTestFailure" - } - } - } + className: "VnetValidationTestFailure", + }, + }, + }, }, warnings: { serializedName: "properties.warnings", @@ -20473,13 +20928,13 @@ export const VnetValidationFailureDetails: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VnetValidationTestFailure" - } - } - } - } - } - } + className: "VnetValidationTestFailure", + }, + }, + }, + }, + }, + }, }; export const StaticSitesWorkflowPreviewRequest: coreClient.CompositeMapper = { @@ -20493,26 +20948,26 @@ export const StaticSitesWorkflowPreviewRequest: coreClient.CompositeMapper = { serializedName: "properties.repositoryUrl", xmlName: "properties.repositoryUrl", type: { - name: "String" - } + name: "String", + }, }, branch: { serializedName: "properties.branch", xmlName: "properties.branch", type: { - name: "String" - } + name: "String", + }, }, buildProperties: { serializedName: "properties.buildProperties", xmlName: "properties.buildProperties", type: { name: "Composite", - className: "StaticSiteBuildProperties" - } - } - } - } + className: "StaticSiteBuildProperties", + }, + }, + }, + }, }; export const StaticSitesWorkflowPreview: coreClient.CompositeMapper = { @@ -20527,19 +20982,19 @@ export const StaticSitesWorkflowPreview: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.path", type: { - name: "String" - } + name: "String", + }, }, contents: { serializedName: "properties.contents", readOnly: true, xmlName: "properties.contents", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RemotePrivateEndpointConnection: coreClient.CompositeMapper = { @@ -20554,24 +21009,24 @@ export const RemotePrivateEndpointConnection: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.provisioningState", type: { - name: "String" - } + name: "String", + }, }, privateEndpoint: { serializedName: "properties.privateEndpoint", xmlName: "properties.privateEndpoint", type: { name: "Composite", - className: "ArmIdWrapper" - } + className: "ArmIdWrapper", + }, }, privateLinkServiceConnectionState: { serializedName: "properties.privateLinkServiceConnectionState", xmlName: "properties.privateLinkServiceConnectionState", type: { name: "Composite", - className: "PrivateLinkConnectionState" - } + className: "PrivateLinkConnectionState", + }, }, ipAddresses: { serializedName: "properties.ipAddresses", @@ -20582,13 +21037,13 @@ export const RemotePrivateEndpointConnection: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const StaticSiteUserProvidedFunctionApp: coreClient.CompositeMapper = { @@ -20602,26 +21057,26 @@ export const StaticSiteUserProvidedFunctionApp: coreClient.CompositeMapper = { serializedName: "properties.functionAppResourceId", xmlName: "properties.functionAppResourceId", type: { - name: "String" - } + name: "String", + }, }, functionAppRegion: { serializedName: "properties.functionAppRegion", xmlName: "properties.functionAppRegion", type: { - name: "String" - } + name: "String", + }, }, createdOn: { serializedName: "properties.createdOn", readOnly: true, xmlName: "properties.createdOn", type: { - name: "DateTime" - } - } - } - } + name: "DateTime", + }, + }, + }, + }, }; export const StaticSitePatchResource: coreClient.CompositeMapper = { @@ -20636,22 +21091,22 @@ export const StaticSitePatchResource: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.defaultHostname", type: { - name: "String" - } + name: "String", + }, }, repositoryUrl: { serializedName: "properties.repositoryUrl", xmlName: "properties.repositoryUrl", type: { - name: "String" - } + name: "String", + }, }, branch: { serializedName: "properties.branch", xmlName: "properties.branch", type: { - name: "String" - } + name: "String", + }, }, customDomains: { serializedName: "properties.customDomains", @@ -20662,25 +21117,25 @@ export const StaticSitePatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, repositoryToken: { serializedName: "properties.repositoryToken", xmlName: "properties.repositoryToken", type: { - name: "String" - } + name: "String", + }, }, buildProperties: { serializedName: "properties.buildProperties", xmlName: "properties.buildProperties", type: { name: "Composite", - className: "StaticSiteBuildProperties" - } + className: "StaticSiteBuildProperties", + }, }, privateEndpointConnections: { serializedName: "properties.privateEndpointConnections", @@ -20694,49 +21149,49 @@ export const StaticSitePatchResource: coreClient.CompositeMapper = { type: { name: "Composite", className: - "ResponseMessageEnvelopeRemotePrivateEndpointConnection" - } - } - } + "ResponseMessageEnvelopeRemotePrivateEndpointConnection", + }, + }, + }, }, stagingEnvironmentPolicy: { serializedName: "properties.stagingEnvironmentPolicy", xmlName: "properties.stagingEnvironmentPolicy", type: { name: "Enum", - allowedValues: ["Enabled", "Disabled"] - } + allowedValues: ["Enabled", "Disabled"], + }, }, allowConfigFileUpdates: { serializedName: "properties.allowConfigFileUpdates", xmlName: "properties.allowConfigFileUpdates", type: { - name: "Boolean" - } + name: "Boolean", + }, }, templateProperties: { serializedName: "properties.templateProperties", xmlName: "properties.templateProperties", type: { name: "Composite", - className: "StaticSiteTemplateOptions" - } + className: "StaticSiteTemplateOptions", + }, }, contentDistributionEndpoint: { serializedName: "properties.contentDistributionEndpoint", readOnly: true, xmlName: "properties.contentDistributionEndpoint", type: { - name: "String" - } + name: "String", + }, }, keyVaultReferenceIdentity: { serializedName: "properties.keyVaultReferenceIdentity", readOnly: true, xmlName: "properties.keyVaultReferenceIdentity", type: { - name: "String" - } + name: "String", + }, }, userProvidedFunctionApps: { serializedName: "properties.userProvidedFunctionApps", @@ -20748,10 +21203,10 @@ export const StaticSitePatchResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteUserProvidedFunctionApp" - } - } - } + className: "StaticSiteUserProvidedFunctionApp", + }, + }, + }, }, linkedBackends: { serializedName: "properties.linkedBackends", @@ -20763,31 +21218,31 @@ export const StaticSitePatchResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteLinkedBackend" - } - } - } + className: "StaticSiteLinkedBackend", + }, + }, + }, }, provider: { serializedName: "properties.provider", xmlName: "properties.provider", type: { - name: "String" - } + name: "String", + }, }, enterpriseGradeCdnStatus: { serializedName: "properties.enterpriseGradeCdnStatus", xmlName: "properties.enterpriseGradeCdnStatus", type: { - name: "String" - } + name: "String", + }, }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", xmlName: "properties.publicNetworkAccess", type: { - name: "String" - } + name: "String", + }, }, databaseConnections: { serializedName: "properties.databaseConnections", @@ -20799,13 +21254,13 @@ export const StaticSitePatchResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseConnectionOverview" - } - } - } - } - } - } + className: "DatabaseConnectionOverview", + }, + }, + }, + }, + }, + }, }; export const StaticSiteUserARMResource: coreClient.CompositeMapper = { @@ -20820,34 +21275,34 @@ export const StaticSiteUserARMResource: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.provider", type: { - name: "String" - } + name: "String", + }, }, userId: { serializedName: "properties.userId", readOnly: true, xmlName: "properties.userId", type: { - name: "String" - } + name: "String", + }, }, displayName: { serializedName: "properties.displayName", readOnly: true, xmlName: "properties.displayName", type: { - name: "String" - } + name: "String", + }, }, roles: { serializedName: "properties.roles", xmlName: "properties.roles", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StaticSiteBuildARMResource: coreClient.CompositeMapper = { @@ -20862,56 +21317,56 @@ export const StaticSiteBuildARMResource: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.buildId", type: { - name: "String" - } + name: "String", + }, }, sourceBranch: { serializedName: "properties.sourceBranch", readOnly: true, xmlName: "properties.sourceBranch", type: { - name: "String" - } + name: "String", + }, }, pullRequestTitle: { serializedName: "properties.pullRequestTitle", readOnly: true, xmlName: "properties.pullRequestTitle", type: { - name: "String" - } + name: "String", + }, }, hostname: { serializedName: "properties.hostname", readOnly: true, xmlName: "properties.hostname", type: { - name: "String" - } + name: "String", + }, }, createdTimeUtc: { serializedName: "properties.createdTimeUtc", readOnly: true, xmlName: "properties.createdTimeUtc", type: { - name: "DateTime" - } + name: "DateTime", + }, }, lastUpdatedOn: { serializedName: "properties.lastUpdatedOn", readOnly: true, xmlName: "properties.lastUpdatedOn", type: { - name: "DateTime" - } + name: "DateTime", + }, }, status: { serializedName: "properties.status", readOnly: true, xmlName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, userProvidedFunctionApps: { serializedName: "properties.userProvidedFunctionApps", @@ -20923,10 +21378,10 @@ export const StaticSiteBuildARMResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteUserProvidedFunctionApp" - } - } - } + className: "StaticSiteUserProvidedFunctionApp", + }, + }, + }, }, linkedBackends: { serializedName: "properties.linkedBackends", @@ -20938,10 +21393,10 @@ export const StaticSiteBuildARMResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteLinkedBackend" - } - } - } + className: "StaticSiteLinkedBackend", + }, + }, + }, }, databaseConnections: { serializedName: "properties.databaseConnections", @@ -20953,13 +21408,13 @@ export const StaticSiteBuildARMResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseConnectionOverview" - } - } - } - } - } - } + className: "DatabaseConnectionOverview", + }, + }, + }, + }, + }, + }, }; export const StringDictionary: coreClient.CompositeMapper = { @@ -20974,11 +21429,11 @@ export const StringDictionary: coreClient.CompositeMapper = { xmlName: "properties", type: { name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } + value: { type: { name: "String" } }, + }, + }, + }, + }, }; export const DatabaseConnection: coreClient.CompositeMapper = { @@ -20992,29 +21447,29 @@ export const DatabaseConnection: coreClient.CompositeMapper = { serializedName: "properties.resourceId", xmlName: "properties.resourceId", type: { - name: "String" - } + name: "String", + }, }, connectionIdentity: { serializedName: "properties.connectionIdentity", xmlName: "properties.connectionIdentity", type: { - name: "String" - } + name: "String", + }, }, connectionString: { serializedName: "properties.connectionString", xmlName: "properties.connectionString", type: { - name: "String" - } + name: "String", + }, }, region: { serializedName: "properties.region", xmlName: "properties.region", type: { - name: "String" - } + name: "String", + }, }, configurationFiles: { serializedName: "properties.configurationFiles", @@ -21026,74 +21481,77 @@ export const DatabaseConnection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "StaticSiteDatabaseConnectionConfigurationFileOverview" - } - } - } - } - } - } -}; - -export const StaticSiteFunctionOverviewARMResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteFunctionOverviewARMResource", - type: { - name: "Composite", - className: "StaticSiteFunctionOverviewARMResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - functionName: { - serializedName: "properties.functionName", - readOnly: true, - xmlName: "properties.functionName", - type: { - name: "String" - } + className: + "StaticSiteDatabaseConnectionConfigurationFileOverview", + }, + }, + }, }, - triggerType: { - serializedName: "properties.triggerType", - readOnly: true, - xmlName: "properties.triggerType", - type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteUserProvidedFunctionAppARMResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteUserProvidedFunctionAppARMResource", - type: { - name: "Composite", - className: "StaticSiteUserProvidedFunctionAppARMResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - functionAppResourceId: { - serializedName: "properties.functionAppResourceId", - xmlName: "properties.functionAppResourceId", - type: { - name: "String" - } + }, + }, +}; + +export const StaticSiteFunctionOverviewARMResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteFunctionOverviewARMResource", + type: { + name: "Composite", + className: "StaticSiteFunctionOverviewARMResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + functionName: { + serializedName: "properties.functionName", + readOnly: true, + xmlName: "properties.functionName", + type: { + name: "String", + }, + }, + triggerType: { + serializedName: "properties.triggerType", + readOnly: true, + xmlName: "properties.triggerType", + type: { + name: "String", + }, + }, }, - functionAppRegion: { - serializedName: "properties.functionAppRegion", - xmlName: "properties.functionAppRegion", - type: { - name: "String" - } + }, + }; + +export const StaticSiteUserProvidedFunctionAppARMResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteUserProvidedFunctionAppARMResource", + type: { + name: "Composite", + className: "StaticSiteUserProvidedFunctionAppARMResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + functionAppResourceId: { + serializedName: "properties.functionAppResourceId", + xmlName: "properties.functionAppResourceId", + type: { + name: "String", + }, + }, + functionAppRegion: { + serializedName: "properties.functionAppRegion", + xmlName: "properties.functionAppRegion", + type: { + name: "String", + }, + }, + createdOn: { + serializedName: "properties.createdOn", + readOnly: true, + xmlName: "properties.createdOn", + type: { + name: "DateTime", + }, + }, }, - createdOn: { - serializedName: "properties.createdOn", - readOnly: true, - xmlName: "properties.createdOn", - type: { - name: "DateTime" - } - } - } - } -}; + }, + }; export const StaticSiteZipDeploymentARMResource: coreClient.CompositeMapper = { serializedName: "StaticSiteZipDeploymentARMResource", @@ -21106,237 +21564,242 @@ export const StaticSiteZipDeploymentARMResource: coreClient.CompositeMapper = { serializedName: "properties.appZipUrl", xmlName: "properties.appZipUrl", type: { - name: "String" - } + name: "String", + }, }, apiZipUrl: { serializedName: "properties.apiZipUrl", xmlName: "properties.apiZipUrl", type: { - name: "String" - } + name: "String", + }, }, deploymentTitle: { serializedName: "properties.deploymentTitle", xmlName: "properties.deploymentTitle", type: { - name: "String" - } + name: "String", + }, }, provider: { serializedName: "properties.provider", xmlName: "properties.provider", type: { - name: "String" - } + name: "String", + }, }, functionLanguage: { serializedName: "properties.functionLanguage", xmlName: "properties.functionLanguage", type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteBasicAuthPropertiesARMResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteBasicAuthPropertiesARMResource", - type: { - name: "Composite", - className: "StaticSiteBasicAuthPropertiesARMResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - password: { - serializedName: "properties.password", - xmlName: "properties.password", - type: { - name: "String" - } - }, - secretUrl: { - serializedName: "properties.secretUrl", - xmlName: "properties.secretUrl", - type: { - name: "String" - } - }, - applicableEnvironmentsMode: { - serializedName: "properties.applicableEnvironmentsMode", - xmlName: "properties.applicableEnvironmentsMode", - type: { - name: "String" - } - }, - environments: { - serializedName: "properties.environments", - xmlName: "properties.environments", - xmlElementName: - "StaticSiteBasicAuthPropertiesARMResourcePropertiesEnvironmentsItem", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - secretState: { - serializedName: "properties.secretState", - readOnly: true, - xmlName: "properties.secretState", - type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteUserInvitationRequestResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteUserInvitationRequestResource", - type: { - name: "Composite", - className: "StaticSiteUserInvitationRequestResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - domain: { - serializedName: "properties.domain", - xmlName: "properties.domain", - type: { - name: "String" - } - }, - provider: { - serializedName: "properties.provider", - xmlName: "properties.provider", - type: { - name: "String" - } - }, - userDetails: { - serializedName: "properties.userDetails", - xmlName: "properties.userDetails", - type: { - name: "String" - } - }, - roles: { - serializedName: "properties.roles", - xmlName: "properties.roles", - type: { - name: "String" - } + name: "String", + }, }, - numHoursToExpiration: { - serializedName: "properties.numHoursToExpiration", - xmlName: "properties.numHoursToExpiration", - type: { - name: "Number" - } - } - } - } -}; - -export const StaticSiteUserInvitationResponseResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteUserInvitationResponseResource", - type: { - name: "Composite", - className: "StaticSiteUserInvitationResponseResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - expiresOn: { - serializedName: "properties.expiresOn", - readOnly: true, - xmlName: "properties.expiresOn", - type: { - name: "DateTime" - } + }, + }, +}; + +export const StaticSiteBasicAuthPropertiesARMResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteBasicAuthPropertiesARMResource", + type: { + name: "Composite", + className: "StaticSiteBasicAuthPropertiesARMResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + password: { + serializedName: "properties.password", + xmlName: "properties.password", + type: { + name: "String", + }, + }, + secretUrl: { + serializedName: "properties.secretUrl", + xmlName: "properties.secretUrl", + type: { + name: "String", + }, + }, + applicableEnvironmentsMode: { + serializedName: "properties.applicableEnvironmentsMode", + xmlName: "properties.applicableEnvironmentsMode", + type: { + name: "String", + }, + }, + environments: { + serializedName: "properties.environments", + xmlName: "properties.environments", + xmlElementName: + "StaticSiteBasicAuthPropertiesARMResourcePropertiesEnvironmentsItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + secretState: { + serializedName: "properties.secretState", + readOnly: true, + xmlName: "properties.secretState", + type: { + name: "String", + }, + }, }, - invitationUrl: { - serializedName: "properties.invitationUrl", - readOnly: true, - xmlName: "properties.invitationUrl", - type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteCustomDomainOverviewARMResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteCustomDomainOverviewARMResource", - type: { - name: "Composite", - className: "StaticSiteCustomDomainOverviewARMResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - domainName: { - serializedName: "properties.domainName", - readOnly: true, - xmlName: "properties.domainName", - type: { - name: "String" - } + }, + }; + +export const StaticSiteUserInvitationRequestResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteUserInvitationRequestResource", + type: { + name: "Composite", + className: "StaticSiteUserInvitationRequestResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + domain: { + serializedName: "properties.domain", + xmlName: "properties.domain", + type: { + name: "String", + }, + }, + provider: { + serializedName: "properties.provider", + xmlName: "properties.provider", + type: { + name: "String", + }, + }, + userDetails: { + serializedName: "properties.userDetails", + xmlName: "properties.userDetails", + type: { + name: "String", + }, + }, + roles: { + serializedName: "properties.roles", + xmlName: "properties.roles", + type: { + name: "String", + }, + }, + numHoursToExpiration: { + serializedName: "properties.numHoursToExpiration", + xmlName: "properties.numHoursToExpiration", + type: { + name: "Number", + }, + }, }, - createdOn: { - serializedName: "properties.createdOn", - readOnly: true, - xmlName: "properties.createdOn", - type: { - name: "DateTime" - } + }, + }; + +export const StaticSiteUserInvitationResponseResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteUserInvitationResponseResource", + type: { + name: "Composite", + className: "StaticSiteUserInvitationResponseResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + expiresOn: { + serializedName: "properties.expiresOn", + readOnly: true, + xmlName: "properties.expiresOn", + type: { + name: "DateTime", + }, + }, + invitationUrl: { + serializedName: "properties.invitationUrl", + readOnly: true, + xmlName: "properties.invitationUrl", + type: { + name: "String", + }, + }, }, - status: { - serializedName: "properties.status", - readOnly: true, - xmlName: "properties.status", - type: { - name: "String" - } + }, + }; + +export const StaticSiteCustomDomainOverviewARMResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteCustomDomainOverviewARMResource", + type: { + name: "Composite", + className: "StaticSiteCustomDomainOverviewARMResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + domainName: { + serializedName: "properties.domainName", + readOnly: true, + xmlName: "properties.domainName", + type: { + name: "String", + }, + }, + createdOn: { + serializedName: "properties.createdOn", + readOnly: true, + xmlName: "properties.createdOn", + type: { + name: "DateTime", + }, + }, + status: { + serializedName: "properties.status", + readOnly: true, + xmlName: "properties.status", + type: { + name: "String", + }, + }, + validationToken: { + serializedName: "properties.validationToken", + readOnly: true, + xmlName: "properties.validationToken", + type: { + name: "String", + }, + }, + errorMessage: { + serializedName: "properties.errorMessage", + readOnly: true, + xmlName: "properties.errorMessage", + type: { + name: "String", + }, + }, }, - validationToken: { - serializedName: "properties.validationToken", - readOnly: true, - xmlName: "properties.validationToken", - type: { - name: "String" - } + }, + }; + +export const StaticSiteCustomDomainRequestPropertiesARMResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteCustomDomainRequestPropertiesARMResource", + type: { + name: "Composite", + className: "StaticSiteCustomDomainRequestPropertiesARMResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + validationMethod: { + defaultValue: "cname-delegation", + serializedName: "properties.validationMethod", + xmlName: "properties.validationMethod", + type: { + name: "String", + }, + }, }, - errorMessage: { - serializedName: "properties.errorMessage", - readOnly: true, - xmlName: "properties.errorMessage", - type: { - name: "String" - } - } - } - } -}; - -export const StaticSiteCustomDomainRequestPropertiesARMResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteCustomDomainRequestPropertiesARMResource", - type: { - name: "Composite", - className: "StaticSiteCustomDomainRequestPropertiesARMResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - validationMethod: { - defaultValue: "cname-delegation", - serializedName: "properties.validationMethod", - xmlName: "properties.validationMethod", - type: { - name: "String" - } - } - } - } -}; + }, + }; export const StringList: coreClient.CompositeMapper = { serializedName: "StringList", @@ -21353,39 +21816,40 @@ export const StringList: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } -}; - -export const StaticSiteResetPropertiesARMResource: coreClient.CompositeMapper = { - serializedName: "StaticSiteResetPropertiesARMResource", - type: { - name: "Composite", - className: "StaticSiteResetPropertiesARMResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - repositoryToken: { - serializedName: "properties.repositoryToken", - xmlName: "properties.repositoryToken", - type: { - name: "String" - } + name: "String", + }, + }, + }, }, - shouldUpdateRepository: { - serializedName: "properties.shouldUpdateRepository", - xmlName: "properties.shouldUpdateRepository", - type: { - name: "Boolean" - } - } - } - } -}; + }, + }, +}; + +export const StaticSiteResetPropertiesARMResource: coreClient.CompositeMapper = + { + serializedName: "StaticSiteResetPropertiesARMResource", + type: { + name: "Composite", + className: "StaticSiteResetPropertiesARMResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + repositoryToken: { + serializedName: "properties.repositoryToken", + xmlName: "properties.repositoryToken", + type: { + name: "String", + }, + }, + shouldUpdateRepository: { + serializedName: "properties.shouldUpdateRepository", + xmlName: "properties.shouldUpdateRepository", + type: { + name: "Boolean", + }, + }, + }, + }, + }; export const StaticSiteLinkedBackendARMResource: coreClient.CompositeMapper = { serializedName: "StaticSiteLinkedBackendARMResource", @@ -21398,34 +21862,34 @@ export const StaticSiteLinkedBackendARMResource: coreClient.CompositeMapper = { serializedName: "properties.backendResourceId", xmlName: "properties.backendResourceId", type: { - name: "String" - } + name: "String", + }, }, region: { serializedName: "properties.region", xmlName: "properties.region", type: { - name: "String" - } + name: "String", + }, }, createdOn: { serializedName: "properties.createdOn", readOnly: true, xmlName: "properties.createdOn", type: { - name: "DateTime" - } + name: "DateTime", + }, }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, xmlName: "properties.provisioningState", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SitePatchResource: coreClient.CompositeMapper = { @@ -21440,16 +21904,16 @@ export const SitePatchResource: coreClient.CompositeMapper = { xmlName: "identity", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "ManagedServiceIdentity", + }, }, state: { serializedName: "properties.state", readOnly: true, xmlName: "properties.state", type: { - name: "String" - } + name: "String", + }, }, hostNames: { serializedName: "properties.hostNames", @@ -21460,18 +21924,18 @@ export const SitePatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, repositorySiteName: { serializedName: "properties.repositorySiteName", readOnly: true, xmlName: "properties.repositorySiteName", type: { - name: "String" - } + name: "String", + }, }, usageState: { serializedName: "properties.usageState", @@ -21479,15 +21943,15 @@ export const SitePatchResource: coreClient.CompositeMapper = { xmlName: "properties.usageState", type: { name: "Enum", - allowedValues: ["Normal", "Exceeded"] - } + allowedValues: ["Normal", "Exceeded"], + }, }, enabled: { serializedName: "properties.enabled", xmlName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, enabledHostNames: { serializedName: "properties.enabledHostNames", @@ -21498,10 +21962,10 @@ export const SitePatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, availabilityState: { serializedName: "properties.availabilityState", @@ -21509,8 +21973,8 @@ export const SitePatchResource: coreClient.CompositeMapper = { xmlName: "properties.availabilityState", type: { name: "Enum", - allowedValues: ["Normal", "Limited", "DisasterRecoveryMode"] - } + allowedValues: ["Normal", "Limited", "DisasterRecoveryMode"], + }, }, hostNameSslStates: { serializedName: "properties.hostNameSslStates", @@ -21521,57 +21985,65 @@ export const SitePatchResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HostNameSslState" - } - } - } + className: "HostNameSslState", + }, + }, + }, }, serverFarmId: { serializedName: "properties.serverFarmId", xmlName: "properties.serverFarmId", type: { - name: "String" - } + name: "String", + }, }, reserved: { defaultValue: false, serializedName: "properties.reserved", xmlName: "properties.reserved", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isXenon: { defaultValue: false, serializedName: "properties.isXenon", xmlName: "properties.isXenon", type: { - name: "Boolean" - } + name: "Boolean", + }, }, hyperV: { defaultValue: false, serializedName: "properties.hyperV", xmlName: "properties.hyperV", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastModifiedTimeUtc: { serializedName: "properties.lastModifiedTimeUtc", readOnly: true, xmlName: "properties.lastModifiedTimeUtc", type: { - name: "DateTime" - } + name: "DateTime", + }, + }, + dnsConfiguration: { + serializedName: "properties.dnsConfiguration", + xmlName: "properties.dnsConfiguration", + type: { + name: "Composite", + className: "SiteDnsConfig", + }, }, siteConfig: { serializedName: "properties.siteConfig", xmlName: "properties.siteConfig", type: { name: "Composite", - className: "SiteConfig" - } + className: "SiteConfig", + }, }, trafficManagerHostNames: { serializedName: "properties.trafficManagerHostNames", @@ -21583,170 +22055,170 @@ export const SitePatchResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, scmSiteAlsoStopped: { defaultValue: false, serializedName: "properties.scmSiteAlsoStopped", xmlName: "properties.scmSiteAlsoStopped", type: { - name: "Boolean" - } + name: "Boolean", + }, }, targetSwapSlot: { serializedName: "properties.targetSwapSlot", readOnly: true, xmlName: "properties.targetSwapSlot", type: { - name: "String" - } + name: "String", + }, }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", xmlName: "properties.hostingEnvironmentProfile", type: { name: "Composite", - className: "HostingEnvironmentProfile" - } + className: "HostingEnvironmentProfile", + }, }, clientAffinityEnabled: { serializedName: "properties.clientAffinityEnabled", xmlName: "properties.clientAffinityEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, clientCertEnabled: { serializedName: "properties.clientCertEnabled", xmlName: "properties.clientCertEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, clientCertMode: { serializedName: "properties.clientCertMode", xmlName: "properties.clientCertMode", type: { name: "Enum", - allowedValues: ["Required", "Optional", "OptionalInteractiveUser"] - } + allowedValues: ["Required", "Optional", "OptionalInteractiveUser"], + }, }, clientCertExclusionPaths: { serializedName: "properties.clientCertExclusionPaths", xmlName: "properties.clientCertExclusionPaths", type: { - name: "String" - } + name: "String", + }, }, hostNamesDisabled: { serializedName: "properties.hostNamesDisabled", xmlName: "properties.hostNamesDisabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, customDomainVerificationId: { serializedName: "properties.customDomainVerificationId", xmlName: "properties.customDomainVerificationId", type: { - name: "String" - } + name: "String", + }, }, outboundIpAddresses: { serializedName: "properties.outboundIpAddresses", readOnly: true, xmlName: "properties.outboundIpAddresses", type: { - name: "String" - } + name: "String", + }, }, possibleOutboundIpAddresses: { serializedName: "properties.possibleOutboundIpAddresses", readOnly: true, xmlName: "properties.possibleOutboundIpAddresses", type: { - name: "String" - } + name: "String", + }, }, containerSize: { serializedName: "properties.containerSize", xmlName: "properties.containerSize", type: { - name: "Number" - } + name: "Number", + }, }, dailyMemoryTimeQuota: { serializedName: "properties.dailyMemoryTimeQuota", xmlName: "properties.dailyMemoryTimeQuota", type: { - name: "Number" - } + name: "Number", + }, }, suspendedTill: { serializedName: "properties.suspendedTill", readOnly: true, xmlName: "properties.suspendedTill", type: { - name: "DateTime" - } + name: "DateTime", + }, }, maxNumberOfWorkers: { serializedName: "properties.maxNumberOfWorkers", readOnly: true, xmlName: "properties.maxNumberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, cloningInfo: { serializedName: "properties.cloningInfo", xmlName: "properties.cloningInfo", type: { name: "Composite", - className: "CloningInfo" - } + className: "CloningInfo", + }, }, resourceGroup: { serializedName: "properties.resourceGroup", readOnly: true, xmlName: "properties.resourceGroup", type: { - name: "String" - } + name: "String", + }, }, isDefaultContainer: { serializedName: "properties.isDefaultContainer", readOnly: true, xmlName: "properties.isDefaultContainer", type: { - name: "Boolean" - } + name: "Boolean", + }, }, defaultHostName: { serializedName: "properties.defaultHostName", readOnly: true, xmlName: "properties.defaultHostName", type: { - name: "String" - } + name: "String", + }, }, slotSwapStatus: { serializedName: "properties.slotSwapStatus", xmlName: "properties.slotSwapStatus", type: { name: "Composite", - className: "SlotSwapStatus" - } + className: "SlotSwapStatus", + }, }, httpsOnly: { serializedName: "properties.httpsOnly", xmlName: "properties.httpsOnly", type: { - name: "Boolean" - } + name: "Boolean", + }, }, redundancyMode: { serializedName: "properties.redundancyMode", @@ -21758,41 +22230,41 @@ export const SitePatchResource: coreClient.CompositeMapper = { "Manual", "Failover", "ActiveActive", - "GeoRedundant" - ] - } + "GeoRedundant", + ], + }, }, inProgressOperationId: { serializedName: "properties.inProgressOperationId", readOnly: true, xmlName: "properties.inProgressOperationId", type: { - name: "Uuid" - } + name: "Uuid", + }, }, storageAccountRequired: { serializedName: "properties.storageAccountRequired", xmlName: "properties.storageAccountRequired", type: { - name: "Boolean" - } + name: "Boolean", + }, }, keyVaultReferenceIdentity: { serializedName: "properties.keyVaultReferenceIdentity", xmlName: "properties.keyVaultReferenceIdentity", type: { - name: "String" - } + name: "String", + }, }, virtualNetworkSubnetId: { serializedName: "properties.virtualNetworkSubnetId", xmlName: "properties.virtualNetworkSubnetId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { @@ -21807,8 +22279,8 @@ export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.isHostnameAlreadyVerified", type: { - name: "Boolean" - } + name: "Boolean", + }, }, customDomainVerificationTest: { serializedName: "properties.customDomainVerificationTest", @@ -21816,40 +22288,40 @@ export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { xmlName: "properties.customDomainVerificationTest", type: { name: "Enum", - allowedValues: ["Passed", "Failed", "Skipped"] - } + allowedValues: ["Passed", "Failed", "Skipped"], + }, }, customDomainVerificationFailureInfo: { serializedName: "properties.customDomainVerificationFailureInfo", xmlName: "properties.customDomainVerificationFailureInfo", type: { name: "Composite", - className: "ErrorEntity" - } + className: "ErrorEntity", + }, }, hasConflictOnScaleUnit: { serializedName: "properties.hasConflictOnScaleUnit", readOnly: true, xmlName: "properties.hasConflictOnScaleUnit", type: { - name: "Boolean" - } + name: "Boolean", + }, }, hasConflictAcrossSubscription: { serializedName: "properties.hasConflictAcrossSubscription", readOnly: true, xmlName: "properties.hasConflictAcrossSubscription", type: { - name: "Boolean" - } + name: "Boolean", + }, }, conflictingAppResourceId: { serializedName: "properties.conflictingAppResourceId", readOnly: true, xmlName: "properties.conflictingAppResourceId", type: { - name: "String" - } + name: "String", + }, }, cNameRecords: { serializedName: "properties.cNameRecords", @@ -21860,10 +22332,10 @@ export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, txtRecords: { serializedName: "properties.txtRecords", @@ -21873,10 +22345,10 @@ export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, aRecords: { serializedName: "properties.aRecords", @@ -21886,10 +22358,10 @@ export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, alternateCNameRecords: { serializedName: "properties.alternateCNameRecords", @@ -21900,10 +22372,10 @@ export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, alternateTxtRecords: { serializedName: "properties.alternateTxtRecords", @@ -21914,13 +22386,13 @@ export const CustomHostnameAnalysisResult: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const BackupRequest: coreClient.CompositeMapper = { @@ -21934,30 +22406,30 @@ export const BackupRequest: coreClient.CompositeMapper = { serializedName: "properties.backupName", xmlName: "properties.backupName", type: { - name: "String" - } + name: "String", + }, }, enabled: { serializedName: "properties.enabled", xmlName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, storageAccountUrl: { serializedName: "properties.storageAccountUrl", xmlName: "properties.storageAccountUrl", type: { - name: "String" - } + name: "String", + }, }, backupSchedule: { serializedName: "properties.backupSchedule", xmlName: "properties.backupSchedule", type: { name: "Composite", - className: "BackupSchedule" - } + className: "BackupSchedule", + }, }, databases: { serializedName: "properties.databases", @@ -21968,13 +22440,13 @@ export const BackupRequest: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseBackupSetting" - } - } - } - } - } - } + className: "DatabaseBackupSetting", + }, + }, + }, + }, + }, + }, }; export const BackupItem: coreClient.CompositeMapper = { @@ -21989,32 +22461,32 @@ export const BackupItem: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.id", type: { - name: "Number" - } + name: "Number", + }, }, storageAccountUrl: { serializedName: "properties.storageAccountUrl", readOnly: true, xmlName: "properties.storageAccountUrl", type: { - name: "String" - } + name: "String", + }, }, blobName: { serializedName: "properties.blobName", readOnly: true, xmlName: "properties.blobName", type: { - name: "String" - } + name: "String", + }, }, namePropertiesName: { serializedName: "properties.name", readOnly: true, xmlName: "properties.name", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "properties.status", @@ -22032,33 +22504,33 @@ export const BackupItem: coreClient.CompositeMapper = { "PartiallySucceeded", "DeleteInProgress", "DeleteFailed", - "Deleted" - ] - } + "Deleted", + ], + }, }, sizeInBytes: { serializedName: "properties.sizeInBytes", readOnly: true, xmlName: "properties.sizeInBytes", type: { - name: "Number" - } + name: "Number", + }, }, created: { serializedName: "properties.created", readOnly: true, xmlName: "properties.created", type: { - name: "DateTime" - } + name: "DateTime", + }, }, log: { serializedName: "properties.log", readOnly: true, xmlName: "properties.log", type: { - name: "String" - } + name: "String", + }, }, databases: { serializedName: "properties.databases", @@ -22070,53 +22542,53 @@ export const BackupItem: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseBackupSetting" - } - } - } + className: "DatabaseBackupSetting", + }, + }, + }, }, scheduled: { serializedName: "properties.scheduled", readOnly: true, xmlName: "properties.scheduled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, lastRestoreTimeStamp: { serializedName: "properties.lastRestoreTimeStamp", readOnly: true, xmlName: "properties.lastRestoreTimeStamp", type: { - name: "DateTime" - } + name: "DateTime", + }, }, finishedTimeStamp: { serializedName: "properties.finishedTimeStamp", readOnly: true, xmlName: "properties.finishedTimeStamp", type: { - name: "DateTime" - } + name: "DateTime", + }, }, correlationId: { serializedName: "properties.correlationId", readOnly: true, xmlName: "properties.correlationId", type: { - name: "String" - } + name: "String", + }, }, websiteSizeInBytes: { serializedName: "properties.websiteSizeInBytes", readOnly: true, xmlName: "properties.websiteSizeInBytes", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const RestoreRequest: coreClient.CompositeMapper = { @@ -22130,29 +22602,29 @@ export const RestoreRequest: coreClient.CompositeMapper = { serializedName: "properties.storageAccountUrl", xmlName: "properties.storageAccountUrl", type: { - name: "String" - } + name: "String", + }, }, blobName: { serializedName: "properties.blobName", xmlName: "properties.blobName", type: { - name: "String" - } + name: "String", + }, }, overwrite: { serializedName: "properties.overwrite", xmlName: "properties.overwrite", type: { - name: "Boolean" - } + name: "Boolean", + }, }, siteName: { serializedName: "properties.siteName", xmlName: "properties.siteName", type: { - name: "String" - } + name: "String", + }, }, databases: { serializedName: "properties.databases", @@ -22163,33 +22635,33 @@ export const RestoreRequest: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseBackupSetting" - } - } - } + className: "DatabaseBackupSetting", + }, + }, + }, }, ignoreConflictingHostNames: { defaultValue: false, serializedName: "properties.ignoreConflictingHostNames", xmlName: "properties.ignoreConflictingHostNames", type: { - name: "Boolean" - } + name: "Boolean", + }, }, ignoreDatabases: { defaultValue: false, serializedName: "properties.ignoreDatabases", xmlName: "properties.ignoreDatabases", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appServicePlan: { serializedName: "properties.appServicePlan", xmlName: "properties.appServicePlan", type: { - name: "String" - } + name: "String", + }, }, operationType: { defaultValue: "Default", @@ -22202,45 +22674,46 @@ export const RestoreRequest: coreClient.CompositeMapper = { "Clone", "Relocation", "Snapshot", - "CloudFS" - ] - } + "CloudFS", + ], + }, }, adjustConnectionStrings: { serializedName: "properties.adjustConnectionStrings", xmlName: "properties.adjustConnectionStrings", type: { - name: "Boolean" - } + name: "Boolean", + }, }, hostingEnvironment: { serializedName: "properties.hostingEnvironment", xmlName: "properties.hostingEnvironment", type: { - name: "String" - } - } - } - } -}; - -export const CsmPublishingCredentialsPoliciesEntity: coreClient.CompositeMapper = { - serializedName: "CsmPublishingCredentialsPoliciesEntity", - type: { - name: "Composite", - className: "CsmPublishingCredentialsPoliciesEntity", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - allow: { - serializedName: "properties.allow", - xmlName: "properties.allow", - type: { - name: "Boolean" - } - } - } - } -}; + name: "String", + }, + }, + }, + }, +}; + +export const CsmPublishingCredentialsPoliciesEntity: coreClient.CompositeMapper = + { + serializedName: "CsmPublishingCredentialsPoliciesEntity", + type: { + name: "Composite", + className: "CsmPublishingCredentialsPoliciesEntity", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + allow: { + serializedName: "properties.allow", + xmlName: "properties.allow", + type: { + name: "Boolean", + }, + }, + }, + }, + }; export const SiteConfigResource: coreClient.CompositeMapper = { serializedName: "SiteConfigResource", @@ -22253,8 +22726,8 @@ export const SiteConfigResource: coreClient.CompositeMapper = { serializedName: "properties.numberOfWorkers", xmlName: "properties.numberOfWorkers", type: { - name: "Number" - } + name: "Number", + }, }, defaultDocuments: { serializedName: "properties.defaultDocuments", @@ -22264,130 +22737,130 @@ export const SiteConfigResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, netFrameworkVersion: { defaultValue: "v4.6", serializedName: "properties.netFrameworkVersion", xmlName: "properties.netFrameworkVersion", type: { - name: "String" - } + name: "String", + }, }, phpVersion: { serializedName: "properties.phpVersion", xmlName: "properties.phpVersion", type: { - name: "String" - } + name: "String", + }, }, pythonVersion: { serializedName: "properties.pythonVersion", xmlName: "properties.pythonVersion", type: { - name: "String" - } + name: "String", + }, }, nodeVersion: { serializedName: "properties.nodeVersion", xmlName: "properties.nodeVersion", type: { - name: "String" - } + name: "String", + }, }, powerShellVersion: { serializedName: "properties.powerShellVersion", xmlName: "properties.powerShellVersion", type: { - name: "String" - } + name: "String", + }, }, linuxFxVersion: { serializedName: "properties.linuxFxVersion", xmlName: "properties.linuxFxVersion", type: { - name: "String" - } + name: "String", + }, }, windowsFxVersion: { serializedName: "properties.windowsFxVersion", xmlName: "properties.windowsFxVersion", type: { - name: "String" - } + name: "String", + }, }, requestTracingEnabled: { serializedName: "properties.requestTracingEnabled", xmlName: "properties.requestTracingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, requestTracingExpirationTime: { serializedName: "properties.requestTracingExpirationTime", xmlName: "properties.requestTracingExpirationTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, remoteDebuggingEnabled: { serializedName: "properties.remoteDebuggingEnabled", xmlName: "properties.remoteDebuggingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, remoteDebuggingVersion: { serializedName: "properties.remoteDebuggingVersion", xmlName: "properties.remoteDebuggingVersion", type: { - name: "String" - } + name: "String", + }, }, httpLoggingEnabled: { serializedName: "properties.httpLoggingEnabled", xmlName: "properties.httpLoggingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, acrUseManagedIdentityCreds: { serializedName: "properties.acrUseManagedIdentityCreds", xmlName: "properties.acrUseManagedIdentityCreds", type: { - name: "Boolean" - } + name: "Boolean", + }, }, acrUserManagedIdentityID: { serializedName: "properties.acrUserManagedIdentityID", xmlName: "properties.acrUserManagedIdentityID", type: { - name: "String" - } + name: "String", + }, }, logsDirectorySizeLimit: { serializedName: "properties.logsDirectorySizeLimit", xmlName: "properties.logsDirectorySizeLimit", type: { - name: "Number" - } + name: "Number", + }, }, detailedErrorLoggingEnabled: { serializedName: "properties.detailedErrorLoggingEnabled", xmlName: "properties.detailedErrorLoggingEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, publishingUsername: { serializedName: "properties.publishingUsername", xmlName: "properties.publishingUsername", type: { - name: "String" - } + name: "String", + }, }, appSettings: { serializedName: "properties.appSettings", @@ -22398,10 +22871,10 @@ export const SiteConfigResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } + className: "NameValuePair", + }, + }, + }, }, metadata: { serializedName: "properties.metadata", @@ -22412,10 +22885,10 @@ export const SiteConfigResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NameValuePair" - } - } - } + className: "NameValuePair", + }, + }, + }, }, connectionStrings: { serializedName: "properties.connectionStrings", @@ -22426,18 +22899,18 @@ export const SiteConfigResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ConnStringInfo" - } - } - } + className: "ConnStringInfo", + }, + }, + }, }, machineKey: { serializedName: "properties.machineKey", xmlName: "properties.machineKey", type: { name: "Composite", - className: "SiteMachineKey" - } + className: "SiteMachineKey", + }, }, handlerMappings: { serializedName: "properties.handlerMappings", @@ -22448,81 +22921,81 @@ export const SiteConfigResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HandlerMapping" - } - } - } + className: "HandlerMapping", + }, + }, + }, }, documentRoot: { serializedName: "properties.documentRoot", xmlName: "properties.documentRoot", type: { - name: "String" - } + name: "String", + }, }, scmType: { serializedName: "properties.scmType", xmlName: "properties.scmType", type: { - name: "String" - } + name: "String", + }, }, use32BitWorkerProcess: { serializedName: "properties.use32BitWorkerProcess", xmlName: "properties.use32BitWorkerProcess", type: { - name: "Boolean" - } + name: "Boolean", + }, }, webSocketsEnabled: { serializedName: "properties.webSocketsEnabled", xmlName: "properties.webSocketsEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, alwaysOn: { serializedName: "properties.alwaysOn", xmlName: "properties.alwaysOn", type: { - name: "Boolean" - } + name: "Boolean", + }, }, javaVersion: { serializedName: "properties.javaVersion", xmlName: "properties.javaVersion", type: { - name: "String" - } + name: "String", + }, }, javaContainer: { serializedName: "properties.javaContainer", xmlName: "properties.javaContainer", type: { - name: "String" - } + name: "String", + }, }, javaContainerVersion: { serializedName: "properties.javaContainerVersion", xmlName: "properties.javaContainerVersion", type: { - name: "String" - } + name: "String", + }, }, appCommandLine: { serializedName: "properties.appCommandLine", xmlName: "properties.appCommandLine", type: { - name: "String" - } + name: "String", + }, }, managedPipelineMode: { serializedName: "properties.managedPipelineMode", xmlName: "properties.managedPipelineMode", type: { name: "Enum", - allowedValues: ["Integrated", "Classic"] - } + allowedValues: ["Integrated", "Classic"], + }, }, virtualApplications: { serializedName: "properties.virtualApplications", @@ -22533,10 +23006,10 @@ export const SiteConfigResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualApplication" - } - } - } + className: "VirtualApplication", + }, + }, + }, }, loadBalancing: { serializedName: "properties.loadBalancing", @@ -22549,136 +23022,137 @@ export const SiteConfigResource: coreClient.CompositeMapper = { "LeastResponseTime", "WeightedTotalTraffic", "RequestHash", - "PerSiteRoundRobin" - ] - } + "PerSiteRoundRobin", + "LeastRequestsWithTieBreaker", + ], + }, }, experiments: { serializedName: "properties.experiments", xmlName: "properties.experiments", type: { name: "Composite", - className: "Experiments" - } + className: "Experiments", + }, }, limits: { serializedName: "properties.limits", xmlName: "properties.limits", type: { name: "Composite", - className: "SiteLimits" - } + className: "SiteLimits", + }, }, autoHealEnabled: { serializedName: "properties.autoHealEnabled", xmlName: "properties.autoHealEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, autoHealRules: { serializedName: "properties.autoHealRules", xmlName: "properties.autoHealRules", type: { name: "Composite", - className: "AutoHealRules" - } + className: "AutoHealRules", + }, }, tracingOptions: { serializedName: "properties.tracingOptions", xmlName: "properties.tracingOptions", type: { - name: "String" - } + name: "String", + }, }, vnetName: { serializedName: "properties.vnetName", xmlName: "properties.vnetName", type: { - name: "String" - } + name: "String", + }, }, vnetRouteAllEnabled: { serializedName: "properties.vnetRouteAllEnabled", xmlName: "properties.vnetRouteAllEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, vnetPrivatePortsCount: { serializedName: "properties.vnetPrivatePortsCount", xmlName: "properties.vnetPrivatePortsCount", type: { - name: "Number" - } + name: "Number", + }, }, cors: { serializedName: "properties.cors", xmlName: "properties.cors", type: { name: "Composite", - className: "CorsSettings" - } + className: "CorsSettings", + }, }, push: { serializedName: "properties.push", xmlName: "properties.push", type: { name: "Composite", - className: "PushSettings" - } + className: "PushSettings", + }, }, apiDefinition: { serializedName: "properties.apiDefinition", xmlName: "properties.apiDefinition", type: { name: "Composite", - className: "ApiDefinitionInfo" - } + className: "ApiDefinitionInfo", + }, }, apiManagementConfig: { serializedName: "properties.apiManagementConfig", xmlName: "properties.apiManagementConfig", type: { name: "Composite", - className: "ApiManagementConfig" - } + className: "ApiManagementConfig", + }, }, autoSwapSlotName: { serializedName: "properties.autoSwapSlotName", xmlName: "properties.autoSwapSlotName", type: { - name: "String" - } + name: "String", + }, }, localMySqlEnabled: { defaultValue: false, serializedName: "properties.localMySqlEnabled", xmlName: "properties.localMySqlEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, managedServiceIdentityId: { serializedName: "properties.managedServiceIdentityId", xmlName: "properties.managedServiceIdentityId", type: { - name: "Number" - } + name: "Number", + }, }, xManagedServiceIdentityId: { serializedName: "properties.xManagedServiceIdentityId", xmlName: "properties.xManagedServiceIdentityId", type: { - name: "Number" - } + name: "Number", + }, }, keyVaultReferenceIdentity: { serializedName: "properties.keyVaultReferenceIdentity", xmlName: "properties.keyVaultReferenceIdentity", type: { - name: "String" - } + name: "String", + }, }, ipSecurityRestrictions: { serializedName: "properties.ipSecurityRestrictions", @@ -22689,17 +23163,17 @@ export const SiteConfigResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "IpSecurityRestriction" - } - } - } + className: "IpSecurityRestriction", + }, + }, + }, }, ipSecurityRestrictionsDefaultAction: { serializedName: "properties.ipSecurityRestrictionsDefaultAction", xmlName: "properties.ipSecurityRestrictionsDefaultAction", type: { - name: "String" - } + name: "String", + }, }, scmIpSecurityRestrictions: { serializedName: "properties.scmIpSecurityRestrictions", @@ -22710,123 +23184,123 @@ export const SiteConfigResource: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "IpSecurityRestriction" - } - } - } + className: "IpSecurityRestriction", + }, + }, + }, }, scmIpSecurityRestrictionsDefaultAction: { serializedName: "properties.scmIpSecurityRestrictionsDefaultAction", xmlName: "properties.scmIpSecurityRestrictionsDefaultAction", type: { - name: "String" - } + name: "String", + }, }, scmIpSecurityRestrictionsUseMain: { serializedName: "properties.scmIpSecurityRestrictionsUseMain", xmlName: "properties.scmIpSecurityRestrictionsUseMain", type: { - name: "Boolean" - } + name: "Boolean", + }, }, http20Enabled: { defaultValue: true, serializedName: "properties.http20Enabled", xmlName: "properties.http20Enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, minTlsVersion: { serializedName: "properties.minTlsVersion", xmlName: "properties.minTlsVersion", type: { - name: "String" - } + name: "String", + }, }, minTlsCipherSuite: { serializedName: "properties.minTlsCipherSuite", xmlName: "properties.minTlsCipherSuite", type: { - name: "String" - } + name: "String", + }, }, scmMinTlsVersion: { serializedName: "properties.scmMinTlsVersion", xmlName: "properties.scmMinTlsVersion", type: { - name: "String" - } + name: "String", + }, }, ftpsState: { serializedName: "properties.ftpsState", xmlName: "properties.ftpsState", type: { - name: "String" - } + name: "String", + }, }, preWarmedInstanceCount: { constraints: { InclusiveMaximum: 10, - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "properties.preWarmedInstanceCount", xmlName: "properties.preWarmedInstanceCount", type: { - name: "Number" - } + name: "Number", + }, }, functionAppScaleLimit: { constraints: { - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "properties.functionAppScaleLimit", xmlName: "properties.functionAppScaleLimit", type: { - name: "Number" - } + name: "Number", + }, }, elasticWebAppScaleLimit: { constraints: { - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "properties.elasticWebAppScaleLimit", xmlName: "properties.elasticWebAppScaleLimit", type: { - name: "Number" - } + name: "Number", + }, }, healthCheckPath: { serializedName: "properties.healthCheckPath", xmlName: "properties.healthCheckPath", type: { - name: "String" - } + name: "String", + }, }, functionsRuntimeScaleMonitoringEnabled: { serializedName: "properties.functionsRuntimeScaleMonitoringEnabled", xmlName: "properties.functionsRuntimeScaleMonitoringEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, websiteTimeZone: { serializedName: "properties.websiteTimeZone", xmlName: "properties.websiteTimeZone", type: { - name: "String" - } + name: "String", + }, }, minimumElasticInstanceCount: { constraints: { InclusiveMaximum: 20, - InclusiveMinimum: 0 + InclusiveMinimum: 0, }, serializedName: "properties.minimumElasticInstanceCount", xmlName: "properties.minimumElasticInstanceCount", type: { - name: "Number" - } + name: "Number", + }, }, azureStorageAccounts: { serializedName: "properties.azureStorageAccounts", @@ -22834,19 +23308,19 @@ export const SiteConfigResource: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Composite", className: "AzureStorageInfoValue" } - } - } + type: { name: "Composite", className: "AzureStorageInfoValue" }, + }, + }, }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", xmlName: "properties.publicNetworkAccess", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteAuthSettings: coreClient.CompositeMapper = { @@ -22860,30 +23334,30 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { serializedName: "properties.enabled", xmlName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, runtimeVersion: { serializedName: "properties.runtimeVersion", xmlName: "properties.runtimeVersion", type: { - name: "String" - } + name: "String", + }, }, unauthenticatedClientAction: { serializedName: "properties.unauthenticatedClientAction", xmlName: "properties.unauthenticatedClientAction", type: { name: "Enum", - allowedValues: ["RedirectToLoginPage", "AllowAnonymous"] - } + allowedValues: ["RedirectToLoginPage", "AllowAnonymous"], + }, }, tokenStoreEnabled: { serializedName: "properties.tokenStoreEnabled", xmlName: "properties.tokenStoreEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, allowedExternalRedirectUrls: { serializedName: "properties.allowedExternalRedirectUrls", @@ -22894,10 +23368,10 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, defaultProvider: { serializedName: "properties.defaultProvider", @@ -22910,58 +23384,58 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { "Google", "MicrosoftAccount", "Twitter", - "Github" - ] - } + "Github", + ], + }, }, tokenRefreshExtensionHours: { serializedName: "properties.tokenRefreshExtensionHours", xmlName: "properties.tokenRefreshExtensionHours", type: { - name: "Number" - } + name: "Number", + }, }, clientId: { serializedName: "properties.clientId", xmlName: "properties.clientId", type: { - name: "String" - } + name: "String", + }, }, clientSecret: { serializedName: "properties.clientSecret", xmlName: "properties.clientSecret", type: { - name: "String" - } + name: "String", + }, }, clientSecretSettingName: { serializedName: "properties.clientSecretSettingName", xmlName: "properties.clientSecretSettingName", type: { - name: "String" - } + name: "String", + }, }, clientSecretCertificateThumbprint: { serializedName: "properties.clientSecretCertificateThumbprint", xmlName: "properties.clientSecretCertificateThumbprint", type: { - name: "String" - } + name: "String", + }, }, issuer: { serializedName: "properties.issuer", xmlName: "properties.issuer", type: { - name: "String" - } + name: "String", + }, }, validateIssuer: { serializedName: "properties.validateIssuer", xmlName: "properties.validateIssuer", type: { - name: "Boolean" - } + name: "Boolean", + }, }, allowedAudiences: { serializedName: "properties.allowedAudiences", @@ -22971,10 +23445,10 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, additionalLoginParams: { serializedName: "properties.additionalLoginParams", @@ -22984,38 +23458,38 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, aadClaimsAuthorization: { serializedName: "properties.aadClaimsAuthorization", xmlName: "properties.aadClaimsAuthorization", type: { - name: "String" - } + name: "String", + }, }, googleClientId: { serializedName: "properties.googleClientId", xmlName: "properties.googleClientId", type: { - name: "String" - } + name: "String", + }, }, googleClientSecret: { serializedName: "properties.googleClientSecret", xmlName: "properties.googleClientSecret", type: { - name: "String" - } + name: "String", + }, }, googleClientSecretSettingName: { serializedName: "properties.googleClientSecretSettingName", xmlName: "properties.googleClientSecretSettingName", type: { - name: "String" - } + name: "String", + }, }, googleOAuthScopes: { serializedName: "properties.googleOAuthScopes", @@ -23025,31 +23499,31 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, facebookAppId: { serializedName: "properties.facebookAppId", xmlName: "properties.facebookAppId", type: { - name: "String" - } + name: "String", + }, }, facebookAppSecret: { serializedName: "properties.facebookAppSecret", xmlName: "properties.facebookAppSecret", type: { - name: "String" - } + name: "String", + }, }, facebookAppSecretSettingName: { serializedName: "properties.facebookAppSecretSettingName", xmlName: "properties.facebookAppSecretSettingName", type: { - name: "String" - } + name: "String", + }, }, facebookOAuthScopes: { serializedName: "properties.facebookOAuthScopes", @@ -23059,31 +23533,31 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, gitHubClientId: { serializedName: "properties.gitHubClientId", xmlName: "properties.gitHubClientId", type: { - name: "String" - } + name: "String", + }, }, gitHubClientSecret: { serializedName: "properties.gitHubClientSecret", xmlName: "properties.gitHubClientSecret", type: { - name: "String" - } + name: "String", + }, }, gitHubClientSecretSettingName: { serializedName: "properties.gitHubClientSecretSettingName", xmlName: "properties.gitHubClientSecretSettingName", type: { - name: "String" - } + name: "String", + }, }, gitHubOAuthScopes: { serializedName: "properties.gitHubOAuthScopes", @@ -23093,52 +23567,52 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, twitterConsumerKey: { serializedName: "properties.twitterConsumerKey", xmlName: "properties.twitterConsumerKey", type: { - name: "String" - } + name: "String", + }, }, twitterConsumerSecret: { serializedName: "properties.twitterConsumerSecret", xmlName: "properties.twitterConsumerSecret", type: { - name: "String" - } + name: "String", + }, }, twitterConsumerSecretSettingName: { serializedName: "properties.twitterConsumerSecretSettingName", xmlName: "properties.twitterConsumerSecretSettingName", type: { - name: "String" - } + name: "String", + }, }, microsoftAccountClientId: { serializedName: "properties.microsoftAccountClientId", xmlName: "properties.microsoftAccountClientId", type: { - name: "String" - } + name: "String", + }, }, microsoftAccountClientSecret: { serializedName: "properties.microsoftAccountClientSecret", xmlName: "properties.microsoftAccountClientSecret", type: { - name: "String" - } + name: "String", + }, }, microsoftAccountClientSecretSettingName: { serializedName: "properties.microsoftAccountClientSecretSettingName", xmlName: "properties.microsoftAccountClientSecretSettingName", type: { - name: "String" - } + name: "String", + }, }, microsoftAccountOAuthScopes: { serializedName: "properties.microsoftAccountOAuthScopes", @@ -23149,34 +23623,34 @@ export const SiteAuthSettings: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, isAuthFromFile: { serializedName: "properties.isAuthFromFile", xmlName: "properties.isAuthFromFile", type: { - name: "String" - } + name: "String", + }, }, authFilePath: { serializedName: "properties.authFilePath", xmlName: "properties.authFilePath", type: { - name: "String" - } + name: "String", + }, }, configVersion: { serializedName: "properties.configVersion", xmlName: "properties.configVersion", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteAuthSettingsV2: coreClient.CompositeMapper = { @@ -23191,65 +23665,66 @@ export const SiteAuthSettingsV2: coreClient.CompositeMapper = { xmlName: "properties.platform", type: { name: "Composite", - className: "AuthPlatform" - } + className: "AuthPlatform", + }, }, globalValidation: { serializedName: "properties.globalValidation", xmlName: "properties.globalValidation", type: { name: "Composite", - className: "GlobalValidation" - } + className: "GlobalValidation", + }, }, identityProviders: { serializedName: "properties.identityProviders", xmlName: "properties.identityProviders", type: { name: "Composite", - className: "IdentityProviders" - } + className: "IdentityProviders", + }, }, login: { serializedName: "properties.login", xmlName: "properties.login", type: { name: "Composite", - className: "Login" - } + className: "Login", + }, }, httpSettings: { serializedName: "properties.httpSettings", xmlName: "properties.httpSettings", type: { name: "Composite", - className: "HttpSettings" - } - } - } - } -}; - -export const AzureStoragePropertyDictionaryResource: coreClient.CompositeMapper = { - serializedName: "AzureStoragePropertyDictionaryResource", - type: { - name: "Composite", - className: "AzureStoragePropertyDictionaryResource", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - properties: { - serializedName: "properties", - xmlName: "properties", - type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "AzureStorageInfoValue" } - } - } - } - } - } -}; + className: "HttpSettings", + }, + }, + }, + }, +}; + +export const AzureStoragePropertyDictionaryResource: coreClient.CompositeMapper = + { + serializedName: "AzureStoragePropertyDictionaryResource", + type: { + name: "Composite", + className: "AzureStoragePropertyDictionaryResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + properties: { + serializedName: "properties", + xmlName: "properties", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "AzureStorageInfoValue" }, + }, + }, + }, + }, + }, + }; export const ApiKVReference: coreClient.CompositeMapper = { serializedName: "ApiKVReference", @@ -23262,8 +23737,8 @@ export const ApiKVReference: coreClient.CompositeMapper = { serializedName: "properties.reference", xmlName: "properties.reference", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "properties.status", @@ -23281,63 +23756,63 @@ export const ApiKVReference: coreClient.CompositeMapper = { "AccessToKeyVaultDenied", "OtherReasons", "FetchTimedOut", - "UnauthorizedClient" - ] - } + "UnauthorizedClient", + ], + }, }, vaultName: { serializedName: "properties.vaultName", xmlName: "properties.vaultName", type: { - name: "String" - } + name: "String", + }, }, secretName: { serializedName: "properties.secretName", xmlName: "properties.secretName", type: { - name: "String" - } + name: "String", + }, }, secretVersion: { serializedName: "properties.secretVersion", xmlName: "properties.secretVersion", type: { - name: "String" - } + name: "String", + }, }, identityType: { serializedName: "properties.identityType", xmlName: "properties.identityType", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "ManagedServiceIdentity", + }, }, details: { serializedName: "properties.details", xmlName: "properties.details", type: { - name: "String" - } + name: "String", + }, }, source: { defaultValue: "KeyVault", isConstant: true, serializedName: "properties.source", type: { - name: "String" - } + name: "String", + }, }, activeVersion: { serializedName: "properties.activeVersion", xmlName: "properties.activeVersion", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ConnectionStringDictionary: coreClient.CompositeMapper = { @@ -23353,12 +23828,12 @@ export const ConnectionStringDictionary: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Composite", className: "ConnStringValueTypePair" } - } - } - } - } - } + type: { name: "Composite", className: "ConnStringValueTypePair" }, + }, + }, + }, + }, + }, }; export const SiteLogsConfig: coreClient.CompositeMapper = { @@ -23373,35 +23848,35 @@ export const SiteLogsConfig: coreClient.CompositeMapper = { xmlName: "properties.applicationLogs", type: { name: "Composite", - className: "ApplicationLogsConfig" - } + className: "ApplicationLogsConfig", + }, }, httpLogs: { serializedName: "properties.httpLogs", xmlName: "properties.httpLogs", type: { name: "Composite", - className: "HttpLogsConfig" - } + className: "HttpLogsConfig", + }, }, failedRequestsTracing: { serializedName: "properties.failedRequestsTracing", xmlName: "properties.failedRequestsTracing", type: { name: "Composite", - className: "EnabledConfig" - } + className: "EnabledConfig", + }, }, detailedErrorMessages: { serializedName: "properties.detailedErrorMessages", xmlName: "properties.detailedErrorMessages", type: { name: "Composite", - className: "EnabledConfig" - } - } - } - } + className: "EnabledConfig", + }, + }, + }, + }, }; export const SlotConfigNamesResource: coreClient.CompositeMapper = { @@ -23419,10 +23894,10 @@ export const SlotConfigNamesResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, appSettingNames: { serializedName: "properties.appSettingNames", @@ -23432,10 +23907,10 @@ export const SlotConfigNamesResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, azureStorageConfigNames: { serializedName: "properties.azureStorageConfigNames", @@ -23445,13 +23920,13 @@ export const SlotConfigNamesResource: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } - } - } - } + name: "String", + }, + }, + }, + }, + }, + }, }; export const SiteConfigurationSnapshotInfo: coreClient.CompositeMapper = { @@ -23466,19 +23941,19 @@ export const SiteConfigurationSnapshotInfo: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, snapshotId: { serializedName: "properties.snapshotId", readOnly: true, xmlName: "properties.snapshotId", type: { - name: "Number" - } - } - } - } + name: "Number", + }, + }, + }, + }, }; export const ContinuousWebJob: coreClient.CompositeMapper = { @@ -23498,66 +23973,66 @@ export const ContinuousWebJob: coreClient.CompositeMapper = { "Starting", "Running", "PendingRestart", - "Stopped" - ] - } + "Stopped", + ], + }, }, detailedStatus: { serializedName: "properties.detailed_status", xmlName: "properties.detailed_status", type: { - name: "String" - } + name: "String", + }, }, logUrl: { serializedName: "properties.log_url", xmlName: "properties.log_url", type: { - name: "String" - } + name: "String", + }, }, runCommand: { serializedName: "properties.run_command", xmlName: "properties.run_command", type: { - name: "String" - } + name: "String", + }, }, url: { serializedName: "properties.url", xmlName: "properties.url", type: { - name: "String" - } + name: "String", + }, }, extraInfoUrl: { serializedName: "properties.extra_info_url", xmlName: "properties.extra_info_url", type: { - name: "String" - } + name: "String", + }, }, webJobType: { serializedName: "properties.web_job_type", xmlName: "properties.web_job_type", type: { name: "Enum", - allowedValues: ["Continuous", "Triggered"] - } + allowedValues: ["Continuous", "Triggered"], + }, }, error: { serializedName: "properties.error", xmlName: "properties.error", type: { - name: "String" - } + name: "String", + }, }, usingSdk: { serializedName: "properties.using_sdk", xmlName: "properties.using_sdk", type: { - name: "Boolean" - } + name: "Boolean", + }, }, settings: { serializedName: "properties.settings", @@ -23565,12 +24040,12 @@ export const ContinuousWebJob: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + }, + }, }; export const CsmDeploymentStatus: coreClient.CompositeMapper = { @@ -23584,36 +24059,36 @@ export const CsmDeploymentStatus: coreClient.CompositeMapper = { serializedName: "properties.deploymentId", xmlName: "properties.deploymentId", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "properties.status", xmlName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, numberOfInstancesInProgress: { serializedName: "properties.numberOfInstancesInProgress", xmlName: "properties.numberOfInstancesInProgress", type: { - name: "Number" - } + name: "Number", + }, }, numberOfInstancesSuccessful: { serializedName: "properties.numberOfInstancesSuccessful", xmlName: "properties.numberOfInstancesSuccessful", type: { - name: "Number" - } + name: "Number", + }, }, numberOfInstancesFailed: { serializedName: "properties.numberOfInstancesFailed", xmlName: "properties.numberOfInstancesFailed", type: { - name: "Number" - } + name: "Number", + }, }, failedInstancesLogs: { serializedName: "properties.failedInstancesLogs", @@ -23623,10 +24098,10 @@ export const CsmDeploymentStatus: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, errors: { serializedName: "properties.errors", @@ -23637,13 +24112,13 @@ export const CsmDeploymentStatus: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ErrorEntity" - } - } - } - } - } - } + className: "ErrorEntity", + }, + }, + }, + }, + }, + }, }; export const Deployment: coreClient.CompositeMapper = { @@ -23657,67 +24132,67 @@ export const Deployment: coreClient.CompositeMapper = { serializedName: "properties.status", xmlName: "properties.status", type: { - name: "Number" - } + name: "Number", + }, }, message: { serializedName: "properties.message", xmlName: "properties.message", type: { - name: "String" - } + name: "String", + }, }, author: { serializedName: "properties.author", xmlName: "properties.author", type: { - name: "String" - } + name: "String", + }, }, deployer: { serializedName: "properties.deployer", xmlName: "properties.deployer", type: { - name: "String" - } + name: "String", + }, }, authorEmail: { serializedName: "properties.author_email", xmlName: "properties.author_email", type: { - name: "String" - } + name: "String", + }, }, startTime: { serializedName: "properties.start_time", xmlName: "properties.start_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.end_time", xmlName: "properties.end_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, active: { serializedName: "properties.active", xmlName: "properties.active", type: { - name: "Boolean" - } + name: "Boolean", + }, }, details: { serializedName: "properties.details", xmlName: "properties.details", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const MSDeployStatus: coreClient.CompositeMapper = { @@ -23732,8 +24207,8 @@ export const MSDeployStatus: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.deployer", type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "properties.provisioningState", @@ -23746,36 +24221,36 @@ export const MSDeployStatus: coreClient.CompositeMapper = { "running", "succeeded", "failed", - "canceled" - ] - } + "canceled", + ], + }, }, startTime: { serializedName: "properties.startTime", readOnly: true, xmlName: "properties.startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.endTime", readOnly: true, xmlName: "properties.endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, complete: { serializedName: "properties.complete", readOnly: true, xmlName: "properties.complete", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const MSDeploy: coreClient.CompositeMapper = { @@ -23789,54 +24264,54 @@ export const MSDeploy: coreClient.CompositeMapper = { serializedName: "properties.packageUri", xmlName: "properties.packageUri", type: { - name: "String" - } + name: "String", + }, }, connectionString: { serializedName: "properties.connectionString", xmlName: "properties.connectionString", type: { - name: "String" - } + name: "String", + }, }, dbType: { serializedName: "properties.dbType", xmlName: "properties.dbType", type: { - name: "String" - } + name: "String", + }, }, setParametersXmlFileUri: { serializedName: "properties.setParametersXmlFileUri", xmlName: "properties.setParametersXmlFileUri", type: { - name: "String" - } + name: "String", + }, }, setParameters: { serializedName: "properties.setParameters", xmlName: "properties.setParameters", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, skipAppData: { serializedName: "properties.skipAppData", xmlName: "properties.skipAppData", type: { - name: "Boolean" - } + name: "Boolean", + }, }, appOffline: { serializedName: "properties.appOffline", xmlName: "properties.appOffline", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const MSDeployLog: coreClient.CompositeMapper = { @@ -23856,13 +24331,13 @@ export const MSDeployLog: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "MSDeployLogEntry" - } - } - } - } - } - } + className: "MSDeployLogEntry", + }, + }, + }, + }, + }, + }, }; export const FunctionEnvelope: coreClient.CompositeMapper = { @@ -23876,97 +24351,97 @@ export const FunctionEnvelope: coreClient.CompositeMapper = { serializedName: "properties.function_app_id", xmlName: "properties.function_app_id", type: { - name: "String" - } + name: "String", + }, }, scriptRootPathHref: { serializedName: "properties.script_root_path_href", xmlName: "properties.script_root_path_href", type: { - name: "String" - } + name: "String", + }, }, scriptHref: { serializedName: "properties.script_href", xmlName: "properties.script_href", type: { - name: "String" - } + name: "String", + }, }, configHref: { serializedName: "properties.config_href", xmlName: "properties.config_href", type: { - name: "String" - } + name: "String", + }, }, testDataHref: { serializedName: "properties.test_data_href", xmlName: "properties.test_data_href", type: { - name: "String" - } + name: "String", + }, }, secretsFileHref: { serializedName: "properties.secrets_file_href", xmlName: "properties.secrets_file_href", type: { - name: "String" - } + name: "String", + }, }, href: { serializedName: "properties.href", xmlName: "properties.href", type: { - name: "String" - } + name: "String", + }, }, config: { serializedName: "properties.config", xmlName: "properties.config", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, files: { serializedName: "properties.files", xmlName: "properties.files", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, testData: { serializedName: "properties.test_data", xmlName: "properties.test_data", type: { - name: "String" - } + name: "String", + }, }, invokeUrlTemplate: { serializedName: "properties.invoke_url_template", xmlName: "properties.invoke_url_template", type: { - name: "String" - } + name: "String", + }, }, language: { serializedName: "properties.language", xmlName: "properties.language", type: { - name: "String" - } + name: "String", + }, }, isDisabled: { serializedName: "properties.isDisabled", xmlName: "properties.isDisabled", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const HostNameBinding: coreClient.CompositeMapper = { @@ -23980,72 +24455,72 @@ export const HostNameBinding: coreClient.CompositeMapper = { serializedName: "properties.siteName", xmlName: "properties.siteName", type: { - name: "String" - } + name: "String", + }, }, domainId: { serializedName: "properties.domainId", xmlName: "properties.domainId", type: { - name: "String" - } + name: "String", + }, }, azureResourceName: { serializedName: "properties.azureResourceName", xmlName: "properties.azureResourceName", type: { - name: "String" - } + name: "String", + }, }, azureResourceType: { serializedName: "properties.azureResourceType", xmlName: "properties.azureResourceType", type: { name: "Enum", - allowedValues: ["Website", "TrafficManager"] - } + allowedValues: ["Website", "TrafficManager"], + }, }, customHostNameDnsRecordType: { serializedName: "properties.customHostNameDnsRecordType", xmlName: "properties.customHostNameDnsRecordType", type: { name: "Enum", - allowedValues: ["CName", "A"] - } + allowedValues: ["CName", "A"], + }, }, hostNameType: { serializedName: "properties.hostNameType", xmlName: "properties.hostNameType", type: { name: "Enum", - allowedValues: ["Verified", "Managed"] - } + allowedValues: ["Verified", "Managed"], + }, }, sslState: { serializedName: "properties.sslState", xmlName: "properties.sslState", type: { name: "Enum", - allowedValues: ["Disabled", "SniEnabled", "IpBasedEnabled"] - } + allowedValues: ["Disabled", "SniEnabled", "IpBasedEnabled"], + }, }, thumbprint: { serializedName: "properties.thumbprint", xmlName: "properties.thumbprint", type: { - name: "String" - } + name: "String", + }, }, virtualIP: { serializedName: "properties.virtualIP", readOnly: true, xmlName: "properties.virtualIP", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const RelayServiceConnectionEntity: coreClient.CompositeMapper = { @@ -24059,53 +24534,53 @@ export const RelayServiceConnectionEntity: coreClient.CompositeMapper = { serializedName: "properties.entityName", xmlName: "properties.entityName", type: { - name: "String" - } + name: "String", + }, }, entityConnectionString: { serializedName: "properties.entityConnectionString", xmlName: "properties.entityConnectionString", type: { - name: "String" - } + name: "String", + }, }, resourceType: { serializedName: "properties.resourceType", xmlName: "properties.resourceType", type: { - name: "String" - } + name: "String", + }, }, resourceConnectionString: { serializedName: "properties.resourceConnectionString", xmlName: "properties.resourceConnectionString", type: { - name: "String" - } + name: "String", + }, }, hostname: { serializedName: "properties.hostname", xmlName: "properties.hostname", type: { - name: "String" - } + name: "String", + }, }, port: { serializedName: "properties.port", xmlName: "properties.port", type: { - name: "Number" - } + name: "Number", + }, }, biztalkUri: { serializedName: "properties.biztalkUri", xmlName: "properties.biztalkUri", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WebSiteInstanceStatus: coreClient.CompositeMapper = { @@ -24120,47 +24595,47 @@ export const WebSiteInstanceStatus: coreClient.CompositeMapper = { xmlName: "properties.state", type: { name: "Enum", - allowedValues: ["READY", "STOPPED", "UNKNOWN"] - } + allowedValues: ["READY", "STOPPED", "UNKNOWN"], + }, }, statusUrl: { serializedName: "properties.statusUrl", xmlName: "properties.statusUrl", type: { - name: "String" - } + name: "String", + }, }, detectorUrl: { serializedName: "properties.detectorUrl", xmlName: "properties.detectorUrl", type: { - name: "String" - } + name: "String", + }, }, consoleUrl: { serializedName: "properties.consoleUrl", xmlName: "properties.consoleUrl", type: { - name: "String" - } + name: "String", + }, }, healthCheckUrl: { serializedName: "properties.healthCheckUrl", xmlName: "properties.healthCheckUrl", type: { - name: "String" - } + name: "String", + }, }, containers: { serializedName: "properties.containers", xmlName: "properties.containers", type: { name: "Dictionary", - value: { type: { name: "Composite", className: "ContainerInfo" } } - } - } - } - } + value: { type: { name: "Composite", className: "ContainerInfo" } }, + }, + }, + }, + }, }; export const ProcessThreadInfo: coreClient.CompositeMapper = { @@ -24175,88 +24650,88 @@ export const ProcessThreadInfo: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.identifier", type: { - name: "Number" - } + name: "Number", + }, }, href: { serializedName: "properties.href", xmlName: "properties.href", type: { - name: "String" - } + name: "String", + }, }, process: { serializedName: "properties.process", xmlName: "properties.process", type: { - name: "String" - } + name: "String", + }, }, startAddress: { serializedName: "properties.start_address", xmlName: "properties.start_address", type: { - name: "String" - } + name: "String", + }, }, currentPriority: { serializedName: "properties.current_priority", xmlName: "properties.current_priority", type: { - name: "Number" - } + name: "Number", + }, }, priorityLevel: { serializedName: "properties.priority_level", xmlName: "properties.priority_level", type: { - name: "String" - } + name: "String", + }, }, basePriority: { serializedName: "properties.base_priority", xmlName: "properties.base_priority", type: { - name: "Number" - } + name: "Number", + }, }, startTime: { serializedName: "properties.start_time", xmlName: "properties.start_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, totalProcessorTime: { serializedName: "properties.total_processor_time", xmlName: "properties.total_processor_time", type: { - name: "String" - } + name: "String", + }, }, userProcessorTime: { serializedName: "properties.user_processor_time", xmlName: "properties.user_processor_time", type: { - name: "String" - } + name: "String", + }, }, state: { serializedName: "properties.state", xmlName: "properties.state", type: { - name: "String" - } + name: "String", + }, }, waitReason: { serializedName: "properties.wait_reason", xmlName: "properties.wait_reason", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ProcessModuleInfo: coreClient.CompositeMapper = { @@ -24270,81 +24745,81 @@ export const ProcessModuleInfo: coreClient.CompositeMapper = { serializedName: "properties.base_address", xmlName: "properties.base_address", type: { - name: "String" - } + name: "String", + }, }, fileName: { serializedName: "properties.file_name", xmlName: "properties.file_name", type: { - name: "String" - } + name: "String", + }, }, href: { serializedName: "properties.href", xmlName: "properties.href", type: { - name: "String" - } + name: "String", + }, }, filePath: { serializedName: "properties.file_path", xmlName: "properties.file_path", type: { - name: "String" - } + name: "String", + }, }, moduleMemorySize: { serializedName: "properties.module_memory_size", xmlName: "properties.module_memory_size", type: { - name: "Number" - } + name: "Number", + }, }, fileVersion: { serializedName: "properties.file_version", xmlName: "properties.file_version", type: { - name: "String" - } + name: "String", + }, }, fileDescription: { serializedName: "properties.file_description", xmlName: "properties.file_description", type: { - name: "String" - } + name: "String", + }, }, product: { serializedName: "properties.product", xmlName: "properties.product", type: { - name: "String" - } + name: "String", + }, }, productVersion: { serializedName: "properties.product_version", xmlName: "properties.product_version", type: { - name: "String" - } + name: "String", + }, }, isDebug: { serializedName: "properties.is_debug", xmlName: "properties.is_debug", type: { - name: "Boolean" - } + name: "Boolean", + }, }, language: { serializedName: "properties.language", xmlName: "properties.language", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ProcessInfo: coreClient.CompositeMapper = { @@ -24359,57 +24834,57 @@ export const ProcessInfo: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.identifier", type: { - name: "Number" - } + name: "Number", + }, }, deploymentName: { serializedName: "properties.deployment_name", xmlName: "properties.deployment_name", type: { - name: "String" - } + name: "String", + }, }, href: { serializedName: "properties.href", xmlName: "properties.href", type: { - name: "String" - } + name: "String", + }, }, minidump: { serializedName: "properties.minidump", xmlName: "properties.minidump", type: { - name: "String" - } + name: "String", + }, }, isProfileRunning: { serializedName: "properties.is_profile_running", xmlName: "properties.is_profile_running", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isIisProfileRunning: { serializedName: "properties.is_iis_profile_running", xmlName: "properties.is_iis_profile_running", type: { - name: "Boolean" - } + name: "Boolean", + }, }, iisProfileTimeoutInSeconds: { serializedName: "properties.iis_profile_timeout_in_seconds", xmlName: "properties.iis_profile_timeout_in_seconds", type: { - name: "Number" - } + name: "Number", + }, }, parent: { serializedName: "properties.parent", xmlName: "properties.parent", type: { - name: "String" - } + name: "String", + }, }, children: { serializedName: "properties.children", @@ -24419,10 +24894,10 @@ export const ProcessInfo: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, threads: { serializedName: "properties.threads", @@ -24433,10 +24908,10 @@ export const ProcessInfo: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ProcessThreadInfo" - } - } - } + className: "ProcessThreadInfo", + }, + }, + }, }, openFileHandles: { serializedName: "properties.open_file_handles", @@ -24446,10 +24921,10 @@ export const ProcessInfo: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, modules: { serializedName: "properties.modules", @@ -24460,182 +24935,182 @@ export const ProcessInfo: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ProcessModuleInfo" - } - } - } + className: "ProcessModuleInfo", + }, + }, + }, }, fileName: { serializedName: "properties.file_name", xmlName: "properties.file_name", type: { - name: "String" - } + name: "String", + }, }, commandLine: { serializedName: "properties.command_line", xmlName: "properties.command_line", type: { - name: "String" - } + name: "String", + }, }, userName: { serializedName: "properties.user_name", xmlName: "properties.user_name", type: { - name: "String" - } + name: "String", + }, }, handleCount: { serializedName: "properties.handle_count", xmlName: "properties.handle_count", type: { - name: "Number" - } + name: "Number", + }, }, moduleCount: { serializedName: "properties.module_count", xmlName: "properties.module_count", type: { - name: "Number" - } + name: "Number", + }, }, threadCount: { serializedName: "properties.thread_count", xmlName: "properties.thread_count", type: { - name: "Number" - } + name: "Number", + }, }, startTime: { serializedName: "properties.start_time", xmlName: "properties.start_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, totalCpuTime: { serializedName: "properties.total_cpu_time", xmlName: "properties.total_cpu_time", type: { - name: "String" - } + name: "String", + }, }, userCpuTime: { serializedName: "properties.user_cpu_time", xmlName: "properties.user_cpu_time", type: { - name: "String" - } + name: "String", + }, }, privilegedCpuTime: { serializedName: "properties.privileged_cpu_time", xmlName: "properties.privileged_cpu_time", type: { - name: "String" - } + name: "String", + }, }, workingSet: { serializedName: "properties.working_set", xmlName: "properties.working_set", type: { - name: "Number" - } + name: "Number", + }, }, peakWorkingSet: { serializedName: "properties.peak_working_set", xmlName: "properties.peak_working_set", type: { - name: "Number" - } + name: "Number", + }, }, privateMemory: { serializedName: "properties.private_memory", xmlName: "properties.private_memory", type: { - name: "Number" - } + name: "Number", + }, }, virtualMemory: { serializedName: "properties.virtual_memory", xmlName: "properties.virtual_memory", type: { - name: "Number" - } + name: "Number", + }, }, peakVirtualMemory: { serializedName: "properties.peak_virtual_memory", xmlName: "properties.peak_virtual_memory", type: { - name: "Number" - } + name: "Number", + }, }, pagedSystemMemory: { serializedName: "properties.paged_system_memory", xmlName: "properties.paged_system_memory", type: { - name: "Number" - } + name: "Number", + }, }, nonPagedSystemMemory: { serializedName: "properties.non_paged_system_memory", xmlName: "properties.non_paged_system_memory", type: { - name: "Number" - } + name: "Number", + }, }, pagedMemory: { serializedName: "properties.paged_memory", xmlName: "properties.paged_memory", type: { - name: "Number" - } + name: "Number", + }, }, peakPagedMemory: { serializedName: "properties.peak_paged_memory", xmlName: "properties.peak_paged_memory", type: { - name: "Number" - } + name: "Number", + }, }, timeStamp: { serializedName: "properties.time_stamp", xmlName: "properties.time_stamp", type: { - name: "DateTime" - } + name: "DateTime", + }, }, environmentVariables: { serializedName: "properties.environment_variables", xmlName: "properties.environment_variables", type: { name: "Dictionary", - value: { type: { name: "String" } } - } + value: { type: { name: "String" } }, + }, }, isScmSite: { serializedName: "properties.is_scm_site", xmlName: "properties.is_scm_site", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isWebjob: { serializedName: "properties.is_webjob", xmlName: "properties.is_webjob", type: { - name: "Boolean" - } + name: "Boolean", + }, }, description: { serializedName: "properties.description", xmlName: "properties.description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const StorageMigrationOptions: coreClient.CompositeMapper = { @@ -24649,34 +25124,34 @@ export const StorageMigrationOptions: coreClient.CompositeMapper = { serializedName: "properties.azurefilesConnectionString", xmlName: "properties.azurefilesConnectionString", type: { - name: "String" - } + name: "String", + }, }, azurefilesShare: { serializedName: "properties.azurefilesShare", xmlName: "properties.azurefilesShare", type: { - name: "String" - } + name: "String", + }, }, switchSiteAfterMigration: { defaultValue: false, serializedName: "properties.switchSiteAfterMigration", xmlName: "properties.switchSiteAfterMigration", type: { - name: "Boolean" - } + name: "Boolean", + }, }, blockWriteAccessToSite: { defaultValue: false, serializedName: "properties.blockWriteAccessToSite", xmlName: "properties.blockWriteAccessToSite", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const StorageMigrationResponse: coreClient.CompositeMapper = { @@ -24691,11 +25166,11 @@ export const StorageMigrationResponse: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.operationId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const MigrateMySqlRequest: coreClient.CompositeMapper = { @@ -24709,19 +25184,19 @@ export const MigrateMySqlRequest: coreClient.CompositeMapper = { serializedName: "properties.connectionString", xmlName: "properties.connectionString", type: { - name: "String" - } + name: "String", + }, }, migrationType: { serializedName: "properties.migrationType", xmlName: "properties.migrationType", type: { name: "Enum", - allowedValues: ["LocalToRemote", "RemoteToLocal"] - } - } - } - } + allowedValues: ["LocalToRemote", "RemoteToLocal"], + }, + }, + }, + }, }; export const MigrateMySqlStatus: coreClient.CompositeMapper = { @@ -24742,28 +25217,28 @@ export const MigrateMySqlStatus: coreClient.CompositeMapper = { "Failed", "Succeeded", "TimedOut", - "Created" - ] - } + "Created", + ], + }, }, operationId: { serializedName: "properties.operationId", readOnly: true, xmlName: "properties.operationId", type: { - name: "String" - } + name: "String", + }, }, localMySqlEnabled: { serializedName: "properties.localMySqlEnabled", readOnly: true, xmlName: "properties.localMySqlEnabled", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const SwiftVirtualNetwork: coreClient.CompositeMapper = { @@ -24777,18 +25252,18 @@ export const SwiftVirtualNetwork: coreClient.CompositeMapper = { serializedName: "properties.subnetResourceId", xmlName: "properties.subnetResourceId", type: { - name: "String" - } + name: "String", + }, }, swiftSupported: { serializedName: "properties.swiftSupported", xmlName: "properties.swiftSupported", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const NetworkFeatures: coreClient.CompositeMapper = { @@ -24803,16 +25278,16 @@ export const NetworkFeatures: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.virtualNetworkName", type: { - name: "String" - } + name: "String", + }, }, virtualNetworkConnection: { serializedName: "properties.virtualNetworkConnection", xmlName: "properties.virtualNetworkConnection", type: { name: "Composite", - className: "VnetInfo" - } + className: "VnetInfo", + }, }, hybridConnections: { serializedName: "properties.hybridConnections", @@ -24824,10 +25299,10 @@ export const NetworkFeatures: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RelayServiceConnectionEntity" - } - } - } + className: "RelayServiceConnectionEntity", + }, + }, + }, }, hybridConnectionsV2: { serializedName: "properties.hybridConnectionsV2", @@ -24839,13 +25314,13 @@ export const NetworkFeatures: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HybridConnection" - } - } - } - } - } - } + className: "HybridConnection", + }, + }, + }, + }, + }, + }, }; export const SitePhpErrorLogFlag: coreClient.CompositeMapper = { @@ -24859,32 +25334,32 @@ export const SitePhpErrorLogFlag: coreClient.CompositeMapper = { serializedName: "properties.localLogErrors", xmlName: "properties.localLogErrors", type: { - name: "String" - } + name: "String", + }, }, masterLogErrors: { serializedName: "properties.masterLogErrors", xmlName: "properties.masterLogErrors", type: { - name: "String" - } + name: "String", + }, }, localLogErrorsMaxLength: { serializedName: "properties.localLogErrorsMaxLength", xmlName: "properties.localLogErrorsMaxLength", type: { - name: "String" - } + name: "String", + }, }, masterLogErrorsMaxLength: { serializedName: "properties.masterLogErrorsMaxLength", xmlName: "properties.masterLogErrorsMaxLength", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PremierAddOnPatchResource: coreClient.CompositeMapper = { @@ -24898,39 +25373,39 @@ export const PremierAddOnPatchResource: coreClient.CompositeMapper = { serializedName: "properties.sku", xmlName: "properties.sku", type: { - name: "String" - } + name: "String", + }, }, product: { serializedName: "properties.product", xmlName: "properties.product", type: { - name: "String" - } + name: "String", + }, }, vendor: { serializedName: "properties.vendor", xmlName: "properties.vendor", type: { - name: "String" - } + name: "String", + }, }, marketplacePublisher: { serializedName: "properties.marketplacePublisher", xmlName: "properties.marketplacePublisher", type: { - name: "String" - } + name: "String", + }, }, marketplaceOffer: { serializedName: "properties.marketplaceOffer", xmlName: "properties.marketplaceOffer", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const PrivateAccess: coreClient.CompositeMapper = { @@ -24944,8 +25419,8 @@ export const PrivateAccess: coreClient.CompositeMapper = { serializedName: "properties.enabled", xmlName: "properties.enabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, virtualNetworks: { serializedName: "properties.virtualNetworks", @@ -24956,13 +25431,13 @@ export const PrivateAccess: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateAccessVirtualNetwork" - } - } - } - } - } - } + className: "PrivateAccessVirtualNetwork", + }, + }, + }, + }, + }, + }, }; export const PublicCertificate: coreClient.CompositeMapper = { @@ -24976,27 +25451,27 @@ export const PublicCertificate: coreClient.CompositeMapper = { serializedName: "properties.blob", xmlName: "properties.blob", type: { - name: "ByteArray" - } + name: "ByteArray", + }, }, publicCertificateLocation: { serializedName: "properties.publicCertificateLocation", xmlName: "properties.publicCertificateLocation", type: { name: "Enum", - allowedValues: ["CurrentUserMy", "LocalMachineMy", "Unknown"] - } + allowedValues: ["CurrentUserMy", "LocalMachineMy", "Unknown"], + }, }, thumbprint: { serializedName: "properties.thumbprint", readOnly: true, xmlName: "properties.thumbprint", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const DeletedAppRestoreRequest: coreClient.CompositeMapper = { @@ -25010,32 +25485,32 @@ export const DeletedAppRestoreRequest: coreClient.CompositeMapper = { serializedName: "properties.deletedSiteId", xmlName: "properties.deletedSiteId", type: { - name: "String" - } + name: "String", + }, }, recoverConfiguration: { serializedName: "properties.recoverConfiguration", xmlName: "properties.recoverConfiguration", type: { - name: "Boolean" - } + name: "Boolean", + }, }, snapshotTime: { serializedName: "properties.snapshotTime", xmlName: "properties.snapshotTime", type: { - name: "String" - } + name: "String", + }, }, useDRSecondary: { serializedName: "properties.useDRSecondary", xmlName: "properties.useDRSecondary", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, }; export const SnapshotRestoreRequest: coreClient.CompositeMapper = { @@ -25049,47 +25524,164 @@ export const SnapshotRestoreRequest: coreClient.CompositeMapper = { serializedName: "properties.snapshotTime", xmlName: "properties.snapshotTime", type: { - name: "String" - } + name: "String", + }, }, recoverySource: { serializedName: "properties.recoverySource", xmlName: "properties.recoverySource", type: { name: "Composite", - className: "SnapshotRecoverySource" - } + className: "SnapshotRecoverySource", + }, }, overwrite: { serializedName: "properties.overwrite", xmlName: "properties.overwrite", type: { - name: "Boolean" - } + name: "Boolean", + }, }, recoverConfiguration: { serializedName: "properties.recoverConfiguration", xmlName: "properties.recoverConfiguration", type: { - name: "Boolean" - } + name: "Boolean", + }, }, ignoreConflictingHostNames: { serializedName: "properties.ignoreConflictingHostNames", xmlName: "properties.ignoreConflictingHostNames", type: { - name: "Boolean" - } + name: "Boolean", + }, }, useDRSecondary: { serializedName: "properties.useDRSecondary", xmlName: "properties.useDRSecondary", type: { - name: "Boolean" - } - } - } - } + name: "Boolean", + }, + }, + }, + }, +}; + +export const SiteContainer: coreClient.CompositeMapper = { + serializedName: "SiteContainer", + type: { + name: "Composite", + className: "SiteContainer", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + image: { + serializedName: "properties.image", + xmlName: "properties.image", + type: { + name: "String", + }, + }, + targetPort: { + serializedName: "properties.targetPort", + xmlName: "properties.targetPort", + type: { + name: "String", + }, + }, + isMain: { + serializedName: "properties.isMain", + xmlName: "properties.isMain", + type: { + name: "Boolean", + }, + }, + startUpCommand: { + serializedName: "properties.startUpCommand", + xmlName: "properties.startUpCommand", + type: { + name: "String", + }, + }, + authType: { + serializedName: "properties.authType", + xmlName: "properties.authType", + type: { + name: "Enum", + allowedValues: [ + "Anonymous", + "UserCredentials", + "SystemIdentity", + "UserAssigned", + ], + }, + }, + userName: { + serializedName: "properties.userName", + xmlName: "properties.userName", + type: { + name: "String", + }, + }, + passwordSecret: { + serializedName: "properties.passwordSecret", + xmlName: "properties.passwordSecret", + type: { + name: "String", + }, + }, + userManagedIdentityClientId: { + serializedName: "properties.userManagedIdentityClientId", + xmlName: "properties.userManagedIdentityClientId", + type: { + name: "String", + }, + }, + createdTime: { + serializedName: "properties.createdTime", + readOnly: true, + xmlName: "properties.createdTime", + type: { + name: "DateTime", + }, + }, + lastModifiedTime: { + serializedName: "properties.lastModifiedTime", + readOnly: true, + xmlName: "properties.lastModifiedTime", + type: { + name: "DateTime", + }, + }, + volumeMounts: { + serializedName: "properties.volumeMounts", + xmlName: "properties.volumeMounts", + xmlElementName: "VolumeMount", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VolumeMount", + }, + }, + }, + }, + environmentVariables: { + serializedName: "properties.environmentVariables", + xmlName: "properties.environmentVariables", + xmlElementName: "EnvironmentVariable", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVariable", + }, + }, + }, + }, + }, + }, }; export const SiteExtensionInfo: coreClient.CompositeMapper = { @@ -25103,79 +25695,79 @@ export const SiteExtensionInfo: coreClient.CompositeMapper = { serializedName: "properties.extension_id", xmlName: "properties.extension_id", type: { - name: "String" - } + name: "String", + }, }, title: { serializedName: "properties.title", xmlName: "properties.title", type: { - name: "String" - } + name: "String", + }, }, extensionType: { serializedName: "properties.extension_type", xmlName: "properties.extension_type", type: { name: "Enum", - allowedValues: ["Gallery", "WebRoot"] - } + allowedValues: ["Gallery", "WebRoot"], + }, }, summary: { serializedName: "properties.summary", xmlName: "properties.summary", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", xmlName: "properties.description", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "properties.version", xmlName: "properties.version", type: { - name: "String" - } + name: "String", + }, }, extensionUrl: { serializedName: "properties.extension_url", xmlName: "properties.extension_url", type: { - name: "String" - } + name: "String", + }, }, projectUrl: { serializedName: "properties.project_url", xmlName: "properties.project_url", type: { - name: "String" - } + name: "String", + }, }, iconUrl: { serializedName: "properties.icon_url", xmlName: "properties.icon_url", type: { - name: "String" - } + name: "String", + }, }, licenseUrl: { serializedName: "properties.license_url", xmlName: "properties.license_url", type: { - name: "String" - } + name: "String", + }, }, feedUrl: { serializedName: "properties.feed_url", xmlName: "properties.feed_url", type: { - name: "String" - } + name: "String", + }, }, authors: { serializedName: "properties.authors", @@ -25185,69 +25777,69 @@ export const SiteExtensionInfo: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" - } - } - } + name: "String", + }, + }, + }, }, installerCommandLineParams: { serializedName: "properties.installer_command_line_params", xmlName: "properties.installer_command_line_params", type: { - name: "String" - } + name: "String", + }, }, publishedDateTime: { serializedName: "properties.published_date_time", xmlName: "properties.published_date_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, downloadCount: { serializedName: "properties.download_count", xmlName: "properties.download_count", type: { - name: "Number" - } + name: "Number", + }, }, localIsLatestVersion: { serializedName: "properties.local_is_latest_version", xmlName: "properties.local_is_latest_version", type: { - name: "Boolean" - } + name: "Boolean", + }, }, localPath: { serializedName: "properties.local_path", xmlName: "properties.local_path", type: { - name: "String" - } + name: "String", + }, }, installedDateTime: { serializedName: "properties.installed_date_time", xmlName: "properties.installed_date_time", type: { - name: "DateTime" - } + name: "DateTime", + }, }, provisioningState: { serializedName: "properties.provisioningState", xmlName: "properties.provisioningState", type: { - name: "String" - } + name: "String", + }, }, comment: { serializedName: "properties.comment", xmlName: "properties.comment", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SlotDifference: coreClient.CompositeMapper = { @@ -25262,59 +25854,59 @@ export const SlotDifference: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.level", type: { - name: "String" - } + name: "String", + }, }, settingType: { serializedName: "properties.settingType", readOnly: true, xmlName: "properties.settingType", type: { - name: "String" - } + name: "String", + }, }, diffRule: { serializedName: "properties.diffRule", readOnly: true, xmlName: "properties.diffRule", type: { - name: "String" - } + name: "String", + }, }, settingName: { serializedName: "properties.settingName", readOnly: true, xmlName: "properties.settingName", type: { - name: "String" - } + name: "String", + }, }, valueInCurrentSlot: { serializedName: "properties.valueInCurrentSlot", readOnly: true, xmlName: "properties.valueInCurrentSlot", type: { - name: "String" - } + name: "String", + }, }, valueInTargetSlot: { serializedName: "properties.valueInTargetSlot", readOnly: true, xmlName: "properties.valueInTargetSlot", type: { - name: "String" - } + name: "String", + }, }, description: { serializedName: "properties.description", readOnly: true, xmlName: "properties.description", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const SiteSourceControl: coreClient.CompositeMapper = { @@ -25328,54 +25920,54 @@ export const SiteSourceControl: coreClient.CompositeMapper = { serializedName: "properties.repoUrl", xmlName: "properties.repoUrl", type: { - name: "String" - } + name: "String", + }, }, branch: { serializedName: "properties.branch", xmlName: "properties.branch", type: { - name: "String" - } + name: "String", + }, }, isManualIntegration: { serializedName: "properties.isManualIntegration", xmlName: "properties.isManualIntegration", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isGitHubAction: { serializedName: "properties.isGitHubAction", xmlName: "properties.isGitHubAction", type: { - name: "Boolean" - } + name: "Boolean", + }, }, deploymentRollbackEnabled: { serializedName: "properties.deploymentRollbackEnabled", xmlName: "properties.deploymentRollbackEnabled", type: { - name: "Boolean" - } + name: "Boolean", + }, }, isMercurial: { serializedName: "properties.isMercurial", xmlName: "properties.isMercurial", type: { - name: "Boolean" - } + name: "Boolean", + }, }, gitHubActionConfiguration: { serializedName: "properties.gitHubActionConfiguration", xmlName: "properties.gitHubActionConfiguration", type: { name: "Composite", - className: "GitHubActionConfiguration" - } - } - } - } + className: "GitHubActionConfiguration", + }, + }, + }, + }, }; export const TriggeredWebJob: coreClient.CompositeMapper = { @@ -25390,79 +25982,79 @@ export const TriggeredWebJob: coreClient.CompositeMapper = { xmlName: "properties.latest_run", type: { name: "Composite", - className: "TriggeredJobRun" - } + className: "TriggeredJobRun", + }, }, historyUrl: { serializedName: "properties.history_url", xmlName: "properties.history_url", type: { - name: "String" - } + name: "String", + }, }, schedulerLogsUrl: { serializedName: "properties.scheduler_logs_url", xmlName: "properties.scheduler_logs_url", type: { - name: "String" - } + name: "String", + }, }, runCommand: { serializedName: "properties.run_command", xmlName: "properties.run_command", type: { - name: "String" - } + name: "String", + }, }, url: { serializedName: "properties.url", xmlName: "properties.url", type: { - name: "String" - } + name: "String", + }, }, extraInfoUrl: { serializedName: "properties.extra_info_url", xmlName: "properties.extra_info_url", type: { - name: "String" - } + name: "String", + }, }, webJobType: { serializedName: "properties.web_job_type", xmlName: "properties.web_job_type", type: { name: "Enum", - allowedValues: ["Continuous", "Triggered"] - } + allowedValues: ["Continuous", "Triggered"], + }, }, error: { serializedName: "properties.error", xmlName: "properties.error", type: { - name: "String" - } + name: "String", + }, }, usingSdk: { serializedName: "properties.using_sdk", xmlName: "properties.using_sdk", type: { - name: "Boolean" - } + name: "Boolean", + }, }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", xmlName: "properties.publicNetworkAccess", type: { - name: "String" - } + name: "String", + }, }, storageAccountRequired: { serializedName: "properties.storageAccountRequired", xmlName: "properties.storageAccountRequired", type: { - name: "Boolean" - } + name: "Boolean", + }, }, settings: { serializedName: "properties.settings", @@ -25470,12 +26062,12 @@ export const TriggeredWebJob: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + }, + }, }; export const TriggeredJobHistory: coreClient.CompositeMapper = { @@ -25494,13 +26086,13 @@ export const TriggeredJobHistory: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "TriggeredJobRun" - } - } - } - } - } - } + className: "TriggeredJobRun", + }, + }, + }, + }, + }, + }, }; export const WebJob: coreClient.CompositeMapper = { @@ -25514,44 +26106,44 @@ export const WebJob: coreClient.CompositeMapper = { serializedName: "properties.run_command", xmlName: "properties.run_command", type: { - name: "String" - } + name: "String", + }, }, url: { serializedName: "properties.url", xmlName: "properties.url", type: { - name: "String" - } + name: "String", + }, }, extraInfoUrl: { serializedName: "properties.extra_info_url", xmlName: "properties.extra_info_url", type: { - name: "String" - } + name: "String", + }, }, webJobType: { serializedName: "properties.web_job_type", xmlName: "properties.web_job_type", type: { name: "Enum", - allowedValues: ["Continuous", "Triggered"] - } + allowedValues: ["Continuous", "Triggered"], + }, }, error: { serializedName: "properties.error", xmlName: "properties.error", type: { - name: "String" - } + name: "String", + }, }, usingSdk: { serializedName: "properties.using_sdk", xmlName: "properties.using_sdk", type: { - name: "Boolean" - } + name: "Boolean", + }, }, settings: { serializedName: "properties.settings", @@ -25559,13 +26151,33 @@ export const WebJob: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - } - } - } - } -}; + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + }, + }, +}; + +export const PrivateLinkConnectionApprovalRequestResource: coreClient.CompositeMapper = + { + serializedName: "PrivateLinkConnectionApprovalRequestResource", + type: { + name: "Composite", + className: "PrivateLinkConnectionApprovalRequestResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + xmlName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkConnectionState", + }, + }, + }, + }, + }; export const WorkflowOutputParameter: coreClient.CompositeMapper = { serializedName: "WorkflowOutputParameter", @@ -25580,11 +26192,11 @@ export const WorkflowOutputParameter: coreClient.CompositeMapper = { xmlName: "error", type: { name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } + value: { type: { name: "any" } }, + }, + }, + }, + }, }; export const WorkflowRun: coreClient.CompositeMapper = { @@ -25599,56 +26211,56 @@ export const WorkflowRun: coreClient.CompositeMapper = { readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, waitEndTime: { serializedName: "properties.waitEndTime", readOnly: true, xmlName: "properties.waitEndTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, startTime: { serializedName: "properties.startTime", readOnly: true, xmlName: "properties.startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.endTime", readOnly: true, xmlName: "properties.endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, status: { serializedName: "properties.status", readOnly: true, xmlName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, code: { serializedName: "properties.code", readOnly: true, xmlName: "properties.code", type: { - name: "String" - } + name: "String", + }, }, error: { serializedName: "properties.error", @@ -25656,40 +26268,40 @@ export const WorkflowRun: coreClient.CompositeMapper = { xmlName: "properties.error", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, correlationId: { serializedName: "properties.correlationId", readOnly: true, xmlName: "properties.correlationId", type: { - name: "String" - } + name: "String", + }, }, correlation: { serializedName: "properties.correlation", xmlName: "properties.correlation", type: { name: "Composite", - className: "Correlation" - } + className: "Correlation", + }, }, workflow: { serializedName: "properties.workflow", xmlName: "properties.workflow", type: { name: "Composite", - className: "ResourceReference" - } + className: "ResourceReference", + }, }, trigger: { serializedName: "properties.trigger", xmlName: "properties.trigger", type: { name: "Composite", - className: "WorkflowRunTrigger" - } + className: "WorkflowRunTrigger", + }, }, outputs: { serializedName: "properties.outputs", @@ -25698,20 +26310,20 @@ export const WorkflowRun: coreClient.CompositeMapper = { type: { name: "Dictionary", value: { - type: { name: "Composite", className: "WorkflowOutputParameter" } - } - } + type: { name: "Composite", className: "WorkflowOutputParameter" }, + }, + }, }, response: { serializedName: "properties.response", xmlName: "properties.response", type: { name: "Composite", - className: "WorkflowRunTrigger" - } - } - } - } + className: "WorkflowRunTrigger", + }, + }, + }, + }, }; export const WorkflowRunAction: coreClient.CompositeMapper = { @@ -25726,48 +26338,48 @@ export const WorkflowRunAction: coreClient.CompositeMapper = { readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, startTime: { serializedName: "properties.startTime", readOnly: true, xmlName: "properties.startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.endTime", readOnly: true, xmlName: "properties.endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, status: { serializedName: "properties.status", readOnly: true, xmlName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, code: { serializedName: "properties.code", readOnly: true, xmlName: "properties.code", type: { - name: "String" - } + name: "String", + }, }, error: { serializedName: "properties.error", @@ -25775,40 +26387,40 @@ export const WorkflowRunAction: coreClient.CompositeMapper = { xmlName: "properties.error", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, trackingId: { serializedName: "properties.trackingId", readOnly: true, xmlName: "properties.trackingId", type: { - name: "String" - } + name: "String", + }, }, correlation: { serializedName: "properties.correlation", xmlName: "properties.correlation", type: { name: "Composite", - className: "RunActionCorrelation" - } + className: "RunActionCorrelation", + }, }, inputsLink: { serializedName: "properties.inputsLink", xmlName: "properties.inputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, outputsLink: { serializedName: "properties.outputsLink", xmlName: "properties.outputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, trackedProperties: { serializedName: "properties.trackedProperties", @@ -25816,8 +26428,8 @@ export const WorkflowRunAction: coreClient.CompositeMapper = { xmlName: "properties.trackedProperties", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, retryHistory: { serializedName: "properties.retryHistory", @@ -25828,13 +26440,13 @@ export const WorkflowRunAction: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RetryHistory" - } - } - } - } - } - } + className: "RetryHistory", + }, + }, + }, + }, + }, + }, }; export const WorkflowTrigger: coreClient.CompositeMapper = { @@ -25849,91 +26461,91 @@ export const WorkflowTrigger: coreClient.CompositeMapper = { readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, xmlName: "properties.provisioningState", type: { - name: "String" - } + name: "String", + }, }, createdTime: { serializedName: "properties.createdTime", readOnly: true, xmlName: "properties.createdTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, changedTime: { serializedName: "properties.changedTime", readOnly: true, xmlName: "properties.changedTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, state: { serializedName: "properties.state", readOnly: true, xmlName: "properties.state", type: { - name: "String" - } + name: "String", + }, }, status: { serializedName: "properties.status", readOnly: true, xmlName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, lastExecutionTime: { serializedName: "properties.lastExecutionTime", readOnly: true, xmlName: "properties.lastExecutionTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, nextExecutionTime: { serializedName: "properties.nextExecutionTime", readOnly: true, xmlName: "properties.nextExecutionTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, recurrence: { serializedName: "properties.recurrence", xmlName: "properties.recurrence", type: { name: "Composite", - className: "WorkflowTriggerRecurrence" - } + className: "WorkflowTriggerRecurrence", + }, }, workflow: { serializedName: "properties.workflow", xmlName: "properties.workflow", type: { name: "Composite", - className: "ResourceReference" - } - } - } - } + className: "ResourceReference", + }, + }, + }, + }, }; export const WorkflowTriggerHistory: coreClient.CompositeMapper = { @@ -25948,56 +26560,56 @@ export const WorkflowTriggerHistory: coreClient.CompositeMapper = { readOnly: true, xmlName: "name", type: { - name: "String" - } + name: "String", + }, }, type: { serializedName: "type", readOnly: true, xmlName: "type", type: { - name: "String" - } + name: "String", + }, }, startTime: { serializedName: "properties.startTime", readOnly: true, xmlName: "properties.startTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, endTime: { serializedName: "properties.endTime", readOnly: true, xmlName: "properties.endTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, scheduledTime: { serializedName: "properties.scheduledTime", readOnly: true, xmlName: "properties.scheduledTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, status: { serializedName: "properties.status", readOnly: true, xmlName: "properties.status", type: { - name: "String" - } + name: "String", + }, }, code: { serializedName: "properties.code", readOnly: true, xmlName: "properties.code", type: { - name: "String" - } + name: "String", + }, }, error: { serializedName: "properties.error", @@ -26005,59 +26617,59 @@ export const WorkflowTriggerHistory: coreClient.CompositeMapper = { xmlName: "properties.error", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, trackingId: { serializedName: "properties.trackingId", readOnly: true, xmlName: "properties.trackingId", type: { - name: "String" - } + name: "String", + }, }, correlation: { serializedName: "properties.correlation", xmlName: "properties.correlation", type: { name: "Composite", - className: "Correlation" - } + className: "Correlation", + }, }, inputsLink: { serializedName: "properties.inputsLink", xmlName: "properties.inputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, outputsLink: { serializedName: "properties.outputsLink", xmlName: "properties.outputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, fired: { serializedName: "properties.fired", readOnly: true, xmlName: "properties.fired", type: { - name: "Boolean" - } + name: "Boolean", + }, }, run: { serializedName: "properties.run", xmlName: "properties.run", type: { name: "Composite", - className: "ResourceReference" - } - } - } - } + className: "ResourceReference", + }, + }, + }, + }, }; export const RunActionCorrelation: coreClient.CompositeMapper = { @@ -26071,11 +26683,11 @@ export const RunActionCorrelation: coreClient.CompositeMapper = { serializedName: "actionTrackingId", xmlName: "actionTrackingId", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const ExpressionRoot: coreClient.CompositeMapper = { @@ -26089,11 +26701,11 @@ export const ExpressionRoot: coreClient.CompositeMapper = { serializedName: "path", xmlName: "path", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const AzureResourceErrorInfo: coreClient.CompositeMapper = { @@ -26108,8 +26720,8 @@ export const AzureResourceErrorInfo: coreClient.CompositeMapper = { required: true, xmlName: "message", type: { - name: "String" - } + name: "String", + }, }, details: { serializedName: "details", @@ -26120,13 +26732,13 @@ export const AzureResourceErrorInfo: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AzureResourceErrorInfo" - } - } - } - } - } - } + className: "AzureResourceErrorInfo", + }, + }, + }, + }, + }, + }, }; export const OperationResult: coreClient.CompositeMapper = { @@ -26141,8 +26753,8 @@ export const OperationResult: coreClient.CompositeMapper = { readOnly: true, xmlName: "trackingId", type: { - name: "String" - } + name: "String", + }, }, inputs: { serializedName: "inputs", @@ -26150,16 +26762,16 @@ export const OperationResult: coreClient.CompositeMapper = { xmlName: "inputs", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, inputsLink: { serializedName: "inputsLink", xmlName: "inputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, outputs: { serializedName: "outputs", @@ -26167,16 +26779,16 @@ export const OperationResult: coreClient.CompositeMapper = { xmlName: "outputs", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, outputsLink: { serializedName: "outputsLink", xmlName: "outputsLink", type: { name: "Composite", - className: "ContentLink" - } + className: "ContentLink", + }, }, trackedProperties: { serializedName: "trackedProperties", @@ -26184,8 +26796,8 @@ export const OperationResult: coreClient.CompositeMapper = { xmlName: "trackedProperties", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, retryHistory: { serializedName: "retryHistory", @@ -26196,161 +26808,162 @@ export const OperationResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "RetryHistory" - } - } - } + className: "RetryHistory", + }, + }, + }, }, iterationCount: { serializedName: "iterationCount", xmlName: "iterationCount", type: { - name: "Number" - } - } - } - } -}; - -export const WorkflowRunActionRepetitionDefinition: coreClient.CompositeMapper = { - serializedName: "WorkflowRunActionRepetitionDefinition", - type: { - name: "Composite", - className: "WorkflowRunActionRepetitionDefinition", - modelProperties: { - ...WorkflowResource.type.modelProperties, - startTime: { - serializedName: "properties.startTime", - xmlName: "properties.startTime", - type: { - name: "DateTime" - } - }, - endTime: { - serializedName: "properties.endTime", - xmlName: "properties.endTime", - type: { - name: "DateTime" - } - }, - correlation: { - serializedName: "properties.correlation", - xmlName: "properties.correlation", - type: { - name: "Composite", - className: "RunActionCorrelation" - } - }, - status: { - serializedName: "properties.status", - xmlName: "properties.status", - type: { - name: "String" - } - }, - code: { - serializedName: "properties.code", - xmlName: "properties.code", - type: { - name: "String" - } - }, - error: { - serializedName: "properties.error", - xmlName: "properties.error", - type: { - name: "any" - } - }, - trackingId: { - serializedName: "properties.trackingId", - readOnly: true, - xmlName: "properties.trackingId", - type: { - name: "String" - } - }, - inputs: { - serializedName: "properties.inputs", - readOnly: true, - xmlName: "properties.inputs", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - }, - inputsLink: { - serializedName: "properties.inputsLink", - xmlName: "properties.inputsLink", - type: { - name: "Composite", - className: "ContentLink" - } - }, - outputs: { - serializedName: "properties.outputs", - readOnly: true, - xmlName: "properties.outputs", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - }, - outputsLink: { - serializedName: "properties.outputsLink", - xmlName: "properties.outputsLink", - type: { - name: "Composite", - className: "ContentLink" - } - }, - trackedProperties: { - serializedName: "properties.trackedProperties", - readOnly: true, - xmlName: "properties.trackedProperties", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - }, - retryHistory: { - serializedName: "properties.retryHistory", - xmlName: "properties.retryHistory", - xmlElementName: "RetryHistory", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RetryHistory" - } - } - } + name: "Number", + }, }, - iterationCount: { - serializedName: "properties.iterationCount", - xmlName: "properties.iterationCount", - type: { - name: "Number" - } + }, + }, +}; + +export const WorkflowRunActionRepetitionDefinition: coreClient.CompositeMapper = + { + serializedName: "WorkflowRunActionRepetitionDefinition", + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinition", + modelProperties: { + ...WorkflowResource.type.modelProperties, + startTime: { + serializedName: "properties.startTime", + xmlName: "properties.startTime", + type: { + name: "DateTime", + }, + }, + endTime: { + serializedName: "properties.endTime", + xmlName: "properties.endTime", + type: { + name: "DateTime", + }, + }, + correlation: { + serializedName: "properties.correlation", + xmlName: "properties.correlation", + type: { + name: "Composite", + className: "RunActionCorrelation", + }, + }, + status: { + serializedName: "properties.status", + xmlName: "properties.status", + type: { + name: "String", + }, + }, + code: { + serializedName: "properties.code", + xmlName: "properties.code", + type: { + name: "String", + }, + }, + error: { + serializedName: "properties.error", + xmlName: "properties.error", + type: { + name: "any", + }, + }, + trackingId: { + serializedName: "properties.trackingId", + readOnly: true, + xmlName: "properties.trackingId", + type: { + name: "String", + }, + }, + inputs: { + serializedName: "properties.inputs", + readOnly: true, + xmlName: "properties.inputs", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + inputsLink: { + serializedName: "properties.inputsLink", + xmlName: "properties.inputsLink", + type: { + name: "Composite", + className: "ContentLink", + }, + }, + outputs: { + serializedName: "properties.outputs", + readOnly: true, + xmlName: "properties.outputs", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + outputsLink: { + serializedName: "properties.outputsLink", + xmlName: "properties.outputsLink", + type: { + name: "Composite", + className: "ContentLink", + }, + }, + trackedProperties: { + serializedName: "properties.trackedProperties", + readOnly: true, + xmlName: "properties.trackedProperties", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + retryHistory: { + serializedName: "properties.retryHistory", + xmlName: "properties.retryHistory", + xmlElementName: "RetryHistory", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RetryHistory", + }, + }, + }, + }, + iterationCount: { + serializedName: "properties.iterationCount", + xmlName: "properties.iterationCount", + type: { + name: "Number", + }, + }, + repetitionIndexes: { + serializedName: "properties.repetitionIndexes", + xmlName: "properties.repetitionIndexes", + xmlElementName: "RepetitionIndex", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RepetitionIndex", + }, + }, + }, + }, }, - repetitionIndexes: { - serializedName: "properties.repetitionIndexes", - xmlName: "properties.repetitionIndexes", - xmlElementName: "RepetitionIndex", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RepetitionIndex" - } - } - } - } - } - } -}; + }, + }; export const RequestHistory: coreClient.CompositeMapper = { serializedName: "RequestHistory", @@ -26364,11 +26977,11 @@ export const RequestHistory: coreClient.CompositeMapper = { xmlName: "properties", type: { name: "Composite", - className: "RequestHistoryProperties" - } - } - } - } + className: "RequestHistoryProperties", + }, + }, + }, + }, }; export const Workflow: coreClient.CompositeMapper = { @@ -26383,121 +26996,123 @@ export const Workflow: coreClient.CompositeMapper = { xmlName: "identity", type: { name: "Composite", - className: "ManagedServiceIdentity" - } + className: "ManagedServiceIdentity", + }, }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, xmlName: "properties.provisioningState", type: { - name: "String" - } + name: "String", + }, }, createdTime: { serializedName: "properties.createdTime", readOnly: true, xmlName: "properties.createdTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, changedTime: { serializedName: "properties.changedTime", readOnly: true, xmlName: "properties.changedTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, state: { serializedName: "properties.state", xmlName: "properties.state", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "properties.version", readOnly: true, xmlName: "properties.version", type: { - name: "String" - } + name: "String", + }, }, accessEndpoint: { serializedName: "properties.accessEndpoint", readOnly: true, xmlName: "properties.accessEndpoint", type: { - name: "String" - } + name: "String", + }, }, endpointsConfiguration: { serializedName: "properties.endpointsConfiguration", xmlName: "properties.endpointsConfiguration", type: { name: "Composite", - className: "FlowEndpointsConfiguration" - } + className: "FlowEndpointsConfiguration", + }, }, accessControl: { serializedName: "properties.accessControl", xmlName: "properties.accessControl", type: { name: "Composite", - className: "FlowAccessControlConfiguration" - } + className: "FlowAccessControlConfiguration", + }, }, sku: { serializedName: "properties.sku", xmlName: "properties.sku", type: { name: "Composite", - className: "WorkflowSku" - } + className: "WorkflowSku", + }, }, integrationAccount: { serializedName: "properties.integrationAccount", xmlName: "properties.integrationAccount", type: { name: "Composite", - className: "ResourceReference" - } + className: "ResourceReference", + }, }, integrationServiceEnvironment: { serializedName: "properties.integrationServiceEnvironment", xmlName: "properties.integrationServiceEnvironment", type: { name: "Composite", - className: "ResourceReference" - } + className: "ResourceReference", + }, }, definition: { serializedName: "properties.definition", xmlName: "properties.definition", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, parameters: { serializedName: "properties.parameters", xmlName: "properties.parameters", type: { name: "Dictionary", - value: { type: { name: "Composite", className: "WorkflowParameter" } } - } + value: { + type: { name: "Composite", className: "WorkflowParameter" }, + }, + }, }, kind: { serializedName: "properties.kind", xmlName: "properties.kind", type: { - name: "String" - } - } - } - } + name: "String", + }, + }, + }, + }, }; export const WorkflowVersion: coreClient.CompositeMapper = { @@ -26512,138 +27127,142 @@ export const WorkflowVersion: coreClient.CompositeMapper = { readOnly: true, xmlName: "properties.provisioningState", type: { - name: "String" - } + name: "String", + }, }, createdTime: { serializedName: "properties.createdTime", readOnly: true, xmlName: "properties.createdTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, changedTime: { serializedName: "properties.changedTime", readOnly: true, xmlName: "properties.changedTime", type: { - name: "DateTime" - } + name: "DateTime", + }, }, state: { serializedName: "properties.state", xmlName: "properties.state", type: { - name: "String" - } + name: "String", + }, }, version: { serializedName: "properties.version", readOnly: true, xmlName: "properties.version", type: { - name: "String" - } + name: "String", + }, }, accessEndpoint: { serializedName: "properties.accessEndpoint", readOnly: true, xmlName: "properties.accessEndpoint", type: { - name: "String" - } + name: "String", + }, }, endpointsConfiguration: { serializedName: "properties.endpointsConfiguration", xmlName: "properties.endpointsConfiguration", type: { name: "Composite", - className: "FlowEndpointsConfiguration" - } + className: "FlowEndpointsConfiguration", + }, }, accessControl: { serializedName: "properties.accessControl", xmlName: "properties.accessControl", type: { name: "Composite", - className: "FlowAccessControlConfiguration" - } + className: "FlowAccessControlConfiguration", + }, }, sku: { serializedName: "properties.sku", xmlName: "properties.sku", type: { name: "Composite", - className: "WorkflowSku" - } + className: "WorkflowSku", + }, }, integrationAccount: { serializedName: "properties.integrationAccount", xmlName: "properties.integrationAccount", type: { name: "Composite", - className: "ResourceReference" - } + className: "ResourceReference", + }, }, definition: { serializedName: "properties.definition", xmlName: "properties.definition", type: { name: "Dictionary", - value: { type: { name: "any" } } - } + value: { type: { name: "any" } }, + }, }, parameters: { serializedName: "properties.parameters", xmlName: "properties.parameters", type: { name: "Dictionary", - value: { type: { name: "Composite", className: "WorkflowParameter" } } - } - } - } - } -}; - -export const WorkflowRunActionRepetitionProperties: coreClient.CompositeMapper = { - serializedName: "WorkflowRunActionRepetitionProperties", - type: { - name: "Composite", - className: "WorkflowRunActionRepetitionProperties", - modelProperties: { - ...OperationResult.type.modelProperties, - repetitionIndexes: { - serializedName: "repetitionIndexes", - xmlName: "repetitionIndexes", - xmlElementName: "RepetitionIndex", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RepetitionIndex" - } - } - } - } - } - } -}; - -export const AppServiceEnvironmentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { - serializedName: "AppServiceEnvironments_createOrUpdateHeaders", - type: { - name: "Composite", - className: "AppServiceEnvironmentsCreateOrUpdateHeaders", - modelProperties: { - location: { - serializedName: "location", - xmlName: "location", - type: { - name: "String" - } - } - } - } -}; + value: { + type: { name: "Composite", className: "WorkflowParameter" }, + }, + }, + }, + }, + }, +}; + +export const WorkflowRunActionRepetitionProperties: coreClient.CompositeMapper = + { + serializedName: "WorkflowRunActionRepetitionProperties", + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionProperties", + modelProperties: { + ...OperationResult.type.modelProperties, + repetitionIndexes: { + serializedName: "repetitionIndexes", + xmlName: "repetitionIndexes", + xmlElementName: "RepetitionIndex", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RepetitionIndex", + }, + }, + }, + }, + }, + }, + }; + +export const AppServiceEnvironmentsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + serializedName: "AppServiceEnvironments_createOrUpdateHeaders", + type: { + name: "Composite", + className: "AppServiceEnvironmentsCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + xmlName: "location", + type: { + name: "String", + }, + }, + }, + }, + }; diff --git a/sdk/appservice/arm-appservice/src/models/parameters.ts b/sdk/appservice/arm-appservice/src/models/parameters.ts index 574c794c0c98..d5932fac6b4f 100644 --- a/sdk/appservice/arm-appservice/src/models/parameters.ts +++ b/sdk/appservice/arm-appservice/src/models/parameters.ts @@ -9,7 +9,7 @@ import { OperationParameter, OperationURLParameter, - OperationQueryParameter + OperationQueryParameter, } from "@azure/core-client"; import { AppServiceCertificateOrder as AppServiceCertificateOrderMapper, @@ -31,7 +31,7 @@ import { CustomDnsSuffixConfiguration as CustomDnsSuffixConfigurationMapper, AseV3NetworkingConfiguration as AseV3NetworkingConfigurationMapper, WorkerPoolResource as WorkerPoolResourceMapper, - PrivateLinkConnectionApprovalRequestResource as PrivateLinkConnectionApprovalRequestResourceMapper, + RemotePrivateEndpointConnectionARMResource as RemotePrivateEndpointConnectionARMResourceMapper, AppServicePlan as AppServicePlanMapper, AppServicePlanPatchResource as AppServicePlanPatchResourceMapper, VnetGateway as VnetGatewayMapper, @@ -93,11 +93,12 @@ import { CsmPublishingProfileOptions as CsmPublishingProfileOptionsMapper, DeletedAppRestoreRequest as DeletedAppRestoreRequestMapper, SnapshotRestoreRequest as SnapshotRestoreRequestMapper, + SiteContainer as SiteContainerMapper, SiteSourceControl as SiteSourceControlMapper, VnetInfoResource as VnetInfoResourceMapper, WorkflowArtifacts as WorkflowArtifactsMapper, RegenerateActionParameter as RegenerateActionParameterMapper, - Workflow as WorkflowMapper + Workflow as WorkflowMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -107,9 +108,9 @@ export const accept: OperationParameter = { isConstant: true, serializedName: "Accept", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const $host: OperationURLParameter = { @@ -119,10 +120,10 @@ export const $host: OperationURLParameter = { required: true, xmlName: "$host", type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; export const subscriptionId: OperationURLParameter = { @@ -132,21 +133,21 @@ export const subscriptionId: OperationURLParameter = { required: true, xmlName: "subscriptionId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2023-01-01", + defaultValue: "2024-04-01", isConstant: true, serializedName: "api-version", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const contentType: OperationParameter = { @@ -156,14 +157,14 @@ export const contentType: OperationParameter = { isConstant: true, serializedName: "Content-Type", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const appServiceCertificateOrder: OperationParameter = { parameterPath: "appServiceCertificateOrder", - mapper: AppServiceCertificateOrderMapper + mapper: AppServiceCertificateOrderMapper, }; export const resourceGroupName: OperationURLParameter = { @@ -172,15 +173,15 @@ export const resourceGroupName: OperationURLParameter = { constraints: { Pattern: new RegExp("^[-\\w\\._\\(\\)]+[^\\.]$"), MaxLength: 90, - MinLength: 1 + MinLength: 1, }, serializedName: "resourceGroupName", required: true, xmlName: "resourceGroupName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const certificateOrderName: OperationURLParameter = { @@ -190,19 +191,19 @@ export const certificateOrderName: OperationURLParameter = { required: true, xmlName: "certificateOrderName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const certificateDistinguishedName: OperationParameter = { parameterPath: "certificateDistinguishedName", - mapper: AppServiceCertificateOrderMapper + mapper: AppServiceCertificateOrderMapper, }; export const certificateDistinguishedName1: OperationParameter = { parameterPath: "certificateDistinguishedName", - mapper: AppServiceCertificateOrderPatchResourceMapper + mapper: AppServiceCertificateOrderPatchResourceMapper, }; export const name: OperationURLParameter = { @@ -212,39 +213,39 @@ export const name: OperationURLParameter = { required: true, xmlName: "name", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const keyVaultCertificate: OperationParameter = { parameterPath: "keyVaultCertificate", - mapper: AppServiceCertificateResourceMapper + mapper: AppServiceCertificateResourceMapper, }; export const keyVaultCertificate1: OperationParameter = { parameterPath: "keyVaultCertificate", - mapper: AppServiceCertificatePatchResourceMapper + mapper: AppServiceCertificatePatchResourceMapper, }; export const reissueCertificateOrderRequest: OperationParameter = { parameterPath: "reissueCertificateOrderRequest", - mapper: ReissueCertificateOrderRequestMapper + mapper: ReissueCertificateOrderRequestMapper, }; export const renewCertificateOrderRequest: OperationParameter = { parameterPath: "renewCertificateOrderRequest", - mapper: RenewCertificateOrderRequestMapper + mapper: RenewCertificateOrderRequestMapper, }; export const nameIdentifier: OperationParameter = { parameterPath: "nameIdentifier", - mapper: NameIdentifierMapper + mapper: NameIdentifierMapper, }; export const siteSealRequest: OperationParameter = { parameterPath: "siteSealRequest", - mapper: SiteSealRequestMapper + mapper: SiteSealRequestMapper, }; export const nextLink: OperationURLParameter = { @@ -254,10 +255,10 @@ export const nextLink: OperationURLParameter = { required: true, xmlName: "nextLink", type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; export const detectorName: OperationURLParameter = { @@ -267,9 +268,9 @@ export const detectorName: OperationURLParameter = { required: true, xmlName: "detectorName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const startTime: OperationQueryParameter = { @@ -278,9 +279,9 @@ export const startTime: OperationQueryParameter = { serializedName: "startTime", xmlName: "startTime", type: { - name: "DateTime" - } - } + name: "DateTime", + }, + }, }; export const endTime: OperationQueryParameter = { @@ -289,33 +290,33 @@ export const endTime: OperationQueryParameter = { serializedName: "endTime", xmlName: "endTime", type: { - name: "DateTime" - } - } + name: "DateTime", + }, + }, }; export const timeGrain: OperationQueryParameter = { parameterPath: ["options", "timeGrain"], mapper: { constraints: { - Pattern: new RegExp("PT[1-9][0-9]+[SMH]") + Pattern: new RegExp("PT[1-9][0-9]+[SMH]"), }, serializedName: "timeGrain", xmlName: "timeGrain", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const identifier: OperationParameter = { parameterPath: "identifier", - mapper: NameIdentifierMapper + mapper: NameIdentifierMapper, }; export const parameters: OperationParameter = { parameterPath: "parameters", - mapper: DomainRecommendationSearchParametersMapper + mapper: DomainRecommendationSearchParametersMapper, }; export const domainName: OperationURLParameter = { @@ -325,29 +326,29 @@ export const domainName: OperationURLParameter = { required: true, xmlName: "domainName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const domain: OperationParameter = { parameterPath: "domain", - mapper: DomainMapper + mapper: DomainMapper, }; export const domainName1: OperationURLParameter = { parameterPath: "domainName", mapper: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9][a-zA-Z0-9\\.-]+") + Pattern: new RegExp("[a-zA-Z0-9][a-zA-Z0-9\\.-]+"), }, serializedName: "domainName", required: true, xmlName: "domainName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const forceHardDeleteDomain: OperationQueryParameter = { @@ -356,29 +357,29 @@ export const forceHardDeleteDomain: OperationQueryParameter = { serializedName: "forceHardDeleteDomain", xmlName: "forceHardDeleteDomain", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const domain1: OperationParameter = { parameterPath: "domain", - mapper: DomainPatchResourceMapper + mapper: DomainPatchResourceMapper, }; export const domainOwnershipIdentifier: OperationParameter = { parameterPath: "domainOwnershipIdentifier", - mapper: DomainOwnershipIdentifierMapper + mapper: DomainOwnershipIdentifierMapper, }; export const agreementOption: OperationParameter = { parameterPath: "agreementOption", - mapper: TopLevelDomainAgreementOptionMapper + mapper: TopLevelDomainAgreementOptionMapper, }; export const hostingEnvironmentEnvelope: OperationParameter = { parameterPath: "hostingEnvironmentEnvelope", - mapper: AppServiceEnvironmentResourceMapper + mapper: AppServiceEnvironmentResourceMapper, }; export const forceDelete: OperationQueryParameter = { @@ -387,29 +388,29 @@ export const forceDelete: OperationQueryParameter = { serializedName: "forceDelete", xmlName: "forceDelete", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const hostingEnvironmentEnvelope1: OperationParameter = { parameterPath: "hostingEnvironmentEnvelope", - mapper: AppServiceEnvironmentPatchResourceMapper + mapper: AppServiceEnvironmentPatchResourceMapper, }; export const vnetInfo: OperationParameter = { parameterPath: "vnetInfo", - mapper: VirtualNetworkProfileMapper + mapper: VirtualNetworkProfileMapper, }; export const customDnsSuffixConfiguration: OperationParameter = { parameterPath: "customDnsSuffixConfiguration", - mapper: CustomDnsSuffixConfigurationMapper + mapper: CustomDnsSuffixConfigurationMapper, }; export const aseNetworkingConfiguration: OperationParameter = { parameterPath: "aseNetworkingConfiguration", - mapper: AseV3NetworkingConfigurationMapper + mapper: AseV3NetworkingConfigurationMapper, }; export const diagnosticsName: OperationURLParameter = { @@ -419,14 +420,14 @@ export const diagnosticsName: OperationURLParameter = { required: true, xmlName: "diagnosticsName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const multiRolePoolEnvelope: OperationParameter = { parameterPath: "multiRolePoolEnvelope", - mapper: WorkerPoolResourceMapper + mapper: WorkerPoolResourceMapper, }; export const instance: OperationURLParameter = { @@ -436,9 +437,9 @@ export const instance: OperationURLParameter = { required: true, xmlName: "instance", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const privateEndpointConnectionName: OperationURLParameter = { @@ -448,14 +449,14 @@ export const privateEndpointConnectionName: OperationURLParameter = { required: true, xmlName: "privateEndpointConnectionName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const privateEndpointWrapper: OperationParameter = { parameterPath: "privateEndpointWrapper", - mapper: PrivateLinkConnectionApprovalRequestResourceMapper + mapper: RemotePrivateEndpointConnectionARMResourceMapper, }; export const propertiesToInclude: OperationQueryParameter = { @@ -464,9 +465,9 @@ export const propertiesToInclude: OperationQueryParameter = { serializedName: "propertiesToInclude", xmlName: "propertiesToInclude", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const filter: OperationQueryParameter = { @@ -475,10 +476,10 @@ export const filter: OperationQueryParameter = { serializedName: "$filter", xmlName: "$filter", type: { - name: "String" - } + name: "String", + }, }, - skipEncoding: true + skipEncoding: true, }; export const workerPoolName: OperationURLParameter = { @@ -488,14 +489,14 @@ export const workerPoolName: OperationURLParameter = { required: true, xmlName: "workerPoolName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const workerPoolEnvelope: OperationParameter = { parameterPath: "workerPoolEnvelope", - mapper: WorkerPoolResourceMapper + mapper: WorkerPoolResourceMapper, }; export const detailed: OperationQueryParameter = { @@ -504,19 +505,19 @@ export const detailed: OperationQueryParameter = { serializedName: "detailed", xmlName: "detailed", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const appServicePlan: OperationParameter = { parameterPath: "appServicePlan", - mapper: AppServicePlanMapper + mapper: AppServicePlanMapper, }; export const appServicePlan1: OperationParameter = { parameterPath: "appServicePlan", - mapper: AppServicePlanPatchResourceMapper + mapper: AppServicePlanPatchResourceMapper, }; export const namespaceName: OperationURLParameter = { @@ -526,9 +527,9 @@ export const namespaceName: OperationURLParameter = { required: true, xmlName: "namespaceName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const relayName: OperationURLParameter = { @@ -538,9 +539,9 @@ export const relayName: OperationURLParameter = { required: true, xmlName: "relayName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const softRestart: OperationQueryParameter = { @@ -549,9 +550,9 @@ export const softRestart: OperationQueryParameter = { serializedName: "softRestart", xmlName: "softRestart", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const skipToken: OperationQueryParameter = { @@ -560,9 +561,9 @@ export const skipToken: OperationQueryParameter = { serializedName: "$skipToken", xmlName: "$skipToken", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const top: OperationQueryParameter = { @@ -571,9 +572,9 @@ export const top: OperationQueryParameter = { serializedName: "$top", xmlName: "$top", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const vnetName: OperationURLParameter = { @@ -583,9 +584,9 @@ export const vnetName: OperationURLParameter = { required: true, xmlName: "vnetName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const gatewayName: OperationURLParameter = { @@ -595,14 +596,14 @@ export const gatewayName: OperationURLParameter = { required: true, xmlName: "gatewayName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const connectionEnvelope: OperationParameter = { parameterPath: "connectionEnvelope", - mapper: VnetGatewayMapper + mapper: VnetGatewayMapper, }; export const routeName: OperationURLParameter = { @@ -612,14 +613,14 @@ export const routeName: OperationURLParameter = { required: true, xmlName: "routeName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const route: OperationParameter = { parameterPath: "route", - mapper: VnetRouteMapper + mapper: VnetRouteMapper, }; export const workerName: OperationURLParameter = { @@ -629,24 +630,24 @@ export const workerName: OperationURLParameter = { required: true, xmlName: "workerName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const certificateEnvelope: OperationParameter = { parameterPath: "certificateEnvelope", - mapper: CertificateMapper + mapper: CertificateMapper, }; export const certificateEnvelope1: OperationParameter = { parameterPath: "certificateEnvelope", - mapper: CertificatePatchResourceMapper + mapper: CertificatePatchResourceMapper, }; export const containerAppEnvelope: OperationParameter = { parameterPath: "containerAppEnvelope", - mapper: ContainerAppMapper + mapper: ContainerAppMapper, }; export const containerAppName: OperationURLParameter = { @@ -656,9 +657,9 @@ export const containerAppName: OperationURLParameter = { required: true, xmlName: "containerAppName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const location: OperationURLParameter = { @@ -668,9 +669,9 @@ export const location: OperationURLParameter = { required: true, xmlName: "location", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const deletedSiteId: OperationURLParameter = { @@ -680,9 +681,9 @@ export const deletedSiteId: OperationURLParameter = { required: true, xmlName: "deletedSiteId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const siteName: OperationURLParameter = { @@ -692,9 +693,9 @@ export const siteName: OperationURLParameter = { required: true, xmlName: "siteName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const diagnosticCategory: OperationURLParameter = { @@ -704,9 +705,9 @@ export const diagnosticCategory: OperationURLParameter = { required: true, xmlName: "diagnosticCategory", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const analysisName: OperationURLParameter = { @@ -716,9 +717,9 @@ export const analysisName: OperationURLParameter = { required: true, xmlName: "analysisName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const slot: OperationURLParameter = { @@ -728,9 +729,9 @@ export const slot: OperationURLParameter = { required: true, xmlName: "slot", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const operationId: OperationURLParameter = { @@ -740,19 +741,19 @@ export const operationId: OperationURLParameter = { required: true, xmlName: "operationId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const kubeEnvironmentEnvelope: OperationParameter = { parameterPath: "kubeEnvironmentEnvelope", - mapper: KubeEnvironmentMapper + mapper: KubeEnvironmentMapper, }; export const kubeEnvironmentEnvelope1: OperationParameter = { parameterPath: "kubeEnvironmentEnvelope", - mapper: KubeEnvironmentPatchResourceMapper + mapper: KubeEnvironmentPatchResourceMapper, }; export const osTypeSelected: OperationQueryParameter = { @@ -761,9 +762,9 @@ export const osTypeSelected: OperationQueryParameter = { serializedName: "osTypeSelected", xmlName: "osTypeSelected", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const stackOsType: OperationQueryParameter = { @@ -772,9 +773,9 @@ export const stackOsType: OperationQueryParameter = { serializedName: "stackOsType", xmlName: "stackOsType", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const featured: OperationQueryParameter = { @@ -783,9 +784,9 @@ export const featured: OperationQueryParameter = { serializedName: "featured", xmlName: "featured", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const hostingEnvironmentName: OperationURLParameter = { @@ -795,9 +796,9 @@ export const hostingEnvironmentName: OperationURLParameter = { required: true, xmlName: "hostingEnvironmentName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const expiredOnly: OperationQueryParameter = { @@ -806,9 +807,9 @@ export const expiredOnly: OperationQueryParameter = { serializedName: "expiredOnly", xmlName: "expiredOnly", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const environmentName: OperationQueryParameter = { @@ -818,9 +819,9 @@ export const environmentName: OperationQueryParameter = { required: true, xmlName: "environmentName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const updateSeen: OperationQueryParameter = { @@ -829,9 +830,9 @@ export const updateSeen: OperationQueryParameter = { serializedName: "updateSeen", xmlName: "updateSeen", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const recommendationId: OperationQueryParameter = { @@ -840,14 +841,14 @@ export const recommendationId: OperationQueryParameter = { serializedName: "recommendationId", xmlName: "recommendationId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const userDetails: OperationParameter = { parameterPath: "userDetails", - mapper: UserMapper + mapper: UserMapper, }; export const sourceControlType: OperationURLParameter = { @@ -857,14 +858,14 @@ export const sourceControlType: OperationURLParameter = { required: true, xmlName: "sourceControlType", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const requestMessage: OperationParameter = { parameterPath: "requestMessage", - mapper: SourceControlMapper + mapper: SourceControlMapper, }; export const billingLocation: OperationQueryParameter = { @@ -873,9 +874,9 @@ export const billingLocation: OperationQueryParameter = { serializedName: "billingLocation", xmlName: "billingLocation", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const osType: OperationQueryParameter = { @@ -884,29 +885,29 @@ export const osType: OperationQueryParameter = { serializedName: "osType", xmlName: "osType", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const name1: OperationParameter = { parameterPath: "name", - mapper: ResourceNameAvailabilityRequestMapper + mapper: ResourceNameAvailabilityRequestMapper, }; export const typeParam: OperationParameter = { parameterPath: "typeParam", - mapper: ResourceNameAvailabilityRequestMapper + mapper: ResourceNameAvailabilityRequestMapper, }; export const isFqdn: OperationParameter = { parameterPath: ["options", "isFqdn"], - mapper: ResourceNameAvailabilityRequestMapper + mapper: ResourceNameAvailabilityRequestMapper, }; export const environmentId: OperationParameter = { parameterPath: ["options", "environmentId"], - mapper: ResourceNameAvailabilityRequestMapper + mapper: ResourceNameAvailabilityRequestMapper, }; export const hostname: OperationQueryParameter = { @@ -915,9 +916,9 @@ export const hostname: OperationQueryParameter = { serializedName: "hostname", xmlName: "hostname", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const sku: OperationQueryParameter = { @@ -926,9 +927,9 @@ export const sku: OperationQueryParameter = { serializedName: "sku", xmlName: "sku", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const linuxWorkersEnabled: OperationQueryParameter = { @@ -937,9 +938,9 @@ export const linuxWorkersEnabled: OperationQueryParameter = { serializedName: "linuxWorkersEnabled", xmlName: "linuxWorkersEnabled", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const xenonWorkersEnabled: OperationQueryParameter = { @@ -948,9 +949,9 @@ export const xenonWorkersEnabled: OperationQueryParameter = { serializedName: "xenonWorkersEnabled", xmlName: "xenonWorkersEnabled", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const linuxDynamicWorkersEnabled: OperationQueryParameter = { @@ -959,54 +960,54 @@ export const linuxDynamicWorkersEnabled: OperationQueryParameter = { serializedName: "linuxDynamicWorkersEnabled", xmlName: "linuxDynamicWorkersEnabled", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const parameters1: OperationParameter = { parameterPath: "parameters", - mapper: VnetParametersMapper + mapper: VnetParametersMapper, }; export const moveResourceEnvelope: OperationParameter = { parameterPath: "moveResourceEnvelope", - mapper: CsmMoveResourceEnvelopeMapper + mapper: CsmMoveResourceEnvelopeMapper, }; export const validateRequest: OperationParameter = { parameterPath: "validateRequest", - mapper: ValidateRequestMapper + mapper: ValidateRequestMapper, }; export const location1: OperationURLParameter = { parameterPath: "location", mapper: { constraints: { - MinLength: 1 + MinLength: 1, }, serializedName: "location", required: true, xmlName: "location", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const staticSitesWorkflowPreviewRequest: OperationParameter = { parameterPath: "staticSitesWorkflowPreviewRequest", - mapper: StaticSitesWorkflowPreviewRequestMapper + mapper: StaticSitesWorkflowPreviewRequestMapper, }; export const staticSiteEnvelope: OperationParameter = { parameterPath: "staticSiteEnvelope", - mapper: StaticSiteARMResourceMapper + mapper: StaticSiteARMResourceMapper, }; export const staticSiteEnvelope1: OperationParameter = { parameterPath: "staticSiteEnvelope", - mapper: StaticSitePatchResourceMapper + mapper: StaticSitePatchResourceMapper, }; export const authprovider: OperationURLParameter = { @@ -1016,9 +1017,9 @@ export const authprovider: OperationURLParameter = { required: true, xmlName: "authprovider", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const userid: OperationURLParameter = { @@ -1028,14 +1029,14 @@ export const userid: OperationURLParameter = { required: true, xmlName: "userid", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const staticSiteUserEnvelope: OperationParameter = { parameterPath: "staticSiteUserEnvelope", - mapper: StaticSiteUserARMResourceMapper + mapper: StaticSiteUserARMResourceMapper, }; export const environmentName1: OperationURLParameter = { @@ -1045,54 +1046,54 @@ export const environmentName1: OperationURLParameter = { required: true, xmlName: "environmentName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const appSettings: OperationParameter = { parameterPath: "appSettings", - mapper: StringDictionaryMapper + mapper: StringDictionaryMapper, }; export const environmentName2: OperationURLParameter = { parameterPath: "environmentName", mapper: { constraints: { - Pattern: new RegExp("^[a-zA-Z0-9]+$") + Pattern: new RegExp("^[a-zA-Z0-9]+$"), }, serializedName: "environmentName", required: true, xmlName: "environmentName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const databaseConnectionName: OperationURLParameter = { parameterPath: "databaseConnectionName", mapper: { constraints: { - Pattern: new RegExp("^[a-zA-Z0-9]+$") + Pattern: new RegExp("^[a-zA-Z0-9]+$"), }, serializedName: "databaseConnectionName", required: true, xmlName: "databaseConnectionName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const databaseConnectionRequestEnvelope: OperationParameter = { parameterPath: "databaseConnectionRequestEnvelope", - mapper: DatabaseConnectionMapper + mapper: DatabaseConnectionMapper, }; export const databaseConnectionRequestEnvelope1: OperationParameter = { parameterPath: "databaseConnectionRequestEnvelope", - mapper: DatabaseConnectionPatchRequestMapper + mapper: DatabaseConnectionPatchRequestMapper, }; export const functionAppName: OperationURLParameter = { @@ -1102,14 +1103,14 @@ export const functionAppName: OperationURLParameter = { required: true, xmlName: "functionAppName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const staticSiteUserProvidedFunctionEnvelope: OperationParameter = { parameterPath: "staticSiteUserProvidedFunctionEnvelope", - mapper: StaticSiteUserProvidedFunctionAppARMResourceMapper + mapper: StaticSiteUserProvidedFunctionAppARMResourceMapper, }; export const isForced: OperationQueryParameter = { @@ -1118,14 +1119,14 @@ export const isForced: OperationQueryParameter = { serializedName: "isForced", xmlName: "isForced", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const staticSiteZipDeploymentEnvelope: OperationParameter = { parameterPath: "staticSiteZipDeploymentEnvelope", - mapper: StaticSiteZipDeploymentARMResourceMapper + mapper: StaticSiteZipDeploymentARMResourceMapper, }; export const basicAuthName: OperationURLParameter = { @@ -1135,34 +1136,35 @@ export const basicAuthName: OperationURLParameter = { required: true, xmlName: "basicAuthName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const basicAuthEnvelope: OperationParameter = { parameterPath: "basicAuthEnvelope", - mapper: StaticSiteBasicAuthPropertiesARMResourceMapper + mapper: StaticSiteBasicAuthPropertiesARMResourceMapper, }; export const staticSiteUserRolesInvitationEnvelope: OperationParameter = { parameterPath: "staticSiteUserRolesInvitationEnvelope", - mapper: StaticSiteUserInvitationRequestResourceMapper + mapper: StaticSiteUserInvitationRequestResourceMapper, }; -export const staticSiteCustomDomainRequestPropertiesEnvelope: OperationParameter = { - parameterPath: "staticSiteCustomDomainRequestPropertiesEnvelope", - mapper: StaticSiteCustomDomainRequestPropertiesARMResourceMapper -}; +export const staticSiteCustomDomainRequestPropertiesEnvelope: OperationParameter = + { + parameterPath: "staticSiteCustomDomainRequestPropertiesEnvelope", + mapper: StaticSiteCustomDomainRequestPropertiesARMResourceMapper, + }; export const resetPropertiesEnvelope: OperationParameter = { parameterPath: "resetPropertiesEnvelope", - mapper: StaticSiteResetPropertiesARMResourceMapper + mapper: StaticSiteResetPropertiesARMResourceMapper, }; export const staticSiteLinkedBackendEnvelope: OperationParameter = { parameterPath: "staticSiteLinkedBackendEnvelope", - mapper: StaticSiteLinkedBackendARMResourceMapper + mapper: StaticSiteLinkedBackendARMResourceMapper, }; export const linkedBackendName: OperationURLParameter = { @@ -1172,9 +1174,9 @@ export const linkedBackendName: OperationURLParameter = { required: true, xmlName: "linkedBackendName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const isCleaningAuthConfig: OperationQueryParameter = { @@ -1183,9 +1185,9 @@ export const isCleaningAuthConfig: OperationQueryParameter = { serializedName: "isCleaningAuthConfig", xmlName: "isCleaningAuthConfig", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const includeSlots: OperationQueryParameter = { @@ -1194,14 +1196,14 @@ export const includeSlots: OperationQueryParameter = { serializedName: "includeSlots", xmlName: "includeSlots", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const siteEnvelope: OperationParameter = { parameterPath: "siteEnvelope", - mapper: SiteMapper + mapper: SiteMapper, }; export const deleteMetrics: OperationQueryParameter = { @@ -1210,9 +1212,9 @@ export const deleteMetrics: OperationQueryParameter = { serializedName: "deleteMetrics", xmlName: "deleteMetrics", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const deleteEmptyServerFarm: OperationQueryParameter = { @@ -1221,14 +1223,14 @@ export const deleteEmptyServerFarm: OperationQueryParameter = { serializedName: "deleteEmptyServerFarm", xmlName: "deleteEmptyServerFarm", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const siteEnvelope1: OperationParameter = { parameterPath: "siteEnvelope", - mapper: SitePatchResourceMapper + mapper: SitePatchResourceMapper, }; export const hostName: OperationQueryParameter = { @@ -1237,19 +1239,19 @@ export const hostName: OperationQueryParameter = { serializedName: "hostName", xmlName: "hostName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const slotSwapEntity: OperationParameter = { parameterPath: "slotSwapEntity", - mapper: CsmSlotEntityMapper + mapper: CsmSlotEntityMapper, }; export const request1: OperationParameter = { parameterPath: "request", - mapper: BackupRequestMapper + mapper: BackupRequestMapper, }; export const backupId: OperationURLParameter = { @@ -1259,34 +1261,34 @@ export const backupId: OperationURLParameter = { required: true, xmlName: "backupId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const request2: OperationParameter = { parameterPath: "request", - mapper: RestoreRequestMapper + mapper: RestoreRequestMapper, }; export const csmPublishingAccessPoliciesEntity: OperationParameter = { parameterPath: "csmPublishingAccessPoliciesEntity", - mapper: CsmPublishingCredentialsPoliciesEntityMapper + mapper: CsmPublishingCredentialsPoliciesEntityMapper, }; export const siteAuthSettings: OperationParameter = { parameterPath: "siteAuthSettings", - mapper: SiteAuthSettingsMapper + mapper: SiteAuthSettingsMapper, }; export const siteAuthSettingsV2: OperationParameter = { parameterPath: "siteAuthSettingsV2", - mapper: SiteAuthSettingsV2Mapper + mapper: SiteAuthSettingsV2Mapper, }; export const azureStorageAccounts: OperationParameter = { parameterPath: "azureStorageAccounts", - mapper: AzureStoragePropertyDictionaryResourceMapper + mapper: AzureStoragePropertyDictionaryResourceMapper, }; export const appSettingKey: OperationURLParameter = { @@ -1296,9 +1298,9 @@ export const appSettingKey: OperationURLParameter = { required: true, xmlName: "appSettingKey", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const connectionStringKey: OperationURLParameter = { @@ -1308,39 +1310,39 @@ export const connectionStringKey: OperationURLParameter = { required: true, xmlName: "connectionStringKey", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const connectionStrings: OperationParameter = { parameterPath: "connectionStrings", - mapper: ConnectionStringDictionaryMapper + mapper: ConnectionStringDictionaryMapper, }; export const siteLogsConfig: OperationParameter = { parameterPath: "siteLogsConfig", - mapper: SiteLogsConfigMapper + mapper: SiteLogsConfigMapper, }; export const metadata: OperationParameter = { parameterPath: "metadata", - mapper: StringDictionaryMapper + mapper: StringDictionaryMapper, }; export const pushSettings: OperationParameter = { parameterPath: "pushSettings", - mapper: PushSettingsMapper + mapper: PushSettingsMapper, }; export const slotConfigNames: OperationParameter = { parameterPath: "slotConfigNames", - mapper: SlotConfigNamesResourceMapper + mapper: SlotConfigNamesResourceMapper, }; export const siteConfig: OperationParameter = { parameterPath: "siteConfig", - mapper: SiteConfigResourceMapper + mapper: SiteConfigResourceMapper, }; export const snapshotId: OperationURLParameter = { @@ -1350,9 +1352,9 @@ export const snapshotId: OperationURLParameter = { required: true, xmlName: "snapshotId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const accept1: OperationParameter = { @@ -1362,9 +1364,9 @@ export const accept1: OperationParameter = { isConstant: true, serializedName: "Accept", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const accept2: OperationParameter = { @@ -1374,9 +1376,9 @@ export const accept2: OperationParameter = { isConstant: true, serializedName: "Accept", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const webJobName: OperationURLParameter = { @@ -1386,9 +1388,9 @@ export const webJobName: OperationURLParameter = { required: true, xmlName: "webJobName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const deploymentStatusId: OperationURLParameter = { @@ -1398,9 +1400,9 @@ export const deploymentStatusId: OperationURLParameter = { required: true, xmlName: "deploymentStatusId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const id: OperationURLParameter = { @@ -1410,14 +1412,14 @@ export const id: OperationURLParameter = { required: true, xmlName: "id", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const deployment: OperationParameter = { parameterPath: "deployment", - mapper: DeploymentMapper + mapper: DeploymentMapper, }; export const domainOwnershipIdentifierName: OperationURLParameter = { @@ -1427,19 +1429,19 @@ export const domainOwnershipIdentifierName: OperationURLParameter = { required: true, xmlName: "domainOwnershipIdentifierName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const domainOwnershipIdentifier1: OperationParameter = { parameterPath: "domainOwnershipIdentifier", - mapper: IdentifierMapper + mapper: IdentifierMapper, }; export const mSDeploy: OperationParameter = { parameterPath: "mSDeploy", - mapper: MSDeployMapper + mapper: MSDeployMapper, }; export const functionName: OperationURLParameter = { @@ -1449,19 +1451,19 @@ export const functionName: OperationURLParameter = { required: true, xmlName: "functionName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const functionEnvelope: OperationParameter = { parameterPath: "functionEnvelope", - mapper: FunctionEnvelopeMapper + mapper: FunctionEnvelopeMapper, }; export const key: OperationParameter = { parameterPath: "key", - mapper: KeyInfoMapper + mapper: KeyInfoMapper, }; export const keyName: OperationURLParameter = { @@ -1471,9 +1473,9 @@ export const keyName: OperationURLParameter = { required: true, xmlName: "keyName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const keyType: OperationURLParameter = { @@ -1483,9 +1485,9 @@ export const keyType: OperationURLParameter = { required: true, xmlName: "keyType", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const hostName1: OperationURLParameter = { @@ -1495,19 +1497,19 @@ export const hostName1: OperationURLParameter = { required: true, xmlName: "hostName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const hostNameBinding: OperationParameter = { parameterPath: "hostNameBinding", - mapper: HostNameBindingMapper + mapper: HostNameBindingMapper, }; export const connectionEnvelope1: OperationParameter = { parameterPath: "connectionEnvelope", - mapper: HybridConnectionMapper + mapper: HybridConnectionMapper, }; export const entityName: OperationURLParameter = { @@ -1517,14 +1519,14 @@ export const entityName: OperationURLParameter = { required: true, xmlName: "entityName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const connectionEnvelope2: OperationParameter = { parameterPath: "connectionEnvelope", - mapper: RelayServiceConnectionEntityMapper + mapper: RelayServiceConnectionEntityMapper, }; export const instanceId: OperationURLParameter = { @@ -1534,9 +1536,9 @@ export const instanceId: OperationURLParameter = { required: true, xmlName: "instanceId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const processId: OperationURLParameter = { @@ -1546,9 +1548,9 @@ export const processId: OperationURLParameter = { required: true, xmlName: "processId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const baseAddress: OperationURLParameter = { @@ -1558,14 +1560,14 @@ export const baseAddress: OperationURLParameter = { required: true, xmlName: "baseAddress", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const migrationOptions: OperationParameter = { parameterPath: "migrationOptions", - mapper: StorageMigrationOptionsMapper + mapper: StorageMigrationOptionsMapper, }; export const subscriptionName: OperationQueryParameter = { @@ -1575,19 +1577,19 @@ export const subscriptionName: OperationQueryParameter = { required: true, xmlName: "subscriptionName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const migrationRequestEnvelope: OperationParameter = { parameterPath: "migrationRequestEnvelope", - mapper: MigrateMySqlRequestMapper + mapper: MigrateMySqlRequestMapper, }; export const connectionEnvelope3: OperationParameter = { parameterPath: "connectionEnvelope", - mapper: SwiftVirtualNetworkMapper + mapper: SwiftVirtualNetworkMapper, }; export const view: OperationURLParameter = { @@ -1597,9 +1599,9 @@ export const view: OperationURLParameter = { required: true, xmlName: "view", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const durationInSeconds: OperationQueryParameter = { @@ -1608,9 +1610,9 @@ export const durationInSeconds: OperationQueryParameter = { serializedName: "durationInSeconds", xmlName: "durationInSeconds", type: { - name: "Number" - } - } + name: "Number", + }, + }, }; export const maxFrameLength: OperationQueryParameter = { @@ -1619,9 +1621,9 @@ export const maxFrameLength: OperationQueryParameter = { serializedName: "maxFrameLength", xmlName: "maxFrameLength", type: { - name: "Number" - } - } + name: "Number", + }, + }, }; export const sasUrl: OperationQueryParameter = { @@ -1630,9 +1632,9 @@ export const sasUrl: OperationQueryParameter = { serializedName: "sasUrl", xmlName: "sasUrl", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const premierAddOnName: OperationURLParameter = { @@ -1642,24 +1644,24 @@ export const premierAddOnName: OperationURLParameter = { required: true, xmlName: "premierAddOnName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const premierAddOn: OperationParameter = { parameterPath: "premierAddOn", - mapper: PremierAddOnMapper + mapper: PremierAddOnMapper, }; export const premierAddOn1: OperationParameter = { parameterPath: "premierAddOn", - mapper: PremierAddOnPatchResourceMapper + mapper: PremierAddOnPatchResourceMapper, }; export const access: OperationParameter = { parameterPath: "access", - mapper: PrivateAccessMapper + mapper: PrivateAccessMapper, }; export const publicCertificateName: OperationURLParameter = { @@ -1669,19 +1671,19 @@ export const publicCertificateName: OperationURLParameter = { required: true, xmlName: "publicCertificateName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const publicCertificate: OperationParameter = { parameterPath: "publicCertificate", - mapper: PublicCertificateMapper + mapper: PublicCertificateMapper, }; export const publishingProfileOptions: OperationParameter = { parameterPath: "publishingProfileOptions", - mapper: CsmPublishingProfileOptionsMapper + mapper: CsmPublishingProfileOptionsMapper, }; export const accept3: OperationParameter = { @@ -1691,9 +1693,9 @@ export const accept3: OperationParameter = { isConstant: true, serializedName: "Accept", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const synchronous: OperationQueryParameter = { @@ -1702,19 +1704,41 @@ export const synchronous: OperationQueryParameter = { serializedName: "synchronous", xmlName: "synchronous", type: { - name: "Boolean" - } - } + name: "Boolean", + }, + }, }; export const restoreRequest: OperationParameter = { parameterPath: "restoreRequest", - mapper: DeletedAppRestoreRequestMapper + mapper: DeletedAppRestoreRequestMapper, }; export const restoreRequest1: OperationParameter = { parameterPath: "restoreRequest", - mapper: SnapshotRestoreRequestMapper + mapper: SnapshotRestoreRequestMapper, +}; + +export const containerName: OperationURLParameter = { + parameterPath: "containerName", + mapper: { + constraints: { + Pattern: new RegExp( + "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)", + ), + }, + serializedName: "containerName", + required: true, + xmlName: "containerName", + type: { + name: "String", + }, + }, +}; + +export const request3: OperationParameter = { + parameterPath: "request", + mapper: SiteContainerMapper, }; export const siteExtensionId: OperationURLParameter = { @@ -1724,14 +1748,14 @@ export const siteExtensionId: OperationURLParameter = { required: true, xmlName: "siteExtensionId", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const siteSourceControl: OperationParameter = { parameterPath: "siteSourceControl", - mapper: SiteSourceControlMapper + mapper: SiteSourceControlMapper, }; export const additionalFlags: OperationQueryParameter = { @@ -1740,19 +1764,19 @@ export const additionalFlags: OperationQueryParameter = { serializedName: "additionalFlags", xmlName: "additionalFlags", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const connectionEnvelope4: OperationParameter = { parameterPath: "connectionEnvelope", - mapper: VnetInfoResourceMapper + mapper: VnetInfoResourceMapper, }; export const workflowArtifacts: OperationParameter = { parameterPath: ["options", "workflowArtifacts"], - mapper: WorkflowArtifactsMapper + mapper: WorkflowArtifactsMapper, }; export const workflowName: OperationURLParameter = { @@ -1761,20 +1785,20 @@ export const workflowName: OperationURLParameter = { constraints: { Pattern: new RegExp("^[a-z][a-z0-9]*$"), MaxLength: 63, - MinLength: 3 + MinLength: 3, }, serializedName: "workflowName", required: true, xmlName: "workflowName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const keyType1: OperationParameter = { parameterPath: "keyType", - mapper: RegenerateActionParameterMapper + mapper: RegenerateActionParameterMapper, }; export const workflowName1: OperationURLParameter = { @@ -1784,14 +1808,14 @@ export const workflowName1: OperationURLParameter = { required: true, xmlName: "workflowName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const validate: OperationParameter = { parameterPath: "validate", - mapper: WorkflowMapper + mapper: WorkflowMapper, }; export const top1: OperationQueryParameter = { @@ -1800,9 +1824,9 @@ export const top1: OperationQueryParameter = { serializedName: "$top", xmlName: "$top", type: { - name: "Number" - } - } + name: "Number", + }, + }, }; export const filter1: OperationQueryParameter = { @@ -1811,9 +1835,9 @@ export const filter1: OperationQueryParameter = { serializedName: "$filter", xmlName: "$filter", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const runName: OperationURLParameter = { @@ -1823,9 +1847,9 @@ export const runName: OperationURLParameter = { required: true, xmlName: "runName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const actionName: OperationURLParameter = { @@ -1835,9 +1859,9 @@ export const actionName: OperationURLParameter = { required: true, xmlName: "actionName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const repetitionName: OperationURLParameter = { @@ -1847,9 +1871,9 @@ export const repetitionName: OperationURLParameter = { required: true, xmlName: "repetitionName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const requestHistoryName: OperationURLParameter = { @@ -1859,9 +1883,9 @@ export const requestHistoryName: OperationURLParameter = { required: true, xmlName: "requestHistoryName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const triggerName: OperationURLParameter = { @@ -1871,9 +1895,9 @@ export const triggerName: OperationURLParameter = { required: true, xmlName: "triggerName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const historyName: OperationURLParameter = { @@ -1883,9 +1907,9 @@ export const historyName: OperationURLParameter = { required: true, xmlName: "historyName", type: { - name: "String" - } - } + name: "String", + }, + }, }; export const versionId: OperationURLParameter = { @@ -1895,7 +1919,7 @@ export const versionId: OperationURLParameter = { required: true, xmlName: "versionId", type: { - name: "String" - } - } + name: "String", + }, + }, }; diff --git a/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts b/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts index 75eea7220361..50f312fd768f 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -65,13 +65,14 @@ import { AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse, AppServiceCertificateOrdersListNextResponse, AppServiceCertificateOrdersListByResourceGroupNextResponse, - AppServiceCertificateOrdersListCertificatesNextResponse + AppServiceCertificateOrdersListCertificatesNextResponse, } from "../models"; /// /** Class containing AppServiceCertificateOrders operations. */ export class AppServiceCertificateOrdersImpl - implements AppServiceCertificateOrders { + implements AppServiceCertificateOrders +{ private readonly client: WebSiteManagementClient; /** @@ -87,7 +88,7 @@ export class AppServiceCertificateOrdersImpl * @param options The options parameters. */ public list( - options?: AppServiceCertificateOrdersListOptionalParams + options?: AppServiceCertificateOrdersListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -102,13 +103,13 @@ export class AppServiceCertificateOrdersImpl throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: AppServiceCertificateOrdersListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceCertificateOrdersListResponse; let continuationToken = settings?.continuationToken; @@ -129,7 +130,7 @@ export class AppServiceCertificateOrdersImpl } private async *listPagingAll( - options?: AppServiceCertificateOrdersListOptionalParams + options?: AppServiceCertificateOrdersListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -143,7 +144,7 @@ export class AppServiceCertificateOrdersImpl */ public listByResourceGroup( resourceGroupName: string, - options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams + options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -160,16 +161,16 @@ export class AppServiceCertificateOrdersImpl return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceCertificateOrdersListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -184,7 +185,7 @@ export class AppServiceCertificateOrdersImpl result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -195,11 +196,11 @@ export class AppServiceCertificateOrdersImpl private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams + options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -214,12 +215,12 @@ export class AppServiceCertificateOrdersImpl public listCertificates( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersListCertificatesOptionalParams + options?: AppServiceCertificateOrdersListCertificatesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listCertificatesPagingAll( resourceGroupName, certificateOrderName, - options + options, ); return { next() { @@ -236,9 +237,9 @@ export class AppServiceCertificateOrdersImpl resourceGroupName, certificateOrderName, options, - settings + settings, ); - } + }, }; } @@ -246,7 +247,7 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, options?: AppServiceCertificateOrdersListCertificatesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceCertificateOrdersListCertificatesResponse; let continuationToken = settings?.continuationToken; @@ -254,7 +255,7 @@ export class AppServiceCertificateOrdersImpl result = await this._listCertificates( resourceGroupName, certificateOrderName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -266,7 +267,7 @@ export class AppServiceCertificateOrdersImpl resourceGroupName, certificateOrderName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -278,12 +279,12 @@ export class AppServiceCertificateOrdersImpl private async *listCertificatesPagingAll( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersListCertificatesOptionalParams + options?: AppServiceCertificateOrdersListCertificatesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listCertificatesPagingPage( resourceGroupName, certificateOrderName, - options + options, )) { yield* page; } @@ -294,7 +295,7 @@ export class AppServiceCertificateOrdersImpl * @param options The options parameters. */ private _list( - options?: AppServiceCertificateOrdersListOptionalParams + options?: AppServiceCertificateOrdersListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -306,11 +307,11 @@ export class AppServiceCertificateOrdersImpl */ validatePurchaseInformation( appServiceCertificateOrder: AppServiceCertificateOrder, - options?: AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams + options?: AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams, ): Promise { return this.client.sendOperationRequest( { appServiceCertificateOrder, options }, - validatePurchaseInformationOperationSpec + validatePurchaseInformationOperationSpec, ); } @@ -321,11 +322,11 @@ export class AppServiceCertificateOrdersImpl */ private _listByResourceGroup( resourceGroupName: string, - options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams + options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -338,11 +339,11 @@ export class AppServiceCertificateOrdersImpl get( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersGetOptionalParams + options?: AppServiceCertificateOrdersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, options }, - getOperationSpec + getOperationSpec, ); } @@ -357,7 +358,7 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: AppServiceCertificateOrder, - options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -366,21 +367,20 @@ export class AppServiceCertificateOrdersImpl > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -389,8 +389,8 @@ export class AppServiceCertificateOrdersImpl ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -398,8 +398,8 @@ export class AppServiceCertificateOrdersImpl rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -409,16 +409,16 @@ export class AppServiceCertificateOrdersImpl resourceGroupName, certificateOrderName, certificateDistinguishedName, - options + options, }, - spec: createOrUpdateOperationSpec + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< AppServiceCertificateOrdersCreateOrUpdateResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -435,13 +435,13 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: AppServiceCertificateOrder, - options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, certificateOrderName, certificateDistinguishedName, - options + options, ); return poller.pollUntilDone(); } @@ -455,11 +455,11 @@ export class AppServiceCertificateOrdersImpl delete( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersDeleteOptionalParams + options?: AppServiceCertificateOrdersDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -474,16 +474,16 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: AppServiceCertificateOrderPatchResource, - options?: AppServiceCertificateOrdersUpdateOptionalParams + options?: AppServiceCertificateOrdersUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, certificateDistinguishedName, - options + options, }, - updateOperationSpec + updateOperationSpec, ); } @@ -496,11 +496,11 @@ export class AppServiceCertificateOrdersImpl private _listCertificates( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersListCertificatesOptionalParams + options?: AppServiceCertificateOrdersListCertificatesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, options }, - listCertificatesOperationSpec + listCertificatesOperationSpec, ); } @@ -515,11 +515,11 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, name: string, - options?: AppServiceCertificateOrdersGetCertificateOptionalParams + options?: AppServiceCertificateOrdersGetCertificateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, name, options }, - getCertificateOperationSpec + getCertificateOperationSpec, ); } @@ -536,32 +536,29 @@ export class AppServiceCertificateOrdersImpl certificateOrderName: string, name: string, keyVaultCertificate: AppServiceCertificateResource, - options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams, ): Promise< SimplePollerLike< - OperationState< - AppServiceCertificateOrdersCreateOrUpdateCertificateResponse - >, + OperationState, AppServiceCertificateOrdersCreateOrUpdateCertificateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -570,8 +567,8 @@ export class AppServiceCertificateOrdersImpl ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -579,8 +576,8 @@ export class AppServiceCertificateOrdersImpl rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -591,18 +588,16 @@ export class AppServiceCertificateOrdersImpl certificateOrderName, name, keyVaultCertificate, - options + options, }, - spec: createOrUpdateCertificateOperationSpec + spec: createOrUpdateCertificateOperationSpec, }); const poller = await createHttpPoller< AppServiceCertificateOrdersCreateOrUpdateCertificateResponse, - OperationState< - AppServiceCertificateOrdersCreateOrUpdateCertificateResponse - > + OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -621,14 +616,14 @@ export class AppServiceCertificateOrdersImpl certificateOrderName: string, name: string, keyVaultCertificate: AppServiceCertificateResource, - options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateCertificate( resourceGroupName, certificateOrderName, name, keyVaultCertificate, - options + options, ); return poller.pollUntilDone(); } @@ -644,11 +639,11 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, name: string, - options?: AppServiceCertificateOrdersDeleteCertificateOptionalParams + options?: AppServiceCertificateOrdersDeleteCertificateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, name, options }, - deleteCertificateOperationSpec + deleteCertificateOperationSpec, ); } @@ -665,7 +660,7 @@ export class AppServiceCertificateOrdersImpl certificateOrderName: string, name: string, keyVaultCertificate: AppServiceCertificatePatchResource, - options?: AppServiceCertificateOrdersUpdateCertificateOptionalParams + options?: AppServiceCertificateOrdersUpdateCertificateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -673,9 +668,9 @@ export class AppServiceCertificateOrdersImpl certificateOrderName, name, keyVaultCertificate, - options + options, }, - updateCertificateOperationSpec + updateCertificateOperationSpec, ); } @@ -690,16 +685,16 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: ReissueCertificateOrderRequest, - options?: AppServiceCertificateOrdersReissueOptionalParams + options?: AppServiceCertificateOrdersReissueOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, reissueCertificateOrderRequest, - options + options, }, - reissueOperationSpec + reissueOperationSpec, ); } @@ -714,16 +709,16 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: RenewCertificateOrderRequest, - options?: AppServiceCertificateOrdersRenewOptionalParams + options?: AppServiceCertificateOrdersRenewOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, renewCertificateOrderRequest, - options + options, }, - renewOperationSpec + renewOperationSpec, ); } @@ -736,11 +731,11 @@ export class AppServiceCertificateOrdersImpl resendEmail( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersResendEmailOptionalParams + options?: AppServiceCertificateOrdersResendEmailOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, options }, - resendEmailOperationSpec + resendEmailOperationSpec, ); } @@ -756,11 +751,11 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, nameIdentifier: NameIdentifier, - options?: AppServiceCertificateOrdersResendRequestEmailsOptionalParams + options?: AppServiceCertificateOrdersResendRequestEmailsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, nameIdentifier, options }, - resendRequestEmailsOperationSpec + resendRequestEmailsOperationSpec, ); } @@ -781,11 +776,11 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, siteSealRequest: SiteSealRequest, - options?: AppServiceCertificateOrdersRetrieveSiteSealOptionalParams + options?: AppServiceCertificateOrdersRetrieveSiteSealOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, siteSealRequest, options }, - retrieveSiteSealOperationSpec + retrieveSiteSealOperationSpec, ); } @@ -798,11 +793,11 @@ export class AppServiceCertificateOrdersImpl verifyDomainOwnership( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams + options?: AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, options }, - verifyDomainOwnershipOperationSpec + verifyDomainOwnershipOperationSpec, ); } @@ -815,11 +810,11 @@ export class AppServiceCertificateOrdersImpl retrieveCertificateActions( resourceGroupName: string, name: string, - options?: AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams + options?: AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - retrieveCertificateActionsOperationSpec + retrieveCertificateActionsOperationSpec, ); } @@ -832,13 +827,11 @@ export class AppServiceCertificateOrdersImpl retrieveCertificateEmailHistory( resourceGroupName: string, name: string, - options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams - ): Promise< - AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse - > { + options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - retrieveCertificateEmailHistoryOperationSpec + retrieveCertificateEmailHistoryOperationSpec, ); } @@ -849,11 +842,11 @@ export class AppServiceCertificateOrdersImpl */ private _listNext( nextLink: string, - options?: AppServiceCertificateOrdersListNextOptionalParams + options?: AppServiceCertificateOrdersListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -866,11 +859,11 @@ export class AppServiceCertificateOrdersImpl private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: AppServiceCertificateOrdersListByResourceGroupNextOptionalParams + options?: AppServiceCertificateOrdersListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } @@ -885,11 +878,11 @@ export class AppServiceCertificateOrdersImpl resourceGroupName: string, certificateOrderName: string, nextLink: string, - options?: AppServiceCertificateOrdersListCertificatesNextOptionalParams + options?: AppServiceCertificateOrdersListCertificatesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, nextLink, options }, - listCertificatesNextOperationSpec + listCertificatesNextOperationSpec, ); } } @@ -897,102 +890,97 @@ export class AppServiceCertificateOrdersImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateOrderCollection + bodyMapper: Mappers.AppServiceCertificateOrderCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const validatePurchaseInformationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/validateCertificateRegistrationInformation", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/validateCertificateRegistrationInformation", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.appServiceCertificateOrder, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateOrderCollection + bodyMapper: Mappers.AppServiceCertificateOrderCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateOrder + bodyMapper: Mappers.AppServiceCertificateOrder, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateOrder + bodyMapper: Mappers.AppServiceCertificateOrder, }, 201: { - bodyMapper: Mappers.AppServiceCertificateOrder + bodyMapper: Mappers.AppServiceCertificateOrder, }, 202: { - bodyMapper: Mappers.AppServiceCertificateOrder + bodyMapper: Mappers.AppServiceCertificateOrder, }, 204: { - bodyMapper: Mappers.AppServiceCertificateOrder + bodyMapper: Mappers.AppServiceCertificateOrder, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.certificateDistinguishedName, queryParameters: [Parameters.apiVersion], @@ -1000,44 +988,42 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateOrder + bodyMapper: Mappers.AppServiceCertificateOrder, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.certificateDistinguishedName1, queryParameters: [Parameters.apiVersion], @@ -1045,45 +1031,43 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listCertificatesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateCollection + bodyMapper: Mappers.AppServiceCertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getCertificateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateResource + bodyMapper: Mappers.AppServiceCertificateResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1091,31 +1075,30 @@ const getCertificateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.certificateOrderName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateCertificateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateResource + bodyMapper: Mappers.AppServiceCertificateResource, }, 201: { - bodyMapper: Mappers.AppServiceCertificateResource + bodyMapper: Mappers.AppServiceCertificateResource, }, 202: { - bodyMapper: Mappers.AppServiceCertificateResource + bodyMapper: Mappers.AppServiceCertificateResource, }, 204: { - bodyMapper: Mappers.AppServiceCertificateResource + bodyMapper: Mappers.AppServiceCertificateResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.keyVaultCertificate, queryParameters: [Parameters.apiVersion], @@ -1124,22 +1107,21 @@ const createOrUpdateCertificateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.certificateOrderName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteCertificateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1147,22 +1129,21 @@ const deleteCertificateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.certificateOrderName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateCertificateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateResource + bodyMapper: Mappers.AppServiceCertificateResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.keyVaultCertificate1, queryParameters: [Parameters.apiVersion], @@ -1171,21 +1152,20 @@ const updateCertificateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.certificateOrderName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const reissueOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.reissueCertificateOrderRequest, queryParameters: [Parameters.apiVersion], @@ -1193,21 +1173,20 @@ const reissueOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const renewOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.renewCertificateOrderRequest, queryParameters: [Parameters.apiVersion], @@ -1215,41 +1194,39 @@ const renewOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const resendEmailOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const resendRequestEmailsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendRequestEmails", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendRequestEmails", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.nameIdentifier, queryParameters: [Parameters.apiVersion], @@ -1257,23 +1234,22 @@ const resendRequestEmailsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const retrieveSiteSealOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SiteSeal + bodyMapper: Mappers.SiteSeal, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteSealRequest, queryParameters: [Parameters.apiVersion], @@ -1281,35 +1257,33 @@ const retrieveSiteSealOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const verifyDomainOwnershipOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateOrderName + Parameters.certificateOrderName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const retrieveCertificateActionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveCertificateActions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveCertificateActions", httpMethod: "POST", responses: { 200: { @@ -1317,28 +1291,27 @@ const retrieveCertificateActionsOperationSpec: coreClient.OperationSpec = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "CertificateOrderAction" } - } - } - } + type: { name: "Composite", className: "CertificateOrderAction" }, + }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const retrieveCertificateEmailHistoryOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveEmailHistory", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveEmailHistory", httpMethod: "POST", responses: { 200: { @@ -1346,82 +1319,82 @@ const retrieveCertificateEmailHistoryOperationSpec: coreClient.OperationSpec = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "CertificateEmail" } - } - } - } + type: { name: "Composite", className: "CertificateEmail" }, + }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateOrderCollection + bodyMapper: Mappers.AppServiceCertificateOrderCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateOrderCollection + bodyMapper: Mappers.AppServiceCertificateOrderCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listCertificatesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceCertificateCollection + bodyMapper: Mappers.AppServiceCertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.certificateOrderName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts b/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts index 8bfbea27b612..58bab41821e2 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -137,7 +137,6 @@ import { AppServiceEnvironmentsListOperationsResponse, AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams, AppServiceEnvironmentsGetPrivateEndpointConnectionResponse, - PrivateLinkConnectionApprovalRequestResource, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse, AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams, @@ -172,7 +171,7 @@ import { AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextResponse, AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse, AppServiceEnvironmentsListWorkerPoolSkusNextResponse, - AppServiceEnvironmentsListWebWorkerUsagesNextResponse + AppServiceEnvironmentsListWebWorkerUsagesNextResponse, } from "../models"; /// @@ -193,7 +192,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { * @param options The options parameters. */ public list( - options?: AppServiceEnvironmentsListOptionalParams + options?: AppServiceEnvironmentsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -208,13 +207,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: AppServiceEnvironmentsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListResponse; let continuationToken = settings?.continuationToken; @@ -235,7 +234,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { } private async *listPagingAll( - options?: AppServiceEnvironmentsListOptionalParams + options?: AppServiceEnvironmentsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -249,7 +248,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { */ public listByResourceGroup( resourceGroupName: string, - options?: AppServiceEnvironmentsListByResourceGroupOptionalParams + options?: AppServiceEnvironmentsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -266,16 +265,16 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: AppServiceEnvironmentsListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -290,7 +289,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -301,11 +300,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: AppServiceEnvironmentsListByResourceGroupOptionalParams + options?: AppServiceEnvironmentsListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -320,7 +319,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listCapacities( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListCapacitiesOptionalParams + options?: AppServiceEnvironmentsListCapacitiesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listCapacitiesPagingAll(resourceGroupName, name, options); return { @@ -338,9 +337,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -348,7 +347,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListCapacitiesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListCapacitiesResponse; let continuationToken = settings?.continuationToken; @@ -364,7 +363,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -376,12 +375,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listCapacitiesPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListCapacitiesOptionalParams + options?: AppServiceEnvironmentsListCapacitiesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listCapacitiesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -398,13 +397,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, vnetInfo: VirtualNetworkProfile, - options?: AppServiceEnvironmentsChangeVnetOptionalParams + options?: AppServiceEnvironmentsChangeVnetOptionalParams, ): PagedAsyncIterableIterator { const iter = this.changeVnetPagingAll( resourceGroupName, name, vnetInfo, - options + options, ); return { next() { @@ -422,9 +421,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, vnetInfo, options, - settings + settings, ); - } + }, }; } @@ -433,7 +432,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, vnetInfo: VirtualNetworkProfile, options?: AppServiceEnvironmentsChangeVnetOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsChangeVnetResponse; let continuationToken = settings?.continuationToken; @@ -442,7 +441,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, vnetInfo, - options + options, ); result = await poller.pollUntilDone(); let page = result.value || []; @@ -456,7 +455,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, vnetInfo, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -469,13 +468,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, vnetInfo: VirtualNetworkProfile, - options?: AppServiceEnvironmentsChangeVnetOptionalParams + options?: AppServiceEnvironmentsChangeVnetOptionalParams, ): AsyncIterableIterator { for await (const page of this.changeVnetPagingPage( resourceGroupName, name, vnetInfo, - options + options, )) { yield* page; } @@ -490,12 +489,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listInboundNetworkDependenciesEndpoints( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams + options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getInboundNetworkDependenciesEndpointsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -512,9 +511,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -522,7 +521,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse; let continuationToken = settings?.continuationToken; @@ -530,7 +529,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._getInboundNetworkDependenciesEndpoints( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -542,7 +541,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -554,12 +553,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *getInboundNetworkDependenciesEndpointsPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams + options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getInboundNetworkDependenciesEndpointsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -574,12 +573,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listMultiRolePools( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listMultiRolePoolsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -596,9 +595,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -606,7 +605,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListMultiRolePoolsResponse; let continuationToken = settings?.continuationToken; @@ -622,7 +621,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -634,12 +633,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listMultiRolePoolsPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listMultiRolePoolsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -657,13 +656,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, instance: string, - options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listMultiRolePoolInstanceMetricDefinitionsPagingAll( resourceGroupName, name, instance, - options + options, ); return { next() { @@ -681,9 +680,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, instance, options, - settings + settings, ); - } + }, }; } @@ -692,7 +691,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, instance: string, options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsResponse; let continuationToken = settings?.continuationToken; @@ -701,7 +700,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, instance, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -714,7 +713,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, instance, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -727,13 +726,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, instance: string, - options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listMultiRolePoolInstanceMetricDefinitionsPagingPage( resourceGroupName, name, instance, - options + options, )) { yield* page; } @@ -748,12 +747,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listMultiRoleMetricDefinitions( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listMultiRoleMetricDefinitionsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -770,9 +769,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -780,7 +779,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListMultiRoleMetricDefinitionsResponse; let continuationToken = settings?.continuationToken; @@ -788,7 +787,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._listMultiRoleMetricDefinitions( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -800,7 +799,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -812,12 +811,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listMultiRoleMetricDefinitionsPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listMultiRoleMetricDefinitionsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -832,12 +831,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listMultiRolePoolSkus( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listMultiRolePoolSkusPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -854,9 +853,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -864,7 +863,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListMultiRolePoolSkusResponse; let continuationToken = settings?.continuationToken; @@ -872,7 +871,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._listMultiRolePoolSkus( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -884,7 +883,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -896,12 +895,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listMultiRolePoolSkusPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams, ): AsyncIterableIterator { for await (const page of this.listMultiRolePoolSkusPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -916,12 +915,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listMultiRoleUsages( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams + options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listMultiRoleUsagesPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -938,9 +937,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -948,7 +947,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListMultiRoleUsagesResponse; let continuationToken = settings?.continuationToken; @@ -956,7 +955,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._listMultiRoleUsages( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -968,7 +967,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -980,12 +979,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listMultiRoleUsagesPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams + options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listMultiRoleUsagesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1001,12 +1000,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listOutboundNetworkDependenciesEndpoints( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams + options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getOutboundNetworkDependenciesEndpointsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1023,9 +1022,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1033,7 +1032,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse; let continuationToken = settings?.continuationToken; @@ -1041,7 +1040,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._getOutboundNetworkDependenciesEndpoints( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1053,7 +1052,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1065,12 +1064,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *getOutboundNetworkDependenciesEndpointsPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams + options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getOutboundNetworkDependenciesEndpointsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1085,12 +1084,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams + options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getPrivateEndpointConnectionListPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1107,9 +1106,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1117,7 +1116,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsGetPrivateEndpointConnectionListResponse; let continuationToken = settings?.continuationToken; @@ -1125,7 +1124,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._getPrivateEndpointConnectionList( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1137,7 +1136,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1149,12 +1148,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *getPrivateEndpointConnectionListPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams + options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams, ): AsyncIterableIterator { for await (const page of this.getPrivateEndpointConnectionListPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1169,7 +1168,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public beginListResumeAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsResumeOptionalParams + options?: AppServiceEnvironmentsResumeOptionalParams, ): PagedAsyncIterableIterator { const iter = this.resumePagingAll(resourceGroupName, name, options); return { @@ -1187,9 +1186,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1197,7 +1196,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsResumeOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsResumeResponse; let continuationToken = settings?.continuationToken; @@ -1214,7 +1213,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1226,12 +1225,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *resumePagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsResumeOptionalParams + options?: AppServiceEnvironmentsResumeOptionalParams, ): AsyncIterableIterator { for await (const page of this.resumePagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1246,12 +1245,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listAppServicePlans( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListAppServicePlansOptionalParams + options?: AppServiceEnvironmentsListAppServicePlansOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listAppServicePlansPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1268,9 +1267,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1278,7 +1277,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListAppServicePlansOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListAppServicePlansResponse; let continuationToken = settings?.continuationToken; @@ -1286,7 +1285,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { result = await this._listAppServicePlans( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1298,7 +1297,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1310,12 +1309,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listAppServicePlansPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListAppServicePlansOptionalParams + options?: AppServiceEnvironmentsListAppServicePlansOptionalParams, ): AsyncIterableIterator { for await (const page of this.listAppServicePlansPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1330,7 +1329,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listWebApps( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWebAppsOptionalParams + options?: AppServiceEnvironmentsListWebAppsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWebAppsPagingAll(resourceGroupName, name, options); return { @@ -1348,9 +1347,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1358,7 +1357,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListWebAppsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListWebAppsResponse; let continuationToken = settings?.continuationToken; @@ -1374,7 +1373,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1386,12 +1385,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listWebAppsPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWebAppsOptionalParams + options?: AppServiceEnvironmentsListWebAppsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWebAppsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1406,7 +1405,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public beginListSuspendAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsSuspendOptionalParams + options?: AppServiceEnvironmentsSuspendOptionalParams, ): PagedAsyncIterableIterator { const iter = this.suspendPagingAll(resourceGroupName, name, options); return { @@ -1424,9 +1423,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1434,7 +1433,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsSuspendOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsSuspendResponse; let continuationToken = settings?.continuationToken; @@ -1451,7 +1450,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1463,12 +1462,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *suspendPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsSuspendOptionalParams + options?: AppServiceEnvironmentsSuspendOptionalParams, ): AsyncIterableIterator { for await (const page of this.suspendPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1483,7 +1482,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listUsages( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListUsagesOptionalParams + options?: AppServiceEnvironmentsListUsagesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listUsagesPagingAll(resourceGroupName, name, options); return { @@ -1501,9 +1500,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1511,7 +1510,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListUsagesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListUsagesResponse; let continuationToken = settings?.continuationToken; @@ -1527,7 +1526,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1539,12 +1538,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listUsagesPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListUsagesOptionalParams + options?: AppServiceEnvironmentsListUsagesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listUsagesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1559,12 +1558,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { public listWorkerPools( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWorkerPoolsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1581,9 +1580,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1591,7 +1590,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListWorkerPoolsResponse; let continuationToken = settings?.continuationToken; @@ -1607,7 +1606,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1619,12 +1618,12 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async *listWorkerPoolsPagingAll( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWorkerPoolsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1644,14 +1643,14 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, instance: string, - options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWorkerPoolInstanceMetricDefinitionsPagingAll( resourceGroupName, name, workerPoolName, instance, - options + options, ); return { next() { @@ -1670,9 +1669,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { workerPoolName, instance, options, - settings + settings, ); - } + }, }; } @@ -1682,7 +1681,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { workerPoolName: string, instance: string, options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsResponse; let continuationToken = settings?.continuationToken; @@ -1692,7 +1691,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, instance, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1706,7 +1705,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { workerPoolName, instance, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1720,14 +1719,14 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, instance: string, - options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWorkerPoolInstanceMetricDefinitionsPagingPage( resourceGroupName, name, workerPoolName, instance, - options + options, )) { yield* page; } @@ -1744,13 +1743,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWebWorkerMetricDefinitionsPagingAll( resourceGroupName, name, workerPoolName, - options + options, ); return { next() { @@ -1768,9 +1767,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, options, - settings + settings, ); - } + }, }; } @@ -1779,7 +1778,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse; let continuationToken = settings?.continuationToken; @@ -1788,7 +1787,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, workerPoolName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1801,7 +1800,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1814,13 +1813,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWebWorkerMetricDefinitionsPagingPage( resourceGroupName, name, workerPoolName, - options + options, )) { yield* page; } @@ -1837,13 +1836,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWorkerPoolSkusPagingAll( resourceGroupName, name, workerPoolName, - options + options, ); return { next() { @@ -1861,9 +1860,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, options, - settings + settings, ); - } + }, }; } @@ -1872,7 +1871,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListWorkerPoolSkusResponse; let continuationToken = settings?.continuationToken; @@ -1881,7 +1880,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, workerPoolName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1894,7 +1893,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1907,13 +1906,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWorkerPoolSkusPagingPage( resourceGroupName, name, workerPoolName, - options + options, )) { yield* page; } @@ -1930,13 +1929,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams + options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWebWorkerUsagesPagingAll( resourceGroupName, name, workerPoolName, - options + options, ); return { next() { @@ -1954,9 +1953,9 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, options, - settings + settings, ); - } + }, }; } @@ -1965,7 +1964,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServiceEnvironmentsListWebWorkerUsagesResponse; let continuationToken = settings?.continuationToken; @@ -1974,7 +1973,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName, name, workerPoolName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1987,7 +1986,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2000,13 +1999,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams + options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWebWorkerUsagesPagingPage( resourceGroupName, name, workerPoolName, - options + options, )) { yield* page; } @@ -2017,7 +2016,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { * @param options The options parameters. */ private _list( - options?: AppServiceEnvironmentsListOptionalParams + options?: AppServiceEnvironmentsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -2029,11 +2028,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { */ private _listByResourceGroup( resourceGroupName: string, - options?: AppServiceEnvironmentsListByResourceGroupOptionalParams + options?: AppServiceEnvironmentsListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -2046,11 +2045,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { get( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetOptionalParams + options?: AppServiceEnvironmentsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -2065,7 +2064,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentResource, - options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2074,21 +2073,20 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2097,8 +2095,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2106,22 +2104,22 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, hostingEnvironmentEnvelope, options }, - spec: createOrUpdateOperationSpec + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsCreateOrUpdateResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2138,13 +2136,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentResource, - options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, name, hostingEnvironmentEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -2158,25 +2156,24 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { async beginDelete( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsDeleteOptionalParams + options?: AppServiceEnvironmentsDeleteOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2185,8 +2182,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2194,19 +2191,19 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: deleteOperationSpec + spec: deleteOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2221,7 +2218,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { async beginDeleteAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsDeleteOptionalParams + options?: AppServiceEnvironmentsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete(resourceGroupName, name, options); return poller.pollUntilDone(); @@ -2238,11 +2235,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentPatchResource, - options?: AppServiceEnvironmentsUpdateOptionalParams + options?: AppServiceEnvironmentsUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, hostingEnvironmentEnvelope, options }, - updateOperationSpec + updateOperationSpec, ); } @@ -2255,11 +2252,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listCapacities( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListCapacitiesOptionalParams + options?: AppServiceEnvironmentsListCapacitiesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listCapacitiesOperationSpec + listCapacitiesOperationSpec, ); } @@ -2272,11 +2269,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { getVipInfo( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetVipInfoOptionalParams + options?: AppServiceEnvironmentsGetVipInfoOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getVipInfoOperationSpec + getVipInfoOperationSpec, ); } @@ -2291,7 +2288,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, vnetInfo: VirtualNetworkProfile, - options?: AppServiceEnvironmentsChangeVnetOptionalParams + options?: AppServiceEnvironmentsChangeVnetOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2300,21 +2297,20 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2323,8 +2319,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2332,22 +2328,22 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, vnetInfo, options }, - spec: changeVnetOperationSpec + spec: changeVnetOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsChangeVnetResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2362,11 +2358,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { getAseCustomDnsSuffixConfiguration( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptionalParams + options?: AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getAseCustomDnsSuffixConfigurationOperationSpec + getAseCustomDnsSuffixConfigurationOperationSpec, ); } @@ -2381,13 +2377,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, customDnsSuffixConfiguration: CustomDnsSuffixConfiguration, - options?: AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams - ): Promise< - AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationResponse - > { + options?: AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, customDnsSuffixConfiguration, options }, - updateAseCustomDnsSuffixConfigurationOperationSpec + updateAseCustomDnsSuffixConfigurationOperationSpec, ); } @@ -2400,13 +2394,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { deleteAseCustomDnsSuffixConfiguration( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams - ): Promise< - AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationResponse - > { + options?: AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deleteAseCustomDnsSuffixConfigurationOperationSpec + deleteAseCustomDnsSuffixConfigurationOperationSpec, ); } @@ -2419,11 +2411,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { getAseV3NetworkingConfiguration( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams + options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getAseV3NetworkingConfigurationOperationSpec + getAseV3NetworkingConfigurationOperationSpec, ); } @@ -2438,11 +2430,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, aseNetworkingConfiguration: AseV3NetworkingConfiguration, - options?: AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams + options?: AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, aseNetworkingConfiguration, options }, - updateAseNetworkingConfigurationOperationSpec + updateAseNetworkingConfigurationOperationSpec, ); } @@ -2455,11 +2447,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { listDiagnostics( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListDiagnosticsOptionalParams + options?: AppServiceEnvironmentsListDiagnosticsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listDiagnosticsOperationSpec + listDiagnosticsOperationSpec, ); } @@ -2474,11 +2466,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, diagnosticsName: string, - options?: AppServiceEnvironmentsGetDiagnosticsItemOptionalParams + options?: AppServiceEnvironmentsGetDiagnosticsItemOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, diagnosticsName, options }, - getDiagnosticsItemOperationSpec + getDiagnosticsItemOperationSpec, ); } @@ -2491,13 +2483,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _getInboundNetworkDependenciesEndpoints( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams - ): Promise< - AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse - > { + options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getInboundNetworkDependenciesEndpointsOperationSpec + getInboundNetworkDependenciesEndpointsOperationSpec, ); } @@ -2510,11 +2500,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listMultiRolePools( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listMultiRolePoolsOperationSpec + listMultiRolePoolsOperationSpec, ); } @@ -2527,11 +2517,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { getMultiRolePool( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsGetMultiRolePoolOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getMultiRolePoolOperationSpec + getMultiRolePoolOperationSpec, ); } @@ -2546,7 +2536,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, multiRolePoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2555,21 +2545,20 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2578,8 +2567,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2587,22 +2576,22 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, multiRolePoolEnvelope, options }, - spec: createOrUpdateMultiRolePoolOperationSpec + spec: createOrUpdateMultiRolePoolOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2619,13 +2608,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, multiRolePoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateMultiRolePool( resourceGroupName, name, multiRolePoolEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -2641,11 +2630,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, multiRolePoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, multiRolePoolEnvelope, options }, - updateMultiRolePoolOperationSpec + updateMultiRolePoolOperationSpec, ); } @@ -2661,13 +2650,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, instance: string, - options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams - ): Promise< - AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsResponse - > { + options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instance, options }, - listMultiRolePoolInstanceMetricDefinitionsOperationSpec + listMultiRolePoolInstanceMetricDefinitionsOperationSpec, ); } @@ -2680,11 +2667,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listMultiRoleMetricDefinitions( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listMultiRoleMetricDefinitionsOperationSpec + listMultiRoleMetricDefinitionsOperationSpec, ); } @@ -2697,11 +2684,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listMultiRolePoolSkus( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listMultiRolePoolSkusOperationSpec + listMultiRolePoolSkusOperationSpec, ); } @@ -2714,11 +2701,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { testUpgradeAvailableNotification( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams + options?: AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - testUpgradeAvailableNotificationOperationSpec + testUpgradeAvailableNotificationOperationSpec, ); } @@ -2731,25 +2718,24 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { async beginUpgrade( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsUpgradeOptionalParams + options?: AppServiceEnvironmentsUpgradeOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2758,8 +2744,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2767,19 +2753,19 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: upgradeOperationSpec + spec: upgradeOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2794,7 +2780,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { async beginUpgradeAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsUpgradeOptionalParams + options?: AppServiceEnvironmentsUpgradeOptionalParams, ): Promise { const poller = await this.beginUpgrade(resourceGroupName, name, options); return poller.pollUntilDone(); @@ -2809,11 +2795,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listMultiRoleUsages( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams + options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listMultiRoleUsagesOperationSpec + listMultiRoleUsagesOperationSpec, ); } @@ -2826,11 +2812,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { listOperations( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListOperationsOptionalParams + options?: AppServiceEnvironmentsListOperationsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listOperationsOperationSpec + listOperationsOperationSpec, ); } @@ -2844,13 +2830,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _getOutboundNetworkDependenciesEndpoints( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams - ): Promise< - AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse - > { + options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOutboundNetworkDependenciesEndpointsOperationSpec + getOutboundNetworkDependenciesEndpointsOperationSpec, ); } @@ -2863,11 +2847,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _getPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams + options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getPrivateEndpointConnectionListOperationSpec + getPrivateEndpointConnectionListOperationSpec, ); } @@ -2882,11 +2866,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams + options?: AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, privateEndpointConnectionName, options }, - getPrivateEndpointConnectionOperationSpec + getPrivateEndpointConnectionOperationSpec, ); } @@ -2895,40 +2879,37 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ async beginApproveOrRejectPrivateEndpointConnection( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< - OperationState< - AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse - >, + OperationState, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2937,8 +2918,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2946,8 +2927,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -2958,18 +2939,16 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, privateEndpointConnectionName, privateEndpointWrapper, - options + options, }, - spec: approveOrRejectPrivateEndpointConnectionOperationSpec + spec: approveOrRejectPrivateEndpointConnectionOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse, - OperationState< - AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse - > + OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2980,24 +2959,22 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ async beginApproveOrRejectPrivateEndpointConnectionAndWait( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams - ): Promise< - AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse - > { + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams, + ): Promise { const poller = await this.beginApproveOrRejectPrivateEndpointConnection( resourceGroupName, name, privateEndpointConnectionName, privateEndpointWrapper, - options + options, ); return poller.pollUntilDone(); } @@ -3013,32 +2990,29 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams + options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< - OperationState< - AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse - >, + OperationState, AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3047,8 +3021,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3056,24 +3030,22 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, privateEndpointConnectionName, options }, - spec: deletePrivateEndpointConnectionOperationSpec + spec: deletePrivateEndpointConnectionOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse, - OperationState< - AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse - > + OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3090,13 +3062,13 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams + options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams, ): Promise { const poller = await this.beginDeletePrivateEndpointConnection( resourceGroupName, name, privateEndpointConnectionName, - options + options, ); return poller.pollUntilDone(); } @@ -3110,11 +3082,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { getPrivateLinkResources( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams + options?: AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getPrivateLinkResourcesOperationSpec + getPrivateLinkResourcesOperationSpec, ); } @@ -3127,11 +3099,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { reboot( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsRebootOptionalParams + options?: AppServiceEnvironmentsRebootOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - rebootOperationSpec + rebootOperationSpec, ); } @@ -3144,7 +3116,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async _resume( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsResumeOptionalParams + options?: AppServiceEnvironmentsResumeOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3153,21 +3125,20 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3176,8 +3147,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3185,22 +3156,22 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: resumeOperationSpec + spec: resumeOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsResumeResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3215,11 +3186,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listAppServicePlans( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListAppServicePlansOptionalParams + options?: AppServiceEnvironmentsListAppServicePlansOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listAppServicePlansOperationSpec + listAppServicePlansOperationSpec, ); } @@ -3232,11 +3203,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listWebApps( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWebAppsOptionalParams + options?: AppServiceEnvironmentsListWebAppsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listWebAppsOperationSpec + listWebAppsOperationSpec, ); } @@ -3249,7 +3220,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private async _suspend( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsSuspendOptionalParams + options?: AppServiceEnvironmentsSuspendOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3258,21 +3229,20 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3281,8 +3251,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3290,22 +3260,22 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: suspendOperationSpec + spec: suspendOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsSuspendResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3320,11 +3290,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listUsages( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListUsagesOptionalParams + options?: AppServiceEnvironmentsListUsagesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listUsagesOperationSpec + listUsagesOperationSpec, ); } @@ -3337,11 +3307,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listWorkerPools( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listWorkerPoolsOperationSpec + listWorkerPoolsOperationSpec, ); } @@ -3356,11 +3326,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsGetWorkerPoolOptionalParams + options?: AppServiceEnvironmentsGetWorkerPoolOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, options }, - getWorkerPoolOperationSpec + getWorkerPoolOperationSpec, ); } @@ -3377,7 +3347,7 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, workerPoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3386,21 +3356,20 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3409,8 +3378,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3418,8 +3387,8 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -3430,16 +3399,16 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name, workerPoolName, workerPoolEnvelope, - options + options, }, - spec: createOrUpdateWorkerPoolOperationSpec + spec: createOrUpdateWorkerPoolOperationSpec, }); const poller = await createHttpPoller< AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3458,14 +3427,14 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, workerPoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateWorkerPool( resourceGroupName, name, workerPoolName, workerPoolEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -3483,11 +3452,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, workerPoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsUpdateWorkerPoolOptionalParams + options?: AppServiceEnvironmentsUpdateWorkerPoolOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, workerPoolEnvelope, options }, - updateWorkerPoolOperationSpec + updateWorkerPoolOperationSpec, ); } @@ -3505,13 +3474,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, instance: string, - options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams - ): Promise< - AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsResponse - > { + options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, instance, options }, - listWorkerPoolInstanceMetricDefinitionsOperationSpec + listWorkerPoolInstanceMetricDefinitionsOperationSpec, ); } @@ -3526,11 +3493,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, options }, - listWebWorkerMetricDefinitionsOperationSpec + listWebWorkerMetricDefinitionsOperationSpec, ); } @@ -3545,11 +3512,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, options }, - listWorkerPoolSkusOperationSpec + listWorkerPoolSkusOperationSpec, ); } @@ -3564,11 +3531,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams + options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, options }, - listWebWorkerUsagesOperationSpec + listWebWorkerUsagesOperationSpec, ); } @@ -3579,11 +3546,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { */ private _listNext( nextLink: string, - options?: AppServiceEnvironmentsListNextOptionalParams + options?: AppServiceEnvironmentsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -3596,11 +3563,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: AppServiceEnvironmentsListByResourceGroupNextOptionalParams + options?: AppServiceEnvironmentsListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } @@ -3615,11 +3582,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListCapacitiesNextOptionalParams + options?: AppServiceEnvironmentsListCapacitiesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listCapacitiesNextOperationSpec + listCapacitiesNextOperationSpec, ); } @@ -3636,11 +3603,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, vnetInfo: VirtualNetworkProfile, nextLink: string, - options?: AppServiceEnvironmentsChangeVnetNextOptionalParams + options?: AppServiceEnvironmentsChangeVnetNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetInfo, nextLink, options }, - changeVnetNextOperationSpec + changeVnetNextOperationSpec, ); } @@ -3656,13 +3623,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextOptionalParams - ): Promise< - AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResponse - > { + options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getInboundNetworkDependenciesEndpointsNextOperationSpec + getInboundNetworkDependenciesEndpointsNextOperationSpec, ); } @@ -3677,11 +3642,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListMultiRolePoolsNextOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listMultiRolePoolsNextOperationSpec + listMultiRolePoolsNextOperationSpec, ); } @@ -3699,13 +3664,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, instance: string, nextLink: string, - options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextOptionalParams - ): Promise< - AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextResponse - > { + options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instance, nextLink, options }, - listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec + listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec, ); } @@ -3721,11 +3684,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextOptionalParams + options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listMultiRoleMetricDefinitionsNextOperationSpec + listMultiRoleMetricDefinitionsNextOperationSpec, ); } @@ -3740,11 +3703,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListMultiRolePoolSkusNextOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolSkusNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listMultiRolePoolSkusNextOperationSpec + listMultiRolePoolSkusNextOperationSpec, ); } @@ -3759,11 +3722,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListMultiRoleUsagesNextOptionalParams + options?: AppServiceEnvironmentsListMultiRoleUsagesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listMultiRoleUsagesNextOperationSpec + listMultiRoleUsagesNextOperationSpec, ); } @@ -3779,13 +3742,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextOptionalParams - ): Promise< - AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextResponse - > { + options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getOutboundNetworkDependenciesEndpointsNextOperationSpec + getOutboundNetworkDependenciesEndpointsNextOperationSpec, ); } @@ -3801,13 +3762,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListNextOptionalParams - ): Promise< - AppServiceEnvironmentsGetPrivateEndpointConnectionListNextResponse - > { + options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getPrivateEndpointConnectionListNextOperationSpec + getPrivateEndpointConnectionListNextOperationSpec, ); } @@ -3822,11 +3781,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsResumeNextOptionalParams + options?: AppServiceEnvironmentsResumeNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - resumeNextOperationSpec + resumeNextOperationSpec, ); } @@ -3841,11 +3800,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListAppServicePlansNextOptionalParams + options?: AppServiceEnvironmentsListAppServicePlansNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listAppServicePlansNextOperationSpec + listAppServicePlansNextOperationSpec, ); } @@ -3860,11 +3819,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListWebAppsNextOptionalParams + options?: AppServiceEnvironmentsListWebAppsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listWebAppsNextOperationSpec + listWebAppsNextOperationSpec, ); } @@ -3879,11 +3838,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsSuspendNextOptionalParams + options?: AppServiceEnvironmentsSuspendNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - suspendNextOperationSpec + suspendNextOperationSpec, ); } @@ -3898,11 +3857,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListUsagesNextOptionalParams + options?: AppServiceEnvironmentsListUsagesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listUsagesNextOperationSpec + listUsagesNextOperationSpec, ); } @@ -3917,11 +3876,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { resourceGroupName: string, name: string, nextLink: string, - options?: AppServiceEnvironmentsListWorkerPoolsNextOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listWorkerPoolsNextOperationSpec + listWorkerPoolsNextOperationSpec, ); } @@ -3941,13 +3900,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { workerPoolName: string, instance: string, nextLink: string, - options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextOptionalParams - ): Promise< - AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextResponse - > { + options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, instance, nextLink, options }, - listWorkerPoolInstanceMetricDefinitionsNextOperationSpec + listWorkerPoolInstanceMetricDefinitionsNextOperationSpec, ); } @@ -3965,11 +3922,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, nextLink: string, - options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextOptionalParams + options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, nextLink, options }, - listWebWorkerMetricDefinitionsNextOperationSpec + listWebWorkerMetricDefinitionsNextOperationSpec, ); } @@ -3986,11 +3943,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, nextLink: string, - options?: AppServiceEnvironmentsListWorkerPoolSkusNextOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolSkusNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, nextLink, options }, - listWorkerPoolSkusNextOperationSpec + listWorkerPoolSkusNextOperationSpec, ); } @@ -4007,11 +3964,11 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { name: string, workerPoolName: string, nextLink: string, - options?: AppServiceEnvironmentsListWebWorkerUsagesNextOptionalParams + options?: AppServiceEnvironmentsListWebWorkerUsagesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerPoolName, nextLink, options }, - listWebWorkerUsagesNextOperationSpec + listWebWorkerUsagesNextOperationSpec, ); } } @@ -4019,85 +3976,81 @@ export class AppServiceEnvironmentsImpl implements AppServiceEnvironments { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceEnvironmentCollection + bodyMapper: Mappers.AppServiceEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceEnvironmentCollection + bodyMapper: Mappers.AppServiceEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, 201: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, 202: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, 204: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.hostingEnvironmentEnvelope, queryParameters: [Parameters.apiVersion], @@ -4105,15 +4058,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", httpMethod: "DELETE", responses: { 200: {}, @@ -4121,36 +4073,35 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.forceDelete], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, 201: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, 202: { - bodyMapper: Mappers.AppServiceEnvironmentResource + bodyMapper: Mappers.AppServiceEnvironmentResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.hostingEnvironmentEnvelope1, queryParameters: [Parameters.apiVersion], @@ -4158,76 +4109,73 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listCapacitiesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StampCapacityCollection + bodyMapper: Mappers.StampCapacityCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getVipInfoOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AddressResponse + bodyMapper: Mappers.AddressResponse, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const changeVnetOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 201: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 202: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 204: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.vnetInfo, queryParameters: [Parameters.apiVersion], @@ -4235,325 +4183,340 @@ const changeVnetOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const getAseCustomDnsSuffixConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix", +const getAseCustomDnsSuffixConfigurationOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CustomDnsSuffixConfiguration, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const updateAseCustomDnsSuffixConfigurationOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.CustomDnsSuffixConfiguration, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.customDnsSuffixConfiguration, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const deleteAseCustomDnsSuffixConfigurationOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix", + httpMethod: "DELETE", + responses: { + 200: { + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + 204: { + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getAseV3NetworkingConfigurationOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CustomDnsSuffixConfiguration + bodyMapper: Mappers.AseV3NetworkingConfiguration, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const updateAseCustomDnsSuffixConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix", - httpMethod: "PUT", +const updateAseNetworkingConfigurationOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.AseV3NetworkingConfiguration, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.aseNetworkingConfiguration, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const listDiagnosticsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CustomDnsSuffixConfiguration + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HostingEnvironmentDiagnostics", + }, + }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.customDnsSuffixConfiguration, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const deleteAseCustomDnsSuffixConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix", - httpMethod: "DELETE", +const getDiagnosticsItemOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}", + httpMethod: "GET", responses: { 200: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - }, - 204: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + bodyMapper: Mappers.HostingEnvironmentDiagnostics, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, + Parameters.diagnosticsName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getAseV3NetworkingConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking", +const getInboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InboundEnvironmentEndpointCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listMultiRolePoolsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AseV3NetworkingConfiguration + bodyMapper: Mappers.WorkerPoolCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const updateAseNetworkingConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking", - httpMethod: "PUT", +const getMultiRolePoolOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AseV3NetworkingConfiguration + bodyMapper: Mappers.WorkerPoolResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.aseNetworkingConfiguration, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const listDiagnosticsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics", - httpMethod: "GET", +const createOrUpdateMultiRolePoolOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default", + httpMethod: "PUT", responses: { 200: { - bodyMapper: { - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HostingEnvironmentDiagnostics" - } - } - } - } + bodyMapper: Mappers.WorkerPoolResource, + }, + 201: { + bodyMapper: Mappers.WorkerPoolResource, + }, + 202: { + bodyMapper: Mappers.WorkerPoolResource, + }, + 204: { + bodyMapper: Mappers.WorkerPoolResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, + requestBody: Parameters.multiRolePoolEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; -const getDiagnosticsItemOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}", - httpMethod: "GET", +const updateMultiRolePoolOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default", + httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.HostingEnvironmentDiagnostics + bodyMapper: Mappers.WorkerPoolResource, + }, + 202: { + bodyMapper: Mappers.WorkerPoolResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, + requestBody: Parameters.multiRolePoolEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.diagnosticsName ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; -const getInboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.InboundEnvironmentEndpointCollection +const listMultiRolePoolInstanceMetricDefinitionsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricDefinitionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const listMultiRolePoolsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools", + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.instance, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listMultiRoleMetricDefinitionsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkerPoolCollection + bodyMapper: Mappers.ResourceMetricDefinitionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const getMultiRolePoolOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const createOrUpdateMultiRolePoolOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.WorkerPoolResource - }, - 201: { - bodyMapper: Mappers.WorkerPoolResource - }, - 202: { - bodyMapper: Mappers.WorkerPoolResource - }, - 204: { - bodyMapper: Mappers.WorkerPoolResource - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.multiRolePoolEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const updateMultiRolePoolOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.WorkerPoolResource - }, - 202: { - bodyMapper: Mappers.WorkerPoolResource - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.multiRolePoolEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const listMultiRolePoolInstanceMetricDefinitionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -4561,78 +4524,53 @@ const listMultiRolePoolInstanceMetricDefinitionsOperationSpec: coreClient.Operat Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.instance ], headerParameters: [Parameters.accept], - serializer -}; -const listMultiRoleMetricDefinitionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer + serializer, }; const listMultiRolePoolSkusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SkuInfoCollection + bodyMapper: Mappers.SkuInfoCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const testUpgradeAvailableNotificationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/testUpgradeAvailableNotification", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const testUpgradeAvailableNotificationOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/testUpgradeAvailableNotification", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; const upgradeOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/upgrade", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/upgrade", httpMethod: "POST", responses: { 200: {}, @@ -4640,123 +4578,120 @@ const upgradeOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listMultiRoleUsagesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.UsageCollection + bodyMapper: Mappers.UsageCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "Operation" } } - } - } + element: { type: { name: "Composite", className: "Operation" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const getOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.OutboundEnvironmentEndpointCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getPrivateEndpointConnectionListOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection +const getOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundEnvironmentEndpointCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getPrivateEndpointConnectionListOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -4764,73 +4699,72 @@ const getPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.privateEndpointConnectionName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const approveOrRejectPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 201: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 202: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 204: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource +const approveOrRejectPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 201: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 202: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 204: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.privateEndpointWrapper, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.privateEndpointConnectionName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.privateEndpointWrapper, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.privateEndpointConnectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deletePrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "DELETE", responses: { 200: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 201: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 202: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 204: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -4838,214 +4772,205 @@ const deletePrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.privateEndpointConnectionName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getPrivateLinkResourcesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateLinkResources", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateLinkResources", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateLinkResourcesWrapper + bodyMapper: Mappers.PrivateLinkResourcesWrapper, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const rebootOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot", httpMethod: "POST", responses: { 202: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const resumeOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 201: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 202: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 204: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listAppServicePlansOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServicePlanCollection + bodyMapper: Mappers.AppServicePlanCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebAppsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.propertiesToInclude], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const suspendOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 201: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 202: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 204: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listUsagesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWorkerPoolsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkerPoolCollection + bodyMapper: Mappers.WorkerPoolCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getWorkerPoolOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.WorkerPoolResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5053,31 +4978,30 @@ const getWorkerPoolOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateWorkerPoolOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.WorkerPoolResource, }, 201: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.WorkerPoolResource, }, 202: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.WorkerPoolResource, }, 204: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.WorkerPoolResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.workerPoolEnvelope, queryParameters: [Parameters.apiVersion], @@ -5086,26 +5010,25 @@ const createOrUpdateWorkerPoolOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const updateWorkerPoolOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.WorkerPoolResource, }, 202: { - bodyMapper: Mappers.WorkerPoolResource + bodyMapper: Mappers.WorkerPoolResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.workerPoolEnvelope, queryParameters: [Parameters.apiVersion], @@ -5114,47 +5037,46 @@ const updateWorkerPoolOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const listWorkerPoolInstanceMetricDefinitionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection +const listWorkerPoolInstanceMetricDefinitionsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricDefinitionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.instance, - Parameters.workerPoolName - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.instance, + Parameters.workerPoolName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listWebWorkerMetricDefinitionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection + bodyMapper: Mappers.ResourceMetricDefinitionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5162,22 +5084,21 @@ const listWebWorkerMetricDefinitionsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWorkerPoolSkusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SkuInfoCollection + bodyMapper: Mappers.SkuInfoCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5185,22 +5106,21 @@ const listWorkerPoolSkusOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebWorkerUsagesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.UsageCollection + bodyMapper: Mappers.UsageCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5208,148 +5128,128 @@ const listWebWorkerUsagesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceEnvironmentCollection + bodyMapper: Mappers.AppServiceEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServiceEnvironmentCollection + bodyMapper: Mappers.AppServiceEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listCapacitiesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StampCapacityCollection + bodyMapper: Mappers.StampCapacityCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const changeVnetNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 202: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const getInboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.InboundEnvironmentEndpointCollection +const getInboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InboundEnvironmentEndpointCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listMultiRolePoolsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkerPoolCollection + bodyMapper: Mappers.WorkerPoolCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, @@ -5357,258 +5257,262 @@ const listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec: coreClient.Op Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.instance ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listMultiRoleMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection +const listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricDefinitionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.instance, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listMultiRoleMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricDefinitionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listMultiRolePoolSkusNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SkuInfoCollection + bodyMapper: Mappers.SkuInfoCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listMultiRoleUsagesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.UsageCollection + bodyMapper: Mappers.UsageCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const getOutboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.OutboundEnvironmentEndpointCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection +const getOutboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundEnvironmentEndpointCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const resumeNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 202: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listAppServicePlansNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServicePlanCollection + bodyMapper: Mappers.AppServicePlanCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebAppsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const suspendNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, 202: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listUsagesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWorkerPoolsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkerPoolCollection + bodyMapper: Mappers.WorkerPoolCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listWorkerPoolInstanceMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, @@ -5616,44 +5520,67 @@ const listWorkerPoolInstanceMetricDefinitionsNextOperationSpec: coreClient.Opera Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.instance, - Parameters.workerPoolName ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listWebWorkerMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection +const listWorkerPoolInstanceMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricDefinitionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.workerPoolName - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.instance, + Parameters.workerPoolName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listWebWorkerMetricDefinitionsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricDefinitionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.workerPoolName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listWorkerPoolSkusNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SkuInfoCollection + bodyMapper: Mappers.SkuInfoCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -5661,21 +5588,21 @@ const listWorkerPoolSkusNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebWorkerUsagesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.UsageCollection + bodyMapper: Mappers.UsageCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -5683,8 +5610,8 @@ const listWebWorkerUsagesNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.workerPoolName + Parameters.workerPoolName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts b/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts index 81623f792197..7c71b7289b74 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -87,7 +87,7 @@ import { AppServicePlansListWebAppsByHybridConnectionNextResponse, AppServicePlansListHybridConnectionsNextResponse, AppServicePlansListWebAppsNextResponse, - AppServicePlansListUsagesNextResponse + AppServicePlansListUsagesNextResponse, } from "../models"; /// @@ -108,7 +108,7 @@ export class AppServicePlansImpl implements AppServicePlans { * @param options The options parameters. */ public list( - options?: AppServicePlansListOptionalParams + options?: AppServicePlansListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -123,13 +123,13 @@ export class AppServicePlansImpl implements AppServicePlans { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: AppServicePlansListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServicePlansListResponse; let continuationToken = settings?.continuationToken; @@ -150,7 +150,7 @@ export class AppServicePlansImpl implements AppServicePlans { } private async *listPagingAll( - options?: AppServicePlansListOptionalParams + options?: AppServicePlansListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -164,7 +164,7 @@ export class AppServicePlansImpl implements AppServicePlans { */ public listByResourceGroup( resourceGroupName: string, - options?: AppServicePlansListByResourceGroupOptionalParams + options?: AppServicePlansListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -181,16 +181,16 @@ export class AppServicePlansImpl implements AppServicePlans { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: AppServicePlansListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServicePlansListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -205,7 +205,7 @@ export class AppServicePlansImpl implements AppServicePlans { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -216,11 +216,11 @@ export class AppServicePlansImpl implements AppServicePlans { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: AppServicePlansListByResourceGroupOptionalParams + options?: AppServicePlansListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -239,14 +239,14 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams + options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWebAppsByHybridConnectionPagingAll( resourceGroupName, name, namespaceName, relayName, - options + options, ); return { next() { @@ -265,9 +265,9 @@ export class AppServicePlansImpl implements AppServicePlans { namespaceName, relayName, options, - settings + settings, ); - } + }, }; } @@ -277,7 +277,7 @@ export class AppServicePlansImpl implements AppServicePlans { namespaceName: string, relayName: string, options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServicePlansListWebAppsByHybridConnectionResponse; let continuationToken = settings?.continuationToken; @@ -287,7 +287,7 @@ export class AppServicePlansImpl implements AppServicePlans { name, namespaceName, relayName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -301,7 +301,7 @@ export class AppServicePlansImpl implements AppServicePlans { namespaceName, relayName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -315,14 +315,14 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams + options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWebAppsByHybridConnectionPagingPage( resourceGroupName, name, namespaceName, relayName, - options + options, )) { yield* page; } @@ -337,12 +337,12 @@ export class AppServicePlansImpl implements AppServicePlans { public listHybridConnections( resourceGroupName: string, name: string, - options?: AppServicePlansListHybridConnectionsOptionalParams + options?: AppServicePlansListHybridConnectionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listHybridConnectionsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -359,9 +359,9 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -369,7 +369,7 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, options?: AppServicePlansListHybridConnectionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServicePlansListHybridConnectionsResponse; let continuationToken = settings?.continuationToken; @@ -377,7 +377,7 @@ export class AppServicePlansImpl implements AppServicePlans { result = await this._listHybridConnections( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -389,7 +389,7 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -401,12 +401,12 @@ export class AppServicePlansImpl implements AppServicePlans { private async *listHybridConnectionsPagingAll( resourceGroupName: string, name: string, - options?: AppServicePlansListHybridConnectionsOptionalParams + options?: AppServicePlansListHybridConnectionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listHybridConnectionsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -421,7 +421,7 @@ export class AppServicePlansImpl implements AppServicePlans { public listWebApps( resourceGroupName: string, name: string, - options?: AppServicePlansListWebAppsOptionalParams + options?: AppServicePlansListWebAppsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWebAppsPagingAll(resourceGroupName, name, options); return { @@ -439,9 +439,9 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -449,7 +449,7 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, options?: AppServicePlansListWebAppsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServicePlansListWebAppsResponse; let continuationToken = settings?.continuationToken; @@ -465,7 +465,7 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -477,12 +477,12 @@ export class AppServicePlansImpl implements AppServicePlans { private async *listWebAppsPagingAll( resourceGroupName: string, name: string, - options?: AppServicePlansListWebAppsOptionalParams + options?: AppServicePlansListWebAppsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWebAppsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -497,7 +497,7 @@ export class AppServicePlansImpl implements AppServicePlans { public listUsages( resourceGroupName: string, name: string, - options?: AppServicePlansListUsagesOptionalParams + options?: AppServicePlansListUsagesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listUsagesPagingAll(resourceGroupName, name, options); return { @@ -515,9 +515,9 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -525,7 +525,7 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, options?: AppServicePlansListUsagesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: AppServicePlansListUsagesResponse; let continuationToken = settings?.continuationToken; @@ -541,7 +541,7 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -553,12 +553,12 @@ export class AppServicePlansImpl implements AppServicePlans { private async *listUsagesPagingAll( resourceGroupName: string, name: string, - options?: AppServicePlansListUsagesOptionalParams + options?: AppServicePlansListUsagesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listUsagesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -569,7 +569,7 @@ export class AppServicePlansImpl implements AppServicePlans { * @param options The options parameters. */ private _list( - options?: AppServicePlansListOptionalParams + options?: AppServicePlansListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -581,11 +581,11 @@ export class AppServicePlansImpl implements AppServicePlans { */ private _listByResourceGroup( resourceGroupName: string, - options?: AppServicePlansListByResourceGroupOptionalParams + options?: AppServicePlansListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -598,11 +598,11 @@ export class AppServicePlansImpl implements AppServicePlans { get( resourceGroupName: string, name: string, - options?: AppServicePlansGetOptionalParams + options?: AppServicePlansGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -617,7 +617,7 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, appServicePlan: AppServicePlan, - options?: AppServicePlansCreateOrUpdateOptionalParams + options?: AppServicePlansCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -626,21 +626,20 @@ export class AppServicePlansImpl implements AppServicePlans { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -649,8 +648,8 @@ export class AppServicePlansImpl implements AppServicePlans { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -658,22 +657,22 @@ export class AppServicePlansImpl implements AppServicePlans { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, appServicePlan, options }, - spec: createOrUpdateOperationSpec + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< AppServicePlansCreateOrUpdateResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -690,13 +689,13 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, appServicePlan: AppServicePlan, - options?: AppServicePlansCreateOrUpdateOptionalParams + options?: AppServicePlansCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, name, appServicePlan, - options + options, ); return poller.pollUntilDone(); } @@ -710,11 +709,11 @@ export class AppServicePlansImpl implements AppServicePlans { delete( resourceGroupName: string, name: string, - options?: AppServicePlansDeleteOptionalParams + options?: AppServicePlansDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -729,11 +728,11 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, appServicePlan: AppServicePlanPatchResource, - options?: AppServicePlansUpdateOptionalParams + options?: AppServicePlansUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, appServicePlan, options }, - updateOperationSpec + updateOperationSpec, ); } @@ -746,11 +745,11 @@ export class AppServicePlansImpl implements AppServicePlans { listCapabilities( resourceGroupName: string, name: string, - options?: AppServicePlansListCapabilitiesOptionalParams + options?: AppServicePlansListCapabilitiesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listCapabilitiesOperationSpec + listCapabilitiesOperationSpec, ); } @@ -767,11 +766,11 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansGetHybridConnectionOptionalParams + options?: AppServicePlansGetHybridConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, options }, - getHybridConnectionOperationSpec + getHybridConnectionOperationSpec, ); } @@ -788,11 +787,11 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansDeleteHybridConnectionOptionalParams + options?: AppServicePlansDeleteHybridConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, options }, - deleteHybridConnectionOperationSpec + deleteHybridConnectionOperationSpec, ); } @@ -809,11 +808,11 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansListHybridConnectionKeysOptionalParams + options?: AppServicePlansListHybridConnectionKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, options }, - listHybridConnectionKeysOperationSpec + listHybridConnectionKeysOperationSpec, ); } @@ -830,11 +829,11 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams + options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, options }, - listWebAppsByHybridConnectionOperationSpec + listWebAppsByHybridConnectionOperationSpec, ); } @@ -847,11 +846,11 @@ export class AppServicePlansImpl implements AppServicePlans { getHybridConnectionPlanLimit( resourceGroupName: string, name: string, - options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams + options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getHybridConnectionPlanLimitOperationSpec + getHybridConnectionPlanLimitOperationSpec, ); } @@ -864,11 +863,11 @@ export class AppServicePlansImpl implements AppServicePlans { private _listHybridConnections( resourceGroupName: string, name: string, - options?: AppServicePlansListHybridConnectionsOptionalParams + options?: AppServicePlansListHybridConnectionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listHybridConnectionsOperationSpec + listHybridConnectionsOperationSpec, ); } @@ -881,11 +880,11 @@ export class AppServicePlansImpl implements AppServicePlans { restartWebApps( resourceGroupName: string, name: string, - options?: AppServicePlansRestartWebAppsOptionalParams + options?: AppServicePlansRestartWebAppsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - restartWebAppsOperationSpec + restartWebAppsOperationSpec, ); } @@ -898,11 +897,11 @@ export class AppServicePlansImpl implements AppServicePlans { private _listWebApps( resourceGroupName: string, name: string, - options?: AppServicePlansListWebAppsOptionalParams + options?: AppServicePlansListWebAppsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listWebAppsOperationSpec + listWebAppsOperationSpec, ); } @@ -915,11 +914,11 @@ export class AppServicePlansImpl implements AppServicePlans { getServerFarmSkus( resourceGroupName: string, name: string, - options?: AppServicePlansGetServerFarmSkusOptionalParams + options?: AppServicePlansGetServerFarmSkusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getServerFarmSkusOperationSpec + getServerFarmSkusOperationSpec, ); } @@ -932,11 +931,11 @@ export class AppServicePlansImpl implements AppServicePlans { private _listUsages( resourceGroupName: string, name: string, - options?: AppServicePlansListUsagesOptionalParams + options?: AppServicePlansListUsagesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listUsagesOperationSpec + listUsagesOperationSpec, ); } @@ -949,11 +948,11 @@ export class AppServicePlansImpl implements AppServicePlans { listVnets( resourceGroupName: string, name: string, - options?: AppServicePlansListVnetsOptionalParams + options?: AppServicePlansListVnetsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listVnetsOperationSpec + listVnetsOperationSpec, ); } @@ -968,11 +967,11 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, vnetName: string, - options?: AppServicePlansGetVnetFromServerFarmOptionalParams + options?: AppServicePlansGetVnetFromServerFarmOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, options }, - getVnetFromServerFarmOperationSpec + getVnetFromServerFarmOperationSpec, ); } @@ -989,11 +988,11 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, vnetName: string, gatewayName: string, - options?: AppServicePlansGetVnetGatewayOptionalParams + options?: AppServicePlansGetVnetGatewayOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, gatewayName, options }, - getVnetGatewayOperationSpec + getVnetGatewayOperationSpec, ); } @@ -1012,7 +1011,7 @@ export class AppServicePlansImpl implements AppServicePlans { vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, - options?: AppServicePlansUpdateVnetGatewayOptionalParams + options?: AppServicePlansUpdateVnetGatewayOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1021,9 +1020,9 @@ export class AppServicePlansImpl implements AppServicePlans { vnetName, gatewayName, connectionEnvelope, - options + options, }, - updateVnetGatewayOperationSpec + updateVnetGatewayOperationSpec, ); } @@ -1038,11 +1037,11 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, vnetName: string, - options?: AppServicePlansListRoutesForVnetOptionalParams + options?: AppServicePlansListRoutesForVnetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, options }, - listRoutesForVnetOperationSpec + listRoutesForVnetOperationSpec, ); } @@ -1059,11 +1058,11 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, vnetName: string, routeName: string, - options?: AppServicePlansGetRouteForVnetOptionalParams + options?: AppServicePlansGetRouteForVnetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, routeName, options }, - getRouteForVnetOperationSpec + getRouteForVnetOperationSpec, ); } @@ -1082,11 +1081,11 @@ export class AppServicePlansImpl implements AppServicePlans { vnetName: string, routeName: string, route: VnetRoute, - options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams + options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, routeName, route, options }, - createOrUpdateVnetRouteOperationSpec + createOrUpdateVnetRouteOperationSpec, ); } @@ -1103,11 +1102,11 @@ export class AppServicePlansImpl implements AppServicePlans { name: string, vnetName: string, routeName: string, - options?: AppServicePlansDeleteVnetRouteOptionalParams + options?: AppServicePlansDeleteVnetRouteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, routeName, options }, - deleteVnetRouteOperationSpec + deleteVnetRouteOperationSpec, ); } @@ -1126,11 +1125,11 @@ export class AppServicePlansImpl implements AppServicePlans { vnetName: string, routeName: string, route: VnetRoute, - options?: AppServicePlansUpdateVnetRouteOptionalParams + options?: AppServicePlansUpdateVnetRouteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, routeName, route, options }, - updateVnetRouteOperationSpec + updateVnetRouteOperationSpec, ); } @@ -1145,11 +1144,11 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, workerName: string, - options?: AppServicePlansRebootWorkerOptionalParams + options?: AppServicePlansRebootWorkerOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workerName, options }, - rebootWorkerOperationSpec + rebootWorkerOperationSpec, ); } @@ -1160,11 +1159,11 @@ export class AppServicePlansImpl implements AppServicePlans { */ private _listNext( nextLink: string, - options?: AppServicePlansListNextOptionalParams + options?: AppServicePlansListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -1177,11 +1176,11 @@ export class AppServicePlansImpl implements AppServicePlans { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: AppServicePlansListByResourceGroupNextOptionalParams + options?: AppServicePlansListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } @@ -1201,11 +1200,11 @@ export class AppServicePlansImpl implements AppServicePlans { namespaceName: string, relayName: string, nextLink: string, - options?: AppServicePlansListWebAppsByHybridConnectionNextOptionalParams + options?: AppServicePlansListWebAppsByHybridConnectionNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, nextLink, options }, - listWebAppsByHybridConnectionNextOperationSpec + listWebAppsByHybridConnectionNextOperationSpec, ); } @@ -1220,11 +1219,11 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, nextLink: string, - options?: AppServicePlansListHybridConnectionsNextOptionalParams + options?: AppServicePlansListHybridConnectionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listHybridConnectionsNextOperationSpec + listHybridConnectionsNextOperationSpec, ); } @@ -1239,11 +1238,11 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, nextLink: string, - options?: AppServicePlansListWebAppsNextOptionalParams + options?: AppServicePlansListWebAppsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listWebAppsNextOperationSpec + listWebAppsNextOperationSpec, ); } @@ -1258,11 +1257,11 @@ export class AppServicePlansImpl implements AppServicePlans { resourceGroupName: string, name: string, nextLink: string, - options?: AppServicePlansListUsagesNextOptionalParams + options?: AppServicePlansListUsagesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listUsagesNextOperationSpec + listUsagesNextOperationSpec, ); } } @@ -1274,83 +1273,80 @@ const listOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServicePlanCollection + bodyMapper: Mappers.AppServicePlanCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.detailed], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServicePlanCollection + bodyMapper: Mappers.AppServicePlanCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServicePlan + bodyMapper: Mappers.AppServicePlan, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AppServicePlan + bodyMapper: Mappers.AppServicePlan, }, 201: { - bodyMapper: Mappers.AppServicePlan + bodyMapper: Mappers.AppServicePlan, }, 202: { - bodyMapper: Mappers.AppServicePlan + bodyMapper: Mappers.AppServicePlan, }, 204: { - bodyMapper: Mappers.AppServicePlan + bodyMapper: Mappers.AppServicePlan, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.appServicePlan, queryParameters: [Parameters.apiVersion], @@ -1358,47 +1354,45 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.AppServicePlan + bodyMapper: Mappers.AppServicePlan, }, 202: { - bodyMapper: Mappers.AppServicePlan + bodyMapper: Mappers.AppServicePlan, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.appServicePlan1, queryParameters: [Parameters.apiVersion], @@ -1406,50 +1400,48 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listCapabilitiesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "Capability" } } - } - } + element: { type: { name: "Composite", className: "Capability" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getHybridConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1458,21 +1450,20 @@ const getHybridConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteHybridConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1481,22 +1472,21 @@ const deleteHybridConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listHybridConnectionKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.HybridConnectionKey + bodyMapper: Mappers.HybridConnectionKey, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1505,22 +1495,21 @@ const listHybridConnectionKeysOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebAppsByHybridConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/sites", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/sites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceCollection + bodyMapper: Mappers.ResourceCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1529,151 +1518,144 @@ const listWebAppsByHybridConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getHybridConnectionPlanLimitOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionPlanLimits/limit", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionPlanLimits/limit", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnectionLimits + bodyMapper: Mappers.HybridConnectionLimits, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listHybridConnectionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionRelays", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionRelays", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnectionCollection + bodyMapper: Mappers.HybridConnectionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const restartWebAppsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.softRestart], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebAppsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, Parameters.skipToken, - Parameters.top + Parameters.top, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getServerFarmSkusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus", httpMethod: "GET", responses: { 200: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listUsagesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listVnetsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections", httpMethod: "GET", responses: { 200: { @@ -1681,39 +1663,38 @@ const listVnetsOperationSpec: coreClient.OperationSpec = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VnetInfoResource" } - } - } - } + type: { name: "Composite", className: "VnetInfoResource" }, + }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getVnetFromServerFarmOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VnetInfoResource + bodyMapper: Mappers.VnetInfoResource, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1721,22 +1702,21 @@ const getVnetFromServerFarmOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.vnetName + Parameters.vnetName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getVnetGatewayOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VnetGateway + bodyMapper: Mappers.VnetGateway, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1745,22 +1725,21 @@ const getVnetGatewayOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.gatewayName + Parameters.gatewayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateVnetGatewayOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.VnetGateway + bodyMapper: Mappers.VnetGateway, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope, queryParameters: [Parameters.apiVersion], @@ -1770,28 +1749,27 @@ const updateVnetGatewayOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.gatewayName + Parameters.gatewayName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listRoutesForVnetOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "VnetRoute" } } - } - } + element: { type: { name: "Composite", className: "VnetRoute" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1799,30 +1777,29 @@ const listRoutesForVnetOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.vnetName + Parameters.vnetName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getRouteForVnetOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "VnetRoute" } } - } - } + element: { type: { name: "Composite", className: "VnetRoute" } }, + }, + }, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1831,28 +1808,27 @@ const getRouteForVnetOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.routeName + Parameters.routeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateVnetRouteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.VnetRoute + bodyMapper: Mappers.VnetRoute, }, 400: { - isError: true + isError: true, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.route, queryParameters: [Parameters.apiVersion], @@ -1862,24 +1838,23 @@ const createOrUpdateVnetRouteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.routeName + Parameters.routeName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteVnetRouteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1888,28 +1863,27 @@ const deleteVnetRouteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.routeName + Parameters.routeName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateVnetRouteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VnetRoute + bodyMapper: Mappers.VnetRoute, }, 400: { - isError: true + isError: true, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.route, queryParameters: [Parameters.apiVersion], @@ -1919,21 +1893,20 @@ const updateVnetRouteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.routeName + Parameters.routeName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const rebootWorkerOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1941,133 +1914,134 @@ const rebootWorkerOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workerName + Parameters.workerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServicePlanCollection + bodyMapper: Mappers.AppServicePlanCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AppServicePlanCollection + bodyMapper: Mappers.AppServicePlanCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listWebAppsByHybridConnectionNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ResourceCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name, Parameters.nextLink, - Parameters.namespaceName, - Parameters.relayName ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const listWebAppsByHybridConnectionNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ResourceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.namespaceName, + Parameters.relayName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listHybridConnectionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnectionCollection + bodyMapper: Mappers.HybridConnectionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebAppsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listUsagesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/certificateOrdersDiagnostics.ts b/sdk/appservice/arm-appservice/src/operations/certificateOrdersDiagnostics.ts index 76f4fd43dbfb..3addc6d105b7 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificateOrdersDiagnostics.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificateOrdersDiagnostics.ts @@ -20,13 +20,14 @@ import { CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseResponse, CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams, CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse, - CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextResponse + CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextResponse, } from "../models"; /// /** Class containing CertificateOrdersDiagnostics operations. */ export class CertificateOrdersDiagnosticsImpl - implements CertificateOrdersDiagnostics { + implements CertificateOrdersDiagnostics +{ private readonly client: WebSiteManagementClient; /** @@ -46,12 +47,12 @@ export class CertificateOrdersDiagnosticsImpl public listAppServiceCertificateOrderDetectorResponse( resourceGroupName: string, certificateOrderName: string, - options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams + options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listAppServiceCertificateOrderDetectorResponsePagingAll( resourceGroupName, certificateOrderName, - options + options, ); return { next() { @@ -68,9 +69,9 @@ export class CertificateOrdersDiagnosticsImpl resourceGroupName, certificateOrderName, options, - settings + settings, ); - } + }, }; } @@ -78,7 +79,7 @@ export class CertificateOrdersDiagnosticsImpl resourceGroupName: string, certificateOrderName: string, options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseResponse; let continuationToken = settings?.continuationToken; @@ -86,7 +87,7 @@ export class CertificateOrdersDiagnosticsImpl result = await this._listAppServiceCertificateOrderDetectorResponse( resourceGroupName, certificateOrderName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -98,7 +99,7 @@ export class CertificateOrdersDiagnosticsImpl resourceGroupName, certificateOrderName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -110,12 +111,12 @@ export class CertificateOrdersDiagnosticsImpl private async *listAppServiceCertificateOrderDetectorResponsePagingAll( resourceGroupName: string, certificateOrderName: string, - options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams + options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams, ): AsyncIterableIterator { for await (const page of this.listAppServiceCertificateOrderDetectorResponsePagingPage( resourceGroupName, certificateOrderName, - options + options, )) { yield* page; } @@ -130,13 +131,11 @@ export class CertificateOrdersDiagnosticsImpl private _listAppServiceCertificateOrderDetectorResponse( resourceGroupName: string, certificateOrderName: string, - options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams - ): Promise< - CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseResponse - > { + options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, options }, - listAppServiceCertificateOrderDetectorResponseOperationSpec + listAppServiceCertificateOrderDetectorResponseOperationSpec, ); } @@ -151,13 +150,11 @@ export class CertificateOrdersDiagnosticsImpl resourceGroupName: string, certificateOrderName: string, detectorName: string, - options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams - ): Promise< - CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse - > { + options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, detectorName, options }, - getAppServiceCertificateOrderDetectorResponseOperationSpec + getAppServiceCertificateOrderDetectorResponseOperationSpec, ); } @@ -173,87 +170,86 @@ export class CertificateOrdersDiagnosticsImpl resourceGroupName: string, certificateOrderName: string, nextLink: string, - options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextOptionalParams - ): Promise< - CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextResponse - > { + options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, certificateOrderName, nextLink, options }, - listAppServiceCertificateOrderDetectorResponseNextOperationSpec + listAppServiceCertificateOrderDetectorResponseNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const listAppServiceCertificateOrderDetectorResponseOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DetectorResponseCollection +const listAppServiceCertificateOrderDetectorResponseOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DetectorResponseCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.certificateOrderName - ], - headerParameters: [Parameters.accept], - serializer -}; -const getAppServiceCertificateOrderDetectorResponseOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DetectorResponse + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.certificateOrderName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getAppServiceCertificateOrderDetectorResponseOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DetectorResponse, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.startTime, - Parameters.endTime, - Parameters.timeGrain - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.certificateOrderName, - Parameters.detectorName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listAppServiceCertificateOrderDetectorResponseNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DetectorResponseCollection + queryParameters: [ + Parameters.apiVersion, + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.certificateOrderName, + Parameters.detectorName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listAppServiceCertificateOrderDetectorResponseNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DetectorResponseCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.certificateOrderName, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.certificateOrderName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; diff --git a/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts index c7eb6d89ca18..b5b03804b62c 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts @@ -18,13 +18,14 @@ import { CertificateRegistrationProviderListOperationsNextOptionalParams, CertificateRegistrationProviderListOperationsOptionalParams, CertificateRegistrationProviderListOperationsResponse, - CertificateRegistrationProviderListOperationsNextResponse + CertificateRegistrationProviderListOperationsNextResponse, } from "../models"; /// /** Class containing CertificateRegistrationProvider operations. */ export class CertificateRegistrationProviderImpl - implements CertificateRegistrationProvider { + implements CertificateRegistrationProvider +{ private readonly client: WebSiteManagementClient; /** @@ -41,7 +42,7 @@ export class CertificateRegistrationProviderImpl * @param options The options parameters. */ public listOperations( - options?: CertificateRegistrationProviderListOperationsOptionalParams + options?: CertificateRegistrationProviderListOperationsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listOperationsPagingAll(options); return { @@ -56,13 +57,13 @@ export class CertificateRegistrationProviderImpl throw new Error("maxPageSize is not supported by this operation."); } return this.listOperationsPagingPage(options, settings); - } + }, }; } private async *listOperationsPagingPage( options?: CertificateRegistrationProviderListOperationsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: CertificateRegistrationProviderListOperationsResponse; let continuationToken = settings?.continuationToken; @@ -83,7 +84,7 @@ export class CertificateRegistrationProviderImpl } private async *listOperationsPagingAll( - options?: CertificateRegistrationProviderListOperationsOptionalParams + options?: CertificateRegistrationProviderListOperationsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listOperationsPagingPage(options)) { yield* page; @@ -96,11 +97,11 @@ export class CertificateRegistrationProviderImpl * @param options The options parameters. */ private _listOperations( - options?: CertificateRegistrationProviderListOperationsOptionalParams + options?: CertificateRegistrationProviderListOperationsOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - listOperationsOperationSpec + listOperationsOperationSpec, ); } @@ -111,11 +112,11 @@ export class CertificateRegistrationProviderImpl */ private _listOperationsNext( nextLink: string, - options?: CertificateRegistrationProviderListOperationsNextOptionalParams + options?: CertificateRegistrationProviderListOperationsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listOperationsNextOperationSpec + listOperationsNextOperationSpec, ); } } @@ -127,29 +128,29 @@ const listOperationsOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmOperationCollection + bodyMapper: Mappers.CsmOperationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmOperationCollection + bodyMapper: Mappers.CsmOperationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/certificates.ts b/sdk/appservice/arm-appservice/src/operations/certificates.ts index c5d88361f8ac..d21153dca0c1 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificates.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificates.ts @@ -30,7 +30,7 @@ import { CertificatesUpdateOptionalParams, CertificatesUpdateResponse, CertificatesListNextResponse, - CertificatesListByResourceGroupNextResponse + CertificatesListByResourceGroupNextResponse, } from "../models"; /// @@ -51,7 +51,7 @@ export class CertificatesImpl implements Certificates { * @param options The options parameters. */ public list( - options?: CertificatesListOptionalParams + options?: CertificatesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -66,13 +66,13 @@ export class CertificatesImpl implements Certificates { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: CertificatesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: CertificatesListResponse; let continuationToken = settings?.continuationToken; @@ -93,7 +93,7 @@ export class CertificatesImpl implements Certificates { } private async *listPagingAll( - options?: CertificatesListOptionalParams + options?: CertificatesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -107,7 +107,7 @@ export class CertificatesImpl implements Certificates { */ public listByResourceGroup( resourceGroupName: string, - options?: CertificatesListByResourceGroupOptionalParams + options?: CertificatesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -124,16 +124,16 @@ export class CertificatesImpl implements Certificates { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: CertificatesListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: CertificatesListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -148,7 +148,7 @@ export class CertificatesImpl implements Certificates { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -159,11 +159,11 @@ export class CertificatesImpl implements Certificates { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: CertificatesListByResourceGroupOptionalParams + options?: CertificatesListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -174,7 +174,7 @@ export class CertificatesImpl implements Certificates { * @param options The options parameters. */ private _list( - options?: CertificatesListOptionalParams + options?: CertificatesListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -186,11 +186,11 @@ export class CertificatesImpl implements Certificates { */ private _listByResourceGroup( resourceGroupName: string, - options?: CertificatesListByResourceGroupOptionalParams + options?: CertificatesListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -203,11 +203,11 @@ export class CertificatesImpl implements Certificates { get( resourceGroupName: string, name: string, - options?: CertificatesGetOptionalParams + options?: CertificatesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -222,11 +222,11 @@ export class CertificatesImpl implements Certificates { resourceGroupName: string, name: string, certificateEnvelope: Certificate, - options?: CertificatesCreateOrUpdateOptionalParams + options?: CertificatesCreateOrUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, certificateEnvelope, options }, - createOrUpdateOperationSpec + createOrUpdateOperationSpec, ); } @@ -239,11 +239,11 @@ export class CertificatesImpl implements Certificates { delete( resourceGroupName: string, name: string, - options?: CertificatesDeleteOptionalParams + options?: CertificatesDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -258,11 +258,11 @@ export class CertificatesImpl implements Certificates { resourceGroupName: string, name: string, certificateEnvelope: CertificatePatchResource, - options?: CertificatesUpdateOptionalParams + options?: CertificatesUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, certificateEnvelope, options }, - updateOperationSpec + updateOperationSpec, ); } @@ -273,11 +273,11 @@ export class CertificatesImpl implements Certificates { */ private _listNext( nextLink: string, - options?: CertificatesListNextOptionalParams + options?: CertificatesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -290,11 +290,11 @@ export class CertificatesImpl implements Certificates { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: CertificatesListByResourceGroupNextOptionalParams + options?: CertificatesListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } @@ -306,71 +306,68 @@ const listOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CertificateCollection + bodyMapper: Mappers.CertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CertificateCollection + bodyMapper: Mappers.CertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Certificate + bodyMapper: Mappers.Certificate, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Certificate + bodyMapper: Mappers.Certificate, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.certificateEnvelope, queryParameters: [Parameters.apiVersion], @@ -378,44 +375,42 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Certificate + bodyMapper: Mappers.Certificate, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.certificateEnvelope1, queryParameters: [Parameters.apiVersion], @@ -423,48 +418,48 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CertificateCollection + bodyMapper: Mappers.CertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CertificateCollection + bodyMapper: Mappers.CertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/containerApps.ts b/sdk/appservice/arm-appservice/src/operations/containerApps.ts index b4363bec9652..333b948bff57 100644 --- a/sdk/appservice/arm-appservice/src/operations/containerApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/containerApps.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -35,7 +35,7 @@ import { ContainerAppsListSecretsOptionalParams, ContainerAppsListSecretsResponse, ContainerAppsListBySubscriptionNextResponse, - ContainerAppsListByResourceGroupNextResponse + ContainerAppsListByResourceGroupNextResponse, } from "../models"; /// @@ -56,7 +56,7 @@ export class ContainerAppsImpl implements ContainerApps { * @param options The options parameters. */ public listBySubscription( - options?: ContainerAppsListBySubscriptionOptionalParams + options?: ContainerAppsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBySubscriptionPagingAll(options); return { @@ -71,13 +71,13 @@ export class ContainerAppsImpl implements ContainerApps { throw new Error("maxPageSize is not supported by this operation."); } return this.listBySubscriptionPagingPage(options, settings); - } + }, }; } private async *listBySubscriptionPagingPage( options?: ContainerAppsListBySubscriptionOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ContainerAppsListBySubscriptionResponse; let continuationToken = settings?.continuationToken; @@ -98,7 +98,7 @@ export class ContainerAppsImpl implements ContainerApps { } private async *listBySubscriptionPagingAll( - options?: ContainerAppsListBySubscriptionOptionalParams + options?: ContainerAppsListBySubscriptionOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; @@ -112,7 +112,7 @@ export class ContainerAppsImpl implements ContainerApps { */ public listByResourceGroup( resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams + options?: ContainerAppsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -129,16 +129,16 @@ export class ContainerAppsImpl implements ContainerApps { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: ContainerAppsListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ContainerAppsListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -153,7 +153,7 @@ export class ContainerAppsImpl implements ContainerApps { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -164,11 +164,11 @@ export class ContainerAppsImpl implements ContainerApps { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams + options?: ContainerAppsListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -179,11 +179,11 @@ export class ContainerAppsImpl implements ContainerApps { * @param options The options parameters. */ private _listBySubscription( - options?: ContainerAppsListBySubscriptionOptionalParams + options?: ContainerAppsListBySubscriptionOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - listBySubscriptionOperationSpec + listBySubscriptionOperationSpec, ); } @@ -194,11 +194,11 @@ export class ContainerAppsImpl implements ContainerApps { */ private _listByResourceGroup( resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams + options?: ContainerAppsListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -211,11 +211,11 @@ export class ContainerAppsImpl implements ContainerApps { get( resourceGroupName: string, name: string, - options?: ContainerAppsGetOptionalParams + options?: ContainerAppsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -230,7 +230,7 @@ export class ContainerAppsImpl implements ContainerApps { resourceGroupName: string, name: string, containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams + options?: ContainerAppsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -239,21 +239,20 @@ export class ContainerAppsImpl implements ContainerApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -262,8 +261,8 @@ export class ContainerAppsImpl implements ContainerApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -271,22 +270,22 @@ export class ContainerAppsImpl implements ContainerApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, containerAppEnvelope, options }, - spec: createOrUpdateOperationSpec + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< ContainerAppsCreateOrUpdateResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -303,13 +302,13 @@ export class ContainerAppsImpl implements ContainerApps { resourceGroupName: string, name: string, containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams + options?: ContainerAppsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, name, containerAppEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -323,25 +322,24 @@ export class ContainerAppsImpl implements ContainerApps { async beginDelete( resourceGroupName: string, name: string, - options?: ContainerAppsDeleteOptionalParams + options?: ContainerAppsDeleteOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -350,8 +348,8 @@ export class ContainerAppsImpl implements ContainerApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -359,19 +357,19 @@ export class ContainerAppsImpl implements ContainerApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: deleteOperationSpec + spec: deleteOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -386,7 +384,7 @@ export class ContainerAppsImpl implements ContainerApps { async beginDeleteAndWait( resourceGroupName: string, name: string, - options?: ContainerAppsDeleteOptionalParams + options?: ContainerAppsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete(resourceGroupName, name, options); return poller.pollUntilDone(); @@ -399,11 +397,11 @@ export class ContainerAppsImpl implements ContainerApps { */ listSecrets( name: string, - options?: ContainerAppsListSecretsOptionalParams + options?: ContainerAppsListSecretsOptionalParams, ): Promise { return this.client.sendOperationRequest( { name, options }, - listSecretsOperationSpec + listSecretsOperationSpec, ); } @@ -414,11 +412,11 @@ export class ContainerAppsImpl implements ContainerApps { */ private _listBySubscriptionNext( nextLink: string, - options?: ContainerAppsListBySubscriptionNextOptionalParams + options?: ContainerAppsListBySubscriptionNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listBySubscriptionNextOperationSpec + listBySubscriptionNextOperationSpec, ); } @@ -431,11 +429,11 @@ export class ContainerAppsImpl implements ContainerApps { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: ContainerAppsListByResourceGroupNextOptionalParams + options?: ContainerAppsListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } @@ -447,83 +445,80 @@ const listBySubscriptionOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContainerAppCollection + bodyMapper: Mappers.ContainerAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContainerAppCollection + bodyMapper: Mappers.ContainerAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContainerApp + bodyMapper: Mappers.ContainerApp, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ContainerApp + bodyMapper: Mappers.ContainerApp, }, 201: { - bodyMapper: Mappers.ContainerApp + bodyMapper: Mappers.ContainerApp, }, 202: { - bodyMapper: Mappers.ContainerApp + bodyMapper: Mappers.ContainerApp, }, 204: { - bodyMapper: Mappers.ContainerApp + bodyMapper: Mappers.ContainerApp, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.containerAppEnvelope, queryParameters: [Parameters.apiVersion], @@ -531,15 +526,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", httpMethod: "DELETE", responses: { 200: {}, @@ -547,72 +541,71 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSecretsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SecretsCollection + bodyMapper: Mappers.SecretsCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContainerAppCollection + bodyMapper: Mappers.ContainerAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContainerAppCollection + bodyMapper: Mappers.ContainerAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts b/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts index df3f585ad3ab..88d4201cf59c 100644 --- a/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts +++ b/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts @@ -23,7 +23,7 @@ import { ContainerAppsRevisionsActivateRevisionOptionalParams, ContainerAppsRevisionsDeactivateRevisionOptionalParams, ContainerAppsRevisionsRestartRevisionOptionalParams, - ContainerAppsRevisionsListRevisionsNextResponse + ContainerAppsRevisionsListRevisionsNextResponse, } from "../models"; /// @@ -48,12 +48,12 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { public listRevisions( resourceGroupName: string, containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams + options?: ContainerAppsRevisionsListRevisionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listRevisionsPagingAll( resourceGroupName, containerAppName, - options + options, ); return { next() { @@ -70,9 +70,9 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName, containerAppName, options, - settings + settings, ); - } + }, }; } @@ -80,7 +80,7 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, options?: ContainerAppsRevisionsListRevisionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ContainerAppsRevisionsListRevisionsResponse; let continuationToken = settings?.continuationToken; @@ -88,7 +88,7 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { result = await this._listRevisions( resourceGroupName, containerAppName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -100,7 +100,7 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName, containerAppName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -112,12 +112,12 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { private async *listRevisionsPagingAll( resourceGroupName: string, containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams + options?: ContainerAppsRevisionsListRevisionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listRevisionsPagingPage( resourceGroupName, containerAppName, - options + options, )) { yield* page; } @@ -132,11 +132,11 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { private _listRevisions( resourceGroupName: string, containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams + options?: ContainerAppsRevisionsListRevisionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, containerAppName, options }, - listRevisionsOperationSpec + listRevisionsOperationSpec, ); } @@ -151,11 +151,11 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsGetRevisionOptionalParams + options?: ContainerAppsRevisionsGetRevisionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, containerAppName, name, options }, - getRevisionOperationSpec + getRevisionOperationSpec, ); } @@ -170,11 +170,11 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsActivateRevisionOptionalParams + options?: ContainerAppsRevisionsActivateRevisionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, containerAppName, name, options }, - activateRevisionOperationSpec + activateRevisionOperationSpec, ); } @@ -189,11 +189,11 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams + options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, containerAppName, name, options }, - deactivateRevisionOperationSpec + deactivateRevisionOperationSpec, ); } @@ -208,11 +208,11 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsRestartRevisionOptionalParams + options?: ContainerAppsRevisionsRestartRevisionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, containerAppName, name, options }, - restartRevisionOperationSpec + restartRevisionOperationSpec, ); } @@ -227,11 +227,11 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, nextLink: string, - options?: ContainerAppsRevisionsListRevisionsNextOptionalParams + options?: ContainerAppsRevisionsListRevisionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, containerAppName, nextLink, options }, - listRevisionsNextOperationSpec + listRevisionsNextOperationSpec, ); } } @@ -239,38 +239,36 @@ export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listRevisionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RevisionCollection + bodyMapper: Mappers.RevisionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.containerAppName + Parameters.containerAppName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getRevisionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Revision + bodyMapper: Mappers.Revision, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -278,20 +276,19 @@ const getRevisionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.containerAppName + Parameters.containerAppName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const activateRevisionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -299,20 +296,19 @@ const activateRevisionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.containerAppName + Parameters.containerAppName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deactivateRevisionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -320,20 +316,19 @@ const deactivateRevisionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.containerAppName + Parameters.containerAppName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const restartRevisionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -341,29 +336,29 @@ const restartRevisionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.containerAppName + Parameters.containerAppName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listRevisionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RevisionCollection + bodyMapper: Mappers.RevisionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.nextLink, - Parameters.containerAppName + Parameters.containerAppName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts b/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts index dfeddf8fc1c6..ebdcfe9c9272 100644 --- a/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts @@ -24,7 +24,7 @@ import { DeletedWebAppsGetDeletedWebAppByLocationOptionalParams, DeletedWebAppsGetDeletedWebAppByLocationResponse, DeletedWebAppsListNextResponse, - DeletedWebAppsListByLocationNextResponse + DeletedWebAppsListByLocationNextResponse, } from "../models"; /// @@ -45,7 +45,7 @@ export class DeletedWebAppsImpl implements DeletedWebApps { * @param options The options parameters. */ public list( - options?: DeletedWebAppsListOptionalParams + options?: DeletedWebAppsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -60,13 +60,13 @@ export class DeletedWebAppsImpl implements DeletedWebApps { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: DeletedWebAppsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DeletedWebAppsListResponse; let continuationToken = settings?.continuationToken; @@ -87,7 +87,7 @@ export class DeletedWebAppsImpl implements DeletedWebApps { } private async *listPagingAll( - options?: DeletedWebAppsListOptionalParams + options?: DeletedWebAppsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -101,7 +101,7 @@ export class DeletedWebAppsImpl implements DeletedWebApps { */ public listByLocation( location: string, - options?: DeletedWebAppsListByLocationOptionalParams + options?: DeletedWebAppsListByLocationOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByLocationPagingAll(location, options); return { @@ -116,14 +116,14 @@ export class DeletedWebAppsImpl implements DeletedWebApps { throw new Error("maxPageSize is not supported by this operation."); } return this.listByLocationPagingPage(location, options, settings); - } + }, }; } private async *listByLocationPagingPage( location: string, options?: DeletedWebAppsListByLocationOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DeletedWebAppsListByLocationResponse; let continuationToken = settings?.continuationToken; @@ -138,7 +138,7 @@ export class DeletedWebAppsImpl implements DeletedWebApps { result = await this._listByLocationNext( location, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -149,7 +149,7 @@ export class DeletedWebAppsImpl implements DeletedWebApps { private async *listByLocationPagingAll( location: string, - options?: DeletedWebAppsListByLocationOptionalParams + options?: DeletedWebAppsListByLocationOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByLocationPagingPage(location, options)) { yield* page; @@ -161,7 +161,7 @@ export class DeletedWebAppsImpl implements DeletedWebApps { * @param options The options parameters. */ private _list( - options?: DeletedWebAppsListOptionalParams + options?: DeletedWebAppsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -173,11 +173,11 @@ export class DeletedWebAppsImpl implements DeletedWebApps { */ private _listByLocation( location: string, - options?: DeletedWebAppsListByLocationOptionalParams + options?: DeletedWebAppsListByLocationOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, options }, - listByLocationOperationSpec + listByLocationOperationSpec, ); } @@ -190,11 +190,11 @@ export class DeletedWebAppsImpl implements DeletedWebApps { getDeletedWebAppByLocation( location: string, deletedSiteId: string, - options?: DeletedWebAppsGetDeletedWebAppByLocationOptionalParams + options?: DeletedWebAppsGetDeletedWebAppByLocationOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, deletedSiteId, options }, - getDeletedWebAppByLocationOperationSpec + getDeletedWebAppByLocationOperationSpec, ); } @@ -205,11 +205,11 @@ export class DeletedWebAppsImpl implements DeletedWebApps { */ private _listNext( nextLink: string, - options?: DeletedWebAppsListNextOptionalParams + options?: DeletedWebAppsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -222,11 +222,11 @@ export class DeletedWebAppsImpl implements DeletedWebApps { private _listByLocationNext( location: string, nextLink: string, - options?: DeletedWebAppsListByLocationNextOptionalParams + options?: DeletedWebAppsListByLocationNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, nextLink, options }, - listByLocationNextOperationSpec + listByLocationNextOperationSpec, ); } } @@ -238,96 +238,94 @@ const listOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeletedWebAppCollection + bodyMapper: Mappers.DeletedWebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByLocationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeletedWebAppCollection + bodyMapper: Mappers.DeletedWebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDeletedWebAppByLocationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeletedSite + bodyMapper: Mappers.DeletedSite, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.location, - Parameters.deletedSiteId + Parameters.deletedSiteId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeletedWebAppCollection + bodyMapper: Mappers.DeletedWebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByLocationNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeletedWebAppCollection + bodyMapper: Mappers.DeletedWebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/diagnostics.ts b/sdk/appservice/arm-appservice/src/operations/diagnostics.ts index 52591f861027..483328235480 100644 --- a/sdk/appservice/arm-appservice/src/operations/diagnostics.ts +++ b/sdk/appservice/arm-appservice/src/operations/diagnostics.ts @@ -79,7 +79,7 @@ import { DiagnosticsListSiteDetectorResponsesSlotNextResponse, DiagnosticsListSiteDiagnosticCategoriesSlotNextResponse, DiagnosticsListSiteAnalysesSlotNextResponse, - DiagnosticsListSiteDetectorsSlotNextResponse + DiagnosticsListSiteDetectorsSlotNextResponse, } from "../models"; /// @@ -104,12 +104,12 @@ export class DiagnosticsImpl implements Diagnostics { public listHostingEnvironmentDetectorResponses( resourceGroupName: string, name: string, - options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams + options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listHostingEnvironmentDetectorResponsesPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -126,9 +126,9 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -136,7 +136,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, name: string, options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListHostingEnvironmentDetectorResponsesResponse; let continuationToken = settings?.continuationToken; @@ -144,7 +144,7 @@ export class DiagnosticsImpl implements Diagnostics { result = await this._listHostingEnvironmentDetectorResponses( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -156,7 +156,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -168,12 +168,12 @@ export class DiagnosticsImpl implements Diagnostics { private async *listHostingEnvironmentDetectorResponsesPagingAll( resourceGroupName: string, name: string, - options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams + options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listHostingEnvironmentDetectorResponsesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -188,12 +188,12 @@ export class DiagnosticsImpl implements Diagnostics { public listSiteDetectorResponses( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDetectorResponsesOptionalParams + options?: DiagnosticsListSiteDetectorResponsesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteDetectorResponsesPagingAll( resourceGroupName, siteName, - options + options, ); return { next() { @@ -210,9 +210,9 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, options, - settings + settings, ); - } + }, }; } @@ -220,7 +220,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, options?: DiagnosticsListSiteDetectorResponsesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteDetectorResponsesResponse; let continuationToken = settings?.continuationToken; @@ -228,7 +228,7 @@ export class DiagnosticsImpl implements Diagnostics { result = await this._listSiteDetectorResponses( resourceGroupName, siteName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -240,7 +240,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -252,12 +252,12 @@ export class DiagnosticsImpl implements Diagnostics { private async *listSiteDetectorResponsesPagingAll( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDetectorResponsesOptionalParams + options?: DiagnosticsListSiteDetectorResponsesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteDetectorResponsesPagingPage( resourceGroupName, siteName, - options + options, )) { yield* page; } @@ -272,12 +272,12 @@ export class DiagnosticsImpl implements Diagnostics { public listSiteDiagnosticCategories( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteDiagnosticCategoriesPagingAll( resourceGroupName, siteName, - options + options, ); return { next() { @@ -294,9 +294,9 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, options, - settings + settings, ); - } + }, }; } @@ -304,7 +304,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteDiagnosticCategoriesResponse; let continuationToken = settings?.continuationToken; @@ -312,7 +312,7 @@ export class DiagnosticsImpl implements Diagnostics { result = await this._listSiteDiagnosticCategories( resourceGroupName, siteName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -324,7 +324,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -336,12 +336,12 @@ export class DiagnosticsImpl implements Diagnostics { private async *listSiteDiagnosticCategoriesPagingAll( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteDiagnosticCategoriesPagingPage( resourceGroupName, siteName, - options + options, )) { yield* page; } @@ -358,13 +358,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteAnalysesOptionalParams + options?: DiagnosticsListSiteAnalysesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteAnalysesPagingAll( resourceGroupName, siteName, diagnosticCategory, - options + options, ); return { next() { @@ -382,9 +382,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, options, - settings + settings, ); - } + }, }; } @@ -393,7 +393,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, options?: DiagnosticsListSiteAnalysesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteAnalysesResponse; let continuationToken = settings?.continuationToken; @@ -402,7 +402,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, diagnosticCategory, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -415,7 +415,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -428,13 +428,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteAnalysesOptionalParams + options?: DiagnosticsListSiteAnalysesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteAnalysesPagingPage( resourceGroupName, siteName, diagnosticCategory, - options + options, )) { yield* page; } @@ -451,13 +451,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteDetectorsOptionalParams + options?: DiagnosticsListSiteDetectorsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteDetectorsPagingAll( resourceGroupName, siteName, diagnosticCategory, - options + options, ); return { next() { @@ -475,9 +475,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, options, - settings + settings, ); - } + }, }; } @@ -486,7 +486,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, options?: DiagnosticsListSiteDetectorsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteDetectorsResponse; let continuationToken = settings?.continuationToken; @@ -495,7 +495,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, diagnosticCategory, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -508,7 +508,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -521,13 +521,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteDetectorsOptionalParams + options?: DiagnosticsListSiteDetectorsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteDetectorsPagingPage( resourceGroupName, siteName, diagnosticCategory, - options + options, )) { yield* page; } @@ -544,13 +544,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams + options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteDetectorResponsesSlotPagingAll( resourceGroupName, siteName, slot, - options + options, ); return { next() { @@ -568,9 +568,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, slot, options, - settings + settings, ); - } + }, }; } @@ -579,7 +579,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, slot: string, options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteDetectorResponsesSlotResponse; let continuationToken = settings?.continuationToken; @@ -588,7 +588,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -601,7 +601,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -614,13 +614,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams + options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteDetectorResponsesSlotPagingPage( resourceGroupName, siteName, slot, - options + options, )) { yield* page; } @@ -637,13 +637,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteDiagnosticCategoriesSlotPagingAll( resourceGroupName, siteName, slot, - options + options, ); return { next() { @@ -661,9 +661,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, slot, options, - settings + settings, ); - } + }, }; } @@ -672,7 +672,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, slot: string, options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteDiagnosticCategoriesSlotResponse; let continuationToken = settings?.continuationToken; @@ -681,7 +681,7 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName, siteName, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -694,7 +694,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -707,13 +707,13 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteDiagnosticCategoriesSlotPagingPage( resourceGroupName, siteName, slot, - options + options, )) { yield* page; } @@ -732,14 +732,14 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteAnalysesSlotOptionalParams + options?: DiagnosticsListSiteAnalysesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteAnalysesSlotPagingAll( resourceGroupName, siteName, diagnosticCategory, slot, - options + options, ); return { next() { @@ -758,9 +758,9 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, slot, options, - settings + settings, ); - } + }, }; } @@ -770,7 +770,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory: string, slot: string, options?: DiagnosticsListSiteAnalysesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteAnalysesSlotResponse; let continuationToken = settings?.continuationToken; @@ -780,7 +780,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -794,7 +794,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -808,14 +808,14 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteAnalysesSlotOptionalParams + options?: DiagnosticsListSiteAnalysesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteAnalysesSlotPagingPage( resourceGroupName, siteName, diagnosticCategory, slot, - options + options, )) { yield* page; } @@ -834,14 +834,14 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteDetectorsSlotOptionalParams + options?: DiagnosticsListSiteDetectorsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteDetectorsSlotPagingAll( resourceGroupName, siteName, diagnosticCategory, slot, - options + options, ); return { next() { @@ -860,9 +860,9 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, slot, options, - settings + settings, ); - } + }, }; } @@ -872,7 +872,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory: string, slot: string, options?: DiagnosticsListSiteDetectorsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DiagnosticsListSiteDetectorsSlotResponse; let continuationToken = settings?.continuationToken; @@ -882,7 +882,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -896,7 +896,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -910,14 +910,14 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteDetectorsSlotOptionalParams + options?: DiagnosticsListSiteDetectorsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteDetectorsSlotPagingPage( resourceGroupName, siteName, diagnosticCategory, slot, - options + options, )) { yield* page; } @@ -932,11 +932,11 @@ export class DiagnosticsImpl implements Diagnostics { private _listHostingEnvironmentDetectorResponses( resourceGroupName: string, name: string, - options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams + options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listHostingEnvironmentDetectorResponsesOperationSpec + listHostingEnvironmentDetectorResponsesOperationSpec, ); } @@ -951,11 +951,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, name: string, detectorName: string, - options?: DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams + options?: DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, detectorName, options }, - getHostingEnvironmentDetectorResponseOperationSpec + getHostingEnvironmentDetectorResponseOperationSpec, ); } @@ -968,11 +968,11 @@ export class DiagnosticsImpl implements Diagnostics { private _listSiteDetectorResponses( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDetectorResponsesOptionalParams + options?: DiagnosticsListSiteDetectorResponsesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, options }, - listSiteDetectorResponsesOperationSpec + listSiteDetectorResponsesOperationSpec, ); } @@ -987,11 +987,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, detectorName: string, - options?: DiagnosticsGetSiteDetectorResponseOptionalParams + options?: DiagnosticsGetSiteDetectorResponseOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, detectorName, options }, - getSiteDetectorResponseOperationSpec + getSiteDetectorResponseOperationSpec, ); } @@ -1004,11 +1004,11 @@ export class DiagnosticsImpl implements Diagnostics { private _listSiteDiagnosticCategories( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, options }, - listSiteDiagnosticCategoriesOperationSpec + listSiteDiagnosticCategoriesOperationSpec, ); } @@ -1023,11 +1023,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsGetSiteDiagnosticCategoryOptionalParams + options?: DiagnosticsGetSiteDiagnosticCategoryOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, options }, - getSiteDiagnosticCategoryOperationSpec + getSiteDiagnosticCategoryOperationSpec, ); } @@ -1042,11 +1042,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteAnalysesOptionalParams + options?: DiagnosticsListSiteAnalysesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, options }, - listSiteAnalysesOperationSpec + listSiteAnalysesOperationSpec, ); } @@ -1063,7 +1063,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, analysisName: string, - options?: DiagnosticsGetSiteAnalysisOptionalParams + options?: DiagnosticsGetSiteAnalysisOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1071,9 +1071,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, analysisName, - options + options, }, - getSiteAnalysisOperationSpec + getSiteAnalysisOperationSpec, ); } @@ -1090,7 +1090,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, analysisName: string, - options?: DiagnosticsExecuteSiteAnalysisOptionalParams + options?: DiagnosticsExecuteSiteAnalysisOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1098,9 +1098,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, analysisName, - options + options, }, - executeSiteAnalysisOperationSpec + executeSiteAnalysisOperationSpec, ); } @@ -1115,11 +1115,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteDetectorsOptionalParams + options?: DiagnosticsListSiteDetectorsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, options }, - listSiteDetectorsOperationSpec + listSiteDetectorsOperationSpec, ); } @@ -1136,7 +1136,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, detectorName: string, - options?: DiagnosticsGetSiteDetectorOptionalParams + options?: DiagnosticsGetSiteDetectorOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1144,9 +1144,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, diagnosticCategory, detectorName, - options + options, }, - getSiteDetectorOperationSpec + getSiteDetectorOperationSpec, ); } @@ -1163,7 +1163,7 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, detectorName: string, diagnosticCategory: string, - options?: DiagnosticsExecuteSiteDetectorOptionalParams + options?: DiagnosticsExecuteSiteDetectorOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1171,9 +1171,9 @@ export class DiagnosticsImpl implements Diagnostics { siteName, detectorName, diagnosticCategory, - options + options, }, - executeSiteDetectorOperationSpec + executeSiteDetectorOperationSpec, ); } @@ -1188,11 +1188,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams + options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, slot, options }, - listSiteDetectorResponsesSlotOperationSpec + listSiteDetectorResponsesSlotOperationSpec, ); } @@ -1209,11 +1209,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, detectorName: string, slot: string, - options?: DiagnosticsGetSiteDetectorResponseSlotOptionalParams + options?: DiagnosticsGetSiteDetectorResponseSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, detectorName, slot, options }, - getSiteDetectorResponseSlotOperationSpec + getSiteDetectorResponseSlotOperationSpec, ); } @@ -1228,11 +1228,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, slot, options }, - listSiteDiagnosticCategoriesSlotOperationSpec + listSiteDiagnosticCategoriesSlotOperationSpec, ); } @@ -1249,11 +1249,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams + options?: DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, slot, options }, - getSiteDiagnosticCategorySlotOperationSpec + getSiteDiagnosticCategorySlotOperationSpec, ); } @@ -1270,11 +1270,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteAnalysesSlotOptionalParams + options?: DiagnosticsListSiteAnalysesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, slot, options }, - listSiteAnalysesSlotOperationSpec + listSiteAnalysesSlotOperationSpec, ); } @@ -1293,7 +1293,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory: string, analysisName: string, slot: string, - options?: DiagnosticsGetSiteAnalysisSlotOptionalParams + options?: DiagnosticsGetSiteAnalysisSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1302,9 +1302,9 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, analysisName, slot, - options + options, }, - getSiteAnalysisSlotOperationSpec + getSiteAnalysisSlotOperationSpec, ); } @@ -1323,7 +1323,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory: string, analysisName: string, slot: string, - options?: DiagnosticsExecuteSiteAnalysisSlotOptionalParams + options?: DiagnosticsExecuteSiteAnalysisSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1332,9 +1332,9 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, analysisName, slot, - options + options, }, - executeSiteAnalysisSlotOperationSpec + executeSiteAnalysisSlotOperationSpec, ); } @@ -1351,11 +1351,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteDetectorsSlotOptionalParams + options?: DiagnosticsListSiteDetectorsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, slot, options }, - listSiteDetectorsSlotOperationSpec + listSiteDetectorsSlotOperationSpec, ); } @@ -1374,7 +1374,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory: string, detectorName: string, slot: string, - options?: DiagnosticsGetSiteDetectorSlotOptionalParams + options?: DiagnosticsGetSiteDetectorSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1383,9 +1383,9 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, detectorName, slot, - options + options, }, - getSiteDetectorSlotOperationSpec + getSiteDetectorSlotOperationSpec, ); } @@ -1404,7 +1404,7 @@ export class DiagnosticsImpl implements Diagnostics { detectorName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsExecuteSiteDetectorSlotOptionalParams + options?: DiagnosticsExecuteSiteDetectorSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1413,9 +1413,9 @@ export class DiagnosticsImpl implements Diagnostics { detectorName, diagnosticCategory, slot, - options + options, }, - executeSiteDetectorSlotOperationSpec + executeSiteDetectorSlotOperationSpec, ); } @@ -1431,11 +1431,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, name: string, nextLink: string, - options?: DiagnosticsListHostingEnvironmentDetectorResponsesNextOptionalParams + options?: DiagnosticsListHostingEnvironmentDetectorResponsesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listHostingEnvironmentDetectorResponsesNextOperationSpec + listHostingEnvironmentDetectorResponsesNextOperationSpec, ); } @@ -1451,11 +1451,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, nextLink: string, - options?: DiagnosticsListSiteDetectorResponsesNextOptionalParams + options?: DiagnosticsListSiteDetectorResponsesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, nextLink, options }, - listSiteDetectorResponsesNextOperationSpec + listSiteDetectorResponsesNextOperationSpec, ); } @@ -1471,11 +1471,11 @@ export class DiagnosticsImpl implements Diagnostics { resourceGroupName: string, siteName: string, nextLink: string, - options?: DiagnosticsListSiteDiagnosticCategoriesNextOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, nextLink, options }, - listSiteDiagnosticCategoriesNextOperationSpec + listSiteDiagnosticCategoriesNextOperationSpec, ); } @@ -1492,11 +1492,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, nextLink: string, - options?: DiagnosticsListSiteAnalysesNextOptionalParams + options?: DiagnosticsListSiteAnalysesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, nextLink, options }, - listSiteAnalysesNextOperationSpec + listSiteAnalysesNextOperationSpec, ); } @@ -1513,11 +1513,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, diagnosticCategory: string, nextLink: string, - options?: DiagnosticsListSiteDetectorsNextOptionalParams + options?: DiagnosticsListSiteDetectorsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, diagnosticCategory, nextLink, options }, - listSiteDetectorsNextOperationSpec + listSiteDetectorsNextOperationSpec, ); } @@ -1535,11 +1535,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, slot: string, nextLink: string, - options?: DiagnosticsListSiteDetectorResponsesSlotNextOptionalParams + options?: DiagnosticsListSiteDetectorResponsesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, slot, nextLink, options }, - listSiteDetectorResponsesSlotNextOperationSpec + listSiteDetectorResponsesSlotNextOperationSpec, ); } @@ -1557,11 +1557,11 @@ export class DiagnosticsImpl implements Diagnostics { siteName: string, slot: string, nextLink: string, - options?: DiagnosticsListSiteDiagnosticCategoriesSlotNextOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, slot, nextLink, options }, - listSiteDiagnosticCategoriesSlotNextOperationSpec + listSiteDiagnosticCategoriesSlotNextOperationSpec, ); } @@ -1580,7 +1580,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory: string, slot: string, nextLink: string, - options?: DiagnosticsListSiteAnalysesSlotNextOptionalParams + options?: DiagnosticsListSiteAnalysesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1589,9 +1589,9 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, slot, nextLink, - options + options, }, - listSiteAnalysesSlotNextOperationSpec + listSiteAnalysesSlotNextOperationSpec, ); } @@ -1610,7 +1610,7 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory: string, slot: string, nextLink: string, - options?: DiagnosticsListSiteDetectorsSlotNextOptionalParams + options?: DiagnosticsListSiteDetectorsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1619,148 +1619,144 @@ export class DiagnosticsImpl implements Diagnostics { diagnosticCategory, slot, nextLink, - options + options, }, - listSiteDetectorsSlotNextOperationSpec + listSiteDetectorsSlotNextOperationSpec, ); } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const listHostingEnvironmentDetectorResponsesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DetectorResponseCollection +const listHostingEnvironmentDetectorResponsesOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DetectorResponseCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const getHostingEnvironmentDetectorResponseOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DetectorResponse + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getHostingEnvironmentDetectorResponseOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DetectorResponse, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.startTime, - Parameters.endTime, - Parameters.timeGrain - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.detectorName - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [ + Parameters.apiVersion, + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.detectorName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listSiteDetectorResponsesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DetectorResponseCollection + bodyMapper: Mappers.DetectorResponseCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteDetectorResponseOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DetectorResponse + bodyMapper: Mappers.DetectorResponse, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.startTime, Parameters.endTime, - Parameters.timeGrain + Parameters.timeGrain, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.detectorName, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteDiagnosticCategoriesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticCategoryCollection + bodyMapper: Mappers.DiagnosticCategoryCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteDiagnosticCategoryOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticCategory + bodyMapper: Mappers.DiagnosticCategory, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1768,22 +1764,21 @@ const getSiteDiagnosticCategoryOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.siteName, - Parameters.diagnosticCategory + Parameters.diagnosticCategory, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteAnalysesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysisCollection + bodyMapper: Mappers.DiagnosticAnalysisCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1791,22 +1786,21 @@ const listSiteAnalysesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.siteName, - Parameters.diagnosticCategory + Parameters.diagnosticCategory, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteAnalysisOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AnalysisDefinition + bodyMapper: Mappers.AnalysisDefinition, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1815,28 +1809,27 @@ const getSiteAnalysisOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.analysisName + Parameters.analysisName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const executeSiteAnalysisOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysis + bodyMapper: Mappers.DiagnosticAnalysis, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.startTime, Parameters.endTime, - Parameters.timeGrain + Parameters.timeGrain, ], urlParameters: [ Parameters.$host, @@ -1844,22 +1837,21 @@ const executeSiteAnalysisOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.analysisName + Parameters.analysisName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteDetectorsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection + bodyMapper: Mappers.DiagnosticDetectorCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1867,22 +1859,21 @@ const listSiteDetectorsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.siteName, - Parameters.diagnosticCategory + Parameters.diagnosticCategory, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteDetectorOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DetectorDefinitionResource + bodyMapper: Mappers.DetectorDefinitionResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1891,28 +1882,27 @@ const getSiteDetectorOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.detectorName, Parameters.siteName, - Parameters.diagnosticCategory + Parameters.diagnosticCategory, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const executeSiteDetectorOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorResponse + bodyMapper: Mappers.DiagnosticDetectorResponse, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.startTime, Parameters.endTime, - Parameters.timeGrain + Parameters.timeGrain, ], urlParameters: [ Parameters.$host, @@ -1920,22 +1910,21 @@ const executeSiteDetectorOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.detectorName, Parameters.siteName, - Parameters.diagnosticCategory + Parameters.diagnosticCategory, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteDetectorResponsesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DetectorResponseCollection + bodyMapper: Mappers.DetectorResponseCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1943,28 +1932,27 @@ const listSiteDetectorResponsesSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.siteName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteDetectorResponseSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DetectorResponse + bodyMapper: Mappers.DetectorResponse, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.startTime, Parameters.endTime, - Parameters.timeGrain + Parameters.timeGrain, ], urlParameters: [ Parameters.$host, @@ -1972,45 +1960,44 @@ const getSiteDetectorResponseSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.detectorName, Parameters.siteName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSiteDiagnosticCategoriesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DiagnosticCategoryCollection +const listSiteDiagnosticCategoriesSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DiagnosticCategoryCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.siteName, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.siteName, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getSiteDiagnosticCategorySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticCategory + bodyMapper: Mappers.DiagnosticCategory, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -2019,22 +2006,21 @@ const getSiteDiagnosticCategorySlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteAnalysesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysisCollection + bodyMapper: Mappers.DiagnosticAnalysisCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -2043,22 +2029,21 @@ const listSiteAnalysesSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteAnalysisSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AnalysisDefinition + bodyMapper: Mappers.AnalysisDefinition, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -2068,28 +2053,27 @@ const getSiteAnalysisSlotOperationSpec: coreClient.OperationSpec = { Parameters.siteName, Parameters.diagnosticCategory, Parameters.analysisName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const executeSiteAnalysisSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysis + bodyMapper: Mappers.DiagnosticAnalysis, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.startTime, Parameters.endTime, - Parameters.timeGrain + Parameters.timeGrain, ], urlParameters: [ Parameters.$host, @@ -2098,22 +2082,21 @@ const executeSiteAnalysisSlotOperationSpec: coreClient.OperationSpec = { Parameters.siteName, Parameters.diagnosticCategory, Parameters.analysisName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteDetectorsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection + bodyMapper: Mappers.DiagnosticDetectorCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -2122,22 +2105,21 @@ const listSiteDetectorsSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteDetectorSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DetectorDefinitionResource + bodyMapper: Mappers.DetectorDefinitionResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -2147,28 +2129,27 @@ const getSiteDetectorSlotOperationSpec: coreClient.OperationSpec = { Parameters.detectorName, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const executeSiteDetectorSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorResponse + bodyMapper: Mappers.DiagnosticDetectorResponse, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.startTime, Parameters.endTime, - Parameters.timeGrain + Parameters.timeGrain, ], urlParameters: [ Parameters.$host, @@ -2177,84 +2158,86 @@ const executeSiteDetectorSlotOperationSpec: coreClient.OperationSpec = { Parameters.detectorName, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listHostingEnvironmentDetectorResponsesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DetectorResponseCollection +const listHostingEnvironmentDetectorResponsesNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DetectorResponseCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listSiteDetectorResponsesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DetectorResponseCollection + bodyMapper: Mappers.DetectorResponseCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - Parameters.siteName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listSiteDiagnosticCategoriesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DiagnosticCategoryCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.nextLink, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const listSiteDiagnosticCategoriesNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DiagnosticCategoryCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.siteName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listSiteAnalysesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysisCollection + bodyMapper: Mappers.DiagnosticAnalysisCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -2262,43 +2245,21 @@ const listSiteAnalysesNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.nextLink, Parameters.siteName, - Parameters.diagnosticCategory + Parameters.diagnosticCategory, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteDetectorsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection + bodyMapper: Mappers.DiagnosticDetectorCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - Parameters.siteName, - Parameters.diagnosticCategory - ], - headerParameters: [Parameters.accept], - serializer -}; -const listSiteDetectorResponsesSlotNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DetectorResponseCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, @@ -2306,43 +2267,67 @@ const listSiteDetectorResponsesSlotNextOperationSpec: coreClient.OperationSpec = Parameters.resourceGroupName, Parameters.nextLink, Parameters.siteName, - Parameters.slot + Parameters.diagnosticCategory, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSiteDiagnosticCategoriesSlotNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DiagnosticCategoryCollection +const listSiteDetectorResponsesSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DetectorResponseCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - Parameters.siteName, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.siteName, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listSiteDiagnosticCategoriesSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DiagnosticCategoryCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.siteName, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listSiteAnalysesSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysisCollection + bodyMapper: Mappers.DiagnosticAnalysisCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -2351,21 +2336,21 @@ const listSiteAnalysesSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.nextLink, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteDetectorsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection + bodyMapper: Mappers.DiagnosticDetectorCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -2374,8 +2359,8 @@ const listSiteDetectorsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.nextLink, Parameters.siteName, Parameters.diagnosticCategory, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts index c9ba45f696d7..1b2491ef12ed 100644 --- a/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts @@ -18,13 +18,14 @@ import { DomainRegistrationProviderListOperationsNextOptionalParams, DomainRegistrationProviderListOperationsOptionalParams, DomainRegistrationProviderListOperationsResponse, - DomainRegistrationProviderListOperationsNextResponse + DomainRegistrationProviderListOperationsNextResponse, } from "../models"; /// /** Class containing DomainRegistrationProvider operations. */ export class DomainRegistrationProviderImpl - implements DomainRegistrationProvider { + implements DomainRegistrationProvider +{ private readonly client: WebSiteManagementClient; /** @@ -41,7 +42,7 @@ export class DomainRegistrationProviderImpl * @param options The options parameters. */ public listOperations( - options?: DomainRegistrationProviderListOperationsOptionalParams + options?: DomainRegistrationProviderListOperationsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listOperationsPagingAll(options); return { @@ -56,13 +57,13 @@ export class DomainRegistrationProviderImpl throw new Error("maxPageSize is not supported by this operation."); } return this.listOperationsPagingPage(options, settings); - } + }, }; } private async *listOperationsPagingPage( options?: DomainRegistrationProviderListOperationsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DomainRegistrationProviderListOperationsResponse; let continuationToken = settings?.continuationToken; @@ -83,7 +84,7 @@ export class DomainRegistrationProviderImpl } private async *listOperationsPagingAll( - options?: DomainRegistrationProviderListOperationsOptionalParams + options?: DomainRegistrationProviderListOperationsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listOperationsPagingPage(options)) { yield* page; @@ -96,11 +97,11 @@ export class DomainRegistrationProviderImpl * @param options The options parameters. */ private _listOperations( - options?: DomainRegistrationProviderListOperationsOptionalParams + options?: DomainRegistrationProviderListOperationsOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - listOperationsOperationSpec + listOperationsOperationSpec, ); } @@ -111,11 +112,11 @@ export class DomainRegistrationProviderImpl */ private _listOperationsNext( nextLink: string, - options?: DomainRegistrationProviderListOperationsNextOptionalParams + options?: DomainRegistrationProviderListOperationsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listOperationsNextOperationSpec + listOperationsNextOperationSpec, ); } } @@ -127,29 +128,29 @@ const listOperationsOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmOperationCollection + bodyMapper: Mappers.CsmOperationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmOperationCollection + bodyMapper: Mappers.CsmOperationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/domains.ts b/sdk/appservice/arm-appservice/src/operations/domains.ts index 3fa502de87ed..13160fbae2d4 100644 --- a/sdk/appservice/arm-appservice/src/operations/domains.ts +++ b/sdk/appservice/arm-appservice/src/operations/domains.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -61,7 +61,7 @@ import { DomainsListNextResponse, DomainsListRecommendationsNextResponse, DomainsListByResourceGroupNextResponse, - DomainsListOwnershipIdentifiersNextResponse + DomainsListOwnershipIdentifiersNextResponse, } from "../models"; /// @@ -82,7 +82,7 @@ export class DomainsImpl implements Domains { * @param options The options parameters. */ public list( - options?: DomainsListOptionalParams + options?: DomainsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -97,13 +97,13 @@ export class DomainsImpl implements Domains { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: DomainsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DomainsListResponse; let continuationToken = settings?.continuationToken; @@ -124,7 +124,7 @@ export class DomainsImpl implements Domains { } private async *listPagingAll( - options?: DomainsListOptionalParams + options?: DomainsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -138,7 +138,7 @@ export class DomainsImpl implements Domains { */ public listRecommendations( parameters: DomainRecommendationSearchParameters, - options?: DomainsListRecommendationsOptionalParams + options?: DomainsListRecommendationsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listRecommendationsPagingAll(parameters, options); return { @@ -155,16 +155,16 @@ export class DomainsImpl implements Domains { return this.listRecommendationsPagingPage( parameters, options, - settings + settings, ); - } + }, }; } private async *listRecommendationsPagingPage( parameters: DomainRecommendationSearchParameters, options?: DomainsListRecommendationsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DomainsListRecommendationsResponse; let continuationToken = settings?.continuationToken; @@ -179,7 +179,7 @@ export class DomainsImpl implements Domains { result = await this._listRecommendationsNext( parameters, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -190,11 +190,11 @@ export class DomainsImpl implements Domains { private async *listRecommendationsPagingAll( parameters: DomainRecommendationSearchParameters, - options?: DomainsListRecommendationsOptionalParams + options?: DomainsListRecommendationsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listRecommendationsPagingPage( parameters, - options + options, )) { yield* page; } @@ -207,7 +207,7 @@ export class DomainsImpl implements Domains { */ public listByResourceGroup( resourceGroupName: string, - options?: DomainsListByResourceGroupOptionalParams + options?: DomainsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -224,16 +224,16 @@ export class DomainsImpl implements Domains { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: DomainsListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DomainsListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -248,7 +248,7 @@ export class DomainsImpl implements Domains { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -259,11 +259,11 @@ export class DomainsImpl implements Domains { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: DomainsListByResourceGroupOptionalParams + options?: DomainsListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -278,12 +278,12 @@ export class DomainsImpl implements Domains { public listOwnershipIdentifiers( resourceGroupName: string, domainName: string, - options?: DomainsListOwnershipIdentifiersOptionalParams + options?: DomainsListOwnershipIdentifiersOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listOwnershipIdentifiersPagingAll( resourceGroupName, domainName, - options + options, ); return { next() { @@ -300,9 +300,9 @@ export class DomainsImpl implements Domains { resourceGroupName, domainName, options, - settings + settings, ); - } + }, }; } @@ -310,7 +310,7 @@ export class DomainsImpl implements Domains { resourceGroupName: string, domainName: string, options?: DomainsListOwnershipIdentifiersOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: DomainsListOwnershipIdentifiersResponse; let continuationToken = settings?.continuationToken; @@ -318,7 +318,7 @@ export class DomainsImpl implements Domains { result = await this._listOwnershipIdentifiers( resourceGroupName, domainName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -330,7 +330,7 @@ export class DomainsImpl implements Domains { resourceGroupName, domainName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -342,12 +342,12 @@ export class DomainsImpl implements Domains { private async *listOwnershipIdentifiersPagingAll( resourceGroupName: string, domainName: string, - options?: DomainsListOwnershipIdentifiersOptionalParams + options?: DomainsListOwnershipIdentifiersOptionalParams, ): AsyncIterableIterator { for await (const page of this.listOwnershipIdentifiersPagingPage( resourceGroupName, domainName, - options + options, )) { yield* page; } @@ -360,11 +360,11 @@ export class DomainsImpl implements Domains { */ checkAvailability( identifier: NameIdentifier, - options?: DomainsCheckAvailabilityOptionalParams + options?: DomainsCheckAvailabilityOptionalParams, ): Promise { return this.client.sendOperationRequest( { identifier, options }, - checkAvailabilityOperationSpec + checkAvailabilityOperationSpec, ); } @@ -373,7 +373,7 @@ export class DomainsImpl implements Domains { * @param options The options parameters. */ private _list( - options?: DomainsListOptionalParams + options?: DomainsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -383,11 +383,11 @@ export class DomainsImpl implements Domains { * @param options The options parameters. */ getControlCenterSsoRequest( - options?: DomainsGetControlCenterSsoRequestOptionalParams + options?: DomainsGetControlCenterSsoRequestOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - getControlCenterSsoRequestOperationSpec + getControlCenterSsoRequestOperationSpec, ); } @@ -398,11 +398,11 @@ export class DomainsImpl implements Domains { */ private _listRecommendations( parameters: DomainRecommendationSearchParameters, - options?: DomainsListRecommendationsOptionalParams + options?: DomainsListRecommendationsOptionalParams, ): Promise { return this.client.sendOperationRequest( { parameters, options }, - listRecommendationsOperationSpec + listRecommendationsOperationSpec, ); } @@ -413,11 +413,11 @@ export class DomainsImpl implements Domains { */ private _listByResourceGroup( resourceGroupName: string, - options?: DomainsListByResourceGroupOptionalParams + options?: DomainsListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -430,11 +430,11 @@ export class DomainsImpl implements Domains { get( resourceGroupName: string, domainName: string, - options?: DomainsGetOptionalParams + options?: DomainsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, options }, - getOperationSpec + getOperationSpec, ); } @@ -449,7 +449,7 @@ export class DomainsImpl implements Domains { resourceGroupName: string, domainName: string, domain: Domain, - options?: DomainsCreateOrUpdateOptionalParams + options?: DomainsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -458,21 +458,20 @@ export class DomainsImpl implements Domains { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -481,8 +480,8 @@ export class DomainsImpl implements Domains { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -490,22 +489,22 @@ export class DomainsImpl implements Domains { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, domainName, domain, options }, - spec: createOrUpdateOperationSpec + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< DomainsCreateOrUpdateResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -522,13 +521,13 @@ export class DomainsImpl implements Domains { resourceGroupName: string, domainName: string, domain: Domain, - options?: DomainsCreateOrUpdateOptionalParams + options?: DomainsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, domainName, domain, - options + options, ); return poller.pollUntilDone(); } @@ -542,11 +541,11 @@ export class DomainsImpl implements Domains { delete( resourceGroupName: string, domainName: string, - options?: DomainsDeleteOptionalParams + options?: DomainsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -561,11 +560,11 @@ export class DomainsImpl implements Domains { resourceGroupName: string, domainName: string, domain: DomainPatchResource, - options?: DomainsUpdateOptionalParams + options?: DomainsUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, domain, options }, - updateOperationSpec + updateOperationSpec, ); } @@ -578,11 +577,11 @@ export class DomainsImpl implements Domains { private _listOwnershipIdentifiers( resourceGroupName: string, domainName: string, - options?: DomainsListOwnershipIdentifiersOptionalParams + options?: DomainsListOwnershipIdentifiersOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, options }, - listOwnershipIdentifiersOperationSpec + listOwnershipIdentifiersOperationSpec, ); } @@ -597,11 +596,11 @@ export class DomainsImpl implements Domains { resourceGroupName: string, domainName: string, name: string, - options?: DomainsGetOwnershipIdentifierOptionalParams + options?: DomainsGetOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, name, options }, - getOwnershipIdentifierOperationSpec + getOwnershipIdentifierOperationSpec, ); } @@ -619,7 +618,7 @@ export class DomainsImpl implements Domains { domainName: string, name: string, domainOwnershipIdentifier: DomainOwnershipIdentifier, - options?: DomainsCreateOrUpdateOwnershipIdentifierOptionalParams + options?: DomainsCreateOrUpdateOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -627,9 +626,9 @@ export class DomainsImpl implements Domains { domainName, name, domainOwnershipIdentifier, - options + options, }, - createOrUpdateOwnershipIdentifierOperationSpec + createOrUpdateOwnershipIdentifierOperationSpec, ); } @@ -644,11 +643,11 @@ export class DomainsImpl implements Domains { resourceGroupName: string, domainName: string, name: string, - options?: DomainsDeleteOwnershipIdentifierOptionalParams + options?: DomainsDeleteOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, name, options }, - deleteOwnershipIdentifierOperationSpec + deleteOwnershipIdentifierOperationSpec, ); } @@ -666,7 +665,7 @@ export class DomainsImpl implements Domains { domainName: string, name: string, domainOwnershipIdentifier: DomainOwnershipIdentifier, - options?: DomainsUpdateOwnershipIdentifierOptionalParams + options?: DomainsUpdateOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -674,9 +673,9 @@ export class DomainsImpl implements Domains { domainName, name, domainOwnershipIdentifier, - options + options, }, - updateOwnershipIdentifierOperationSpec + updateOwnershipIdentifierOperationSpec, ); } @@ -689,11 +688,11 @@ export class DomainsImpl implements Domains { renew( resourceGroupName: string, domainName: string, - options?: DomainsRenewOptionalParams + options?: DomainsRenewOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, options }, - renewOperationSpec + renewOperationSpec, ); } @@ -706,11 +705,11 @@ export class DomainsImpl implements Domains { transferOut( resourceGroupName: string, domainName: string, - options?: DomainsTransferOutOptionalParams + options?: DomainsTransferOutOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, options }, - transferOutOperationSpec + transferOutOperationSpec, ); } @@ -721,11 +720,11 @@ export class DomainsImpl implements Domains { */ private _listNext( nextLink: string, - options?: DomainsListNextOptionalParams + options?: DomainsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -738,11 +737,11 @@ export class DomainsImpl implements Domains { private _listRecommendationsNext( parameters: DomainRecommendationSearchParameters, nextLink: string, - options?: DomainsListRecommendationsNextOptionalParams + options?: DomainsListRecommendationsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { parameters, nextLink, options }, - listRecommendationsNextOperationSpec + listRecommendationsNextOperationSpec, ); } @@ -755,11 +754,11 @@ export class DomainsImpl implements Domains { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: DomainsListByResourceGroupNextOptionalParams + options?: DomainsListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } @@ -775,11 +774,11 @@ export class DomainsImpl implements Domains { resourceGroupName: string, domainName: string, nextLink: string, - options?: DomainsListOwnershipIdentifiersNextOptionalParams + options?: DomainsListOwnershipIdentifiersNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, domainName, nextLink, options }, - listOwnershipIdentifiersNextOperationSpec + listOwnershipIdentifiersNextOperationSpec, ); } } @@ -787,140 +786,133 @@ export class DomainsImpl implements Domains { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const checkAvailabilityOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DomainAvailabilityCheckResult + bodyMapper: Mappers.DomainAvailabilityCheckResult, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.identifier, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DomainCollection + bodyMapper: Mappers.DomainCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const getControlCenterSsoRequestOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DomainControlCenterSsoRequest + bodyMapper: Mappers.DomainControlCenterSsoRequest, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listRecommendationsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.NameIdentifierCollection + bodyMapper: Mappers.NameIdentifierCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DomainCollection + bodyMapper: Mappers.DomainCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, 201: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, 202: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, 204: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.domain, queryParameters: [Parameters.apiVersion], @@ -928,47 +920,45 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.domainName1 + Parameters.domainName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.forceHardDeleteDomain], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, 202: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.domain1, queryParameters: [Parameters.apiVersion], @@ -976,45 +966,43 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.domainName1 + Parameters.domainName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listOwnershipIdentifiersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DomainOwnershipIdentifierCollection + bodyMapper: Mappers.DomainOwnershipIdentifierCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DomainOwnershipIdentifier + bodyMapper: Mappers.DomainOwnershipIdentifier, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1022,46 +1010,45 @@ const getOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.DomainOwnershipIdentifier +const createOrUpdateOwnershipIdentifierOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DomainOwnershipIdentifier, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.domainOwnershipIdentifier, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.domainName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.domainOwnershipIdentifier, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1069,22 +1056,21 @@ const deleteOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.DomainOwnershipIdentifier + bodyMapper: Mappers.DomainOwnershipIdentifier, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.domainOwnershipIdentifier, queryParameters: [Parameters.apiVersion], @@ -1093,136 +1079,134 @@ const updateOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const renewOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/renew", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/renew", httpMethod: "POST", responses: { 200: {}, 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const transferOutOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Domain + bodyMapper: Mappers.Domain, }, 400: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DomainCollection + bodyMapper: Mappers.DomainCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listRecommendationsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.NameIdentifierCollection + bodyMapper: Mappers.NameIdentifierCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DomainCollection + bodyMapper: Mappers.DomainCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOwnershipIdentifiersNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DomainOwnershipIdentifierCollection + bodyMapper: Mappers.DomainOwnershipIdentifierCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.nextLink, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/getUsagesInLocation.ts b/sdk/appservice/arm-appservice/src/operations/getUsagesInLocation.ts index c8765ad3cfaf..adf4190b460d 100644 --- a/sdk/appservice/arm-appservice/src/operations/getUsagesInLocation.ts +++ b/sdk/appservice/arm-appservice/src/operations/getUsagesInLocation.ts @@ -18,7 +18,7 @@ import { GetUsagesInLocationListNextOptionalParams, GetUsagesInLocationListOptionalParams, GetUsagesInLocationListResponse, - GetUsagesInLocationListNextResponse + GetUsagesInLocationListNextResponse, } from "../models"; /// @@ -42,7 +42,7 @@ export class GetUsagesInLocationImpl implements GetUsagesInLocation { */ public list( location: string, - options?: GetUsagesInLocationListOptionalParams + options?: GetUsagesInLocationListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(location, options); return { @@ -57,14 +57,14 @@ export class GetUsagesInLocationImpl implements GetUsagesInLocation { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(location, options, settings); - } + }, }; } private async *listPagingPage( location: string, options?: GetUsagesInLocationListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: GetUsagesInLocationListResponse; let continuationToken = settings?.continuationToken; @@ -86,7 +86,7 @@ export class GetUsagesInLocationImpl implements GetUsagesInLocation { private async *listPagingAll( location: string, - options?: GetUsagesInLocationListOptionalParams + options?: GetUsagesInLocationListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(location, options)) { yield* page; @@ -101,11 +101,11 @@ export class GetUsagesInLocationImpl implements GetUsagesInLocation { */ private _list( location: string, - options?: GetUsagesInLocationListOptionalParams + options?: GetUsagesInLocationListOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, options }, - listOperationSpec + listOperationSpec, ); } @@ -118,11 +118,11 @@ export class GetUsagesInLocationImpl implements GetUsagesInLocation { private _listNext( location: string, nextLink: string, - options?: GetUsagesInLocationListNextOptionalParams + options?: GetUsagesInLocationListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -130,43 +130,42 @@ export class GetUsagesInLocationImpl implements GetUsagesInLocation { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/usages", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location1 + Parameters.location1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, - Parameters.location1 + Parameters.location1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/global.ts b/sdk/appservice/arm-appservice/src/operations/global.ts index 89f8b532cfaa..728fa0c06a01 100644 --- a/sdk/appservice/arm-appservice/src/operations/global.ts +++ b/sdk/appservice/arm-appservice/src/operations/global.ts @@ -16,7 +16,7 @@ import { GlobalGetDeletedWebAppResponse, GlobalGetDeletedWebAppSnapshotsOptionalParams, GlobalGetDeletedWebAppSnapshotsResponse, - GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams + GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams, } from "../models"; /** Class containing Global operations. */ @@ -38,11 +38,11 @@ export class GlobalImpl implements Global { */ getDeletedWebApp( deletedSiteId: string, - options?: GlobalGetDeletedWebAppOptionalParams + options?: GlobalGetDeletedWebAppOptionalParams, ): Promise { return this.client.sendOperationRequest( { deletedSiteId, options }, - getDeletedWebAppOperationSpec + getDeletedWebAppOperationSpec, ); } @@ -53,11 +53,11 @@ export class GlobalImpl implements Global { */ getDeletedWebAppSnapshots( deletedSiteId: string, - options?: GlobalGetDeletedWebAppSnapshotsOptionalParams + options?: GlobalGetDeletedWebAppSnapshotsOptionalParams, ): Promise { return this.client.sendOperationRequest( { deletedSiteId, options }, - getDeletedWebAppSnapshotsOperationSpec + getDeletedWebAppSnapshotsOperationSpec, ); } @@ -70,11 +70,11 @@ export class GlobalImpl implements Global { getSubscriptionOperationWithAsyncResponse( location: string, operationId: string, - options?: GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams + options?: GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, operationId, options }, - getSubscriptionOperationWithAsyncResponseOperationSpec + getSubscriptionOperationWithAsyncResponseOperationSpec, ); } } @@ -82,69 +82,67 @@ export class GlobalImpl implements Global { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const getDeletedWebAppOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeletedSite + bodyMapper: Mappers.DeletedSite, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.deletedSiteId + Parameters.deletedSiteId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDeletedWebAppSnapshotsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}/snapshots", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}/snapshots", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "Snapshot" } } - } - } + element: { type: { name: "Composite", className: "Snapshot" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.deletedSiteId - ], - headerParameters: [Parameters.accept], - serializer -}; -const getSubscriptionOperationWithAsyncResponseOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}", - httpMethod: "GET", - responses: { - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location, - Parameters.operationId + Parameters.deletedSiteId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const getSubscriptionOperationWithAsyncResponseOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}", + httpMethod: "GET", + responses: { + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.location, + Parameters.operationId, + ], + headerParameters: [Parameters.accept], + serializer, + }; diff --git a/sdk/appservice/arm-appservice/src/operations/index.ts b/sdk/appservice/arm-appservice/src/operations/index.ts index 87d60f834b34..884815439549 100644 --- a/sdk/appservice/arm-appservice/src/operations/index.ts +++ b/sdk/appservice/arm-appservice/src/operations/index.ts @@ -9,9 +9,9 @@ export * from "./appServiceCertificateOrders"; export * from "./certificateOrdersDiagnostics"; export * from "./certificateRegistrationProvider"; +export * from "./domainRegistrationProvider"; export * from "./domains"; export * from "./topLevelDomains"; -export * from "./domainRegistrationProvider"; export * from "./appServiceEnvironments"; export * from "./appServicePlans"; export * from "./certificates"; diff --git a/sdk/appservice/arm-appservice/src/operations/kubeEnvironments.ts b/sdk/appservice/arm-appservice/src/operations/kubeEnvironments.ts index 7439c72f431b..016723788354 100644 --- a/sdk/appservice/arm-appservice/src/operations/kubeEnvironments.ts +++ b/sdk/appservice/arm-appservice/src/operations/kubeEnvironments.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -36,7 +36,7 @@ import { KubeEnvironmentsUpdateOptionalParams, KubeEnvironmentsUpdateResponse, KubeEnvironmentsListBySubscriptionNextResponse, - KubeEnvironmentsListByResourceGroupNextResponse + KubeEnvironmentsListByResourceGroupNextResponse, } from "../models"; /// @@ -57,7 +57,7 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { * @param options The options parameters. */ public listBySubscription( - options?: KubeEnvironmentsListBySubscriptionOptionalParams + options?: KubeEnvironmentsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBySubscriptionPagingAll(options); return { @@ -72,13 +72,13 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { throw new Error("maxPageSize is not supported by this operation."); } return this.listBySubscriptionPagingPage(options, settings); - } + }, }; } private async *listBySubscriptionPagingPage( options?: KubeEnvironmentsListBySubscriptionOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: KubeEnvironmentsListBySubscriptionResponse; let continuationToken = settings?.continuationToken; @@ -99,7 +99,7 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { } private async *listBySubscriptionPagingAll( - options?: KubeEnvironmentsListBySubscriptionOptionalParams + options?: KubeEnvironmentsListBySubscriptionOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; @@ -113,7 +113,7 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { */ public listByResourceGroup( resourceGroupName: string, - options?: KubeEnvironmentsListByResourceGroupOptionalParams + options?: KubeEnvironmentsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -130,16 +130,16 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: KubeEnvironmentsListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: KubeEnvironmentsListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -154,7 +154,7 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -165,11 +165,11 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: KubeEnvironmentsListByResourceGroupOptionalParams + options?: KubeEnvironmentsListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -180,11 +180,11 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { * @param options The options parameters. */ private _listBySubscription( - options?: KubeEnvironmentsListBySubscriptionOptionalParams + options?: KubeEnvironmentsListBySubscriptionOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - listBySubscriptionOperationSpec + listBySubscriptionOperationSpec, ); } @@ -195,11 +195,11 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { */ private _listByResourceGroup( resourceGroupName: string, - options?: KubeEnvironmentsListByResourceGroupOptionalParams + options?: KubeEnvironmentsListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -212,11 +212,11 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { get( resourceGroupName: string, name: string, - options?: KubeEnvironmentsGetOptionalParams + options?: KubeEnvironmentsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -231,7 +231,7 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { resourceGroupName: string, name: string, kubeEnvironmentEnvelope: KubeEnvironment, - options?: KubeEnvironmentsCreateOrUpdateOptionalParams + options?: KubeEnvironmentsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -240,21 +240,20 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -263,8 +262,8 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -272,22 +271,22 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, kubeEnvironmentEnvelope, options }, - spec: createOrUpdateOperationSpec + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< KubeEnvironmentsCreateOrUpdateResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -304,13 +303,13 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { resourceGroupName: string, name: string, kubeEnvironmentEnvelope: KubeEnvironment, - options?: KubeEnvironmentsCreateOrUpdateOptionalParams + options?: KubeEnvironmentsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, name, kubeEnvironmentEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -324,25 +323,24 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { async beginDelete( resourceGroupName: string, name: string, - options?: KubeEnvironmentsDeleteOptionalParams + options?: KubeEnvironmentsDeleteOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -351,8 +349,8 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -360,19 +358,19 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: deleteOperationSpec + spec: deleteOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -387,7 +385,7 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { async beginDeleteAndWait( resourceGroupName: string, name: string, - options?: KubeEnvironmentsDeleteOptionalParams + options?: KubeEnvironmentsDeleteOptionalParams, ): Promise { const poller = await this.beginDelete(resourceGroupName, name, options); return poller.pollUntilDone(); @@ -404,11 +402,11 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { resourceGroupName: string, name: string, kubeEnvironmentEnvelope: KubeEnvironmentPatchResource, - options?: KubeEnvironmentsUpdateOptionalParams + options?: KubeEnvironmentsUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, kubeEnvironmentEnvelope, options }, - updateOperationSpec + updateOperationSpec, ); } @@ -419,11 +417,11 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { */ private _listBySubscriptionNext( nextLink: string, - options?: KubeEnvironmentsListBySubscriptionNextOptionalParams + options?: KubeEnvironmentsListBySubscriptionNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listBySubscriptionNextOperationSpec + listBySubscriptionNextOperationSpec, ); } @@ -436,11 +434,11 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: KubeEnvironmentsListByResourceGroupNextOptionalParams + options?: KubeEnvironmentsListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } } @@ -448,85 +446,81 @@ export class KubeEnvironmentsImpl implements KubeEnvironments { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.KubeEnvironmentCollection + bodyMapper: Mappers.KubeEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.KubeEnvironmentCollection + bodyMapper: Mappers.KubeEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.KubeEnvironment + bodyMapper: Mappers.KubeEnvironment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.KubeEnvironment + bodyMapper: Mappers.KubeEnvironment, }, 201: { - bodyMapper: Mappers.KubeEnvironment + bodyMapper: Mappers.KubeEnvironment, }, 202: { - bodyMapper: Mappers.KubeEnvironment + bodyMapper: Mappers.KubeEnvironment, }, 204: { - bodyMapper: Mappers.KubeEnvironment + bodyMapper: Mappers.KubeEnvironment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.kubeEnvironmentEnvelope, queryParameters: [Parameters.apiVersion], @@ -534,15 +528,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", httpMethod: "DELETE", responses: { 200: {}, @@ -550,33 +543,32 @@ const deleteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.KubeEnvironment + bodyMapper: Mappers.KubeEnvironment, }, 201: { - bodyMapper: Mappers.KubeEnvironment + bodyMapper: Mappers.KubeEnvironment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.kubeEnvironmentEnvelope1, queryParameters: [Parameters.apiVersion], @@ -584,48 +576,48 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.KubeEnvironmentCollection + bodyMapper: Mappers.KubeEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.KubeEnvironmentCollection + bodyMapper: Mappers.KubeEnvironmentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/provider.ts b/sdk/appservice/arm-appservice/src/operations/provider.ts index 32f41c706eee..46ebdef272fa 100644 --- a/sdk/appservice/arm-appservice/src/operations/provider.ts +++ b/sdk/appservice/arm-appservice/src/operations/provider.ts @@ -45,7 +45,7 @@ import { ProviderGetWebAppStacksForLocationNextResponse, ProviderListOperationsNextResponse, ProviderGetWebAppStacksNextResponse, - ProviderGetAvailableStacksOnPremNextResponse + ProviderGetAvailableStacksOnPremNextResponse, } from "../models"; /// @@ -66,7 +66,7 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ public listAvailableStacks( - options?: ProviderGetAvailableStacksOptionalParams + options?: ProviderGetAvailableStacksOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getAvailableStacksPagingAll(options); return { @@ -81,13 +81,13 @@ export class ProviderImpl implements Provider { throw new Error("maxPageSize is not supported by this operation."); } return this.getAvailableStacksPagingPage(options, settings); - } + }, }; } private async *getAvailableStacksPagingPage( options?: ProviderGetAvailableStacksOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ProviderGetAvailableStacksResponse; let continuationToken = settings?.continuationToken; @@ -108,7 +108,7 @@ export class ProviderImpl implements Provider { } private async *getAvailableStacksPagingAll( - options?: ProviderGetAvailableStacksOptionalParams + options?: ProviderGetAvailableStacksOptionalParams, ): AsyncIterableIterator { for await (const page of this.getAvailableStacksPagingPage(options)) { yield* page; @@ -120,7 +120,7 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ public listFunctionAppStacks( - options?: ProviderGetFunctionAppStacksOptionalParams + options?: ProviderGetFunctionAppStacksOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getFunctionAppStacksPagingAll(options); return { @@ -135,13 +135,13 @@ export class ProviderImpl implements Provider { throw new Error("maxPageSize is not supported by this operation."); } return this.getFunctionAppStacksPagingPage(options, settings); - } + }, }; } private async *getFunctionAppStacksPagingPage( options?: ProviderGetFunctionAppStacksOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ProviderGetFunctionAppStacksResponse; let continuationToken = settings?.continuationToken; @@ -162,7 +162,7 @@ export class ProviderImpl implements Provider { } private async *getFunctionAppStacksPagingAll( - options?: ProviderGetFunctionAppStacksOptionalParams + options?: ProviderGetFunctionAppStacksOptionalParams, ): AsyncIterableIterator { for await (const page of this.getFunctionAppStacksPagingPage(options)) { yield* page; @@ -176,11 +176,11 @@ export class ProviderImpl implements Provider { */ public listFunctionAppStacksForLocation( location: string, - options?: ProviderGetFunctionAppStacksForLocationOptionalParams + options?: ProviderGetFunctionAppStacksForLocationOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getFunctionAppStacksForLocationPagingAll( location, - options + options, ); return { next() { @@ -196,16 +196,16 @@ export class ProviderImpl implements Provider { return this.getFunctionAppStacksForLocationPagingPage( location, options, - settings + settings, ); - } + }, }; } private async *getFunctionAppStacksForLocationPagingPage( location: string, options?: ProviderGetFunctionAppStacksForLocationOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ProviderGetFunctionAppStacksForLocationResponse; let continuationToken = settings?.continuationToken; @@ -220,7 +220,7 @@ export class ProviderImpl implements Provider { result = await this._getFunctionAppStacksForLocationNext( location, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -231,11 +231,11 @@ export class ProviderImpl implements Provider { private async *getFunctionAppStacksForLocationPagingAll( location: string, - options?: ProviderGetFunctionAppStacksForLocationOptionalParams + options?: ProviderGetFunctionAppStacksForLocationOptionalParams, ): AsyncIterableIterator { for await (const page of this.getFunctionAppStacksForLocationPagingPage( location, - options + options, )) { yield* page; } @@ -248,7 +248,7 @@ export class ProviderImpl implements Provider { */ public listWebAppStacksForLocation( location: string, - options?: ProviderGetWebAppStacksForLocationOptionalParams + options?: ProviderGetWebAppStacksForLocationOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getWebAppStacksForLocationPagingAll(location, options); return { @@ -265,16 +265,16 @@ export class ProviderImpl implements Provider { return this.getWebAppStacksForLocationPagingPage( location, options, - settings + settings, ); - } + }, }; } private async *getWebAppStacksForLocationPagingPage( location: string, options?: ProviderGetWebAppStacksForLocationOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ProviderGetWebAppStacksForLocationResponse; let continuationToken = settings?.continuationToken; @@ -289,7 +289,7 @@ export class ProviderImpl implements Provider { result = await this._getWebAppStacksForLocationNext( location, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -300,11 +300,11 @@ export class ProviderImpl implements Provider { private async *getWebAppStacksForLocationPagingAll( location: string, - options?: ProviderGetWebAppStacksForLocationOptionalParams + options?: ProviderGetWebAppStacksForLocationOptionalParams, ): AsyncIterableIterator { for await (const page of this.getWebAppStacksForLocationPagingPage( location, - options + options, )) { yield* page; } @@ -316,7 +316,7 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ public listOperations( - options?: ProviderListOperationsOptionalParams + options?: ProviderListOperationsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listOperationsPagingAll(options); return { @@ -331,13 +331,13 @@ export class ProviderImpl implements Provider { throw new Error("maxPageSize is not supported by this operation."); } return this.listOperationsPagingPage(options, settings); - } + }, }; } private async *listOperationsPagingPage( options?: ProviderListOperationsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ProviderListOperationsResponse; let continuationToken = settings?.continuationToken; @@ -358,7 +358,7 @@ export class ProviderImpl implements Provider { } private async *listOperationsPagingAll( - options?: ProviderListOperationsOptionalParams + options?: ProviderListOperationsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listOperationsPagingPage(options)) { yield* page; @@ -370,7 +370,7 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ public listWebAppStacks( - options?: ProviderGetWebAppStacksOptionalParams + options?: ProviderGetWebAppStacksOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getWebAppStacksPagingAll(options); return { @@ -385,13 +385,13 @@ export class ProviderImpl implements Provider { throw new Error("maxPageSize is not supported by this operation."); } return this.getWebAppStacksPagingPage(options, settings); - } + }, }; } private async *getWebAppStacksPagingPage( options?: ProviderGetWebAppStacksOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ProviderGetWebAppStacksResponse; let continuationToken = settings?.continuationToken; @@ -412,7 +412,7 @@ export class ProviderImpl implements Provider { } private async *getWebAppStacksPagingAll( - options?: ProviderGetWebAppStacksOptionalParams + options?: ProviderGetWebAppStacksOptionalParams, ): AsyncIterableIterator { for await (const page of this.getWebAppStacksPagingPage(options)) { yield* page; @@ -424,7 +424,7 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ public listAvailableStacksOnPrem( - options?: ProviderGetAvailableStacksOnPremOptionalParams + options?: ProviderGetAvailableStacksOnPremOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getAvailableStacksOnPremPagingAll(options); return { @@ -439,13 +439,13 @@ export class ProviderImpl implements Provider { throw new Error("maxPageSize is not supported by this operation."); } return this.getAvailableStacksOnPremPagingPage(options, settings); - } + }, }; } private async *getAvailableStacksOnPremPagingPage( options?: ProviderGetAvailableStacksOnPremOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ProviderGetAvailableStacksOnPremResponse; let continuationToken = settings?.continuationToken; @@ -459,7 +459,7 @@ export class ProviderImpl implements Provider { while (continuationToken) { result = await this._getAvailableStacksOnPremNext( continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -469,7 +469,7 @@ export class ProviderImpl implements Provider { } private async *getAvailableStacksOnPremPagingAll( - options?: ProviderGetAvailableStacksOnPremOptionalParams + options?: ProviderGetAvailableStacksOnPremOptionalParams, ): AsyncIterableIterator { for await (const page of this.getAvailableStacksOnPremPagingPage(options)) { yield* page; @@ -481,11 +481,11 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ private _getAvailableStacks( - options?: ProviderGetAvailableStacksOptionalParams + options?: ProviderGetAvailableStacksOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - getAvailableStacksOperationSpec + getAvailableStacksOperationSpec, ); } @@ -494,11 +494,11 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ private _getFunctionAppStacks( - options?: ProviderGetFunctionAppStacksOptionalParams + options?: ProviderGetFunctionAppStacksOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - getFunctionAppStacksOperationSpec + getFunctionAppStacksOperationSpec, ); } @@ -509,11 +509,11 @@ export class ProviderImpl implements Provider { */ private _getFunctionAppStacksForLocation( location: string, - options?: ProviderGetFunctionAppStacksForLocationOptionalParams + options?: ProviderGetFunctionAppStacksForLocationOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, options }, - getFunctionAppStacksForLocationOperationSpec + getFunctionAppStacksForLocationOperationSpec, ); } @@ -524,11 +524,11 @@ export class ProviderImpl implements Provider { */ private _getWebAppStacksForLocation( location: string, - options?: ProviderGetWebAppStacksForLocationOptionalParams + options?: ProviderGetWebAppStacksForLocationOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, options }, - getWebAppStacksForLocationOperationSpec + getWebAppStacksForLocationOperationSpec, ); } @@ -538,11 +538,11 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ private _listOperations( - options?: ProviderListOperationsOptionalParams + options?: ProviderListOperationsOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - listOperationsOperationSpec + listOperationsOperationSpec, ); } @@ -551,11 +551,11 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ private _getWebAppStacks( - options?: ProviderGetWebAppStacksOptionalParams + options?: ProviderGetWebAppStacksOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - getWebAppStacksOperationSpec + getWebAppStacksOperationSpec, ); } @@ -564,11 +564,11 @@ export class ProviderImpl implements Provider { * @param options The options parameters. */ private _getAvailableStacksOnPrem( - options?: ProviderGetAvailableStacksOnPremOptionalParams + options?: ProviderGetAvailableStacksOnPremOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - getAvailableStacksOnPremOperationSpec + getAvailableStacksOnPremOperationSpec, ); } @@ -579,11 +579,11 @@ export class ProviderImpl implements Provider { */ private _getAvailableStacksNext( nextLink: string, - options?: ProviderGetAvailableStacksNextOptionalParams + options?: ProviderGetAvailableStacksNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - getAvailableStacksNextOperationSpec + getAvailableStacksNextOperationSpec, ); } @@ -594,11 +594,11 @@ export class ProviderImpl implements Provider { */ private _getFunctionAppStacksNext( nextLink: string, - options?: ProviderGetFunctionAppStacksNextOptionalParams + options?: ProviderGetFunctionAppStacksNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - getFunctionAppStacksNextOperationSpec + getFunctionAppStacksNextOperationSpec, ); } @@ -612,11 +612,11 @@ export class ProviderImpl implements Provider { private _getFunctionAppStacksForLocationNext( location: string, nextLink: string, - options?: ProviderGetFunctionAppStacksForLocationNextOptionalParams + options?: ProviderGetFunctionAppStacksForLocationNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, nextLink, options }, - getFunctionAppStacksForLocationNextOperationSpec + getFunctionAppStacksForLocationNextOperationSpec, ); } @@ -630,11 +630,11 @@ export class ProviderImpl implements Provider { private _getWebAppStacksForLocationNext( location: string, nextLink: string, - options?: ProviderGetWebAppStacksForLocationNextOptionalParams + options?: ProviderGetWebAppStacksForLocationNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, nextLink, options }, - getWebAppStacksForLocationNextOperationSpec + getWebAppStacksForLocationNextOperationSpec, ); } @@ -645,11 +645,11 @@ export class ProviderImpl implements Provider { */ private _listOperationsNext( nextLink: string, - options?: ProviderListOperationsNextOptionalParams + options?: ProviderListOperationsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listOperationsNextOperationSpec + listOperationsNextOperationSpec, ); } @@ -660,11 +660,11 @@ export class ProviderImpl implements Provider { */ private _getWebAppStacksNext( nextLink: string, - options?: ProviderGetWebAppStacksNextOptionalParams + options?: ProviderGetWebAppStacksNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - getWebAppStacksNextOperationSpec + getWebAppStacksNextOperationSpec, ); } @@ -676,11 +676,11 @@ export class ProviderImpl implements Provider { */ private _getAvailableStacksOnPremNext( nextLink: string, - options?: ProviderGetAvailableStacksOnPremNextOptionalParams + options?: ProviderGetAvailableStacksOnPremNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - getAvailableStacksOnPremNextOperationSpec + getAvailableStacksOnPremNextOperationSpec, ); } } @@ -692,220 +692,220 @@ const getAvailableStacksOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApplicationStackCollection + bodyMapper: Mappers.ApplicationStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const getFunctionAppStacksOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/functionAppStacks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionAppStackCollection + bodyMapper: Mappers.FunctionAppStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const getFunctionAppStacksForLocationOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/locations/{location}/functionAppStacks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionAppStackCollection + bodyMapper: Mappers.FunctionAppStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.location], headerParameters: [Parameters.accept], - serializer + serializer, }; const getWebAppStacksForLocationOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/locations/{location}/webAppStacks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppStackCollection + bodyMapper: Mappers.WebAppStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.location], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationsOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/operations", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmOperationCollection + bodyMapper: Mappers.CsmOperationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const getWebAppStacksOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/webAppStacks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppStackCollection + bodyMapper: Mappers.WebAppStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const getAvailableStacksOnPremOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApplicationStackCollection + bodyMapper: Mappers.ApplicationStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const getAvailableStacksNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApplicationStackCollection + bodyMapper: Mappers.ApplicationStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; const getFunctionAppStacksNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionAppStackCollection + bodyMapper: Mappers.FunctionAppStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getFunctionAppStacksForLocationNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.FunctionAppStackCollection +const getFunctionAppStacksForLocationNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FunctionAppStackCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location], + headerParameters: [Parameters.accept], + serializer, + }; const getWebAppStacksForLocationNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppStackCollection + bodyMapper: Mappers.WebAppStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location], headerParameters: [Parameters.accept], - serializer + serializer, }; const listOperationsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmOperationCollection + bodyMapper: Mappers.CsmOperationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; const getWebAppStacksNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppStackCollection + bodyMapper: Mappers.WebAppStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; const getAvailableStacksOnPremNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApplicationStackCollection + bodyMapper: Mappers.ApplicationStackCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/recommendations.ts b/sdk/appservice/arm-appservice/src/operations/recommendations.ts index 6d1cabd71e96..8ffa54bf3e95 100644 --- a/sdk/appservice/arm-appservice/src/operations/recommendations.ts +++ b/sdk/appservice/arm-appservice/src/operations/recommendations.ts @@ -46,7 +46,7 @@ import { RecommendationsListHistoryForHostingEnvironmentNextResponse, RecommendationsListRecommendedRulesForHostingEnvironmentNextResponse, RecommendationsListHistoryForWebAppNextResponse, - RecommendationsListRecommendedRulesForWebAppNextResponse + RecommendationsListRecommendedRulesForWebAppNextResponse, } from "../models"; /// @@ -67,7 +67,7 @@ export class RecommendationsImpl implements Recommendations { * @param options The options parameters. */ public list( - options?: RecommendationsListOptionalParams + options?: RecommendationsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -82,13 +82,13 @@ export class RecommendationsImpl implements Recommendations { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: RecommendationsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: RecommendationsListResponse; let continuationToken = settings?.continuationToken; @@ -109,7 +109,7 @@ export class RecommendationsImpl implements Recommendations { } private async *listPagingAll( - options?: RecommendationsListOptionalParams + options?: RecommendationsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -125,12 +125,12 @@ export class RecommendationsImpl implements Recommendations { public listHistoryForHostingEnvironment( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams + options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listHistoryForHostingEnvironmentPagingAll( resourceGroupName, hostingEnvironmentName, - options + options, ); return { next() { @@ -147,9 +147,9 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, hostingEnvironmentName, options, - settings + settings, ); - } + }, }; } @@ -157,7 +157,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, hostingEnvironmentName: string, options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: RecommendationsListHistoryForHostingEnvironmentResponse; let continuationToken = settings?.continuationToken; @@ -165,7 +165,7 @@ export class RecommendationsImpl implements Recommendations { result = await this._listHistoryForHostingEnvironment( resourceGroupName, hostingEnvironmentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -177,7 +177,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, hostingEnvironmentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -189,12 +189,12 @@ export class RecommendationsImpl implements Recommendations { private async *listHistoryForHostingEnvironmentPagingAll( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams + options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams, ): AsyncIterableIterator { for await (const page of this.listHistoryForHostingEnvironmentPagingPage( resourceGroupName, hostingEnvironmentName, - options + options, )) { yield* page; } @@ -209,12 +209,12 @@ export class RecommendationsImpl implements Recommendations { public listRecommendedRulesForHostingEnvironment( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams + options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listRecommendedRulesForHostingEnvironmentPagingAll( resourceGroupName, hostingEnvironmentName, - options + options, ); return { next() { @@ -231,9 +231,9 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, hostingEnvironmentName, options, - settings + settings, ); - } + }, }; } @@ -241,7 +241,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, hostingEnvironmentName: string, options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: RecommendationsListRecommendedRulesForHostingEnvironmentResponse; let continuationToken = settings?.continuationToken; @@ -249,7 +249,7 @@ export class RecommendationsImpl implements Recommendations { result = await this._listRecommendedRulesForHostingEnvironment( resourceGroupName, hostingEnvironmentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -261,7 +261,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, hostingEnvironmentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -273,12 +273,12 @@ export class RecommendationsImpl implements Recommendations { private async *listRecommendedRulesForHostingEnvironmentPagingAll( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams + options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams, ): AsyncIterableIterator { for await (const page of this.listRecommendedRulesForHostingEnvironmentPagingPage( resourceGroupName, hostingEnvironmentName, - options + options, )) { yield* page; } @@ -293,12 +293,12 @@ export class RecommendationsImpl implements Recommendations { public listHistoryForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsListHistoryForWebAppOptionalParams + options?: RecommendationsListHistoryForWebAppOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listHistoryForWebAppPagingAll( resourceGroupName, siteName, - options + options, ); return { next() { @@ -315,9 +315,9 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, siteName, options, - settings + settings, ); - } + }, }; } @@ -325,7 +325,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, siteName: string, options?: RecommendationsListHistoryForWebAppOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: RecommendationsListHistoryForWebAppResponse; let continuationToken = settings?.continuationToken; @@ -333,7 +333,7 @@ export class RecommendationsImpl implements Recommendations { result = await this._listHistoryForWebApp( resourceGroupName, siteName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -345,7 +345,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, siteName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -357,12 +357,12 @@ export class RecommendationsImpl implements Recommendations { private async *listHistoryForWebAppPagingAll( resourceGroupName: string, siteName: string, - options?: RecommendationsListHistoryForWebAppOptionalParams + options?: RecommendationsListHistoryForWebAppOptionalParams, ): AsyncIterableIterator { for await (const page of this.listHistoryForWebAppPagingPage( resourceGroupName, siteName, - options + options, )) { yield* page; } @@ -377,12 +377,12 @@ export class RecommendationsImpl implements Recommendations { public listRecommendedRulesForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsListRecommendedRulesForWebAppOptionalParams + options?: RecommendationsListRecommendedRulesForWebAppOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listRecommendedRulesForWebAppPagingAll( resourceGroupName, siteName, - options + options, ); return { next() { @@ -399,9 +399,9 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, siteName, options, - settings + settings, ); - } + }, }; } @@ -409,7 +409,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, siteName: string, options?: RecommendationsListRecommendedRulesForWebAppOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: RecommendationsListRecommendedRulesForWebAppResponse; let continuationToken = settings?.continuationToken; @@ -417,7 +417,7 @@ export class RecommendationsImpl implements Recommendations { result = await this._listRecommendedRulesForWebApp( resourceGroupName, siteName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -429,7 +429,7 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName, siteName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -441,12 +441,12 @@ export class RecommendationsImpl implements Recommendations { private async *listRecommendedRulesForWebAppPagingAll( resourceGroupName: string, siteName: string, - options?: RecommendationsListRecommendedRulesForWebAppOptionalParams + options?: RecommendationsListRecommendedRulesForWebAppOptionalParams, ): AsyncIterableIterator { for await (const page of this.listRecommendedRulesForWebAppPagingPage( resourceGroupName, siteName, - options + options, )) { yield* page; } @@ -457,7 +457,7 @@ export class RecommendationsImpl implements Recommendations { * @param options The options parameters. */ private _list( - options?: RecommendationsListOptionalParams + options?: RecommendationsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -467,11 +467,11 @@ export class RecommendationsImpl implements Recommendations { * @param options The options parameters. */ resetAllFilters( - options?: RecommendationsResetAllFiltersOptionalParams + options?: RecommendationsResetAllFiltersOptionalParams, ): Promise { return this.client.sendOperationRequest( { options }, - resetAllFiltersOperationSpec + resetAllFiltersOperationSpec, ); } @@ -482,11 +482,11 @@ export class RecommendationsImpl implements Recommendations { */ disableRecommendationForSubscription( name: string, - options?: RecommendationsDisableRecommendationForSubscriptionOptionalParams + options?: RecommendationsDisableRecommendationForSubscriptionOptionalParams, ): Promise { return this.client.sendOperationRequest( { name, options }, - disableRecommendationForSubscriptionOperationSpec + disableRecommendationForSubscriptionOperationSpec, ); } @@ -499,11 +499,11 @@ export class RecommendationsImpl implements Recommendations { private _listHistoryForHostingEnvironment( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams + options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, hostingEnvironmentName, options }, - listHistoryForHostingEnvironmentOperationSpec + listHistoryForHostingEnvironmentOperationSpec, ); } @@ -516,11 +516,11 @@ export class RecommendationsImpl implements Recommendations { private _listRecommendedRulesForHostingEnvironment( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams + options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, hostingEnvironmentName, options }, - listRecommendedRulesForHostingEnvironmentOperationSpec + listRecommendedRulesForHostingEnvironmentOperationSpec, ); } @@ -535,11 +535,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, - options?: RecommendationsDisableAllForHostingEnvironmentOptionalParams + options?: RecommendationsDisableAllForHostingEnvironmentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, environmentName, hostingEnvironmentName, options }, - disableAllForHostingEnvironmentOperationSpec + disableAllForHostingEnvironmentOperationSpec, ); } @@ -554,11 +554,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, - options?: RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams + options?: RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, environmentName, hostingEnvironmentName, options }, - resetAllFiltersForHostingEnvironmentOperationSpec + resetAllFiltersForHostingEnvironmentOperationSpec, ); } @@ -573,11 +573,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, hostingEnvironmentName: string, name: string, - options?: RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams + options?: RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, hostingEnvironmentName, name, options }, - getRuleDetailsByHostingEnvironmentOperationSpec + getRuleDetailsByHostingEnvironmentOperationSpec, ); } @@ -594,7 +594,7 @@ export class RecommendationsImpl implements Recommendations { environmentName: string, name: string, hostingEnvironmentName: string, - options?: RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams + options?: RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -602,9 +602,9 @@ export class RecommendationsImpl implements Recommendations { environmentName, name, hostingEnvironmentName, - options + options, }, - disableRecommendationForHostingEnvironmentOperationSpec + disableRecommendationForHostingEnvironmentOperationSpec, ); } @@ -617,11 +617,11 @@ export class RecommendationsImpl implements Recommendations { private _listHistoryForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsListHistoryForWebAppOptionalParams + options?: RecommendationsListHistoryForWebAppOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, options }, - listHistoryForWebAppOperationSpec + listHistoryForWebAppOperationSpec, ); } @@ -634,11 +634,11 @@ export class RecommendationsImpl implements Recommendations { private _listRecommendedRulesForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsListRecommendedRulesForWebAppOptionalParams + options?: RecommendationsListRecommendedRulesForWebAppOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, options }, - listRecommendedRulesForWebAppOperationSpec + listRecommendedRulesForWebAppOperationSpec, ); } @@ -651,11 +651,11 @@ export class RecommendationsImpl implements Recommendations { disableAllForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsDisableAllForWebAppOptionalParams + options?: RecommendationsDisableAllForWebAppOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, options }, - disableAllForWebAppOperationSpec + disableAllForWebAppOperationSpec, ); } @@ -668,11 +668,11 @@ export class RecommendationsImpl implements Recommendations { resetAllFiltersForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsResetAllFiltersForWebAppOptionalParams + options?: RecommendationsResetAllFiltersForWebAppOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, options }, - resetAllFiltersForWebAppOperationSpec + resetAllFiltersForWebAppOperationSpec, ); } @@ -687,11 +687,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, siteName: string, name: string, - options?: RecommendationsGetRuleDetailsByWebAppOptionalParams + options?: RecommendationsGetRuleDetailsByWebAppOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, name, options }, - getRuleDetailsByWebAppOperationSpec + getRuleDetailsByWebAppOperationSpec, ); } @@ -706,11 +706,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, siteName: string, name: string, - options?: RecommendationsDisableRecommendationForSiteOptionalParams + options?: RecommendationsDisableRecommendationForSiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, name, options }, - disableRecommendationForSiteOperationSpec + disableRecommendationForSiteOperationSpec, ); } @@ -721,11 +721,11 @@ export class RecommendationsImpl implements Recommendations { */ private _listNext( nextLink: string, - options?: RecommendationsListNextOptionalParams + options?: RecommendationsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -741,11 +741,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, hostingEnvironmentName: string, nextLink: string, - options?: RecommendationsListHistoryForHostingEnvironmentNextOptionalParams + options?: RecommendationsListHistoryForHostingEnvironmentNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, hostingEnvironmentName, nextLink, options }, - listHistoryForHostingEnvironmentNextOperationSpec + listHistoryForHostingEnvironmentNextOperationSpec, ); } @@ -761,13 +761,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, hostingEnvironmentName: string, nextLink: string, - options?: RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams - ): Promise< - RecommendationsListRecommendedRulesForHostingEnvironmentNextResponse - > { + options?: RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, hostingEnvironmentName, nextLink, options }, - listRecommendedRulesForHostingEnvironmentNextOperationSpec + listRecommendedRulesForHostingEnvironmentNextOperationSpec, ); } @@ -782,11 +780,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, siteName: string, nextLink: string, - options?: RecommendationsListHistoryForWebAppNextOptionalParams + options?: RecommendationsListHistoryForWebAppNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, nextLink, options }, - listHistoryForWebAppNextOperationSpec + listHistoryForWebAppNextOperationSpec, ); } @@ -802,11 +800,11 @@ export class RecommendationsImpl implements Recommendations { resourceGroupName: string, siteName: string, nextLink: string, - options?: RecommendationsListRecommendedRulesForWebAppNextOptionalParams + options?: RecommendationsListRecommendedRulesForWebAppNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, siteName, nextLink, options }, - listRecommendedRulesForWebAppNextOperationSpec + listRecommendedRulesForWebAppNextOperationSpec, ); } } @@ -814,324 +812,319 @@ export class RecommendationsImpl implements Recommendations { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RecommendationCollection + bodyMapper: Mappers.RecommendationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, - Parameters.featured + Parameters.featured, ], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const resetAllFiltersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; -const disableRecommendationForSubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name], - headerParameters: [Parameters.accept], - serializer -}; -const listHistoryForHostingEnvironmentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RecommendationCollection +const disableRecommendationForSubscriptionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.expiredOnly - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.hostingEnvironmentName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listRecommendedRulesForHostingEnvironmentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RecommendationCollection + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listHistoryForHostingEnvironmentOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter, - Parameters.featured - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.hostingEnvironmentName - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.expiredOnly, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listRecommendedRulesForHostingEnvironmentOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.featured, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const disableAllForHostingEnvironmentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.environmentName], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.hostingEnvironmentName - ], - headerParameters: [Parameters.accept], - serializer -}; -const resetAllFiltersForHostingEnvironmentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset", - httpMethod: "POST", - responses: { - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.environmentName], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.hostingEnvironmentName - ], - headerParameters: [Parameters.accept], - serializer -}; -const getRuleDetailsByHostingEnvironmentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RecommendationRule + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.updateSeen, - Parameters.recommendationId - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.hostingEnvironmentName - ], - headerParameters: [Parameters.accept], - serializer -}; -const disableRecommendationForHostingEnvironmentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion, Parameters.environmentName], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name, - Parameters.hostingEnvironmentName + Parameters.hostingEnvironmentName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const resetAllFiltersForHostingEnvironmentOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset", + httpMethod: "POST", + responses: { + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.environmentName], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getRuleDetailsByHostingEnvironmentOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RecommendationRule, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.updateSeen, + Parameters.recommendationId, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.hostingEnvironmentName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const disableRecommendationForHostingEnvironmentOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.environmentName], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.hostingEnvironmentName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listHistoryForWebAppOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RecommendationCollection + bodyMapper: Mappers.RecommendationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, - Parameters.expiredOnly + Parameters.expiredOnly, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listRecommendedRulesForWebAppOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RecommendationCollection + bodyMapper: Mappers.RecommendationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.filter, - Parameters.featured + Parameters.featured, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const disableAllForWebAppOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const resetAllFiltersForWebAppOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getRuleDetailsByWebAppOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RecommendationRule + bodyMapper: Mappers.RecommendationRule, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.updateSeen, - Parameters.recommendationId + Parameters.recommendationId, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const disableRecommendationForSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1139,111 +1132,114 @@ const disableRecommendationForSiteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RecommendationCollection + bodyMapper: Mappers.RecommendationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listHistoryForHostingEnvironmentNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RecommendationCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, - Parameters.hostingEnvironmentName ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listRecommendedRulesForHostingEnvironmentNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RecommendationCollection +const listHistoryForHostingEnvironmentNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - Parameters.hostingEnvironmentName - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.hostingEnvironmentName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listRecommendedRulesForHostingEnvironmentNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.hostingEnvironmentName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listHistoryForWebAppNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RecommendationCollection + bodyMapper: Mappers.RecommendationCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - Parameters.siteName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listRecommendedRulesForWebAppNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RecommendationCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.nextLink, - Parameters.siteName + Parameters.siteName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const listRecommendedRulesForWebAppNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.siteName, + ], + headerParameters: [Parameters.accept], + serializer, + }; diff --git a/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts b/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts index 2bfe0f7a86ed..1eaba2d71990 100644 --- a/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts +++ b/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts @@ -34,13 +34,14 @@ import { ResourceHealthMetadataListNextResponse, ResourceHealthMetadataListByResourceGroupNextResponse, ResourceHealthMetadataListBySiteNextResponse, - ResourceHealthMetadataListBySiteSlotNextResponse + ResourceHealthMetadataListBySiteSlotNextResponse, } from "../models"; /// /** Class containing ResourceHealthMetadataOperations operations. */ export class ResourceHealthMetadataOperationsImpl - implements ResourceHealthMetadataOperations { + implements ResourceHealthMetadataOperations +{ private readonly client: WebSiteManagementClient; /** @@ -56,7 +57,7 @@ export class ResourceHealthMetadataOperationsImpl * @param options The options parameters. */ public list( - options?: ResourceHealthMetadataListOptionalParams + options?: ResourceHealthMetadataListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -71,13 +72,13 @@ export class ResourceHealthMetadataOperationsImpl throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: ResourceHealthMetadataListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ResourceHealthMetadataListResponse; let continuationToken = settings?.continuationToken; @@ -98,7 +99,7 @@ export class ResourceHealthMetadataOperationsImpl } private async *listPagingAll( - options?: ResourceHealthMetadataListOptionalParams + options?: ResourceHealthMetadataListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -113,7 +114,7 @@ export class ResourceHealthMetadataOperationsImpl */ public listByResourceGroup( resourceGroupName: string, - options?: ResourceHealthMetadataListByResourceGroupOptionalParams + options?: ResourceHealthMetadataListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -130,16 +131,16 @@ export class ResourceHealthMetadataOperationsImpl return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: ResourceHealthMetadataListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ResourceHealthMetadataListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -154,7 +155,7 @@ export class ResourceHealthMetadataOperationsImpl result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -165,11 +166,11 @@ export class ResourceHealthMetadataOperationsImpl private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: ResourceHealthMetadataListByResourceGroupOptionalParams + options?: ResourceHealthMetadataListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -185,7 +186,7 @@ export class ResourceHealthMetadataOperationsImpl public listBySite( resourceGroupName: string, name: string, - options?: ResourceHealthMetadataListBySiteOptionalParams + options?: ResourceHealthMetadataListBySiteOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBySitePagingAll(resourceGroupName, name, options); return { @@ -203,9 +204,9 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -213,7 +214,7 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName: string, name: string, options?: ResourceHealthMetadataListBySiteOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ResourceHealthMetadataListBySiteResponse; let continuationToken = settings?.continuationToken; @@ -229,7 +230,7 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -241,12 +242,12 @@ export class ResourceHealthMetadataOperationsImpl private async *listBySitePagingAll( resourceGroupName: string, name: string, - options?: ResourceHealthMetadataListBySiteOptionalParams + options?: ResourceHealthMetadataListBySiteOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBySitePagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -264,13 +265,13 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName: string, name: string, slot: string, - options?: ResourceHealthMetadataListBySiteSlotOptionalParams + options?: ResourceHealthMetadataListBySiteSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBySiteSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -288,9 +289,9 @@ export class ResourceHealthMetadataOperationsImpl name, slot, options, - settings + settings, ); - } + }, }; } @@ -299,7 +300,7 @@ export class ResourceHealthMetadataOperationsImpl name: string, slot: string, options?: ResourceHealthMetadataListBySiteSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ResourceHealthMetadataListBySiteSlotResponse; let continuationToken = settings?.continuationToken; @@ -308,7 +309,7 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -321,7 +322,7 @@ export class ResourceHealthMetadataOperationsImpl name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -334,13 +335,13 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName: string, name: string, slot: string, - options?: ResourceHealthMetadataListBySiteSlotOptionalParams + options?: ResourceHealthMetadataListBySiteSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBySiteSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -351,7 +352,7 @@ export class ResourceHealthMetadataOperationsImpl * @param options The options parameters. */ private _list( - options?: ResourceHealthMetadataListOptionalParams + options?: ResourceHealthMetadataListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -364,11 +365,11 @@ export class ResourceHealthMetadataOperationsImpl */ private _listByResourceGroup( resourceGroupName: string, - options?: ResourceHealthMetadataListByResourceGroupOptionalParams + options?: ResourceHealthMetadataListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -382,11 +383,11 @@ export class ResourceHealthMetadataOperationsImpl private _listBySite( resourceGroupName: string, name: string, - options?: ResourceHealthMetadataListBySiteOptionalParams + options?: ResourceHealthMetadataListBySiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listBySiteOperationSpec + listBySiteOperationSpec, ); } @@ -399,11 +400,11 @@ export class ResourceHealthMetadataOperationsImpl getBySite( resourceGroupName: string, name: string, - options?: ResourceHealthMetadataGetBySiteOptionalParams + options?: ResourceHealthMetadataGetBySiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getBySiteOperationSpec + getBySiteOperationSpec, ); } @@ -419,11 +420,11 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName: string, name: string, slot: string, - options?: ResourceHealthMetadataListBySiteSlotOptionalParams + options?: ResourceHealthMetadataListBySiteSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listBySiteSlotOperationSpec + listBySiteSlotOperationSpec, ); } @@ -438,11 +439,11 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName: string, name: string, slot: string, - options?: ResourceHealthMetadataGetBySiteSlotOptionalParams + options?: ResourceHealthMetadataGetBySiteSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getBySiteSlotOperationSpec + getBySiteSlotOperationSpec, ); } @@ -453,11 +454,11 @@ export class ResourceHealthMetadataOperationsImpl */ private _listNext( nextLink: string, - options?: ResourceHealthMetadataListNextOptionalParams + options?: ResourceHealthMetadataListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -470,11 +471,11 @@ export class ResourceHealthMetadataOperationsImpl private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: ResourceHealthMetadataListByResourceGroupNextOptionalParams + options?: ResourceHealthMetadataListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } @@ -489,11 +490,11 @@ export class ResourceHealthMetadataOperationsImpl resourceGroupName: string, name: string, nextLink: string, - options?: ResourceHealthMetadataListBySiteNextOptionalParams + options?: ResourceHealthMetadataListBySiteNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listBySiteNextOperationSpec + listBySiteNextOperationSpec, ); } @@ -510,11 +511,11 @@ export class ResourceHealthMetadataOperationsImpl name: string, slot: string, nextLink: string, - options?: ResourceHealthMetadataListBySiteSlotNextOptionalParams + options?: ResourceHealthMetadataListBySiteSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listBySiteSlotNextOperationSpec + listBySiteSlotNextOperationSpec, ); } } @@ -522,98 +523,93 @@ export class ResourceHealthMetadataOperationsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBySiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBySiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadata + bodyMapper: Mappers.ResourceHealthMetadata, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBySiteSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -621,22 +617,21 @@ const listBySiteSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBySiteSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadata + bodyMapper: Mappers.ResourceHealthMetadata, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -644,81 +639,81 @@ const getBySiteSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBySiteNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBySiteSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ResourceHealthMetadataCollection + bodyMapper: Mappers.ResourceHealthMetadataCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -726,8 +721,8 @@ const listBySiteSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/staticSites.ts b/sdk/appservice/arm-appservice/src/operations/staticSites.ts index be7467cd202b..3881e9c8662d 100644 --- a/sdk/appservice/arm-appservice/src/operations/staticSites.ts +++ b/sdk/appservice/arm-appservice/src/operations/staticSites.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -163,7 +163,6 @@ import { StaticSitesListStaticSiteSecretsResponse, StaticSitesGetPrivateEndpointConnectionOptionalParams, StaticSitesGetPrivateEndpointConnectionResponse, - PrivateLinkConnectionApprovalRequestResource, StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse, StaticSitesDeletePrivateEndpointConnectionOptionalParams, @@ -206,7 +205,7 @@ import { StaticSitesGetDatabaseConnectionsWithDetailsNextResponse, StaticSitesGetUserProvidedFunctionAppsForStaticSiteNextResponse, StaticSitesGetLinkedBackendsNextResponse, - StaticSitesGetLinkedBackendsForBuildNextResponse + StaticSitesGetLinkedBackendsForBuildNextResponse, } from "../models"; /// @@ -227,7 +226,7 @@ export class StaticSitesImpl implements StaticSites { * @param options The options parameters. */ public list( - options?: StaticSitesListOptionalParams + options?: StaticSitesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -242,13 +241,13 @@ export class StaticSitesImpl implements StaticSites { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: StaticSitesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesListResponse; let continuationToken = settings?.continuationToken; @@ -269,7 +268,7 @@ export class StaticSitesImpl implements StaticSites { } private async *listPagingAll( - options?: StaticSitesListOptionalParams + options?: StaticSitesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -283,11 +282,11 @@ export class StaticSitesImpl implements StaticSites { */ public listStaticSitesByResourceGroup( resourceGroupName: string, - options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams + options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getStaticSitesByResourceGroupPagingAll( resourceGroupName, - options + options, ); return { next() { @@ -303,23 +302,23 @@ export class StaticSitesImpl implements StaticSites { return this.getStaticSitesByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *getStaticSitesByResourceGroupPagingPage( resourceGroupName: string, options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetStaticSitesByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { result = await this._getStaticSitesByResourceGroup( resourceGroupName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -330,7 +329,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._getStaticSitesByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -341,11 +340,11 @@ export class StaticSitesImpl implements StaticSites { private async *getStaticSitesByResourceGroupPagingAll( resourceGroupName: string, - options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams + options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.getStaticSitesByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -362,13 +361,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, authprovider: string, - options?: StaticSitesListStaticSiteUsersOptionalParams + options?: StaticSitesListStaticSiteUsersOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listStaticSiteUsersPagingAll( resourceGroupName, name, authprovider, - options + options, ); return { next() { @@ -386,9 +385,9 @@ export class StaticSitesImpl implements StaticSites { name, authprovider, options, - settings + settings, ); - } + }, }; } @@ -397,7 +396,7 @@ export class StaticSitesImpl implements StaticSites { name: string, authprovider: string, options?: StaticSitesListStaticSiteUsersOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesListStaticSiteUsersResponse; let continuationToken = settings?.continuationToken; @@ -406,7 +405,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, authprovider, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -419,7 +418,7 @@ export class StaticSitesImpl implements StaticSites { name, authprovider, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -432,13 +431,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, authprovider: string, - options?: StaticSitesListStaticSiteUsersOptionalParams + options?: StaticSitesListStaticSiteUsersOptionalParams, ): AsyncIterableIterator { for await (const page of this.listStaticSiteUsersPagingPage( resourceGroupName, name, authprovider, - options + options, )) { yield* page; } @@ -453,12 +452,12 @@ export class StaticSitesImpl implements StaticSites { public listStaticSiteBuilds( resourceGroupName: string, name: string, - options?: StaticSitesGetStaticSiteBuildsOptionalParams + options?: StaticSitesGetStaticSiteBuildsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getStaticSiteBuildsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -475,9 +474,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -485,7 +484,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesGetStaticSiteBuildsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetStaticSiteBuildsResponse; let continuationToken = settings?.continuationToken; @@ -493,7 +492,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._getStaticSiteBuilds( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -505,7 +504,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -517,12 +516,12 @@ export class StaticSitesImpl implements StaticSites { private async *getStaticSiteBuildsPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesGetStaticSiteBuildsOptionalParams + options?: StaticSitesGetStaticSiteBuildsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getStaticSiteBuildsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -539,13 +538,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getBuildDatabaseConnectionsPagingAll( resourceGroupName, name, environmentName, - options + options, ); return { next() { @@ -563,9 +562,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, options, - settings + settings, ); - } + }, }; } @@ -574,7 +573,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetBuildDatabaseConnectionsResponse; let continuationToken = settings?.continuationToken; @@ -583,7 +582,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, environmentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -596,7 +595,7 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -609,13 +608,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getBuildDatabaseConnectionsPagingPage( resourceGroupName, name, environmentName, - options + options, )) { yield* page; } @@ -632,13 +631,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams + options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listStaticSiteBuildFunctionsPagingAll( resourceGroupName, name, environmentName, - options + options, ); return { next() { @@ -656,9 +655,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, options, - settings + settings, ); - } + }, }; } @@ -667,7 +666,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesListStaticSiteBuildFunctionsResponse; let continuationToken = settings?.continuationToken; @@ -676,7 +675,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, environmentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -689,7 +688,7 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -702,13 +701,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams + options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listStaticSiteBuildFunctionsPagingPage( resourceGroupName, name, environmentName, - options + options, )) { yield* page; } @@ -725,13 +724,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getBuildDatabaseConnectionsWithDetailsPagingAll( resourceGroupName, name, environmentName, - options + options, ); return { next() { @@ -749,9 +748,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, options, - settings + settings, ); - } + }, }; } @@ -760,7 +759,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetBuildDatabaseConnectionsWithDetailsResponse; let continuationToken = settings?.continuationToken; @@ -769,7 +768,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, environmentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -782,7 +781,7 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -795,13 +794,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getBuildDatabaseConnectionsWithDetailsPagingPage( resourceGroupName, name, environmentName, - options + options, )) { yield* page; } @@ -819,13 +818,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getUserProvidedFunctionAppsForStaticSiteBuildPagingAll( resourceGroupName, name, environmentName, - options + options, ); return { next() { @@ -843,9 +842,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, options, - settings + settings, ); - } + }, }; } @@ -854,7 +853,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildResponse; let continuationToken = settings?.continuationToken; @@ -863,7 +862,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, environmentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -876,7 +875,7 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -889,13 +888,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams, ): AsyncIterableIterator { for await (const page of this.getUserProvidedFunctionAppsForStaticSiteBuildPagingPage( resourceGroupName, name, environmentName, - options + options, )) { yield* page; } @@ -910,7 +909,7 @@ export class StaticSitesImpl implements StaticSites { public listBasicAuth( resourceGroupName: string, name: string, - options?: StaticSitesListBasicAuthOptionalParams + options?: StaticSitesListBasicAuthOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBasicAuthPagingAll(resourceGroupName, name, options); return { @@ -928,9 +927,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -938,7 +937,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesListBasicAuthOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesListBasicAuthResponse; let continuationToken = settings?.continuationToken; @@ -954,7 +953,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -966,12 +965,12 @@ export class StaticSitesImpl implements StaticSites { private async *listBasicAuthPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesListBasicAuthOptionalParams + options?: StaticSitesListBasicAuthOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBasicAuthPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -986,12 +985,12 @@ export class StaticSitesImpl implements StaticSites { public listStaticSiteCustomDomains( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteCustomDomainsOptionalParams + options?: StaticSitesListStaticSiteCustomDomainsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listStaticSiteCustomDomainsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1008,9 +1007,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1018,7 +1017,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteCustomDomainsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesListStaticSiteCustomDomainsResponse; let continuationToken = settings?.continuationToken; @@ -1026,7 +1025,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._listStaticSiteCustomDomains( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1038,7 +1037,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1050,12 +1049,12 @@ export class StaticSitesImpl implements StaticSites { private async *listStaticSiteCustomDomainsPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteCustomDomainsOptionalParams + options?: StaticSitesListStaticSiteCustomDomainsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listStaticSiteCustomDomainsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1070,12 +1069,12 @@ export class StaticSitesImpl implements StaticSites { public listDatabaseConnections( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsOptionalParams + options?: StaticSitesGetDatabaseConnectionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getDatabaseConnectionsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1092,9 +1091,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1102,7 +1101,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesGetDatabaseConnectionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetDatabaseConnectionsResponse; let continuationToken = settings?.continuationToken; @@ -1110,7 +1109,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._getDatabaseConnections( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1122,7 +1121,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1134,12 +1133,12 @@ export class StaticSitesImpl implements StaticSites { private async *getDatabaseConnectionsPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsOptionalParams + options?: StaticSitesGetDatabaseConnectionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getDatabaseConnectionsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1154,12 +1153,12 @@ export class StaticSitesImpl implements StaticSites { public listStaticSiteFunctions( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteFunctionsOptionalParams + options?: StaticSitesListStaticSiteFunctionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listStaticSiteFunctionsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1176,9 +1175,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1186,7 +1185,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteFunctionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesListStaticSiteFunctionsResponse; let continuationToken = settings?.continuationToken; @@ -1194,7 +1193,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._listStaticSiteFunctions( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1206,7 +1205,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1218,12 +1217,12 @@ export class StaticSitesImpl implements StaticSites { private async *listStaticSiteFunctionsPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteFunctionsOptionalParams + options?: StaticSitesListStaticSiteFunctionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listStaticSiteFunctionsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1238,12 +1237,12 @@ export class StaticSitesImpl implements StaticSites { public listPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams + options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getPrivateEndpointConnectionListPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1260,9 +1259,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1270,7 +1269,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetPrivateEndpointConnectionListResponse; let continuationToken = settings?.continuationToken; @@ -1278,7 +1277,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._getPrivateEndpointConnectionList( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1290,7 +1289,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1302,12 +1301,12 @@ export class StaticSitesImpl implements StaticSites { private async *getPrivateEndpointConnectionListPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams + options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams, ): AsyncIterableIterator { for await (const page of this.getPrivateEndpointConnectionListPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1322,12 +1321,12 @@ export class StaticSitesImpl implements StaticSites { public listDatabaseConnectionsWithDetails( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getDatabaseConnectionsWithDetailsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1344,9 +1343,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1354,7 +1353,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetDatabaseConnectionsWithDetailsResponse; let continuationToken = settings?.continuationToken; @@ -1362,7 +1361,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._getDatabaseConnectionsWithDetails( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1374,7 +1373,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1386,12 +1385,12 @@ export class StaticSitesImpl implements StaticSites { private async *getDatabaseConnectionsWithDetailsPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getDatabaseConnectionsWithDetailsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1406,12 +1405,12 @@ export class StaticSitesImpl implements StaticSites { public listUserProvidedFunctionAppsForStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getUserProvidedFunctionAppsForStaticSitePagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1428,9 +1427,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1438,7 +1437,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetUserProvidedFunctionAppsForStaticSiteResponse; let continuationToken = settings?.continuationToken; @@ -1446,7 +1445,7 @@ export class StaticSitesImpl implements StaticSites { result = await this._getUserProvidedFunctionAppsForStaticSite( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1458,7 +1457,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1470,12 +1469,12 @@ export class StaticSitesImpl implements StaticSites { private async *getUserProvidedFunctionAppsForStaticSitePagingAll( resourceGroupName: string, name: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams, ): AsyncIterableIterator { for await (const page of this.getUserProvidedFunctionAppsForStaticSitePagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1490,12 +1489,12 @@ export class StaticSitesImpl implements StaticSites { public listLinkedBackends( resourceGroupName: string, name: string, - options?: StaticSitesGetLinkedBackendsOptionalParams + options?: StaticSitesGetLinkedBackendsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getLinkedBackendsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1512,9 +1511,9 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1522,7 +1521,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, options?: StaticSitesGetLinkedBackendsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetLinkedBackendsResponse; let continuationToken = settings?.continuationToken; @@ -1538,7 +1537,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1550,12 +1549,12 @@ export class StaticSitesImpl implements StaticSites { private async *getLinkedBackendsPagingAll( resourceGroupName: string, name: string, - options?: StaticSitesGetLinkedBackendsOptionalParams + options?: StaticSitesGetLinkedBackendsOptionalParams, ): AsyncIterableIterator { for await (const page of this.getLinkedBackendsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1572,13 +1571,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetLinkedBackendsForBuildOptionalParams + options?: StaticSitesGetLinkedBackendsForBuildOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getLinkedBackendsForBuildPagingAll( resourceGroupName, name, environmentName, - options + options, ); return { next() { @@ -1596,9 +1595,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, options, - settings + settings, ); - } + }, }; } @@ -1607,7 +1606,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, options?: StaticSitesGetLinkedBackendsForBuildOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: StaticSitesGetLinkedBackendsForBuildResponse; let continuationToken = settings?.continuationToken; @@ -1616,7 +1615,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, environmentName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1629,7 +1628,7 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1642,13 +1641,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetLinkedBackendsForBuildOptionalParams + options?: StaticSitesGetLinkedBackendsForBuildOptionalParams, ): AsyncIterableIterator { for await (const page of this.getLinkedBackendsForBuildPagingPage( resourceGroupName, name, environmentName, - options + options, )) { yield* page; } @@ -1664,11 +1663,11 @@ export class StaticSitesImpl implements StaticSites { previewWorkflow( location: string, staticSitesWorkflowPreviewRequest: StaticSitesWorkflowPreviewRequest, - options?: StaticSitesPreviewWorkflowOptionalParams + options?: StaticSitesPreviewWorkflowOptionalParams, ): Promise { return this.client.sendOperationRequest( { location, staticSitesWorkflowPreviewRequest, options }, - previewWorkflowOperationSpec + previewWorkflowOperationSpec, ); } @@ -1677,7 +1676,7 @@ export class StaticSitesImpl implements StaticSites { * @param options The options parameters. */ private _list( - options?: StaticSitesListOptionalParams + options?: StaticSitesListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -1689,11 +1688,11 @@ export class StaticSitesImpl implements StaticSites { */ private _getStaticSitesByResourceGroup( resourceGroupName: string, - options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams + options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - getStaticSitesByResourceGroupOperationSpec + getStaticSitesByResourceGroupOperationSpec, ); } @@ -1706,11 +1705,11 @@ export class StaticSitesImpl implements StaticSites { getStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesGetStaticSiteOptionalParams + options?: StaticSitesGetStaticSiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getStaticSiteOperationSpec + getStaticSiteOperationSpec, ); } @@ -1726,7 +1725,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -1735,21 +1734,20 @@ export class StaticSitesImpl implements StaticSites { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -1758,8 +1756,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -1767,22 +1765,22 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, staticSiteEnvelope, options }, - spec: createOrUpdateStaticSiteOperationSpec + spec: createOrUpdateStaticSiteOperationSpec, }); const poller = await createHttpPoller< StaticSitesCreateOrUpdateStaticSiteResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -1800,13 +1798,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateStaticSite( resourceGroupName, name, staticSiteEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -1820,25 +1818,24 @@ export class StaticSitesImpl implements StaticSites { async beginDeleteStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesDeleteStaticSiteOptionalParams + options?: StaticSitesDeleteStaticSiteOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -1847,8 +1844,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -1856,19 +1853,19 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: deleteStaticSiteOperationSpec + spec: deleteStaticSiteOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -1883,12 +1880,12 @@ export class StaticSitesImpl implements StaticSites { async beginDeleteStaticSiteAndWait( resourceGroupName: string, name: string, - options?: StaticSitesDeleteStaticSiteOptionalParams + options?: StaticSitesDeleteStaticSiteOptionalParams, ): Promise { const poller = await this.beginDeleteStaticSite( resourceGroupName, name, - options + options, ); return poller.pollUntilDone(); } @@ -1905,11 +1902,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, staticSiteEnvelope: StaticSitePatchResource, - options?: StaticSitesUpdateStaticSiteOptionalParams + options?: StaticSitesUpdateStaticSiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, staticSiteEnvelope, options }, - updateStaticSiteOperationSpec + updateStaticSiteOperationSpec, ); } @@ -1924,11 +1921,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, authprovider: string, - options?: StaticSitesListStaticSiteUsersOptionalParams + options?: StaticSitesListStaticSiteUsersOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, authprovider, options }, - listStaticSiteUsersOperationSpec + listStaticSiteUsersOperationSpec, ); } @@ -1945,11 +1942,11 @@ export class StaticSitesImpl implements StaticSites { name: string, authprovider: string, userid: string, - options?: StaticSitesDeleteStaticSiteUserOptionalParams + options?: StaticSitesDeleteStaticSiteUserOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, authprovider, userid, options }, - deleteStaticSiteUserOperationSpec + deleteStaticSiteUserOperationSpec, ); } @@ -1968,7 +1965,7 @@ export class StaticSitesImpl implements StaticSites { authprovider: string, userid: string, staticSiteUserEnvelope: StaticSiteUserARMResource, - options?: StaticSitesUpdateStaticSiteUserOptionalParams + options?: StaticSitesUpdateStaticSiteUserOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -1977,9 +1974,9 @@ export class StaticSitesImpl implements StaticSites { authprovider, userid, staticSiteUserEnvelope, - options + options, }, - updateStaticSiteUserOperationSpec + updateStaticSiteUserOperationSpec, ); } @@ -1992,11 +1989,11 @@ export class StaticSitesImpl implements StaticSites { private _getStaticSiteBuilds( resourceGroupName: string, name: string, - options?: StaticSitesGetStaticSiteBuildsOptionalParams + options?: StaticSitesGetStaticSiteBuildsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getStaticSiteBuildsOperationSpec + getStaticSiteBuildsOperationSpec, ); } @@ -2011,11 +2008,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetStaticSiteBuildOptionalParams + options?: StaticSitesGetStaticSiteBuildOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - getStaticSiteBuildOperationSpec + getStaticSiteBuildOperationSpec, ); } @@ -2030,25 +2027,24 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesDeleteStaticSiteBuildOptionalParams + options?: StaticSitesDeleteStaticSiteBuildOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2057,8 +2053,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2066,19 +2062,19 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, environmentName, options }, - spec: deleteStaticSiteBuildOperationSpec + spec: deleteStaticSiteBuildOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2095,13 +2091,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesDeleteStaticSiteBuildOptionalParams + options?: StaticSitesDeleteStaticSiteBuildOptionalParams, ): Promise { const poller = await this.beginDeleteStaticSiteBuild( resourceGroupName, name, environmentName, - options + options, ); return poller.pollUntilDone(); } @@ -2119,11 +2115,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, appSettings, options }, - createOrUpdateStaticSiteBuildAppSettingsOperationSpec + createOrUpdateStaticSiteBuildAppSettingsOperationSpec, ); } @@ -2140,13 +2136,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams - ): Promise< - StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse - > { + options?: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, appSettings, options }, - createOrUpdateStaticSiteBuildFunctionAppSettingsOperationSpec + createOrUpdateStaticSiteBuildFunctionAppSettingsOperationSpec, ); } @@ -2161,11 +2155,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - getBuildDatabaseConnectionsOperationSpec + getBuildDatabaseConnectionsOperationSpec, ); } @@ -2182,7 +2176,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, databaseConnectionName: string, - options?: StaticSitesGetBuildDatabaseConnectionOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -2190,9 +2184,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, databaseConnectionName, - options + options, }, - getBuildDatabaseConnectionOperationSpec + getBuildDatabaseConnectionOperationSpec, ); } @@ -2212,7 +2206,7 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnection, - options?: StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams + options?: StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -2221,9 +2215,9 @@ export class StaticSitesImpl implements StaticSites { environmentName, databaseConnectionName, databaseConnectionRequestEnvelope, - options + options, }, - createOrUpdateBuildDatabaseConnectionOperationSpec + createOrUpdateBuildDatabaseConnectionOperationSpec, ); } @@ -2240,7 +2234,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, databaseConnectionName: string, - options?: StaticSitesDeleteBuildDatabaseConnectionOptionalParams + options?: StaticSitesDeleteBuildDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -2248,9 +2242,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, databaseConnectionName, - options + options, }, - deleteBuildDatabaseConnectionOperationSpec + deleteBuildDatabaseConnectionOperationSpec, ); } @@ -2270,7 +2264,7 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnectionPatchRequest, - options?: StaticSitesUpdateBuildDatabaseConnectionOptionalParams + options?: StaticSitesUpdateBuildDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -2279,9 +2273,9 @@ export class StaticSitesImpl implements StaticSites { environmentName, databaseConnectionName, databaseConnectionRequestEnvelope, - options + options, }, - updateBuildDatabaseConnectionOperationSpec + updateBuildDatabaseConnectionOperationSpec, ); } @@ -2298,7 +2292,7 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, databaseConnectionName: string, - options?: StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -2306,9 +2300,9 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, databaseConnectionName, - options + options, }, - getBuildDatabaseConnectionWithDetailsOperationSpec + getBuildDatabaseConnectionWithDetailsOperationSpec, ); } @@ -2323,11 +2317,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams + options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - listStaticSiteBuildFunctionsOperationSpec + listStaticSiteBuildFunctionsOperationSpec, ); } @@ -2342,11 +2336,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildAppSettingsOptionalParams + options?: StaticSitesListStaticSiteBuildAppSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - listStaticSiteBuildAppSettingsOperationSpec + listStaticSiteBuildAppSettingsOperationSpec, ); } @@ -2361,11 +2355,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams + options?: StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - listStaticSiteBuildFunctionAppSettingsOperationSpec + listStaticSiteBuildFunctionAppSettingsOperationSpec, ); } @@ -2380,11 +2374,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - getBuildDatabaseConnectionsWithDetailsOperationSpec + getBuildDatabaseConnectionsWithDetailsOperationSpec, ); } @@ -2400,11 +2394,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - getUserProvidedFunctionAppsForStaticSiteBuildOperationSpec + getUserProvidedFunctionAppsForStaticSiteBuildOperationSpec, ); } @@ -2422,11 +2416,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, functionAppName: string, - options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, functionAppName, options }, - getUserProvidedFunctionAppForStaticSiteBuildOperationSpec + getUserProvidedFunctionAppForStaticSiteBuildOperationSpec, ); } @@ -2446,32 +2440,29 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams, ): Promise< SimplePollerLike< - OperationState< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse - >, + OperationState, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2480,8 +2471,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2489,8 +2480,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -2502,18 +2493,16 @@ export class StaticSitesImpl implements StaticSites { environmentName, functionAppName, staticSiteUserProvidedFunctionEnvelope, - options + options, }, - spec: registerUserProvidedFunctionAppWithStaticSiteBuildOperationSpec + spec: registerUserProvidedFunctionAppWithStaticSiteBuildOperationSpec, }); const poller = await createHttpPoller< StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse, - OperationState< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse - > + OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2535,18 +2524,17 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams - ): Promise< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse - > { - const poller = await this.beginRegisterUserProvidedFunctionAppWithStaticSiteBuild( - resourceGroupName, - name, - environmentName, - functionAppName, - staticSiteUserProvidedFunctionEnvelope, - options - ); + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams, + ): Promise { + const poller = + await this.beginRegisterUserProvidedFunctionAppWithStaticSiteBuild( + resourceGroupName, + name, + environmentName, + functionAppName, + staticSiteUserProvidedFunctionEnvelope, + options, + ); return poller.pollUntilDone(); } @@ -2563,11 +2551,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, functionAppName: string, - options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams + options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, functionAppName, options }, - detachUserProvidedFunctionAppFromStaticSiteBuildOperationSpec + detachUserProvidedFunctionAppFromStaticSiteBuildOperationSpec, ); } @@ -2585,25 +2573,24 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2612,8 +2599,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2621,8 +2608,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -2633,13 +2620,13 @@ export class StaticSitesImpl implements StaticSites { name, environmentName, staticSiteZipDeploymentEnvelope, - options + options, }, - spec: createZipDeploymentForStaticSiteBuildOperationSpec + spec: createZipDeploymentForStaticSiteBuildOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2659,14 +2646,14 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams, ): Promise { const poller = await this.beginCreateZipDeploymentForStaticSiteBuild( resourceGroupName, name, environmentName, staticSiteZipDeploymentEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -2682,11 +2669,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, appSettings, options }, - createOrUpdateStaticSiteAppSettingsOperationSpec + createOrUpdateStaticSiteAppSettingsOperationSpec, ); } @@ -2699,11 +2686,11 @@ export class StaticSitesImpl implements StaticSites { private _listBasicAuth( resourceGroupName: string, name: string, - options?: StaticSitesListBasicAuthOptionalParams + options?: StaticSitesListBasicAuthOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listBasicAuthOperationSpec + listBasicAuthOperationSpec, ); } @@ -2718,11 +2705,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, basicAuthName: BasicAuthName, - options?: StaticSitesGetBasicAuthOptionalParams + options?: StaticSitesGetBasicAuthOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, basicAuthName, options }, - getBasicAuthOperationSpec + getBasicAuthOperationSpec, ); } @@ -2739,11 +2726,11 @@ export class StaticSitesImpl implements StaticSites { name: string, basicAuthName: BasicAuthName, basicAuthEnvelope: StaticSiteBasicAuthPropertiesARMResource, - options?: StaticSitesCreateOrUpdateBasicAuthOptionalParams + options?: StaticSitesCreateOrUpdateBasicAuthOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, basicAuthName, basicAuthEnvelope, options }, - createOrUpdateBasicAuthOperationSpec + createOrUpdateBasicAuthOperationSpec, ); } @@ -2758,11 +2745,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, appSettings, options }, - createOrUpdateStaticSiteFunctionAppSettingsOperationSpec + createOrUpdateStaticSiteFunctionAppSettingsOperationSpec, ); } @@ -2777,16 +2764,16 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, staticSiteUserRolesInvitationEnvelope: StaticSiteUserInvitationRequestResource, - options?: StaticSitesCreateUserRolesInvitationLinkOptionalParams + options?: StaticSitesCreateUserRolesInvitationLinkOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, staticSiteUserRolesInvitationEnvelope, - options + options, }, - createUserRolesInvitationLinkOperationSpec + createUserRolesInvitationLinkOperationSpec, ); } @@ -2799,11 +2786,11 @@ export class StaticSitesImpl implements StaticSites { private _listStaticSiteCustomDomains( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteCustomDomainsOptionalParams + options?: StaticSitesListStaticSiteCustomDomainsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listStaticSiteCustomDomainsOperationSpec + listStaticSiteCustomDomainsOperationSpec, ); } @@ -2818,11 +2805,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, domainName: string, - options?: StaticSitesGetStaticSiteCustomDomainOptionalParams + options?: StaticSitesGetStaticSiteCustomDomainOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, domainName, options }, - getStaticSiteCustomDomainOperationSpec + getStaticSiteCustomDomainOperationSpec, ); } @@ -2841,7 +2828,7 @@ export class StaticSitesImpl implements StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2850,21 +2837,20 @@ export class StaticSitesImpl implements StaticSites { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2873,8 +2859,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2882,8 +2868,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -2894,16 +2880,16 @@ export class StaticSitesImpl implements StaticSites { name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope, - options + options, }, - spec: createOrUpdateStaticSiteCustomDomainOperationSpec + spec: createOrUpdateStaticSiteCustomDomainOperationSpec, }); const poller = await createHttpPoller< StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -2924,14 +2910,14 @@ export class StaticSitesImpl implements StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateStaticSiteCustomDomain( resourceGroupName, name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -2947,25 +2933,24 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, domainName: string, - options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams + options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -2974,8 +2959,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -2983,19 +2968,19 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, domainName, options }, - spec: deleteStaticSiteCustomDomainOperationSpec + spec: deleteStaticSiteCustomDomainOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3012,13 +2997,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, domainName: string, - options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams + options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams, ): Promise { const poller = await this.beginDeleteStaticSiteCustomDomain( resourceGroupName, name, domainName, - options + options, ); return poller.pollUntilDone(); } @@ -3037,25 +3022,24 @@ export class StaticSitesImpl implements StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams + options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3064,8 +3048,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3073,8 +3057,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -3085,13 +3069,13 @@ export class StaticSitesImpl implements StaticSites { name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope, - options + options, }, - spec: validateCustomDomainCanBeAddedToStaticSiteOperationSpec + spec: validateCustomDomainCanBeAddedToStaticSiteOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3111,14 +3095,14 @@ export class StaticSitesImpl implements StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams + options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams, ): Promise { const poller = await this.beginValidateCustomDomainCanBeAddedToStaticSite( resourceGroupName, name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -3132,11 +3116,11 @@ export class StaticSitesImpl implements StaticSites { private _getDatabaseConnections( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsOptionalParams + options?: StaticSitesGetDatabaseConnectionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getDatabaseConnectionsOperationSpec + getDatabaseConnectionsOperationSpec, ); } @@ -3151,11 +3135,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, databaseConnectionName: string, - options?: StaticSitesGetDatabaseConnectionOptionalParams + options?: StaticSitesGetDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, databaseConnectionName, options }, - getDatabaseConnectionOperationSpec + getDatabaseConnectionOperationSpec, ); } @@ -3173,7 +3157,7 @@ export class StaticSitesImpl implements StaticSites { name: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnection, - options?: StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams + options?: StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -3181,9 +3165,9 @@ export class StaticSitesImpl implements StaticSites { name, databaseConnectionName, databaseConnectionRequestEnvelope, - options + options, }, - createOrUpdateDatabaseConnectionOperationSpec + createOrUpdateDatabaseConnectionOperationSpec, ); } @@ -3198,11 +3182,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, databaseConnectionName: string, - options?: StaticSitesDeleteDatabaseConnectionOptionalParams + options?: StaticSitesDeleteDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, databaseConnectionName, options }, - deleteDatabaseConnectionOperationSpec + deleteDatabaseConnectionOperationSpec, ); } @@ -3220,7 +3204,7 @@ export class StaticSitesImpl implements StaticSites { name: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnectionPatchRequest, - options?: StaticSitesUpdateDatabaseConnectionOptionalParams + options?: StaticSitesUpdateDatabaseConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -3228,9 +3212,9 @@ export class StaticSitesImpl implements StaticSites { name, databaseConnectionName, databaseConnectionRequestEnvelope, - options + options, }, - updateDatabaseConnectionOperationSpec + updateDatabaseConnectionOperationSpec, ); } @@ -3245,11 +3229,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, databaseConnectionName: string, - options?: StaticSitesGetDatabaseConnectionWithDetailsOptionalParams + options?: StaticSitesGetDatabaseConnectionWithDetailsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, databaseConnectionName, options }, - getDatabaseConnectionWithDetailsOperationSpec + getDatabaseConnectionWithDetailsOperationSpec, ); } @@ -3262,25 +3246,24 @@ export class StaticSitesImpl implements StaticSites { async beginDetachStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesDetachStaticSiteOptionalParams + options?: StaticSitesDetachStaticSiteOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3289,8 +3272,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3298,19 +3281,19 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: detachStaticSiteOperationSpec + spec: detachStaticSiteOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3325,12 +3308,12 @@ export class StaticSitesImpl implements StaticSites { async beginDetachStaticSiteAndWait( resourceGroupName: string, name: string, - options?: StaticSitesDetachStaticSiteOptionalParams + options?: StaticSitesDetachStaticSiteOptionalParams, ): Promise { const poller = await this.beginDetachStaticSite( resourceGroupName, name, - options + options, ); return poller.pollUntilDone(); } @@ -3344,11 +3327,11 @@ export class StaticSitesImpl implements StaticSites { private _listStaticSiteFunctions( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteFunctionsOptionalParams + options?: StaticSitesListStaticSiteFunctionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listStaticSiteFunctionsOperationSpec + listStaticSiteFunctionsOperationSpec, ); } @@ -3361,11 +3344,11 @@ export class StaticSitesImpl implements StaticSites { listStaticSiteAppSettings( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteAppSettingsOptionalParams + options?: StaticSitesListStaticSiteAppSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listStaticSiteAppSettingsOperationSpec + listStaticSiteAppSettingsOperationSpec, ); } @@ -3378,11 +3361,11 @@ export class StaticSitesImpl implements StaticSites { listStaticSiteConfiguredRoles( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteConfiguredRolesOptionalParams + options?: StaticSitesListStaticSiteConfiguredRolesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listStaticSiteConfiguredRolesOperationSpec + listStaticSiteConfiguredRolesOperationSpec, ); } @@ -3395,11 +3378,11 @@ export class StaticSitesImpl implements StaticSites { listStaticSiteFunctionAppSettings( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteFunctionAppSettingsOptionalParams + options?: StaticSitesListStaticSiteFunctionAppSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listStaticSiteFunctionAppSettingsOperationSpec + listStaticSiteFunctionAppSettingsOperationSpec, ); } @@ -3412,11 +3395,11 @@ export class StaticSitesImpl implements StaticSites { listStaticSiteSecrets( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteSecretsOptionalParams + options?: StaticSitesListStaticSiteSecretsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listStaticSiteSecretsOperationSpec + listStaticSiteSecretsOperationSpec, ); } @@ -3429,11 +3412,11 @@ export class StaticSitesImpl implements StaticSites { private _getPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams + options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getPrivateEndpointConnectionListOperationSpec + getPrivateEndpointConnectionListOperationSpec, ); } @@ -3448,11 +3431,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: StaticSitesGetPrivateEndpointConnectionOptionalParams + options?: StaticSitesGetPrivateEndpointConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, privateEndpointConnectionName, options }, - getPrivateEndpointConnectionOperationSpec + getPrivateEndpointConnectionOperationSpec, ); } @@ -3468,33 +3451,30 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< - OperationState< - StaticSitesApproveOrRejectPrivateEndpointConnectionResponse - >, + OperationState, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3503,8 +3483,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3512,8 +3492,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -3524,18 +3504,16 @@ export class StaticSitesImpl implements StaticSites { name, privateEndpointConnectionName, privateEndpointWrapper, - options + options, }, - spec: approveOrRejectPrivateEndpointConnectionOperationSpec + spec: approveOrRejectPrivateEndpointConnectionOperationSpec, }); const poller = await createHttpPoller< StaticSitesApproveOrRejectPrivateEndpointConnectionResponse, - OperationState< - StaticSitesApproveOrRejectPrivateEndpointConnectionResponse - > + OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3553,15 +3531,15 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise { const poller = await this.beginApproveOrRejectPrivateEndpointConnection( resourceGroupName, name, privateEndpointConnectionName, privateEndpointWrapper, - options + options, ); return poller.pollUntilDone(); } @@ -3577,7 +3555,7 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams + options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3586,21 +3564,20 @@ export class StaticSitesImpl implements StaticSites { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3609,8 +3586,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3618,22 +3595,22 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, privateEndpointConnectionName, options }, - spec: deletePrivateEndpointConnectionOperationSpec + spec: deletePrivateEndpointConnectionOperationSpec, }); const poller = await createHttpPoller< StaticSitesDeletePrivateEndpointConnectionResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3650,13 +3627,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams + options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams, ): Promise { const poller = await this.beginDeletePrivateEndpointConnection( resourceGroupName, name, privateEndpointConnectionName, - options + options, ); return poller.pollUntilDone(); } @@ -3670,11 +3647,11 @@ export class StaticSitesImpl implements StaticSites { getPrivateLinkResources( resourceGroupName: string, name: string, - options?: StaticSitesGetPrivateLinkResourcesOptionalParams + options?: StaticSitesGetPrivateLinkResourcesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getPrivateLinkResourcesOperationSpec + getPrivateLinkResourcesOperationSpec, ); } @@ -3689,11 +3666,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, resetPropertiesEnvelope: StaticSiteResetPropertiesARMResource, - options?: StaticSitesResetStaticSiteApiKeyOptionalParams + options?: StaticSitesResetStaticSiteApiKeyOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, resetPropertiesEnvelope, options }, - resetStaticSiteApiKeyOperationSpec + resetStaticSiteApiKeyOperationSpec, ); } @@ -3706,11 +3683,11 @@ export class StaticSitesImpl implements StaticSites { private _getDatabaseConnectionsWithDetails( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getDatabaseConnectionsWithDetailsOperationSpec + getDatabaseConnectionsWithDetailsOperationSpec, ); } @@ -3723,11 +3700,11 @@ export class StaticSitesImpl implements StaticSites { private _getUserProvidedFunctionAppsForStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getUserProvidedFunctionAppsForStaticSiteOperationSpec + getUserProvidedFunctionAppsForStaticSiteOperationSpec, ); } @@ -3742,11 +3719,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, functionAppName: string, - options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionAppName, options }, - getUserProvidedFunctionAppForStaticSiteOperationSpec + getUserProvidedFunctionAppForStaticSiteOperationSpec, ); } @@ -3764,32 +3741,29 @@ export class StaticSitesImpl implements StaticSites { name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams, ): Promise< SimplePollerLike< - OperationState< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse - >, + OperationState, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3798,8 +3772,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3807,8 +3781,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -3819,18 +3793,16 @@ export class StaticSitesImpl implements StaticSites { name, functionAppName, staticSiteUserProvidedFunctionEnvelope, - options + options, }, - spec: registerUserProvidedFunctionAppWithStaticSiteOperationSpec + spec: registerUserProvidedFunctionAppWithStaticSiteOperationSpec, }); const poller = await createHttpPoller< StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse, - OperationState< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse - > + OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3850,15 +3822,16 @@ export class StaticSitesImpl implements StaticSites { name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams, ): Promise { - const poller = await this.beginRegisterUserProvidedFunctionAppWithStaticSite( - resourceGroupName, - name, - functionAppName, - staticSiteUserProvidedFunctionEnvelope, - options - ); + const poller = + await this.beginRegisterUserProvidedFunctionAppWithStaticSite( + resourceGroupName, + name, + functionAppName, + staticSiteUserProvidedFunctionEnvelope, + options, + ); return poller.pollUntilDone(); } @@ -3873,11 +3846,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, functionAppName: string, - options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams + options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionAppName, options }, - detachUserProvidedFunctionAppFromStaticSiteOperationSpec + detachUserProvidedFunctionAppFromStaticSiteOperationSpec, ); } @@ -3893,25 +3866,24 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -3920,8 +3892,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -3929,8 +3901,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -3940,13 +3912,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName, name, staticSiteZipDeploymentEnvelope, - options + options, }, - spec: createZipDeploymentForStaticSiteOperationSpec + spec: createZipDeploymentForStaticSiteOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -3964,13 +3936,13 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams, ): Promise { const poller = await this.beginCreateZipDeploymentForStaticSite( resourceGroupName, name, staticSiteZipDeploymentEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -3989,25 +3961,24 @@ export class StaticSitesImpl implements StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendOptionalParams + options?: StaticSitesValidateBackendOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -4016,8 +3987,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -4025,8 +3996,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -4037,13 +4008,13 @@ export class StaticSitesImpl implements StaticSites { name, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, }, - spec: validateBackendOperationSpec + spec: validateBackendOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -4063,14 +4034,14 @@ export class StaticSitesImpl implements StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendOptionalParams + options?: StaticSitesValidateBackendOptionalParams, ): Promise { const poller = await this.beginValidateBackend( resourceGroupName, name, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -4091,25 +4062,24 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendForBuildOptionalParams + options?: StaticSitesValidateBackendForBuildOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -4118,8 +4088,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -4127,8 +4097,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -4140,13 +4110,13 @@ export class StaticSitesImpl implements StaticSites { environmentName, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, }, - spec: validateBackendForBuildOperationSpec + spec: validateBackendForBuildOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -4168,7 +4138,7 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendForBuildOptionalParams + options?: StaticSitesValidateBackendForBuildOptionalParams, ): Promise { const poller = await this.beginValidateBackendForBuild( resourceGroupName, @@ -4176,7 +4146,7 @@ export class StaticSitesImpl implements StaticSites { environmentName, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -4190,11 +4160,11 @@ export class StaticSitesImpl implements StaticSites { private _getLinkedBackends( resourceGroupName: string, name: string, - options?: StaticSitesGetLinkedBackendsOptionalParams + options?: StaticSitesGetLinkedBackendsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getLinkedBackendsOperationSpec + getLinkedBackendsOperationSpec, ); } @@ -4209,11 +4179,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetLinkedBackendsForBuildOptionalParams + options?: StaticSitesGetLinkedBackendsForBuildOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, options }, - getLinkedBackendsForBuildOperationSpec + getLinkedBackendsForBuildOperationSpec, ); } @@ -4228,11 +4198,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, linkedBackendName: string, - options?: StaticSitesGetLinkedBackendOptionalParams + options?: StaticSitesGetLinkedBackendOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, linkedBackendName, options }, - getLinkedBackendOperationSpec + getLinkedBackendOperationSpec, ); } @@ -4250,7 +4220,7 @@ export class StaticSitesImpl implements StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendOptionalParams + options?: StaticSitesLinkBackendOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -4259,21 +4229,20 @@ export class StaticSitesImpl implements StaticSites { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -4282,8 +4251,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -4291,8 +4260,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -4303,16 +4272,16 @@ export class StaticSitesImpl implements StaticSites { name, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, }, - spec: linkBackendOperationSpec + spec: linkBackendOperationSpec, }); const poller = await createHttpPoller< StaticSitesLinkBackendResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -4332,14 +4301,14 @@ export class StaticSitesImpl implements StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendOptionalParams + options?: StaticSitesLinkBackendOptionalParams, ): Promise { const poller = await this.beginLinkBackend( resourceGroupName, name, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -4355,11 +4324,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, linkedBackendName: string, - options?: StaticSitesUnlinkBackendOptionalParams + options?: StaticSitesUnlinkBackendOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, linkedBackendName, options }, - unlinkBackendOperationSpec + unlinkBackendOperationSpec, ); } @@ -4376,11 +4345,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, linkedBackendName: string, - options?: StaticSitesGetLinkedBackendForBuildOptionalParams + options?: StaticSitesGetLinkedBackendForBuildOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, linkedBackendName, options }, - getLinkedBackendForBuildOperationSpec + getLinkedBackendForBuildOperationSpec, ); } @@ -4400,7 +4369,7 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendToBuildOptionalParams + options?: StaticSitesLinkBackendToBuildOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -4409,21 +4378,20 @@ export class StaticSitesImpl implements StaticSites { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -4432,8 +4400,8 @@ export class StaticSitesImpl implements StaticSites { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -4441,8 +4409,8 @@ export class StaticSitesImpl implements StaticSites { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -4454,16 +4422,16 @@ export class StaticSitesImpl implements StaticSites { environmentName, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, }, - spec: linkBackendToBuildOperationSpec + spec: linkBackendToBuildOperationSpec, }); const poller = await createHttpPoller< StaticSitesLinkBackendToBuildResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -4485,7 +4453,7 @@ export class StaticSitesImpl implements StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendToBuildOptionalParams + options?: StaticSitesLinkBackendToBuildOptionalParams, ): Promise { const poller = await this.beginLinkBackendToBuild( resourceGroupName, @@ -4493,7 +4461,7 @@ export class StaticSitesImpl implements StaticSites { environmentName, linkedBackendName, staticSiteLinkedBackendEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -4511,11 +4479,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, linkedBackendName: string, - options?: StaticSitesUnlinkBackendFromBuildOptionalParams + options?: StaticSitesUnlinkBackendFromBuildOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, linkedBackendName, options }, - unlinkBackendFromBuildOperationSpec + unlinkBackendFromBuildOperationSpec, ); } @@ -4526,11 +4494,11 @@ export class StaticSitesImpl implements StaticSites { */ private _listNext( nextLink: string, - options?: StaticSitesListNextOptionalParams + options?: StaticSitesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -4544,11 +4512,11 @@ export class StaticSitesImpl implements StaticSites { private _getStaticSitesByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: StaticSitesGetStaticSitesByResourceGroupNextOptionalParams + options?: StaticSitesGetStaticSitesByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - getStaticSitesByResourceGroupNextOperationSpec + getStaticSitesByResourceGroupNextOperationSpec, ); } @@ -4565,11 +4533,11 @@ export class StaticSitesImpl implements StaticSites { name: string, authprovider: string, nextLink: string, - options?: StaticSitesListStaticSiteUsersNextOptionalParams + options?: StaticSitesListStaticSiteUsersNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, authprovider, nextLink, options }, - listStaticSiteUsersNextOperationSpec + listStaticSiteUsersNextOperationSpec, ); } @@ -4584,11 +4552,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesGetStaticSiteBuildsNextOptionalParams + options?: StaticSitesGetStaticSiteBuildsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getStaticSiteBuildsNextOperationSpec + getStaticSiteBuildsNextOperationSpec, ); } @@ -4606,11 +4574,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, nextLink: string, - options?: StaticSitesGetBuildDatabaseConnectionsNextOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, nextLink, options }, - getBuildDatabaseConnectionsNextOperationSpec + getBuildDatabaseConnectionsNextOperationSpec, ); } @@ -4628,11 +4596,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, nextLink: string, - options?: StaticSitesListStaticSiteBuildFunctionsNextOptionalParams + options?: StaticSitesListStaticSiteBuildFunctionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, nextLink, options }, - listStaticSiteBuildFunctionsNextOperationSpec + listStaticSiteBuildFunctionsNextOperationSpec, ); } @@ -4650,11 +4618,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, nextLink: string, - options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsNextOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, nextLink, options }, - getBuildDatabaseConnectionsWithDetailsNextOperationSpec + getBuildDatabaseConnectionsWithDetailsNextOperationSpec, ); } @@ -4672,13 +4640,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, nextLink: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildNextOptionalParams - ): Promise< - StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildNextResponse - > { + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, nextLink, options }, - getUserProvidedFunctionAppsForStaticSiteBuildNextOperationSpec + getUserProvidedFunctionAppsForStaticSiteBuildNextOperationSpec, ); } @@ -4693,11 +4659,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesListBasicAuthNextOptionalParams + options?: StaticSitesListBasicAuthNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listBasicAuthNextOperationSpec + listBasicAuthNextOperationSpec, ); } @@ -4713,11 +4679,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesListStaticSiteCustomDomainsNextOptionalParams + options?: StaticSitesListStaticSiteCustomDomainsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listStaticSiteCustomDomainsNextOperationSpec + listStaticSiteCustomDomainsNextOperationSpec, ); } @@ -4732,11 +4698,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesGetDatabaseConnectionsNextOptionalParams + options?: StaticSitesGetDatabaseConnectionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getDatabaseConnectionsNextOperationSpec + getDatabaseConnectionsNextOperationSpec, ); } @@ -4752,11 +4718,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesListStaticSiteFunctionsNextOptionalParams + options?: StaticSitesListStaticSiteFunctionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listStaticSiteFunctionsNextOperationSpec + listStaticSiteFunctionsNextOperationSpec, ); } @@ -4772,11 +4738,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesGetPrivateEndpointConnectionListNextOptionalParams + options?: StaticSitesGetPrivateEndpointConnectionListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getPrivateEndpointConnectionListNextOperationSpec + getPrivateEndpointConnectionListNextOperationSpec, ); } @@ -4792,11 +4758,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesGetDatabaseConnectionsWithDetailsNextOptionalParams + options?: StaticSitesGetDatabaseConnectionsWithDetailsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getDatabaseConnectionsWithDetailsNextOperationSpec + getDatabaseConnectionsWithDetailsNextOperationSpec, ); } @@ -4812,11 +4778,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteNextOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getUserProvidedFunctionAppsForStaticSiteNextOperationSpec + getUserProvidedFunctionAppsForStaticSiteNextOperationSpec, ); } @@ -4831,11 +4797,11 @@ export class StaticSitesImpl implements StaticSites { resourceGroupName: string, name: string, nextLink: string, - options?: StaticSitesGetLinkedBackendsNextOptionalParams + options?: StaticSitesGetLinkedBackendsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getLinkedBackendsNextOperationSpec + getLinkedBackendsNextOperationSpec, ); } @@ -4853,11 +4819,11 @@ export class StaticSitesImpl implements StaticSites { name: string, environmentName: string, nextLink: string, - options?: StaticSitesGetLinkedBackendsForBuildNextOptionalParams + options?: StaticSitesGetLinkedBackendsForBuildNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, environmentName, nextLink, options }, - getLinkedBackendsForBuildNextOperationSpec + getLinkedBackendsForBuildNextOperationSpec, ); } } @@ -4865,107 +4831,103 @@ export class StaticSitesImpl implements StaticSites { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const previewWorkflowOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StaticSitesWorkflowPreview + bodyMapper: Mappers.StaticSitesWorkflowPreview, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSitesWorkflowPreviewRequest, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.location + Parameters.location, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteCollection + bodyMapper: Mappers.StaticSiteCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const getStaticSitesByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteCollection + bodyMapper: Mappers.StaticSiteCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteARMResource + bodyMapper: Mappers.StaticSiteARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StaticSiteARMResource + bodyMapper: Mappers.StaticSiteARMResource, }, 201: { - bodyMapper: Mappers.StaticSiteARMResource + bodyMapper: Mappers.StaticSiteARMResource, }, 202: { - bodyMapper: Mappers.StaticSiteARMResource + bodyMapper: Mappers.StaticSiteARMResource, }, 204: { - bodyMapper: Mappers.StaticSiteARMResource + bodyMapper: Mappers.StaticSiteARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteEnvelope, queryParameters: [Parameters.apiVersion], @@ -4973,15 +4935,14 @@ const createOrUpdateStaticSiteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", httpMethod: "DELETE", responses: { 200: {}, @@ -4989,33 +4950,32 @@ const deleteStaticSiteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.StaticSiteARMResource + bodyMapper: Mappers.StaticSiteARMResource, }, 202: { - bodyMapper: Mappers.StaticSiteARMResource + bodyMapper: Mappers.StaticSiteARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteEnvelope1, queryParameters: [Parameters.apiVersion], @@ -5023,23 +4983,22 @@ const updateStaticSiteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listStaticSiteUsersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StaticSiteUserCollection + bodyMapper: Mappers.StaticSiteUserCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5047,20 +5006,19 @@ const listStaticSiteUsersOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.authprovider + Parameters.authprovider, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteStaticSiteUserOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}", httpMethod: "DELETE", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5069,22 +5027,21 @@ const deleteStaticSiteUserOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.authprovider, - Parameters.userid + Parameters.userid, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateStaticSiteUserOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.StaticSiteUserARMResource + bodyMapper: Mappers.StaticSiteUserARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteUserEnvelope, queryParameters: [Parameters.apiVersion], @@ -5094,45 +5051,43 @@ const updateStaticSiteUserOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.authprovider, - Parameters.userid + Parameters.userid, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getStaticSiteBuildsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteBuildCollection + bodyMapper: Mappers.StaticSiteBuildCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getStaticSiteBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteBuildARMResource + bodyMapper: Mappers.StaticSiteBuildARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5140,14 +5095,13 @@ const getStaticSiteBuildOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.environmentName1 + Parameters.environmentName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteStaticSiteBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}", httpMethod: "DELETE", responses: { 200: {}, @@ -5155,8 +5109,8 @@ const deleteStaticSiteBuildOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5164,72 +5118,71 @@ const deleteStaticSiteBuildOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.environmentName1 + Parameters.environmentName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateStaticSiteBuildAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary +const createOrUpdateStaticSiteBuildAppSettingsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StringDictionary, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.appSettings, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1 - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const createOrUpdateStaticSiteBuildFunctionAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary + requestBody: Parameters.appSettings, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const createOrUpdateStaticSiteBuildFunctionAppSettingsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StringDictionary, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.appSettings, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1 - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.appSettings, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const getBuildDatabaseConnectionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DatabaseConnectionCollection + bodyMapper: Mappers.DatabaseConnectionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5237,22 +5190,21 @@ const getBuildDatabaseConnectionsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.environmentName2 + Parameters.environmentName2, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DatabaseConnection + bodyMapper: Mappers.DatabaseConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5261,47 +5213,46 @@ const getBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.environmentName2, - Parameters.databaseConnectionName + Parameters.databaseConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnection +const createOrUpdateBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.databaseConnectionRequestEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName2, - Parameters.databaseConnectionName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.databaseConnectionRequestEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName2, + Parameters.databaseConnectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5310,22 +5261,21 @@ const deleteBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.environmentName2, - Parameters.databaseConnectionName + Parameters.databaseConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.DatabaseConnection + bodyMapper: Mappers.DatabaseConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.databaseConnectionRequestEnvelope1, queryParameters: [Parameters.apiVersion], @@ -5335,47 +5285,46 @@ const updateBuildDatabaseConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.environmentName2, - Parameters.databaseConnectionName + Parameters.databaseConnectionName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const getBuildDatabaseConnectionWithDetailsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}/show", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnection +const getBuildDatabaseConnectionWithDetailsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}/show", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName2, - Parameters.databaseConnectionName - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName2, + Parameters.databaseConnectionName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listStaticSiteBuildFunctionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/functions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/functions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteFunctionOverviewCollection + bodyMapper: Mappers.StaticSiteFunctionOverviewCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5383,22 +5332,21 @@ const listStaticSiteBuildFunctionsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.environmentName1 + Parameters.environmentName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listStaticSiteBuildAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listAppSettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listAppSettings", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5406,245 +5354,243 @@ const listStaticSiteBuildAppSettingsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.environmentName1 + Parameters.environmentName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listStaticSiteBuildFunctionAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listFunctionAppSettings", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary +const listStaticSiteBuildFunctionAppSettingsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listFunctionAppSettings", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.StringDictionary, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1 - ], - headerParameters: [Parameters.accept], - serializer -}; -const getBuildDatabaseConnectionsWithDetailsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/showDatabaseConnections", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnectionCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName2 - ], - headerParameters: [Parameters.accept], - serializer -}; -const getUserProvidedFunctionAppsForStaticSiteBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getBuildDatabaseConnectionsWithDetailsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/showDatabaseConnections", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1 - ], - headerParameters: [Parameters.accept], - serializer -}; -const getUserProvidedFunctionAppForStaticSiteBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName2, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getUserProvidedFunctionAppsForStaticSiteBuildOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1, - Parameters.functionAppName - ], - headerParameters: [Parameters.accept], - serializer -}; -const registerUserProvidedFunctionAppWithStaticSiteBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getUserProvidedFunctionAppForStaticSiteBuildOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - 201: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + Parameters.functionAppName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const registerUserProvidedFunctionAppWithStaticSiteBuildOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + 201: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + 202: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + 204: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - 202: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + requestBody: Parameters.staticSiteUserProvidedFunctionEnvelope, + queryParameters: [Parameters.apiVersion, Parameters.isForced], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + Parameters.functionAppName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const detachUserProvidedFunctionAppFromStaticSiteBuildOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - 204: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + Parameters.functionAppName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const createZipDeploymentForStaticSiteBuildOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.staticSiteUserProvidedFunctionEnvelope, - queryParameters: [Parameters.apiVersion, Parameters.isForced], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1, - Parameters.functionAppName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const detachUserProvidedFunctionAppFromStaticSiteBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1, - Parameters.functionAppName - ], - headerParameters: [Parameters.accept], - serializer -}; -const createZipDeploymentForStaticSiteBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.staticSiteZipDeploymentEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.environmentName1 - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const createOrUpdateStaticSiteAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary + requestBody: Parameters.staticSiteZipDeploymentEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.environmentName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const createOrUpdateStaticSiteAppSettingsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StringDictionary, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.appSettings, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.appSettings, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const listBasicAuthOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteBasicAuthPropertiesCollection + bodyMapper: Mappers.StaticSiteBasicAuthPropertiesCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBasicAuthOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteBasicAuthPropertiesARMResource + bodyMapper: Mappers.StaticSiteBasicAuthPropertiesARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5652,22 +5598,21 @@ const getBasicAuthOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.basicAuthName + Parameters.basicAuthName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateBasicAuthOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StaticSiteBasicAuthPropertiesARMResource + bodyMapper: Mappers.StaticSiteBasicAuthPropertiesARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.basicAuthEnvelope, queryParameters: [Parameters.apiVersion], @@ -5676,47 +5621,46 @@ const createOrUpdateBasicAuthOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.basicAuthName + Parameters.basicAuthName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const createOrUpdateStaticSiteFunctionAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary +const createOrUpdateStaticSiteFunctionAppSettingsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StringDictionary, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.appSettings, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.appSettings, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const createUserRolesInvitationLinkOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/createUserInvitation", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/createUserInvitation", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StaticSiteUserInvitationResponseResource + bodyMapper: Mappers.StaticSiteUserInvitationResponseResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteUserRolesInvitationEnvelope, queryParameters: [Parameters.apiVersion], @@ -5724,45 +5668,43 @@ const createUserRolesInvitationLinkOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listStaticSiteCustomDomainsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteCustomDomainOverviewCollection + bodyMapper: Mappers.StaticSiteCustomDomainOverviewCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getStaticSiteCustomDomainOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource + bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5770,48 +5712,47 @@ const getStaticSiteCustomDomainOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateStaticSiteCustomDomainOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource - }, - 201: { - bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource - }, - 202: { - bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource - }, - 204: { - bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource +const createOrUpdateStaticSiteCustomDomainOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource, + }, + 201: { + bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource, + }, + 202: { + bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource, + }, + 204: { + bodyMapper: Mappers.StaticSiteCustomDomainOverviewARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.staticSiteCustomDomainRequestPropertiesEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.domainName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.staticSiteCustomDomainRequestPropertiesEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteStaticSiteCustomDomainOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}", httpMethod: "DELETE", responses: { 200: {}, @@ -5819,8 +5760,8 @@ const deleteStaticSiteCustomDomainOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5828,70 +5769,68 @@ const deleteStaticSiteCustomDomainOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainName + Parameters.domainName, ], headerParameters: [Parameters.accept], - serializer -}; -const validateCustomDomainCanBeAddedToStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate", - httpMethod: "POST", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.staticSiteCustomDomainRequestPropertiesEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.domainName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + serializer, }; +const validateCustomDomainCanBeAddedToStaticSiteOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.staticSiteCustomDomainRequestPropertiesEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const getDatabaseConnectionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DatabaseConnectionCollection + bodyMapper: Mappers.DatabaseConnectionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DatabaseConnection + bodyMapper: Mappers.DatabaseConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5899,46 +5838,45 @@ const getDatabaseConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.databaseConnectionName + Parameters.databaseConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnection +const createOrUpdateDatabaseConnectionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.databaseConnectionRequestEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.databaseConnectionName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.databaseConnectionRequestEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.databaseConnectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -5946,22 +5884,21 @@ const deleteDatabaseConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.databaseConnectionName + Parameters.databaseConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateDatabaseConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.DatabaseConnection + bodyMapper: Mappers.DatabaseConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.databaseConnectionRequestEnvelope1, queryParameters: [Parameters.apiVersion], @@ -5970,38 +5907,37 @@ const updateDatabaseConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.databaseConnectionName + Parameters.databaseConnectionName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const getDatabaseConnectionWithDetailsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}/show", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnection +const getDatabaseConnectionWithDetailsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}/show", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.databaseConnectionName - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.databaseConnectionName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const detachStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach", httpMethod: "POST", responses: { 200: {}, @@ -6009,162 +5945,29 @@ const detachStaticSiteOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const listStaticSiteFunctionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/functions", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteFunctionOverviewCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const listStaticSiteAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listAppSettings", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const listStaticSiteConfiguredRolesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.StringList + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const listStaticSiteFunctionAppSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listFunctionAppSettings", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const listStaticSiteSecretsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listSecrets", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.StringDictionary - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getPrivateEndpointConnectionListOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections", +const listStaticSiteFunctionsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/functions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection + bodyMapper: Mappers.StaticSiteFunctionOverviewCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const getPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -6172,184 +5975,127 @@ const getPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.privateEndpointConnectionName ], headerParameters: [Parameters.accept], - serializer -}; -const approveOrRejectPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 201: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 202: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 204: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.privateEndpointWrapper, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.privateEndpointConnectionName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + serializer, }; -const deletePrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "DELETE", +const listStaticSiteAppSettingsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listAppSettings", + httpMethod: "POST", responses: { 200: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - }, - 201: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - }, - 202: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } - }, - 204: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.privateEndpointConnectionName - ], - headerParameters: [Parameters.accept], - serializer -}; -const getPrivateLinkResourcesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateLinkResources", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PrivateLinkResourcesWrapper + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const resetStaticSiteApiKeyOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, - requestBody: Parameters.resetPropertiesEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const getDatabaseConnectionsWithDetailsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/showDatabaseConnections", +const listStaticSiteConfiguredRolesOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.DatabaseConnectionCollection + bodyMapper: Mappers.StringList, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getUserProvidedFunctionAppsForStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps", - httpMethod: "GET", +const listStaticSiteFunctionAppSettingsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listFunctionAppSettings", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.StringDictionary, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listStaticSiteSecretsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listSecrets", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getUserProvidedFunctionAppForStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}", +const getPrivateEndpointConnectionListOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -6357,55 +6103,94 @@ const getUserProvidedFunctionAppForStaticSiteOperationSpec: coreClient.Operation Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionAppName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const registerUserProvidedFunctionAppWithStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}", - httpMethod: "PUT", +const approveOrRejectPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 201: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 202: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 204: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.privateEndpointWrapper, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.privateEndpointConnectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const deletePrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "DELETE", responses: { 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 201: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 202: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 204: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.staticSiteUserProvidedFunctionEnvelope, - queryParameters: [Parameters.apiVersion, Parameters.isForced], + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionAppName + Parameters.privateEndpointConnectionName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const detachUserProvidedFunctionAppFromStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}", - httpMethod: "DELETE", +const getPrivateLinkResourcesOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateLinkResources", + httpMethod: "GET", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.PrivateLinkResourcesWrapper, + }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -6413,39 +6198,181 @@ const detachUserProvidedFunctionAppFromStaticSiteOperationSpec: coreClient.Opera Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionAppName ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createZipDeploymentForStaticSiteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy", +const resetStaticSiteApiKeyOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey", httpMethod: "POST", responses: { 200: {}, - 201: {}, - 202: {}, - 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.staticSiteZipDeploymentEnvelope, + requestBody: Parameters.resetPropertiesEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; +const getDatabaseConnectionsWithDetailsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/showDatabaseConnections", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getUserProvidedFunctionAppsForStaticSiteOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getUserProvidedFunctionAppForStaticSiteOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.functionAppName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const registerUserProvidedFunctionAppWithStaticSiteOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + 201: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + 202: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + 204: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.staticSiteUserProvidedFunctionEnvelope, + queryParameters: [Parameters.apiVersion, Parameters.isForced], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.functionAppName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const detachUserProvidedFunctionAppFromStaticSiteOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.functionAppName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const createZipDeploymentForStaticSiteOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.staticSiteZipDeploymentEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const validateBackendOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}/validate", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}/validate", httpMethod: "POST", responses: { 200: {}, @@ -6453,8 +6380,8 @@ const validateBackendOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteLinkedBackendEnvelope, queryParameters: [Parameters.apiVersion], @@ -6463,15 +6390,14 @@ const validateBackendOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const validateBackendForBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}/validate", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}/validate", httpMethod: "POST", responses: { 200: {}, @@ -6479,8 +6405,8 @@ const validateBackendForBuildOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteLinkedBackendEnvelope, queryParameters: [Parameters.apiVersion], @@ -6490,45 +6416,43 @@ const validateBackendForBuildOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.environmentName1, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getLinkedBackendsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendsCollection + bodyMapper: Mappers.StaticSiteLinkedBackendsCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getLinkedBackendsForBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendsCollection + bodyMapper: Mappers.StaticSiteLinkedBackendsCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -6536,22 +6460,21 @@ const getLinkedBackendsForBuildOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.environmentName1 + Parameters.environmentName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getLinkedBackendOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -6559,31 +6482,30 @@ const getLinkedBackendOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const linkBackendOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, 201: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, 202: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, 204: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteLinkedBackendEnvelope, queryParameters: [Parameters.apiVersion], @@ -6592,22 +6514,21 @@ const linkBackendOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const unlinkBackendOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.isCleaningAuthConfig], urlParameters: [ @@ -6615,22 +6536,21 @@ const unlinkBackendOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getLinkedBackendForBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -6639,31 +6559,30 @@ const getLinkedBackendForBuildOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.environmentName1, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const linkBackendToBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, 201: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, 202: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, 204: { - bodyMapper: Mappers.StaticSiteLinkedBackendARMResource + bodyMapper: Mappers.StaticSiteLinkedBackendARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.staticSiteLinkedBackendEnvelope, queryParameters: [Parameters.apiVersion], @@ -6673,22 +6592,21 @@ const linkBackendToBuildOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.environmentName1, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const unlinkBackendFromBuildOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.isCleaningAuthConfig], urlParameters: [ @@ -6697,60 +6615,61 @@ const unlinkBackendFromBuildOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.environmentName1, - Parameters.linkedBackendName + Parameters.linkedBackendName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteCollection + bodyMapper: Mappers.StaticSiteCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const getStaticSitesByResourceGroupNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const getStaticSitesByResourceGroupNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listStaticSiteUsersNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteUserCollection + bodyMapper: Mappers.StaticSiteUserCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -6758,42 +6677,21 @@ const listStaticSiteUsersNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.authprovider + Parameters.authprovider, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getStaticSiteBuildsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteBuildCollection + bodyMapper: Mappers.StaticSiteBuildCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const getBuildDatabaseConnectionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnectionCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, @@ -6801,43 +6699,20 @@ const getBuildDatabaseConnectionsNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.environmentName2 ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listStaticSiteBuildFunctionsNextOperationSpec: coreClient.OperationSpec = { +const getBuildDatabaseConnectionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteFunctionOverviewCollection + bodyMapper: Mappers.DatabaseConnectionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.environmentName1 - ], - headerParameters: [Parameters.accept], - serializer -}; -const getBuildDatabaseConnectionsWithDetailsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnectionCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, @@ -6845,211 +6720,261 @@ const getBuildDatabaseConnectionsWithDetailsNextOperationSpec: coreClient.Operat Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.environmentName2 + Parameters.environmentName2, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getUserProvidedFunctionAppsForStaticSiteBuildNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection +const listStaticSiteBuildFunctionsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteFunctionOverviewCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.environmentName1 - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.environmentName1, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getBuildDatabaseConnectionsWithDetailsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.environmentName2, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getUserProvidedFunctionAppsForStaticSiteBuildNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.environmentName1, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listBasicAuthNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteBasicAuthPropertiesCollection + bodyMapper: Mappers.StaticSiteBasicAuthPropertiesCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listStaticSiteCustomDomainsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteCustomDomainOverviewCollection + bodyMapper: Mappers.StaticSiteCustomDomainOverviewCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDatabaseConnectionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DatabaseConnectionCollection + bodyMapper: Mappers.DatabaseConnectionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listStaticSiteFunctionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteFunctionOverviewCollection + bodyMapper: Mappers.StaticSiteFunctionOverviewCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getDatabaseConnectionsWithDetailsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DatabaseConnectionCollection +const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const getUserProvidedFunctionAppsForStaticSiteNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getDatabaseConnectionsWithDetailsNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DatabaseConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getUserProvidedFunctionAppsForStaticSiteNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticSiteUserProvidedFunctionAppsCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getLinkedBackendsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendsCollection + bodyMapper: Mappers.StaticSiteLinkedBackendsCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getLinkedBackendsForBuildNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.StaticSiteLinkedBackendsCollection + bodyMapper: Mappers.StaticSiteLinkedBackendsCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -7057,8 +6982,8 @@ const getLinkedBackendsForBuildNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.environmentName1 + Parameters.environmentName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts b/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts index 86aab2407d10..837b90d6bf12 100644 --- a/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts +++ b/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts @@ -26,7 +26,7 @@ import { TopLevelDomainsGetOptionalParams, TopLevelDomainsGetResponse, TopLevelDomainsListNextResponse, - TopLevelDomainsListAgreementsNextResponse + TopLevelDomainsListAgreementsNextResponse, } from "../models"; /// @@ -47,7 +47,7 @@ export class TopLevelDomainsImpl implements TopLevelDomains { * @param options The options parameters. */ public list( - options?: TopLevelDomainsListOptionalParams + options?: TopLevelDomainsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -62,13 +62,13 @@ export class TopLevelDomainsImpl implements TopLevelDomains { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: TopLevelDomainsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: TopLevelDomainsListResponse; let continuationToken = settings?.continuationToken; @@ -89,7 +89,7 @@ export class TopLevelDomainsImpl implements TopLevelDomains { } private async *listPagingAll( - options?: TopLevelDomainsListOptionalParams + options?: TopLevelDomainsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -105,7 +105,7 @@ export class TopLevelDomainsImpl implements TopLevelDomains { public listAgreements( name: string, agreementOption: TopLevelDomainAgreementOption, - options?: TopLevelDomainsListAgreementsOptionalParams + options?: TopLevelDomainsListAgreementsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listAgreementsPagingAll(name, agreementOption, options); return { @@ -123,9 +123,9 @@ export class TopLevelDomainsImpl implements TopLevelDomains { name, agreementOption, options, - settings + settings, ); - } + }, }; } @@ -133,7 +133,7 @@ export class TopLevelDomainsImpl implements TopLevelDomains { name: string, agreementOption: TopLevelDomainAgreementOption, options?: TopLevelDomainsListAgreementsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: TopLevelDomainsListAgreementsResponse; let continuationToken = settings?.continuationToken; @@ -149,7 +149,7 @@ export class TopLevelDomainsImpl implements TopLevelDomains { name, agreementOption, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -161,12 +161,12 @@ export class TopLevelDomainsImpl implements TopLevelDomains { private async *listAgreementsPagingAll( name: string, agreementOption: TopLevelDomainAgreementOption, - options?: TopLevelDomainsListAgreementsOptionalParams + options?: TopLevelDomainsListAgreementsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listAgreementsPagingPage( name, agreementOption, - options + options, )) { yield* page; } @@ -177,7 +177,7 @@ export class TopLevelDomainsImpl implements TopLevelDomains { * @param options The options parameters. */ private _list( - options?: TopLevelDomainsListOptionalParams + options?: TopLevelDomainsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -189,11 +189,11 @@ export class TopLevelDomainsImpl implements TopLevelDomains { */ get( name: string, - options?: TopLevelDomainsGetOptionalParams + options?: TopLevelDomainsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { name, options }, - getOperationSpec + getOperationSpec, ); } @@ -206,11 +206,11 @@ export class TopLevelDomainsImpl implements TopLevelDomains { private _listAgreements( name: string, agreementOption: TopLevelDomainAgreementOption, - options?: TopLevelDomainsListAgreementsOptionalParams + options?: TopLevelDomainsListAgreementsOptionalParams, ): Promise { return this.client.sendOperationRequest( { name, agreementOption, options }, - listAgreementsOperationSpec + listAgreementsOperationSpec, ); } @@ -221,11 +221,11 @@ export class TopLevelDomainsImpl implements TopLevelDomains { */ private _listNext( nextLink: string, - options?: TopLevelDomainsListNextOptionalParams + options?: TopLevelDomainsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -240,11 +240,11 @@ export class TopLevelDomainsImpl implements TopLevelDomains { name: string, agreementOption: TopLevelDomainAgreementOption, nextLink: string, - options?: TopLevelDomainsListAgreementsNextOptionalParams + options?: TopLevelDomainsListAgreementsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { name, agreementOption, nextLink, options }, - listAgreementsNextOperationSpec + listAgreementsNextOperationSpec, ); } } @@ -252,95 +252,92 @@ export class TopLevelDomainsImpl implements TopLevelDomains { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TopLevelDomainCollection + bodyMapper: Mappers.TopLevelDomainCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TopLevelDomain + bodyMapper: Mappers.TopLevelDomain, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name], headerParameters: [Parameters.accept], - serializer + serializer, }; const listAgreementsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.TldLegalAgreementCollection + bodyMapper: Mappers.TldLegalAgreementCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.agreementOption, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TopLevelDomainCollection + bodyMapper: Mappers.TopLevelDomainCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listAgreementsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TldLegalAgreementCollection + bodyMapper: Mappers.TldLegalAgreementCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/webApps.ts b/sdk/appservice/arm-appservice/src/operations/webApps.ts index 4258f1865721..dd716d143822 100644 --- a/sdk/appservice/arm-appservice/src/operations/webApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/webApps.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -114,6 +114,10 @@ import { WebAppsListPublicCertificatesNextOptionalParams, WebAppsListPublicCertificatesOptionalParams, WebAppsListPublicCertificatesResponse, + SiteContainer, + WebAppsListSiteContainersNextOptionalParams, + WebAppsListSiteContainersOptionalParams, + WebAppsListSiteContainersResponse, SiteExtensionInfo, WebAppsListSiteExtensionsNextOptionalParams, WebAppsListSiteExtensionsOptionalParams, @@ -190,6 +194,9 @@ import { WebAppsListPublicCertificatesSlotNextOptionalParams, WebAppsListPublicCertificatesSlotOptionalParams, WebAppsListPublicCertificatesSlotResponse, + WebAppsListSiteContainersSlotNextOptionalParams, + WebAppsListSiteContainersSlotOptionalParams, + WebAppsListSiteContainersSlotResponse, WebAppsListSiteExtensionsSlotNextOptionalParams, WebAppsListSiteExtensionsSlotOptionalParams, WebAppsListSiteExtensionsSlotResponse, @@ -500,7 +507,6 @@ import { WebAppsPutPrivateAccessVnetResponse, WebAppsGetPrivateEndpointConnectionOptionalParams, WebAppsGetPrivateEndpointConnectionResponse, - PrivateLinkConnectionApprovalRequestResource, WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams, WebAppsApproveOrRejectPrivateEndpointConnectionResponse, WebAppsDeletePrivateEndpointConnectionOptionalParams, @@ -529,6 +535,11 @@ import { WebAppsRestoreFromDeletedAppOptionalParams, SnapshotRestoreRequest, WebAppsRestoreSnapshotOptionalParams, + WebAppsGetSiteContainerOptionalParams, + WebAppsGetSiteContainerResponse, + WebAppsCreateOrUpdateSiteContainerOptionalParams, + WebAppsCreateOrUpdateSiteContainerResponse, + WebAppsDeleteSiteContainerOptionalParams, WebAppsGetSiteExtensionOptionalParams, WebAppsGetSiteExtensionResponse, WebAppsInstallSiteExtensionOptionalParams, @@ -777,6 +788,11 @@ import { WebAppsRestoreFromBackupBlobSlotOptionalParams, WebAppsRestoreFromDeletedAppSlotOptionalParams, WebAppsRestoreSnapshotSlotOptionalParams, + WebAppsGetSiteContainerSlotOptionalParams, + WebAppsGetSiteContainerSlotResponse, + WebAppsCreateOrUpdateSiteContainerSlotOptionalParams, + WebAppsCreateOrUpdateSiteContainerSlotResponse, + WebAppsDeleteSiteContainerSlotOptionalParams, WebAppsGetSiteExtensionSlotOptionalParams, WebAppsGetSiteExtensionSlotResponse, WebAppsInstallSiteExtensionSlotOptionalParams, @@ -896,6 +912,7 @@ import { WebAppsListProcessModulesNextResponse, WebAppsListProcessThreadsNextResponse, WebAppsListPublicCertificatesNextResponse, + WebAppsListSiteContainersNextResponse, WebAppsListSiteExtensionsNextResponse, WebAppsListSlotsNextResponse, WebAppsListBackupsSlotNextResponse, @@ -921,6 +938,7 @@ import { WebAppsListProcessModulesSlotNextResponse, WebAppsListProcessThreadsSlotNextResponse, WebAppsListPublicCertificatesSlotNextResponse, + WebAppsListSiteContainersSlotNextResponse, WebAppsListSiteExtensionsSlotNextResponse, WebAppsListSlotDifferencesSlotNextResponse, WebAppsListSnapshotsSlotNextResponse, @@ -937,7 +955,7 @@ import { WebAppsListUsagesNextResponse, WebAppsListWebJobsNextResponse, WebAppsListInstanceWorkflowsSlotNextResponse, - WebAppsListWorkflowsNextResponse + WebAppsListWorkflowsNextResponse, } from "../models"; /// @@ -958,7 +976,7 @@ export class WebAppsImpl implements WebApps { * @param options The options parameters. */ public list( - options?: WebAppsListOptionalParams + options?: WebAppsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { @@ -973,13 +991,13 @@ export class WebAppsImpl implements WebApps { throw new Error("maxPageSize is not supported by this operation."); } return this.listPagingPage(options, settings); - } + }, }; } private async *listPagingPage( options?: WebAppsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListResponse; let continuationToken = settings?.continuationToken; @@ -1000,7 +1018,7 @@ export class WebAppsImpl implements WebApps { } private async *listPagingAll( - options?: WebAppsListOptionalParams + options?: WebAppsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage(options)) { yield* page; @@ -1014,7 +1032,7 @@ export class WebAppsImpl implements WebApps { */ public listByResourceGroup( resourceGroupName: string, - options?: WebAppsListByResourceGroupOptionalParams + options?: WebAppsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { @@ -1031,16 +1049,16 @@ export class WebAppsImpl implements WebApps { return this.listByResourceGroupPagingPage( resourceGroupName, options, - settings + settings, ); - } + }, }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, options?: WebAppsListByResourceGroupOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListByResourceGroupResponse; let continuationToken = settings?.continuationToken; @@ -1055,7 +1073,7 @@ export class WebAppsImpl implements WebApps { result = await this._listByResourceGroupNext( resourceGroupName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1066,11 +1084,11 @@ export class WebAppsImpl implements WebApps { private async *listByResourceGroupPagingAll( resourceGroupName: string, - options?: WebAppsListByResourceGroupOptionalParams + options?: WebAppsListByResourceGroupOptionalParams, ): AsyncIterableIterator { for await (const page of this.listByResourceGroupPagingPage( resourceGroupName, - options + options, )) { yield* page; } @@ -1085,7 +1103,7 @@ export class WebAppsImpl implements WebApps { public listBackups( resourceGroupName: string, name: string, - options?: WebAppsListBackupsOptionalParams + options?: WebAppsListBackupsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBackupsPagingAll(resourceGroupName, name, options); return { @@ -1103,9 +1121,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1113,7 +1131,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListBackupsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListBackupsResponse; let continuationToken = settings?.continuationToken; @@ -1129,7 +1147,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1141,12 +1159,12 @@ export class WebAppsImpl implements WebApps { private async *listBackupsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListBackupsOptionalParams + options?: WebAppsListBackupsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBackupsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1162,12 +1180,12 @@ export class WebAppsImpl implements WebApps { public listBasicPublishingCredentialsPolicies( resourceGroupName: string, name: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBasicPublishingCredentialsPoliciesPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1184,9 +1202,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1194,7 +1212,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListBasicPublishingCredentialsPoliciesResponse; let continuationToken = settings?.continuationToken; @@ -1202,7 +1220,7 @@ export class WebAppsImpl implements WebApps { result = await this._listBasicPublishingCredentialsPolicies( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1214,7 +1232,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1226,12 +1244,12 @@ export class WebAppsImpl implements WebApps { private async *listBasicPublishingCredentialsPoliciesPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBasicPublishingCredentialsPoliciesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1246,12 +1264,12 @@ export class WebAppsImpl implements WebApps { public listConfigurations( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationsOptionalParams + options?: WebAppsListConfigurationsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listConfigurationsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1268,9 +1286,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1278,7 +1296,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListConfigurationsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListConfigurationsResponse; let continuationToken = settings?.continuationToken; @@ -1294,7 +1312,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1306,12 +1324,12 @@ export class WebAppsImpl implements WebApps { private async *listConfigurationsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationsOptionalParams + options?: WebAppsListConfigurationsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listConfigurationsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1326,12 +1344,12 @@ export class WebAppsImpl implements WebApps { public listAppSettingsKeyVaultReferences( resourceGroupName: string, name: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getAppSettingsKeyVaultReferencesPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1348,9 +1366,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1358,7 +1376,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsGetAppSettingsKeyVaultReferencesResponse; let continuationToken = settings?.continuationToken; @@ -1366,7 +1384,7 @@ export class WebAppsImpl implements WebApps { result = await this._getAppSettingsKeyVaultReferences( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1378,7 +1396,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1390,12 +1408,12 @@ export class WebAppsImpl implements WebApps { private async *getAppSettingsKeyVaultReferencesPagingAll( resourceGroupName: string, name: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams, ): AsyncIterableIterator { for await (const page of this.getAppSettingsKeyVaultReferencesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1410,12 +1428,12 @@ export class WebAppsImpl implements WebApps { public listSiteConnectionStringKeyVaultReferences( resourceGroupName: string, name: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getSiteConnectionStringKeyVaultReferencesPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1432,9 +1450,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1442,7 +1460,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsGetSiteConnectionStringKeyVaultReferencesResponse; let continuationToken = settings?.continuationToken; @@ -1450,7 +1468,7 @@ export class WebAppsImpl implements WebApps { result = await this._getSiteConnectionStringKeyVaultReferences( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1462,7 +1480,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1474,12 +1492,12 @@ export class WebAppsImpl implements WebApps { private async *getSiteConnectionStringKeyVaultReferencesPagingAll( resourceGroupName: string, name: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams, ): AsyncIterableIterator { for await (const page of this.getSiteConnectionStringKeyVaultReferencesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1495,12 +1513,12 @@ export class WebAppsImpl implements WebApps { public listConfigurationSnapshotInfo( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationSnapshotInfoOptionalParams + options?: WebAppsListConfigurationSnapshotInfoOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listConfigurationSnapshotInfoPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1517,9 +1535,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1527,7 +1545,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListConfigurationSnapshotInfoOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListConfigurationSnapshotInfoResponse; let continuationToken = settings?.continuationToken; @@ -1535,7 +1553,7 @@ export class WebAppsImpl implements WebApps { result = await this._listConfigurationSnapshotInfo( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1547,7 +1565,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1559,12 +1577,12 @@ export class WebAppsImpl implements WebApps { private async *listConfigurationSnapshotInfoPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationSnapshotInfoOptionalParams + options?: WebAppsListConfigurationSnapshotInfoOptionalParams, ): AsyncIterableIterator { for await (const page of this.listConfigurationSnapshotInfoPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1579,12 +1597,12 @@ export class WebAppsImpl implements WebApps { public listContinuousWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListContinuousWebJobsOptionalParams + options?: WebAppsListContinuousWebJobsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listContinuousWebJobsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1601,9 +1619,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1611,7 +1629,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListContinuousWebJobsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListContinuousWebJobsResponse; let continuationToken = settings?.continuationToken; @@ -1619,7 +1637,7 @@ export class WebAppsImpl implements WebApps { result = await this._listContinuousWebJobs( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1631,7 +1649,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1643,12 +1661,12 @@ export class WebAppsImpl implements WebApps { private async *listContinuousWebJobsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListContinuousWebJobsOptionalParams + options?: WebAppsListContinuousWebJobsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listContinuousWebJobsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1663,12 +1681,12 @@ export class WebAppsImpl implements WebApps { public listProductionSiteDeploymentStatuses( resourceGroupName: string, name: string, - options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams + options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listProductionSiteDeploymentStatusesPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1685,9 +1703,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1695,7 +1713,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListProductionSiteDeploymentStatusesResponse; let continuationToken = settings?.continuationToken; @@ -1703,7 +1721,7 @@ export class WebAppsImpl implements WebApps { result = await this._listProductionSiteDeploymentStatuses( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1715,7 +1733,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1727,12 +1745,12 @@ export class WebAppsImpl implements WebApps { private async *listProductionSiteDeploymentStatusesPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams + options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listProductionSiteDeploymentStatusesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1747,12 +1765,12 @@ export class WebAppsImpl implements WebApps { public listDeployments( resourceGroupName: string, name: string, - options?: WebAppsListDeploymentsOptionalParams + options?: WebAppsListDeploymentsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listDeploymentsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1769,9 +1787,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1779,7 +1797,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListDeploymentsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListDeploymentsResponse; let continuationToken = settings?.continuationToken; @@ -1795,7 +1813,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1807,12 +1825,12 @@ export class WebAppsImpl implements WebApps { private async *listDeploymentsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListDeploymentsOptionalParams + options?: WebAppsListDeploymentsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listDeploymentsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1827,12 +1845,12 @@ export class WebAppsImpl implements WebApps { public listDomainOwnershipIdentifiers( resourceGroupName: string, name: string, - options?: WebAppsListDomainOwnershipIdentifiersOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listDomainOwnershipIdentifiersPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -1849,9 +1867,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1859,7 +1877,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListDomainOwnershipIdentifiersOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListDomainOwnershipIdentifiersResponse; let continuationToken = settings?.continuationToken; @@ -1867,7 +1885,7 @@ export class WebAppsImpl implements WebApps { result = await this._listDomainOwnershipIdentifiers( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -1879,7 +1897,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1891,12 +1909,12 @@ export class WebAppsImpl implements WebApps { private async *listDomainOwnershipIdentifiersPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListDomainOwnershipIdentifiersOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersOptionalParams, ): AsyncIterableIterator { for await (const page of this.listDomainOwnershipIdentifiersPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1911,7 +1929,7 @@ export class WebAppsImpl implements WebApps { public listFunctions( resourceGroupName: string, name: string, - options?: WebAppsListFunctionsOptionalParams + options?: WebAppsListFunctionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listFunctionsPagingAll(resourceGroupName, name, options); return { @@ -1929,9 +1947,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -1939,7 +1957,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListFunctionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListFunctionsResponse; let continuationToken = settings?.continuationToken; @@ -1955,7 +1973,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -1967,12 +1985,12 @@ export class WebAppsImpl implements WebApps { private async *listFunctionsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListFunctionsOptionalParams + options?: WebAppsListFunctionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listFunctionsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -1987,12 +2005,12 @@ export class WebAppsImpl implements WebApps { public listHostNameBindings( resourceGroupName: string, name: string, - options?: WebAppsListHostNameBindingsOptionalParams + options?: WebAppsListHostNameBindingsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listHostNameBindingsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -2009,9 +2027,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -2019,7 +2037,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListHostNameBindingsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListHostNameBindingsResponse; let continuationToken = settings?.continuationToken; @@ -2027,7 +2045,7 @@ export class WebAppsImpl implements WebApps { result = await this._listHostNameBindings( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2039,7 +2057,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2051,12 +2069,12 @@ export class WebAppsImpl implements WebApps { private async *listHostNameBindingsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListHostNameBindingsOptionalParams + options?: WebAppsListHostNameBindingsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listHostNameBindingsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -2071,12 +2089,12 @@ export class WebAppsImpl implements WebApps { public listInstanceIdentifiers( resourceGroupName: string, name: string, - options?: WebAppsListInstanceIdentifiersOptionalParams + options?: WebAppsListInstanceIdentifiersOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceIdentifiersPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -2093,9 +2111,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -2103,7 +2121,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListInstanceIdentifiersOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceIdentifiersResponse; let continuationToken = settings?.continuationToken; @@ -2111,7 +2129,7 @@ export class WebAppsImpl implements WebApps { result = await this._listInstanceIdentifiers( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2123,7 +2141,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2135,12 +2153,12 @@ export class WebAppsImpl implements WebApps { private async *listInstanceIdentifiersPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListInstanceIdentifiersOptionalParams + options?: WebAppsListInstanceIdentifiersOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceIdentifiersPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -2159,13 +2177,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsListInstanceProcessesOptionalParams + options?: WebAppsListInstanceProcessesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceProcessesPagingAll( resourceGroupName, name, instanceId, - options + options, ); return { next() { @@ -2183,9 +2201,9 @@ export class WebAppsImpl implements WebApps { name, instanceId, options, - settings + settings, ); - } + }, }; } @@ -2194,7 +2212,7 @@ export class WebAppsImpl implements WebApps { name: string, instanceId: string, options?: WebAppsListInstanceProcessesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceProcessesResponse; let continuationToken = settings?.continuationToken; @@ -2203,7 +2221,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, instanceId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2216,7 +2234,7 @@ export class WebAppsImpl implements WebApps { name, instanceId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2229,13 +2247,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsListInstanceProcessesOptionalParams + options?: WebAppsListInstanceProcessesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceProcessesPagingPage( resourceGroupName, name, instanceId, - options + options, )) { yield* page; } @@ -2256,14 +2274,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesOptionalParams + options?: WebAppsListInstanceProcessModulesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceProcessModulesPagingAll( resourceGroupName, name, processId, instanceId, - options + options, ); return { next() { @@ -2282,9 +2300,9 @@ export class WebAppsImpl implements WebApps { processId, instanceId, options, - settings + settings, ); - } + }, }; } @@ -2294,7 +2312,7 @@ export class WebAppsImpl implements WebApps { processId: string, instanceId: string, options?: WebAppsListInstanceProcessModulesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceProcessModulesResponse; let continuationToken = settings?.continuationToken; @@ -2304,7 +2322,7 @@ export class WebAppsImpl implements WebApps { name, processId, instanceId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2318,7 +2336,7 @@ export class WebAppsImpl implements WebApps { processId, instanceId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2332,14 +2350,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesOptionalParams + options?: WebAppsListInstanceProcessModulesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceProcessModulesPagingPage( resourceGroupName, name, processId, instanceId, - options + options, )) { yield* page; } @@ -2360,14 +2378,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsOptionalParams + options?: WebAppsListInstanceProcessThreadsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceProcessThreadsPagingAll( resourceGroupName, name, processId, instanceId, - options + options, ); return { next() { @@ -2386,9 +2404,9 @@ export class WebAppsImpl implements WebApps { processId, instanceId, options, - settings + settings, ); - } + }, }; } @@ -2398,7 +2416,7 @@ export class WebAppsImpl implements WebApps { processId: string, instanceId: string, options?: WebAppsListInstanceProcessThreadsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceProcessThreadsResponse; let continuationToken = settings?.continuationToken; @@ -2408,7 +2426,7 @@ export class WebAppsImpl implements WebApps { name, processId, instanceId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2422,7 +2440,7 @@ export class WebAppsImpl implements WebApps { processId, instanceId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2436,14 +2454,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsOptionalParams + options?: WebAppsListInstanceProcessThreadsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceProcessThreadsPagingPage( resourceGroupName, name, processId, instanceId, - options + options, )) { yield* page; } @@ -2458,12 +2476,12 @@ export class WebAppsImpl implements WebApps { public listSiteBackups( resourceGroupName: string, name: string, - options?: WebAppsListSiteBackupsOptionalParams + options?: WebAppsListSiteBackupsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteBackupsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -2480,9 +2498,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -2490,7 +2508,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListSiteBackupsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSiteBackupsResponse; let continuationToken = settings?.continuationToken; @@ -2506,7 +2524,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2518,12 +2536,12 @@ export class WebAppsImpl implements WebApps { private async *listSiteBackupsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListSiteBackupsOptionalParams + options?: WebAppsListSiteBackupsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteBackupsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -2538,12 +2556,12 @@ export class WebAppsImpl implements WebApps { public listPerfMonCounters( resourceGroupName: string, name: string, - options?: WebAppsListPerfMonCountersOptionalParams + options?: WebAppsListPerfMonCountersOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPerfMonCountersPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -2560,9 +2578,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -2570,7 +2588,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListPerfMonCountersOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListPerfMonCountersResponse; let continuationToken = settings?.continuationToken; @@ -2578,7 +2596,7 @@ export class WebAppsImpl implements WebApps { result = await this._listPerfMonCounters( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2590,7 +2608,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2602,12 +2620,12 @@ export class WebAppsImpl implements WebApps { private async *listPerfMonCountersPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListPerfMonCountersOptionalParams + options?: WebAppsListPerfMonCountersOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPerfMonCountersPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -2622,12 +2640,12 @@ export class WebAppsImpl implements WebApps { public listPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateEndpointConnectionListOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getPrivateEndpointConnectionListPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -2644,9 +2662,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -2654,7 +2672,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsGetPrivateEndpointConnectionListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsGetPrivateEndpointConnectionListResponse; let continuationToken = settings?.continuationToken; @@ -2662,7 +2680,7 @@ export class WebAppsImpl implements WebApps { result = await this._getPrivateEndpointConnectionList( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2674,7 +2692,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2686,12 +2704,12 @@ export class WebAppsImpl implements WebApps { private async *getPrivateEndpointConnectionListPagingAll( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateEndpointConnectionListOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListOptionalParams, ): AsyncIterableIterator { for await (const page of this.getPrivateEndpointConnectionListPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -2707,7 +2725,7 @@ export class WebAppsImpl implements WebApps { public listProcesses( resourceGroupName: string, name: string, - options?: WebAppsListProcessesOptionalParams + options?: WebAppsListProcessesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listProcessesPagingAll(resourceGroupName, name, options); return { @@ -2725,9 +2743,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -2735,7 +2753,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListProcessesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListProcessesResponse; let continuationToken = settings?.continuationToken; @@ -2751,7 +2769,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2763,12 +2781,12 @@ export class WebAppsImpl implements WebApps { private async *listProcessesPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListProcessesOptionalParams + options?: WebAppsListProcessesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listProcessesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -2786,13 +2804,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessModulesOptionalParams + options?: WebAppsListProcessModulesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listProcessModulesPagingAll( resourceGroupName, name, processId, - options + options, ); return { next() { @@ -2810,9 +2828,9 @@ export class WebAppsImpl implements WebApps { name, processId, options, - settings + settings, ); - } + }, }; } @@ -2821,7 +2839,7 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, options?: WebAppsListProcessModulesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListProcessModulesResponse; let continuationToken = settings?.continuationToken; @@ -2830,7 +2848,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, processId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2843,7 +2861,7 @@ export class WebAppsImpl implements WebApps { name, processId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2856,13 +2874,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessModulesOptionalParams + options?: WebAppsListProcessModulesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listProcessModulesPagingPage( resourceGroupName, name, processId, - options + options, )) { yield* page; } @@ -2880,13 +2898,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessThreadsOptionalParams + options?: WebAppsListProcessThreadsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listProcessThreadsPagingAll( resourceGroupName, name, processId, - options + options, ); return { next() { @@ -2904,9 +2922,9 @@ export class WebAppsImpl implements WebApps { name, processId, options, - settings + settings, ); - } + }, }; } @@ -2915,7 +2933,7 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, options?: WebAppsListProcessThreadsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListProcessThreadsResponse; let continuationToken = settings?.continuationToken; @@ -2924,7 +2942,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, processId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -2937,7 +2955,7 @@ export class WebAppsImpl implements WebApps { name, processId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -2950,13 +2968,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessThreadsOptionalParams + options?: WebAppsListProcessThreadsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listProcessThreadsPagingPage( resourceGroupName, name, processId, - options + options, )) { yield* page; } @@ -2971,12 +2989,12 @@ export class WebAppsImpl implements WebApps { public listPublicCertificates( resourceGroupName: string, name: string, - options?: WebAppsListPublicCertificatesOptionalParams + options?: WebAppsListPublicCertificatesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPublicCertificatesPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -2993,9 +3011,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -3003,7 +3021,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListPublicCertificatesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListPublicCertificatesResponse; let continuationToken = settings?.continuationToken; @@ -3011,7 +3029,7 @@ export class WebAppsImpl implements WebApps { result = await this._listPublicCertificates( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3023,7 +3041,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3035,12 +3053,92 @@ export class WebAppsImpl implements WebApps { private async *listPublicCertificatesPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListPublicCertificatesOptionalParams + options?: WebAppsListPublicCertificatesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPublicCertificatesPagingPage( resourceGroupName, name, - options + options, + )) { + yield* page; + } + } + + /** + * Lists all the site containers of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The options parameters. + */ + public listSiteContainers( + resourceGroupName: string, + name: string, + options?: WebAppsListSiteContainersOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listSiteContainersPagingAll( + resourceGroupName, + name, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listSiteContainersPagingPage( + resourceGroupName, + name, + options, + settings, + ); + }, + }; + } + + private async *listSiteContainersPagingPage( + resourceGroupName: string, + name: string, + options?: WebAppsListSiteContainersOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WebAppsListSiteContainersResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listSiteContainers(resourceGroupName, name, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listSiteContainersNext( + resourceGroupName, + name, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listSiteContainersPagingAll( + resourceGroupName: string, + name: string, + options?: WebAppsListSiteContainersOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listSiteContainersPagingPage( + resourceGroupName, + name, + options, )) { yield* page; } @@ -3055,12 +3153,12 @@ export class WebAppsImpl implements WebApps { public listSiteExtensions( resourceGroupName: string, name: string, - options?: WebAppsListSiteExtensionsOptionalParams + options?: WebAppsListSiteExtensionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteExtensionsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -3077,9 +3175,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -3087,7 +3185,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListSiteExtensionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSiteExtensionsResponse; let continuationToken = settings?.continuationToken; @@ -3103,7 +3201,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3115,12 +3213,12 @@ export class WebAppsImpl implements WebApps { private async *listSiteExtensionsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListSiteExtensionsOptionalParams + options?: WebAppsListSiteExtensionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteExtensionsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -3135,7 +3233,7 @@ export class WebAppsImpl implements WebApps { public listSlots( resourceGroupName: string, name: string, - options?: WebAppsListSlotsOptionalParams + options?: WebAppsListSlotsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSlotsPagingAll(resourceGroupName, name, options); return { @@ -3153,9 +3251,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -3163,7 +3261,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListSlotsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSlotsResponse; let continuationToken = settings?.continuationToken; @@ -3179,7 +3277,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3191,12 +3289,12 @@ export class WebAppsImpl implements WebApps { private async *listSlotsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListSlotsOptionalParams + options?: WebAppsListSlotsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSlotsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -3214,13 +3312,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBackupsSlotOptionalParams + options?: WebAppsListBackupsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBackupsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3238,9 +3336,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3249,7 +3347,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListBackupsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListBackupsSlotResponse; let continuationToken = settings?.continuationToken; @@ -3258,7 +3356,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3271,7 +3369,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3284,13 +3382,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBackupsSlotOptionalParams + options?: WebAppsListBackupsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBackupsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3308,13 +3406,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBasicPublishingCredentialsPoliciesSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3332,9 +3430,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3343,7 +3441,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListBasicPublishingCredentialsPoliciesSlotResponse; let continuationToken = settings?.continuationToken; @@ -3352,7 +3450,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3365,7 +3463,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3378,13 +3476,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBasicPublishingCredentialsPoliciesSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3402,13 +3500,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationsSlotOptionalParams + options?: WebAppsListConfigurationsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listConfigurationsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3426,9 +3524,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3437,7 +3535,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListConfigurationsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListConfigurationsSlotResponse; let continuationToken = settings?.continuationToken; @@ -3446,7 +3544,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3459,7 +3557,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3472,13 +3570,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationsSlotOptionalParams + options?: WebAppsListConfigurationsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listConfigurationsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3495,13 +3593,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getAppSettingsKeyVaultReferencesSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3519,9 +3617,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3530,7 +3628,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsGetAppSettingsKeyVaultReferencesSlotResponse; let continuationToken = settings?.continuationToken; @@ -3539,7 +3637,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3552,7 +3650,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3565,13 +3663,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.getAppSettingsKeyVaultReferencesSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3588,13 +3686,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getSiteConnectionStringKeyVaultReferencesSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3612,9 +3710,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3623,7 +3721,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotResponse; let continuationToken = settings?.continuationToken; @@ -3632,7 +3730,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3645,7 +3743,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3658,13 +3756,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.getSiteConnectionStringKeyVaultReferencesSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3683,13 +3781,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams + options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listConfigurationSnapshotInfoSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3707,9 +3805,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3718,7 +3816,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListConfigurationSnapshotInfoSlotResponse; let continuationToken = settings?.continuationToken; @@ -3727,7 +3825,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3740,7 +3838,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3753,13 +3851,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams + options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listConfigurationSnapshotInfoSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3777,13 +3875,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListContinuousWebJobsSlotOptionalParams + options?: WebAppsListContinuousWebJobsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listContinuousWebJobsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3801,9 +3899,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3812,7 +3910,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListContinuousWebJobsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListContinuousWebJobsSlotResponse; let continuationToken = settings?.continuationToken; @@ -3821,7 +3919,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3834,7 +3932,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3847,13 +3945,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListContinuousWebJobsSlotOptionalParams + options?: WebAppsListContinuousWebJobsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listContinuousWebJobsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3871,13 +3969,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams + options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSlotSiteDeploymentStatusesSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3895,9 +3993,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -3906,7 +4004,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSlotSiteDeploymentStatusesSlotResponse; let continuationToken = settings?.continuationToken; @@ -3915,7 +4013,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -3928,7 +4026,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -3941,13 +4039,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams + options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSlotSiteDeploymentStatusesSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -3965,13 +4063,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDeploymentsSlotOptionalParams + options?: WebAppsListDeploymentsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listDeploymentsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -3989,9 +4087,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4000,7 +4098,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListDeploymentsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListDeploymentsSlotResponse; let continuationToken = settings?.continuationToken; @@ -4009,7 +4107,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4022,7 +4120,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4035,13 +4133,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDeploymentsSlotOptionalParams + options?: WebAppsListDeploymentsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listDeploymentsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -4059,13 +4157,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listDomainOwnershipIdentifiersSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -4083,9 +4181,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4094,7 +4192,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListDomainOwnershipIdentifiersSlotResponse; let continuationToken = settings?.continuationToken; @@ -4103,7 +4201,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4116,7 +4214,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4129,13 +4227,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listDomainOwnershipIdentifiersSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -4152,13 +4250,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceFunctionsSlotOptionalParams + options?: WebAppsListInstanceFunctionsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceFunctionsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -4176,9 +4274,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4187,7 +4285,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListInstanceFunctionsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceFunctionsSlotResponse; let continuationToken = settings?.continuationToken; @@ -4196,7 +4294,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4209,7 +4307,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4222,13 +4320,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceFunctionsSlotOptionalParams + options?: WebAppsListInstanceFunctionsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceFunctionsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -4246,13 +4344,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHostNameBindingsSlotOptionalParams + options?: WebAppsListHostNameBindingsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listHostNameBindingsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -4270,9 +4368,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4281,7 +4379,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListHostNameBindingsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListHostNameBindingsSlotResponse; let continuationToken = settings?.continuationToken; @@ -4290,7 +4388,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4303,7 +4401,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4316,13 +4414,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHostNameBindingsSlotOptionalParams + options?: WebAppsListHostNameBindingsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listHostNameBindingsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -4340,13 +4438,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceIdentifiersSlotOptionalParams + options?: WebAppsListInstanceIdentifiersSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceIdentifiersSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -4364,9 +4462,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4375,7 +4473,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListInstanceIdentifiersSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceIdentifiersSlotResponse; let continuationToken = settings?.continuationToken; @@ -4384,7 +4482,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4397,7 +4495,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4410,13 +4508,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceIdentifiersSlotOptionalParams + options?: WebAppsListInstanceIdentifiersSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceIdentifiersSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -4438,14 +4536,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessesSlotOptionalParams + options?: WebAppsListInstanceProcessesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceProcessesSlotPagingAll( resourceGroupName, name, slot, instanceId, - options + options, ); return { next() { @@ -4464,9 +4562,9 @@ export class WebAppsImpl implements WebApps { slot, instanceId, options, - settings + settings, ); - } + }, }; } @@ -4476,7 +4574,7 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, options?: WebAppsListInstanceProcessesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceProcessesSlotResponse; let continuationToken = settings?.continuationToken; @@ -4486,7 +4584,7 @@ export class WebAppsImpl implements WebApps { name, slot, instanceId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4500,7 +4598,7 @@ export class WebAppsImpl implements WebApps { slot, instanceId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4514,14 +4612,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessesSlotOptionalParams + options?: WebAppsListInstanceProcessesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceProcessesSlotPagingPage( resourceGroupName, name, slot, instanceId, - options + options, )) { yield* page; } @@ -4545,7 +4643,7 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesSlotOptionalParams + options?: WebAppsListInstanceProcessModulesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceProcessModulesSlotPagingAll( resourceGroupName, @@ -4553,7 +4651,7 @@ export class WebAppsImpl implements WebApps { processId, slot, instanceId, - options + options, ); return { next() { @@ -4573,9 +4671,9 @@ export class WebAppsImpl implements WebApps { slot, instanceId, options, - settings + settings, ); - } + }, }; } @@ -4586,7 +4684,7 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, options?: WebAppsListInstanceProcessModulesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceProcessModulesSlotResponse; let continuationToken = settings?.continuationToken; @@ -4597,7 +4695,7 @@ export class WebAppsImpl implements WebApps { processId, slot, instanceId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4612,7 +4710,7 @@ export class WebAppsImpl implements WebApps { slot, instanceId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4627,7 +4725,7 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesSlotOptionalParams + options?: WebAppsListInstanceProcessModulesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceProcessModulesSlotPagingPage( resourceGroupName, @@ -4635,7 +4733,7 @@ export class WebAppsImpl implements WebApps { processId, slot, instanceId, - options + options, )) { yield* page; } @@ -4659,7 +4757,7 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsSlotOptionalParams + options?: WebAppsListInstanceProcessThreadsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceProcessThreadsSlotPagingAll( resourceGroupName, @@ -4667,7 +4765,7 @@ export class WebAppsImpl implements WebApps { processId, slot, instanceId, - options + options, ); return { next() { @@ -4687,9 +4785,9 @@ export class WebAppsImpl implements WebApps { slot, instanceId, options, - settings + settings, ); - } + }, }; } @@ -4700,7 +4798,7 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, options?: WebAppsListInstanceProcessThreadsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceProcessThreadsSlotResponse; let continuationToken = settings?.continuationToken; @@ -4711,7 +4809,7 @@ export class WebAppsImpl implements WebApps { processId, slot, instanceId, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4726,7 +4824,7 @@ export class WebAppsImpl implements WebApps { slot, instanceId, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4741,7 +4839,7 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsSlotOptionalParams + options?: WebAppsListInstanceProcessThreadsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceProcessThreadsSlotPagingPage( resourceGroupName, @@ -4749,7 +4847,7 @@ export class WebAppsImpl implements WebApps { processId, slot, instanceId, - options + options, )) { yield* page; } @@ -4767,13 +4865,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteBackupsSlotOptionalParams + options?: WebAppsListSiteBackupsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteBackupsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -4791,9 +4889,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4802,7 +4900,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListSiteBackupsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSiteBackupsSlotResponse; let continuationToken = settings?.continuationToken; @@ -4811,7 +4909,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4824,7 +4922,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4837,13 +4935,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteBackupsSlotOptionalParams + options?: WebAppsListSiteBackupsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteBackupsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -4860,13 +4958,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPerfMonCountersSlotOptionalParams + options?: WebAppsListPerfMonCountersSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPerfMonCountersSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -4884,9 +4982,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4895,7 +4993,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListPerfMonCountersSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListPerfMonCountersSlotResponse; let continuationToken = settings?.continuationToken; @@ -4904,7 +5002,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -4917,7 +5015,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -4930,13 +5028,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPerfMonCountersSlotOptionalParams + options?: WebAppsListPerfMonCountersSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPerfMonCountersSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -4953,13 +5051,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.getPrivateEndpointConnectionListSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -4977,9 +5075,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -4988,7 +5086,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsGetPrivateEndpointConnectionListSlotResponse; let continuationToken = settings?.continuationToken; @@ -4997,7 +5095,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5010,7 +5108,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5023,13 +5121,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.getPrivateEndpointConnectionListSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -5048,13 +5146,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListProcessesSlotOptionalParams + options?: WebAppsListProcessesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listProcessesSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -5072,9 +5170,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -5083,7 +5181,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListProcessesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListProcessesSlotResponse; let continuationToken = settings?.continuationToken; @@ -5092,7 +5190,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5105,7 +5203,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5118,13 +5216,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListProcessesSlotOptionalParams + options?: WebAppsListProcessesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listProcessesSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -5145,14 +5243,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessModulesSlotOptionalParams + options?: WebAppsListProcessModulesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listProcessModulesSlotPagingAll( resourceGroupName, name, processId, slot, - options + options, ); return { next() { @@ -5171,9 +5269,9 @@ export class WebAppsImpl implements WebApps { processId, slot, options, - settings + settings, ); - } + }, }; } @@ -5183,7 +5281,7 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, options?: WebAppsListProcessModulesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListProcessModulesSlotResponse; let continuationToken = settings?.continuationToken; @@ -5193,7 +5291,7 @@ export class WebAppsImpl implements WebApps { name, processId, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5207,7 +5305,7 @@ export class WebAppsImpl implements WebApps { processId, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5221,14 +5319,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessModulesSlotOptionalParams + options?: WebAppsListProcessModulesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listProcessModulesSlotPagingPage( resourceGroupName, name, processId, slot, - options + options, )) { yield* page; } @@ -5249,14 +5347,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessThreadsSlotOptionalParams + options?: WebAppsListProcessThreadsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listProcessThreadsSlotPagingAll( resourceGroupName, name, processId, slot, - options + options, ); return { next() { @@ -5275,9 +5373,9 @@ export class WebAppsImpl implements WebApps { processId, slot, options, - settings + settings, ); - } + }, }; } @@ -5287,7 +5385,7 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, options?: WebAppsListProcessThreadsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListProcessThreadsSlotResponse; let continuationToken = settings?.continuationToken; @@ -5297,7 +5395,7 @@ export class WebAppsImpl implements WebApps { name, processId, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5311,7 +5409,7 @@ export class WebAppsImpl implements WebApps { processId, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5325,14 +5423,14 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessThreadsSlotOptionalParams + options?: WebAppsListProcessThreadsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listProcessThreadsSlotPagingPage( resourceGroupName, name, processId, slot, - options + options, )) { yield* page; } @@ -5350,13 +5448,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublicCertificatesSlotOptionalParams + options?: WebAppsListPublicCertificatesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPublicCertificatesSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -5374,9 +5472,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -5385,7 +5483,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListPublicCertificatesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListPublicCertificatesSlotResponse; let continuationToken = settings?.continuationToken; @@ -5394,7 +5492,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5407,7 +5505,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5420,37 +5518,37 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublicCertificatesSlotOptionalParams + options?: WebAppsListPublicCertificatesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPublicCertificatesSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } } /** - * Description for Get list of siteextensions for a web site, or a deployment slot. + * Lists all the site containers of a site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production - * slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a list of site + * containers for the production slot. * @param options The options parameters. */ - public listSiteExtensionsSlot( + public listSiteContainersSlot( resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteExtensionsSlotOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listSiteExtensionsSlotPagingAll( + options?: WebAppsListSiteContainersSlotOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listSiteContainersSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -5463,32 +5561,32 @@ export class WebAppsImpl implements WebApps { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listSiteExtensionsSlotPagingPage( + return this.listSiteContainersSlotPagingPage( resourceGroupName, name, slot, options, - settings + settings, ); - } + }, }; } - private async *listSiteExtensionsSlotPagingPage( + private async *listSiteContainersSlotPagingPage( resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteExtensionsSlotOptionalParams, - settings?: PageSettings - ): AsyncIterableIterator { - let result: WebAppsListSiteExtensionsSlotResponse; + options?: WebAppsListSiteContainersSlotOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WebAppsListSiteContainersSlotResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listSiteExtensionsSlot( + result = await this._listSiteContainersSlot( resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5496,12 +5594,12 @@ export class WebAppsImpl implements WebApps { yield page; } while (continuationToken) { - result = await this._listSiteExtensionsSlotNext( + result = await this._listSiteContainersSlotNext( resourceGroupName, name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5510,44 +5608,41 @@ export class WebAppsImpl implements WebApps { } } - private async *listSiteExtensionsSlotPagingAll( + private async *listSiteContainersSlotPagingAll( resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteExtensionsSlotOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listSiteExtensionsSlotPagingPage( + options?: WebAppsListSiteContainersSlotOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listSiteContainersSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } } /** - * Description for Get the difference in configuration settings between two web app slots. + * Description for Get list of siteextensions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the - * source slot. - * @param slotSwapEntity JSON object that contains the target slot name. See example. + * @param name Site name. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param options The options parameters. */ - public listSlotDifferencesSlot( + public listSiteExtensionsSlot( resourceGroupName: string, name: string, slot: string, - slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesSlotOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listSlotDifferencesSlotPagingAll( + options?: WebAppsListSiteExtensionsSlotOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listSiteExtensionsSlotPagingAll( resourceGroupName, name, slot, - slotSwapEntity, - options + options, ); return { next() { @@ -5560,27 +5655,124 @@ export class WebAppsImpl implements WebApps { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listSlotDifferencesSlotPagingPage( + return this.listSiteExtensionsSlotPagingPage( resourceGroupName, name, slot, - slotSwapEntity, options, - settings + settings, ); - } + }, }; } - private async *listSlotDifferencesSlotPagingPage( + private async *listSiteExtensionsSlotPagingPage( resourceGroupName: string, name: string, slot: string, - slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesSlotOptionalParams, - settings?: PageSettings - ): AsyncIterableIterator { - let result: WebAppsListSlotDifferencesSlotResponse; + options?: WebAppsListSiteExtensionsSlotOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WebAppsListSiteExtensionsSlotResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listSiteExtensionsSlot( + resourceGroupName, + name, + slot, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listSiteExtensionsSlotNext( + resourceGroupName, + name, + slot, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listSiteExtensionsSlotPagingAll( + resourceGroupName: string, + name: string, + slot: string, + options?: WebAppsListSiteExtensionsSlotOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listSiteExtensionsSlotPagingPage( + resourceGroupName, + name, + slot, + options, + )) { + yield* page; + } + } + + /** + * Description for Get the difference in configuration settings between two web app slots. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the + * source slot. + * @param slotSwapEntity JSON object that contains the target slot name. See example. + * @param options The options parameters. + */ + public listSlotDifferencesSlot( + resourceGroupName: string, + name: string, + slot: string, + slotSwapEntity: CsmSlotEntity, + options?: WebAppsListSlotDifferencesSlotOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listSlotDifferencesSlotPagingAll( + resourceGroupName, + name, + slot, + slotSwapEntity, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listSlotDifferencesSlotPagingPage( + resourceGroupName, + name, + slot, + slotSwapEntity, + options, + settings, + ); + }, + }; + } + + private async *listSlotDifferencesSlotPagingPage( + resourceGroupName: string, + name: string, + slot: string, + slotSwapEntity: CsmSlotEntity, + options?: WebAppsListSlotDifferencesSlotOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: WebAppsListSlotDifferencesSlotResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { result = await this._listSlotDifferencesSlot( @@ -5588,7 +5780,7 @@ export class WebAppsImpl implements WebApps { name, slot, slotSwapEntity, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5602,7 +5794,7 @@ export class WebAppsImpl implements WebApps { slot, slotSwapEntity, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5616,14 +5808,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesSlotOptionalParams + options?: WebAppsListSlotDifferencesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSlotDifferencesSlotPagingPage( resourceGroupName, name, slot, slotSwapEntity, - options + options, )) { yield* page; } @@ -5640,13 +5832,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsSlotOptionalParams + options?: WebAppsListSnapshotsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSnapshotsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -5664,9 +5856,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -5675,7 +5867,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListSnapshotsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSnapshotsSlotResponse; let continuationToken = settings?.continuationToken; @@ -5684,7 +5876,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5697,7 +5889,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5710,13 +5902,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsSlotOptionalParams + options?: WebAppsListSnapshotsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSnapshotsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -5733,13 +5925,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams + options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSnapshotsFromDRSecondarySlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -5757,9 +5949,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -5768,7 +5960,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSnapshotsFromDRSecondarySlotResponse; let continuationToken = settings?.continuationToken; @@ -5777,7 +5969,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5790,7 +5982,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5803,13 +5995,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams + options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSnapshotsFromDRSecondarySlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -5827,13 +6019,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListTriggeredWebJobsSlotOptionalParams + options?: WebAppsListTriggeredWebJobsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listTriggeredWebJobsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -5851,9 +6043,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -5862,7 +6054,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListTriggeredWebJobsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListTriggeredWebJobsSlotResponse; let continuationToken = settings?.continuationToken; @@ -5871,7 +6063,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5884,7 +6076,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5897,13 +6089,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListTriggeredWebJobsSlotOptionalParams + options?: WebAppsListTriggeredWebJobsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listTriggeredWebJobsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -5923,14 +6115,14 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams + options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listTriggeredWebJobHistorySlotPagingAll( resourceGroupName, name, webJobName, slot, - options + options, ); return { next() { @@ -5949,9 +6141,9 @@ export class WebAppsImpl implements WebApps { webJobName, slot, options, - settings + settings, ); - } + }, }; } @@ -5961,7 +6153,7 @@ export class WebAppsImpl implements WebApps { webJobName: string, slot: string, options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListTriggeredWebJobHistorySlotResponse; let continuationToken = settings?.continuationToken; @@ -5971,7 +6163,7 @@ export class WebAppsImpl implements WebApps { name, webJobName, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -5985,7 +6177,7 @@ export class WebAppsImpl implements WebApps { webJobName, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -5999,14 +6191,14 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams + options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listTriggeredWebJobHistorySlotPagingPage( resourceGroupName, name, webJobName, slot, - options + options, )) { yield* page; } @@ -6024,13 +6216,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListUsagesSlotOptionalParams + options?: WebAppsListUsagesSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listUsagesSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -6048,9 +6240,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -6059,7 +6251,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListUsagesSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListUsagesSlotResponse; let continuationToken = settings?.continuationToken; @@ -6068,7 +6260,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -6081,7 +6273,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6094,13 +6286,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListUsagesSlotOptionalParams + options?: WebAppsListUsagesSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listUsagesSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -6118,13 +6310,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListWebJobsSlotOptionalParams + options?: WebAppsListWebJobsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWebJobsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -6142,9 +6334,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -6153,7 +6345,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListWebJobsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListWebJobsSlotResponse; let continuationToken = settings?.continuationToken; @@ -6162,7 +6354,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -6175,7 +6367,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6188,13 +6380,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListWebJobsSlotOptionalParams + options?: WebAppsListWebJobsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWebJobsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -6211,13 +6403,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesFromProductionOptionalParams + options?: WebAppsListSlotDifferencesFromProductionOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSlotDifferencesFromProductionPagingAll( resourceGroupName, name, slotSwapEntity, - options + options, ); return { next() { @@ -6235,9 +6427,9 @@ export class WebAppsImpl implements WebApps { name, slotSwapEntity, options, - settings + settings, ); - } + }, }; } @@ -6246,7 +6438,7 @@ export class WebAppsImpl implements WebApps { name: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsListSlotDifferencesFromProductionOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSlotDifferencesFromProductionResponse; let continuationToken = settings?.continuationToken; @@ -6255,7 +6447,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slotSwapEntity, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -6268,7 +6460,7 @@ export class WebAppsImpl implements WebApps { name, slotSwapEntity, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6281,13 +6473,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesFromProductionOptionalParams + options?: WebAppsListSlotDifferencesFromProductionOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSlotDifferencesFromProductionPagingPage( resourceGroupName, name, slotSwapEntity, - options + options, )) { yield* page; } @@ -6302,7 +6494,7 @@ export class WebAppsImpl implements WebApps { public listSnapshots( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsOptionalParams + options?: WebAppsListSnapshotsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSnapshotsPagingAll(resourceGroupName, name, options); return { @@ -6320,9 +6512,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -6330,7 +6522,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListSnapshotsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSnapshotsResponse; let continuationToken = settings?.continuationToken; @@ -6346,7 +6538,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6358,12 +6550,12 @@ export class WebAppsImpl implements WebApps { private async *listSnapshotsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsOptionalParams + options?: WebAppsListSnapshotsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSnapshotsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -6378,12 +6570,12 @@ export class WebAppsImpl implements WebApps { public listSnapshotsFromDRSecondary( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams + options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSnapshotsFromDRSecondaryPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -6400,9 +6592,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -6410,7 +6602,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListSnapshotsFromDRSecondaryResponse; let continuationToken = settings?.continuationToken; @@ -6418,7 +6610,7 @@ export class WebAppsImpl implements WebApps { result = await this._listSnapshotsFromDRSecondary( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -6430,7 +6622,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6442,12 +6634,12 @@ export class WebAppsImpl implements WebApps { private async *listSnapshotsFromDRSecondaryPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams + options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSnapshotsFromDRSecondaryPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -6462,12 +6654,12 @@ export class WebAppsImpl implements WebApps { public listTriggeredWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListTriggeredWebJobsOptionalParams + options?: WebAppsListTriggeredWebJobsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listTriggeredWebJobsPagingAll( resourceGroupName, name, - options + options, ); return { next() { @@ -6484,9 +6676,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -6494,7 +6686,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListTriggeredWebJobsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListTriggeredWebJobsResponse; let continuationToken = settings?.continuationToken; @@ -6502,7 +6694,7 @@ export class WebAppsImpl implements WebApps { result = await this._listTriggeredWebJobs( resourceGroupName, name, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -6514,7 +6706,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6526,12 +6718,12 @@ export class WebAppsImpl implements WebApps { private async *listTriggeredWebJobsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListTriggeredWebJobsOptionalParams + options?: WebAppsListTriggeredWebJobsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listTriggeredWebJobsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -6548,13 +6740,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsListTriggeredWebJobHistoryOptionalParams + options?: WebAppsListTriggeredWebJobHistoryOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listTriggeredWebJobHistoryPagingAll( resourceGroupName, name, webJobName, - options + options, ); return { next() { @@ -6572,9 +6764,9 @@ export class WebAppsImpl implements WebApps { name, webJobName, options, - settings + settings, ); - } + }, }; } @@ -6583,7 +6775,7 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, options?: WebAppsListTriggeredWebJobHistoryOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListTriggeredWebJobHistoryResponse; let continuationToken = settings?.continuationToken; @@ -6592,7 +6784,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, webJobName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -6605,7 +6797,7 @@ export class WebAppsImpl implements WebApps { name, webJobName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6618,13 +6810,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsListTriggeredWebJobHistoryOptionalParams + options?: WebAppsListTriggeredWebJobHistoryOptionalParams, ): AsyncIterableIterator { for await (const page of this.listTriggeredWebJobHistoryPagingPage( resourceGroupName, name, webJobName, - options + options, )) { yield* page; } @@ -6639,7 +6831,7 @@ export class WebAppsImpl implements WebApps { public listUsages( resourceGroupName: string, name: string, - options?: WebAppsListUsagesOptionalParams + options?: WebAppsListUsagesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listUsagesPagingAll(resourceGroupName, name, options); return { @@ -6657,9 +6849,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -6667,7 +6859,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListUsagesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListUsagesResponse; let continuationToken = settings?.continuationToken; @@ -6683,7 +6875,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6695,12 +6887,12 @@ export class WebAppsImpl implements WebApps { private async *listUsagesPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListUsagesOptionalParams + options?: WebAppsListUsagesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listUsagesPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -6715,7 +6907,7 @@ export class WebAppsImpl implements WebApps { public listWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListWebJobsOptionalParams + options?: WebAppsListWebJobsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWebJobsPagingAll(resourceGroupName, name, options); return { @@ -6733,9 +6925,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -6743,7 +6935,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListWebJobsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListWebJobsResponse; let continuationToken = settings?.continuationToken; @@ -6759,7 +6951,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6771,12 +6963,12 @@ export class WebAppsImpl implements WebApps { private async *listWebJobsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListWebJobsOptionalParams + options?: WebAppsListWebJobsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWebJobsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -6793,13 +6985,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceWorkflowsSlotOptionalParams + options?: WebAppsListInstanceWorkflowsSlotOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listInstanceWorkflowsSlotPagingAll( resourceGroupName, name, slot, - options + options, ); return { next() { @@ -6817,9 +7009,9 @@ export class WebAppsImpl implements WebApps { name, slot, options, - settings + settings, ); - } + }, }; } @@ -6828,7 +7020,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, options?: WebAppsListInstanceWorkflowsSlotOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListInstanceWorkflowsSlotResponse; let continuationToken = settings?.continuationToken; @@ -6837,7 +7029,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, slot, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -6850,7 +7042,7 @@ export class WebAppsImpl implements WebApps { name, slot, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6863,13 +7055,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceWorkflowsSlotOptionalParams + options?: WebAppsListInstanceWorkflowsSlotOptionalParams, ): AsyncIterableIterator { for await (const page of this.listInstanceWorkflowsSlotPagingPage( resourceGroupName, name, slot, - options + options, )) { yield* page; } @@ -6884,7 +7076,7 @@ export class WebAppsImpl implements WebApps { public listWorkflows( resourceGroupName: string, name: string, - options?: WebAppsListWorkflowsOptionalParams + options?: WebAppsListWorkflowsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listWorkflowsPagingAll(resourceGroupName, name, options); return { @@ -6902,9 +7094,9 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, options, - settings + settings, ); - } + }, }; } @@ -6912,7 +7104,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, options?: WebAppsListWorkflowsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WebAppsListWorkflowsResponse; let continuationToken = settings?.continuationToken; @@ -6928,7 +7120,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -6940,12 +7132,12 @@ export class WebAppsImpl implements WebApps { private async *listWorkflowsPagingAll( resourceGroupName: string, name: string, - options?: WebAppsListWorkflowsOptionalParams + options?: WebAppsListWorkflowsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listWorkflowsPagingPage( resourceGroupName, name, - options + options, )) { yield* page; } @@ -6956,7 +7148,7 @@ export class WebAppsImpl implements WebApps { * @param options The options parameters. */ private _list( - options?: WebAppsListOptionalParams + options?: WebAppsListOptionalParams, ): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } @@ -6968,11 +7160,11 @@ export class WebAppsImpl implements WebApps { */ private _listByResourceGroup( resourceGroupName: string, - options?: WebAppsListByResourceGroupOptionalParams + options?: WebAppsListByResourceGroupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listByResourceGroupOperationSpec + listByResourceGroupOperationSpec, ); } @@ -6985,11 +7177,11 @@ export class WebAppsImpl implements WebApps { get( resourceGroupName: string, name: string, - options?: WebAppsGetOptionalParams + options?: WebAppsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOperationSpec + getOperationSpec, ); } @@ -7006,7 +7198,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateOptionalParams + options?: WebAppsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -7015,21 +7207,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -7038,8 +7229,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -7047,22 +7238,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, siteEnvelope, options }, - spec: createOrUpdateOperationSpec + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateOrUpdateResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -7081,13 +7272,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateOptionalParams + options?: WebAppsCreateOrUpdateOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, name, siteEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -7101,11 +7292,11 @@ export class WebAppsImpl implements WebApps { delete( resourceGroupName: string, name: string, - options?: WebAppsDeleteOptionalParams + options?: WebAppsDeleteOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deleteOperationSpec + deleteOperationSpec, ); } @@ -7122,11 +7313,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteEnvelope: SitePatchResource, - options?: WebAppsUpdateOptionalParams + options?: WebAppsUpdateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteEnvelope, options }, - updateOperationSpec + updateOperationSpec, ); } @@ -7139,11 +7330,11 @@ export class WebAppsImpl implements WebApps { analyzeCustomHostname( resourceGroupName: string, name: string, - options?: WebAppsAnalyzeCustomHostnameOptionalParams + options?: WebAppsAnalyzeCustomHostnameOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - analyzeCustomHostnameOperationSpec + analyzeCustomHostnameOperationSpec, ); } @@ -7158,11 +7349,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsApplySlotConfigToProductionOptionalParams + options?: WebAppsApplySlotConfigToProductionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slotSwapEntity, options }, - applySlotConfigToProductionOperationSpec + applySlotConfigToProductionOperationSpec, ); } @@ -7178,11 +7369,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, request: BackupRequest, - options?: WebAppsBackupOptionalParams + options?: WebAppsBackupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, request, options }, - backupOperationSpec + backupOperationSpec, ); } @@ -7195,11 +7386,11 @@ export class WebAppsImpl implements WebApps { private _listBackups( resourceGroupName: string, name: string, - options?: WebAppsListBackupsOptionalParams + options?: WebAppsListBackupsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listBackupsOperationSpec + listBackupsOperationSpec, ); } @@ -7214,11 +7405,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, backupId: string, - options?: WebAppsGetBackupStatusOptionalParams + options?: WebAppsGetBackupStatusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, backupId, options }, - getBackupStatusOperationSpec + getBackupStatusOperationSpec, ); } @@ -7233,11 +7424,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, backupId: string, - options?: WebAppsDeleteBackupOptionalParams + options?: WebAppsDeleteBackupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, backupId, options }, - deleteBackupOperationSpec + deleteBackupOperationSpec, ); } @@ -7256,11 +7447,11 @@ export class WebAppsImpl implements WebApps { name: string, backupId: string, request: BackupRequest, - options?: WebAppsListBackupStatusSecretsOptionalParams + options?: WebAppsListBackupStatusSecretsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, backupId, request, options }, - listBackupStatusSecretsOperationSpec + listBackupStatusSecretsOperationSpec, ); } @@ -7277,25 +7468,24 @@ export class WebAppsImpl implements WebApps { name: string, backupId: string, request: RestoreRequest, - options?: WebAppsRestoreOptionalParams + options?: WebAppsRestoreOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -7304,8 +7494,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -7313,19 +7503,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, backupId, request, options }, - spec: restoreOperationSpec + spec: restoreOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -7344,14 +7534,14 @@ export class WebAppsImpl implements WebApps { name: string, backupId: string, request: RestoreRequest, - options?: WebAppsRestoreOptionalParams + options?: WebAppsRestoreOptionalParams, ): Promise { const poller = await this.beginRestore( resourceGroupName, name, backupId, request, - options + options, ); return poller.pollUntilDone(); } @@ -7366,11 +7556,11 @@ export class WebAppsImpl implements WebApps { private _listBasicPublishingCredentialsPolicies( resourceGroupName: string, name: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listBasicPublishingCredentialsPoliciesOperationSpec + listBasicPublishingCredentialsPoliciesOperationSpec, ); } @@ -7383,11 +7573,11 @@ export class WebAppsImpl implements WebApps { getFtpAllowed( resourceGroupName: string, name: string, - options?: WebAppsGetFtpAllowedOptionalParams + options?: WebAppsGetFtpAllowedOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getFtpAllowedOperationSpec + getFtpAllowedOperationSpec, ); } @@ -7402,11 +7592,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateFtpAllowedOptionalParams + options?: WebAppsUpdateFtpAllowedOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, csmPublishingAccessPoliciesEntity, options }, - updateFtpAllowedOperationSpec + updateFtpAllowedOperationSpec, ); } @@ -7419,11 +7609,11 @@ export class WebAppsImpl implements WebApps { getScmAllowed( resourceGroupName: string, name: string, - options?: WebAppsGetScmAllowedOptionalParams + options?: WebAppsGetScmAllowedOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getScmAllowedOperationSpec + getScmAllowedOperationSpec, ); } @@ -7438,11 +7628,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateScmAllowedOptionalParams + options?: WebAppsUpdateScmAllowedOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, csmPublishingAccessPoliciesEntity, options }, - updateScmAllowedOperationSpec + updateScmAllowedOperationSpec, ); } @@ -7455,11 +7645,11 @@ export class WebAppsImpl implements WebApps { private _listConfigurations( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationsOptionalParams + options?: WebAppsListConfigurationsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listConfigurationsOperationSpec + listConfigurationsOperationSpec, ); } @@ -7474,11 +7664,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, appSettings: StringDictionary, - options?: WebAppsUpdateApplicationSettingsOptionalParams + options?: WebAppsUpdateApplicationSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, appSettings, options }, - updateApplicationSettingsOperationSpec + updateApplicationSettingsOperationSpec, ); } @@ -7491,11 +7681,11 @@ export class WebAppsImpl implements WebApps { listApplicationSettings( resourceGroupName: string, name: string, - options?: WebAppsListApplicationSettingsOptionalParams + options?: WebAppsListApplicationSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listApplicationSettingsOperationSpec + listApplicationSettingsOperationSpec, ); } @@ -7510,11 +7700,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteAuthSettings: SiteAuthSettings, - options?: WebAppsUpdateAuthSettingsOptionalParams + options?: WebAppsUpdateAuthSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteAuthSettings, options }, - updateAuthSettingsOperationSpec + updateAuthSettingsOperationSpec, ); } @@ -7527,11 +7717,11 @@ export class WebAppsImpl implements WebApps { getAuthSettings( resourceGroupName: string, name: string, - options?: WebAppsGetAuthSettingsOptionalParams + options?: WebAppsGetAuthSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getAuthSettingsOperationSpec + getAuthSettingsOperationSpec, ); } @@ -7544,11 +7734,11 @@ export class WebAppsImpl implements WebApps { getAuthSettingsV2WithoutSecrets( resourceGroupName: string, name: string, - options?: WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams + options?: WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getAuthSettingsV2WithoutSecretsOperationSpec + getAuthSettingsV2WithoutSecretsOperationSpec, ); } @@ -7563,11 +7753,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteAuthSettingsV2: SiteAuthSettingsV2, - options?: WebAppsUpdateAuthSettingsV2OptionalParams + options?: WebAppsUpdateAuthSettingsV2OptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteAuthSettingsV2, options }, - updateAuthSettingsV2OperationSpec + updateAuthSettingsV2OperationSpec, ); } @@ -7580,11 +7770,11 @@ export class WebAppsImpl implements WebApps { getAuthSettingsV2( resourceGroupName: string, name: string, - options?: WebAppsGetAuthSettingsV2OptionalParams + options?: WebAppsGetAuthSettingsV2OptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getAuthSettingsV2OperationSpec + getAuthSettingsV2OperationSpec, ); } @@ -7599,11 +7789,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, azureStorageAccounts: AzureStoragePropertyDictionaryResource, - options?: WebAppsUpdateAzureStorageAccountsOptionalParams + options?: WebAppsUpdateAzureStorageAccountsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, azureStorageAccounts, options }, - updateAzureStorageAccountsOperationSpec + updateAzureStorageAccountsOperationSpec, ); } @@ -7616,11 +7806,11 @@ export class WebAppsImpl implements WebApps { listAzureStorageAccounts( resourceGroupName: string, name: string, - options?: WebAppsListAzureStorageAccountsOptionalParams + options?: WebAppsListAzureStorageAccountsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listAzureStorageAccountsOperationSpec + listAzureStorageAccountsOperationSpec, ); } @@ -7635,11 +7825,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, request: BackupRequest, - options?: WebAppsUpdateBackupConfigurationOptionalParams + options?: WebAppsUpdateBackupConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, request, options }, - updateBackupConfigurationOperationSpec + updateBackupConfigurationOperationSpec, ); } @@ -7652,11 +7842,11 @@ export class WebAppsImpl implements WebApps { deleteBackupConfiguration( resourceGroupName: string, name: string, - options?: WebAppsDeleteBackupConfigurationOptionalParams + options?: WebAppsDeleteBackupConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deleteBackupConfigurationOperationSpec + deleteBackupConfigurationOperationSpec, ); } @@ -7669,11 +7859,11 @@ export class WebAppsImpl implements WebApps { getBackupConfiguration( resourceGroupName: string, name: string, - options?: WebAppsGetBackupConfigurationOptionalParams + options?: WebAppsGetBackupConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getBackupConfigurationOperationSpec + getBackupConfigurationOperationSpec, ); } @@ -7686,11 +7876,11 @@ export class WebAppsImpl implements WebApps { private _getAppSettingsKeyVaultReferences( resourceGroupName: string, name: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getAppSettingsKeyVaultReferencesOperationSpec + getAppSettingsKeyVaultReferencesOperationSpec, ); } @@ -7705,11 +7895,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, appSettingKey: string, - options?: WebAppsGetAppSettingKeyVaultReferenceOptionalParams + options?: WebAppsGetAppSettingKeyVaultReferenceOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, appSettingKey, options }, - getAppSettingKeyVaultReferenceOperationSpec + getAppSettingKeyVaultReferenceOperationSpec, ); } @@ -7722,11 +7912,11 @@ export class WebAppsImpl implements WebApps { private _getSiteConnectionStringKeyVaultReferences( resourceGroupName: string, name: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getSiteConnectionStringKeyVaultReferencesOperationSpec + getSiteConnectionStringKeyVaultReferencesOperationSpec, ); } @@ -7741,11 +7931,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, connectionStringKey: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, connectionStringKey, options }, - getSiteConnectionStringKeyVaultReferenceOperationSpec + getSiteConnectionStringKeyVaultReferenceOperationSpec, ); } @@ -7760,11 +7950,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, connectionStrings: ConnectionStringDictionary, - options?: WebAppsUpdateConnectionStringsOptionalParams + options?: WebAppsUpdateConnectionStringsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, connectionStrings, options }, - updateConnectionStringsOperationSpec + updateConnectionStringsOperationSpec, ); } @@ -7777,11 +7967,11 @@ export class WebAppsImpl implements WebApps { listConnectionStrings( resourceGroupName: string, name: string, - options?: WebAppsListConnectionStringsOptionalParams + options?: WebAppsListConnectionStringsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listConnectionStringsOperationSpec + listConnectionStringsOperationSpec, ); } @@ -7794,11 +7984,11 @@ export class WebAppsImpl implements WebApps { getDiagnosticLogsConfiguration( resourceGroupName: string, name: string, - options?: WebAppsGetDiagnosticLogsConfigurationOptionalParams + options?: WebAppsGetDiagnosticLogsConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getDiagnosticLogsConfigurationOperationSpec + getDiagnosticLogsConfigurationOperationSpec, ); } @@ -7814,11 +8004,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteLogsConfig: SiteLogsConfig, - options?: WebAppsUpdateDiagnosticLogsConfigOptionalParams + options?: WebAppsUpdateDiagnosticLogsConfigOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteLogsConfig, options }, - updateDiagnosticLogsConfigOperationSpec + updateDiagnosticLogsConfigOperationSpec, ); } @@ -7833,11 +8023,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, metadata: StringDictionary, - options?: WebAppsUpdateMetadataOptionalParams + options?: WebAppsUpdateMetadataOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, metadata, options }, - updateMetadataOperationSpec + updateMetadataOperationSpec, ); } @@ -7850,11 +8040,11 @@ export class WebAppsImpl implements WebApps { listMetadata( resourceGroupName: string, name: string, - options?: WebAppsListMetadataOptionalParams + options?: WebAppsListMetadataOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listMetadataOperationSpec + listMetadataOperationSpec, ); } @@ -7867,7 +8057,7 @@ export class WebAppsImpl implements WebApps { async beginListPublishingCredentials( resourceGroupName: string, name: string, - options?: WebAppsListPublishingCredentialsOptionalParams + options?: WebAppsListPublishingCredentialsOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -7876,21 +8066,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -7899,8 +8088,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -7908,22 +8097,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: listPublishingCredentialsOperationSpec + spec: listPublishingCredentialsOperationSpec, }); const poller = await createHttpPoller< WebAppsListPublishingCredentialsResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -7938,12 +8127,12 @@ export class WebAppsImpl implements WebApps { async beginListPublishingCredentialsAndWait( resourceGroupName: string, name: string, - options?: WebAppsListPublishingCredentialsOptionalParams + options?: WebAppsListPublishingCredentialsOptionalParams, ): Promise { const poller = await this.beginListPublishingCredentials( resourceGroupName, name, - options + options, ); return poller.pollUntilDone(); } @@ -7959,11 +8148,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, pushSettings: PushSettings, - options?: WebAppsUpdateSitePushSettingsOptionalParams + options?: WebAppsUpdateSitePushSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, pushSettings, options }, - updateSitePushSettingsOperationSpec + updateSitePushSettingsOperationSpec, ); } @@ -7976,11 +8165,11 @@ export class WebAppsImpl implements WebApps { listSitePushSettings( resourceGroupName: string, name: string, - options?: WebAppsListSitePushSettingsOptionalParams + options?: WebAppsListSitePushSettingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSitePushSettingsOperationSpec + listSitePushSettingsOperationSpec, ); } @@ -7994,11 +8183,11 @@ export class WebAppsImpl implements WebApps { listSlotConfigurationNames( resourceGroupName: string, name: string, - options?: WebAppsListSlotConfigurationNamesOptionalParams + options?: WebAppsListSlotConfigurationNamesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSlotConfigurationNamesOperationSpec + listSlotConfigurationNamesOperationSpec, ); } @@ -8014,11 +8203,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slotConfigNames: SlotConfigNamesResource, - options?: WebAppsUpdateSlotConfigurationNamesOptionalParams + options?: WebAppsUpdateSlotConfigurationNamesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slotConfigNames, options }, - updateSlotConfigurationNamesOperationSpec + updateSlotConfigurationNamesOperationSpec, ); } @@ -8032,11 +8221,11 @@ export class WebAppsImpl implements WebApps { getConfiguration( resourceGroupName: string, name: string, - options?: WebAppsGetConfigurationOptionalParams + options?: WebAppsGetConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getConfigurationOperationSpec + getConfigurationOperationSpec, ); } @@ -8051,11 +8240,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteConfig: SiteConfigResource, - options?: WebAppsCreateOrUpdateConfigurationOptionalParams + options?: WebAppsCreateOrUpdateConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteConfig, options }, - createOrUpdateConfigurationOperationSpec + createOrUpdateConfigurationOperationSpec, ); } @@ -8070,11 +8259,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteConfig: SiteConfigResource, - options?: WebAppsUpdateConfigurationOptionalParams + options?: WebAppsUpdateConfigurationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteConfig, options }, - updateConfigurationOperationSpec + updateConfigurationOperationSpec, ); } @@ -8088,11 +8277,11 @@ export class WebAppsImpl implements WebApps { private _listConfigurationSnapshotInfo( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationSnapshotInfoOptionalParams + options?: WebAppsListConfigurationSnapshotInfoOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listConfigurationSnapshotInfoOperationSpec + listConfigurationSnapshotInfoOperationSpec, ); } @@ -8107,11 +8296,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, snapshotId: string, - options?: WebAppsGetConfigurationSnapshotOptionalParams + options?: WebAppsGetConfigurationSnapshotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, snapshotId, options }, - getConfigurationSnapshotOperationSpec + getConfigurationSnapshotOperationSpec, ); } @@ -8126,11 +8315,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, snapshotId: string, - options?: WebAppsRecoverSiteConfigurationSnapshotOptionalParams + options?: WebAppsRecoverSiteConfigurationSnapshotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, snapshotId, options }, - recoverSiteConfigurationSnapshotOperationSpec + recoverSiteConfigurationSnapshotOperationSpec, ); } @@ -8143,11 +8332,11 @@ export class WebAppsImpl implements WebApps { getWebSiteContainerLogs( resourceGroupName: string, name: string, - options?: WebAppsGetWebSiteContainerLogsOptionalParams + options?: WebAppsGetWebSiteContainerLogsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getWebSiteContainerLogsOperationSpec + getWebSiteContainerLogsOperationSpec, ); } @@ -8160,11 +8349,11 @@ export class WebAppsImpl implements WebApps { getContainerLogsZip( resourceGroupName: string, name: string, - options?: WebAppsGetContainerLogsZipOptionalParams + options?: WebAppsGetContainerLogsZipOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getContainerLogsZipOperationSpec + getContainerLogsZipOperationSpec, ); } @@ -8177,11 +8366,11 @@ export class WebAppsImpl implements WebApps { private _listContinuousWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListContinuousWebJobsOptionalParams + options?: WebAppsListContinuousWebJobsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listContinuousWebJobsOperationSpec + listContinuousWebJobsOperationSpec, ); } @@ -8196,11 +8385,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsGetContinuousWebJobOptionalParams + options?: WebAppsGetContinuousWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - getContinuousWebJobOperationSpec + getContinuousWebJobOperationSpec, ); } @@ -8215,11 +8404,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsDeleteContinuousWebJobOptionalParams + options?: WebAppsDeleteContinuousWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - deleteContinuousWebJobOperationSpec + deleteContinuousWebJobOperationSpec, ); } @@ -8234,11 +8423,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsStartContinuousWebJobOptionalParams + options?: WebAppsStartContinuousWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - startContinuousWebJobOperationSpec + startContinuousWebJobOperationSpec, ); } @@ -8253,11 +8442,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsStopContinuousWebJobOptionalParams + options?: WebAppsStopContinuousWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - stopContinuousWebJobOperationSpec + stopContinuousWebJobOperationSpec, ); } @@ -8270,11 +8459,11 @@ export class WebAppsImpl implements WebApps { private _listProductionSiteDeploymentStatuses( resourceGroupName: string, name: string, - options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams + options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listProductionSiteDeploymentStatusesOperationSpec + listProductionSiteDeploymentStatusesOperationSpec, ); } @@ -8289,7 +8478,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, deploymentStatusId: string, - options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams + options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -8298,21 +8487,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -8321,8 +8509,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -8330,22 +8518,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, deploymentStatusId, options }, - spec: getProductionSiteDeploymentStatusOperationSpec + spec: getProductionSiteDeploymentStatusOperationSpec, }); const poller = await createHttpPoller< WebAppsGetProductionSiteDeploymentStatusResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -8362,13 +8550,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, deploymentStatusId: string, - options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams + options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams, ): Promise { const poller = await this.beginGetProductionSiteDeploymentStatus( resourceGroupName, name, deploymentStatusId, - options + options, ); return poller.pollUntilDone(); } @@ -8382,11 +8570,11 @@ export class WebAppsImpl implements WebApps { private _listDeployments( resourceGroupName: string, name: string, - options?: WebAppsListDeploymentsOptionalParams + options?: WebAppsListDeploymentsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listDeploymentsOperationSpec + listDeploymentsOperationSpec, ); } @@ -8401,11 +8589,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, id: string, - options?: WebAppsGetDeploymentOptionalParams + options?: WebAppsGetDeploymentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, options }, - getDeploymentOperationSpec + getDeploymentOperationSpec, ); } @@ -8422,11 +8610,11 @@ export class WebAppsImpl implements WebApps { name: string, id: string, deployment: Deployment, - options?: WebAppsCreateDeploymentOptionalParams + options?: WebAppsCreateDeploymentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, deployment, options }, - createDeploymentOperationSpec + createDeploymentOperationSpec, ); } @@ -8441,11 +8629,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, id: string, - options?: WebAppsDeleteDeploymentOptionalParams + options?: WebAppsDeleteDeploymentOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, options }, - deleteDeploymentOperationSpec + deleteDeploymentOperationSpec, ); } @@ -8461,11 +8649,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, id: string, - options?: WebAppsListDeploymentLogOptionalParams + options?: WebAppsListDeploymentLogOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, options }, - listDeploymentLogOperationSpec + listDeploymentLogOperationSpec, ); } @@ -8482,11 +8670,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, request: RestoreRequest, - options?: WebAppsDiscoverBackupOptionalParams + options?: WebAppsDiscoverBackupOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, request, options }, - discoverBackupOperationSpec + discoverBackupOperationSpec, ); } @@ -8499,11 +8687,11 @@ export class WebAppsImpl implements WebApps { private _listDomainOwnershipIdentifiers( resourceGroupName: string, name: string, - options?: WebAppsListDomainOwnershipIdentifiersOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listDomainOwnershipIdentifiersOperationSpec + listDomainOwnershipIdentifiersOperationSpec, ); } @@ -8518,11 +8706,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, - options?: WebAppsGetDomainOwnershipIdentifierOptionalParams + options?: WebAppsGetDomainOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, domainOwnershipIdentifierName, options }, - getDomainOwnershipIdentifierOperationSpec + getDomainOwnershipIdentifierOperationSpec, ); } @@ -8540,7 +8728,7 @@ export class WebAppsImpl implements WebApps { name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams + options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -8548,9 +8736,9 @@ export class WebAppsImpl implements WebApps { name, domainOwnershipIdentifierName, domainOwnershipIdentifier, - options + options, }, - createOrUpdateDomainOwnershipIdentifierOperationSpec + createOrUpdateDomainOwnershipIdentifierOperationSpec, ); } @@ -8565,11 +8753,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, - options?: WebAppsDeleteDomainOwnershipIdentifierOptionalParams + options?: WebAppsDeleteDomainOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, domainOwnershipIdentifierName, options }, - deleteDomainOwnershipIdentifierOperationSpec + deleteDomainOwnershipIdentifierOperationSpec, ); } @@ -8587,7 +8775,7 @@ export class WebAppsImpl implements WebApps { name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsUpdateDomainOwnershipIdentifierOptionalParams + options?: WebAppsUpdateDomainOwnershipIdentifierOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -8595,9 +8783,9 @@ export class WebAppsImpl implements WebApps { name, domainOwnershipIdentifierName, domainOwnershipIdentifier, - options + options, }, - updateDomainOwnershipIdentifierOperationSpec + updateDomainOwnershipIdentifierOperationSpec, ); } @@ -8610,11 +8798,11 @@ export class WebAppsImpl implements WebApps { getMSDeployStatus( resourceGroupName: string, name: string, - options?: WebAppsGetMSDeployStatusOptionalParams + options?: WebAppsGetMSDeployStatusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getMSDeployStatusOperationSpec + getMSDeployStatusOperationSpec, ); } @@ -8629,7 +8817,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationOptionalParams + options?: WebAppsCreateMSDeployOperationOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -8638,21 +8826,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -8661,8 +8848,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -8670,22 +8857,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, mSDeploy, options }, - spec: createMSDeployOperationOperationSpec + spec: createMSDeployOperationOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateMSDeployOperationResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -8702,13 +8889,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationOptionalParams + options?: WebAppsCreateMSDeployOperationOptionalParams, ): Promise { const poller = await this.beginCreateMSDeployOperation( resourceGroupName, name, mSDeploy, - options + options, ); return poller.pollUntilDone(); } @@ -8722,11 +8909,11 @@ export class WebAppsImpl implements WebApps { getMSDeployLog( resourceGroupName: string, name: string, - options?: WebAppsGetMSDeployLogOptionalParams + options?: WebAppsGetMSDeployLogOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getMSDeployLogOperationSpec + getMSDeployLogOperationSpec, ); } @@ -8740,11 +8927,11 @@ export class WebAppsImpl implements WebApps { getOneDeployStatus( resourceGroupName: string, name: string, - options?: WebAppsGetOneDeployStatusOptionalParams + options?: WebAppsGetOneDeployStatusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getOneDeployStatusOperationSpec + getOneDeployStatusOperationSpec, ); } @@ -8757,11 +8944,11 @@ export class WebAppsImpl implements WebApps { createOneDeployOperation( resourceGroupName: string, name: string, - options?: WebAppsCreateOneDeployOperationOptionalParams + options?: WebAppsCreateOneDeployOperationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - createOneDeployOperationOperationSpec + createOneDeployOperationOperationSpec, ); } @@ -8774,11 +8961,11 @@ export class WebAppsImpl implements WebApps { private _listFunctions( resourceGroupName: string, name: string, - options?: WebAppsListFunctionsOptionalParams + options?: WebAppsListFunctionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listFunctionsOperationSpec + listFunctionsOperationSpec, ); } @@ -8791,11 +8978,11 @@ export class WebAppsImpl implements WebApps { getFunctionsAdminToken( resourceGroupName: string, name: string, - options?: WebAppsGetFunctionsAdminTokenOptionalParams + options?: WebAppsGetFunctionsAdminTokenOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getFunctionsAdminTokenOperationSpec + getFunctionsAdminTokenOperationSpec, ); } @@ -8810,11 +8997,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsGetFunctionOptionalParams + options?: WebAppsGetFunctionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, options }, - getFunctionOperationSpec + getFunctionOperationSpec, ); } @@ -8831,7 +9018,7 @@ export class WebAppsImpl implements WebApps { name: string, functionName: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateFunctionOptionalParams + options?: WebAppsCreateFunctionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -8840,21 +9027,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -8863,8 +9049,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -8872,8 +9058,8 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -8884,16 +9070,16 @@ export class WebAppsImpl implements WebApps { name, functionName, functionEnvelope, - options + options, }, - spec: createFunctionOperationSpec + spec: createFunctionOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateFunctionResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -8912,14 +9098,14 @@ export class WebAppsImpl implements WebApps { name: string, functionName: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateFunctionOptionalParams + options?: WebAppsCreateFunctionOptionalParams, ): Promise { const poller = await this.beginCreateFunction( resourceGroupName, name, functionName, functionEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -8935,11 +9121,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsDeleteFunctionOptionalParams + options?: WebAppsDeleteFunctionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, options }, - deleteFunctionOperationSpec + deleteFunctionOperationSpec, ); } @@ -8958,11 +9144,11 @@ export class WebAppsImpl implements WebApps { functionName: string, keyName: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateFunctionSecretOptionalParams + options?: WebAppsCreateOrUpdateFunctionSecretOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, keyName, key, options }, - createOrUpdateFunctionSecretOperationSpec + createOrUpdateFunctionSecretOperationSpec, ); } @@ -8979,11 +9165,11 @@ export class WebAppsImpl implements WebApps { name: string, functionName: string, keyName: string, - options?: WebAppsDeleteFunctionSecretOptionalParams + options?: WebAppsDeleteFunctionSecretOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, keyName, options }, - deleteFunctionSecretOperationSpec + deleteFunctionSecretOperationSpec, ); } @@ -8998,11 +9184,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsListFunctionKeysOptionalParams + options?: WebAppsListFunctionKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, options }, - listFunctionKeysOperationSpec + listFunctionKeysOperationSpec, ); } @@ -9017,11 +9203,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsListFunctionSecretsOptionalParams + options?: WebAppsListFunctionSecretsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, options }, - listFunctionSecretsOperationSpec + listFunctionSecretsOperationSpec, ); } @@ -9034,11 +9220,11 @@ export class WebAppsImpl implements WebApps { listHostKeys( resourceGroupName: string, name: string, - options?: WebAppsListHostKeysOptionalParams + options?: WebAppsListHostKeysOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listHostKeysOperationSpec + listHostKeysOperationSpec, ); } @@ -9051,11 +9237,11 @@ export class WebAppsImpl implements WebApps { listSyncStatus( resourceGroupName: string, name: string, - options?: WebAppsListSyncStatusOptionalParams + options?: WebAppsListSyncStatusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSyncStatusOperationSpec + listSyncStatusOperationSpec, ); } @@ -9068,11 +9254,11 @@ export class WebAppsImpl implements WebApps { syncFunctions( resourceGroupName: string, name: string, - options?: WebAppsSyncFunctionsOptionalParams + options?: WebAppsSyncFunctionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - syncFunctionsOperationSpec + syncFunctionsOperationSpec, ); } @@ -9091,11 +9277,11 @@ export class WebAppsImpl implements WebApps { keyType: string, keyName: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateHostSecretOptionalParams + options?: WebAppsCreateOrUpdateHostSecretOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, keyType, keyName, key, options }, - createOrUpdateHostSecretOperationSpec + createOrUpdateHostSecretOperationSpec, ); } @@ -9112,11 +9298,11 @@ export class WebAppsImpl implements WebApps { name: string, keyType: string, keyName: string, - options?: WebAppsDeleteHostSecretOptionalParams + options?: WebAppsDeleteHostSecretOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, keyType, keyName, options }, - deleteHostSecretOperationSpec + deleteHostSecretOperationSpec, ); } @@ -9129,11 +9315,11 @@ export class WebAppsImpl implements WebApps { private _listHostNameBindings( resourceGroupName: string, name: string, - options?: WebAppsListHostNameBindingsOptionalParams + options?: WebAppsListHostNameBindingsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listHostNameBindingsOperationSpec + listHostNameBindingsOperationSpec, ); } @@ -9148,11 +9334,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, hostName: string, - options?: WebAppsGetHostNameBindingOptionalParams + options?: WebAppsGetHostNameBindingOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, hostName, options }, - getHostNameBindingOperationSpec + getHostNameBindingOperationSpec, ); } @@ -9169,11 +9355,11 @@ export class WebAppsImpl implements WebApps { name: string, hostName: string, hostNameBinding: HostNameBinding, - options?: WebAppsCreateOrUpdateHostNameBindingOptionalParams + options?: WebAppsCreateOrUpdateHostNameBindingOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, hostName, hostNameBinding, options }, - createOrUpdateHostNameBindingOperationSpec + createOrUpdateHostNameBindingOperationSpec, ); } @@ -9188,11 +9374,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, hostName: string, - options?: WebAppsDeleteHostNameBindingOptionalParams + options?: WebAppsDeleteHostNameBindingOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, hostName, options }, - deleteHostNameBindingOperationSpec + deleteHostNameBindingOperationSpec, ); } @@ -9209,11 +9395,11 @@ export class WebAppsImpl implements WebApps { name: string, namespaceName: string, relayName: string, - options?: WebAppsGetHybridConnectionOptionalParams + options?: WebAppsGetHybridConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, options }, - getHybridConnectionOperationSpec + getHybridConnectionOperationSpec, ); } @@ -9232,7 +9418,7 @@ export class WebAppsImpl implements WebApps { namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, - options?: WebAppsCreateOrUpdateHybridConnectionOptionalParams + options?: WebAppsCreateOrUpdateHybridConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -9241,9 +9427,9 @@ export class WebAppsImpl implements WebApps { namespaceName, relayName, connectionEnvelope, - options + options, }, - createOrUpdateHybridConnectionOperationSpec + createOrUpdateHybridConnectionOperationSpec, ); } @@ -9260,11 +9446,11 @@ export class WebAppsImpl implements WebApps { name: string, namespaceName: string, relayName: string, - options?: WebAppsDeleteHybridConnectionOptionalParams + options?: WebAppsDeleteHybridConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, options }, - deleteHybridConnectionOperationSpec + deleteHybridConnectionOperationSpec, ); } @@ -9283,7 +9469,7 @@ export class WebAppsImpl implements WebApps { namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, - options?: WebAppsUpdateHybridConnectionOptionalParams + options?: WebAppsUpdateHybridConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -9292,9 +9478,9 @@ export class WebAppsImpl implements WebApps { namespaceName, relayName, connectionEnvelope, - options + options, }, - updateHybridConnectionOperationSpec + updateHybridConnectionOperationSpec, ); } @@ -9307,11 +9493,11 @@ export class WebAppsImpl implements WebApps { listHybridConnections( resourceGroupName: string, name: string, - options?: WebAppsListHybridConnectionsOptionalParams + options?: WebAppsListHybridConnectionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listHybridConnectionsOperationSpec + listHybridConnectionsOperationSpec, ); } @@ -9324,11 +9510,11 @@ export class WebAppsImpl implements WebApps { listRelayServiceConnections( resourceGroupName: string, name: string, - options?: WebAppsListRelayServiceConnectionsOptionalParams + options?: WebAppsListRelayServiceConnectionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listRelayServiceConnectionsOperationSpec + listRelayServiceConnectionsOperationSpec, ); } @@ -9343,11 +9529,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, entityName: string, - options?: WebAppsGetRelayServiceConnectionOptionalParams + options?: WebAppsGetRelayServiceConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, entityName, options }, - getRelayServiceConnectionOperationSpec + getRelayServiceConnectionOperationSpec, ); } @@ -9365,11 +9551,11 @@ export class WebAppsImpl implements WebApps { name: string, entityName: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams + options?: WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, entityName, connectionEnvelope, options }, - createOrUpdateRelayServiceConnectionOperationSpec + createOrUpdateRelayServiceConnectionOperationSpec, ); } @@ -9384,11 +9570,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, entityName: string, - options?: WebAppsDeleteRelayServiceConnectionOptionalParams + options?: WebAppsDeleteRelayServiceConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, entityName, options }, - deleteRelayServiceConnectionOperationSpec + deleteRelayServiceConnectionOperationSpec, ); } @@ -9406,11 +9592,11 @@ export class WebAppsImpl implements WebApps { name: string, entityName: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsUpdateRelayServiceConnectionOptionalParams + options?: WebAppsUpdateRelayServiceConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, entityName, connectionEnvelope, options }, - updateRelayServiceConnectionOperationSpec + updateRelayServiceConnectionOperationSpec, ); } @@ -9423,11 +9609,11 @@ export class WebAppsImpl implements WebApps { private _listInstanceIdentifiers( resourceGroupName: string, name: string, - options?: WebAppsListInstanceIdentifiersOptionalParams + options?: WebAppsListInstanceIdentifiersOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listInstanceIdentifiersOperationSpec + listInstanceIdentifiersOperationSpec, ); } @@ -9442,11 +9628,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsGetInstanceInfoOptionalParams + options?: WebAppsGetInstanceInfoOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instanceId, options }, - getInstanceInfoOperationSpec + getInstanceInfoOperationSpec, ); } @@ -9461,11 +9647,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsGetInstanceMsDeployStatusOptionalParams + options?: WebAppsGetInstanceMsDeployStatusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instanceId, options }, - getInstanceMsDeployStatusOperationSpec + getInstanceMsDeployStatusOperationSpec, ); } @@ -9482,7 +9668,7 @@ export class WebAppsImpl implements WebApps { name: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -9491,21 +9677,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -9514,8 +9699,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -9523,22 +9708,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, instanceId, mSDeploy, options }, - spec: createInstanceMSDeployOperationOperationSpec + spec: createInstanceMSDeployOperationOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateInstanceMSDeployOperationResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -9557,14 +9742,14 @@ export class WebAppsImpl implements WebApps { name: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationOptionalParams, ): Promise { const poller = await this.beginCreateInstanceMSDeployOperation( resourceGroupName, name, instanceId, mSDeploy, - options + options, ); return poller.pollUntilDone(); } @@ -9580,11 +9765,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsGetInstanceMSDeployLogOptionalParams + options?: WebAppsGetInstanceMSDeployLogOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instanceId, options }, - getInstanceMSDeployLogOperationSpec + getInstanceMSDeployLogOperationSpec, ); } @@ -9601,11 +9786,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsListInstanceProcessesOptionalParams + options?: WebAppsListInstanceProcessesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instanceId, options }, - listInstanceProcessesOperationSpec + listInstanceProcessesOperationSpec, ); } @@ -9623,11 +9808,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsGetInstanceProcessOptionalParams + options?: WebAppsGetInstanceProcessOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, instanceId, options }, - getInstanceProcessOperationSpec + getInstanceProcessOperationSpec, ); } @@ -9646,11 +9831,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsDeleteInstanceProcessOptionalParams + options?: WebAppsDeleteInstanceProcessOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, instanceId, options }, - deleteInstanceProcessOperationSpec + deleteInstanceProcessOperationSpec, ); } @@ -9669,11 +9854,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsGetInstanceProcessDumpOptionalParams + options?: WebAppsGetInstanceProcessDumpOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, instanceId, options }, - getInstanceProcessDumpOperationSpec + getInstanceProcessDumpOperationSpec, ); } @@ -9692,11 +9877,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesOptionalParams + options?: WebAppsListInstanceProcessModulesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, instanceId, options }, - listInstanceProcessModulesOperationSpec + listInstanceProcessModulesOperationSpec, ); } @@ -9716,11 +9901,11 @@ export class WebAppsImpl implements WebApps { processId: string, baseAddress: string, instanceId: string, - options?: WebAppsGetInstanceProcessModuleOptionalParams + options?: WebAppsGetInstanceProcessModuleOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, baseAddress, instanceId, options }, - getInstanceProcessModuleOperationSpec + getInstanceProcessModuleOperationSpec, ); } @@ -9739,11 +9924,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsOptionalParams + options?: WebAppsListInstanceProcessThreadsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, instanceId, options }, - listInstanceProcessThreadsOperationSpec + listInstanceProcessThreadsOperationSpec, ); } @@ -9756,11 +9941,11 @@ export class WebAppsImpl implements WebApps { isCloneable( resourceGroupName: string, name: string, - options?: WebAppsIsCloneableOptionalParams + options?: WebAppsIsCloneableOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - isCloneableOperationSpec + isCloneableOperationSpec, ); } @@ -9773,11 +9958,11 @@ export class WebAppsImpl implements WebApps { private _listSiteBackups( resourceGroupName: string, name: string, - options?: WebAppsListSiteBackupsOptionalParams + options?: WebAppsListSiteBackupsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSiteBackupsOperationSpec + listSiteBackupsOperationSpec, ); } @@ -9790,11 +9975,11 @@ export class WebAppsImpl implements WebApps { listSyncFunctionTriggers( resourceGroupName: string, name: string, - options?: WebAppsListSyncFunctionTriggersOptionalParams + options?: WebAppsListSyncFunctionTriggersOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSyncFunctionTriggersOperationSpec + listSyncFunctionTriggersOperationSpec, ); } @@ -9811,7 +9996,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, migrationOptions: StorageMigrationOptions, - options?: WebAppsMigrateStorageOptionalParams + options?: WebAppsMigrateStorageOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -9820,21 +10005,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -9843,8 +10027,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -9852,8 +10036,8 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -9864,16 +10048,16 @@ export class WebAppsImpl implements WebApps { resourceGroupName, name, migrationOptions, - options + options, }, - spec: migrateStorageOperationSpec + spec: migrateStorageOperationSpec, }); const poller = await createHttpPoller< WebAppsMigrateStorageResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -9892,14 +10076,14 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, migrationOptions: StorageMigrationOptions, - options?: WebAppsMigrateStorageOptionalParams + options?: WebAppsMigrateStorageOptionalParams, ): Promise { const poller = await this.beginMigrateStorage( subscriptionName, resourceGroupName, name, migrationOptions, - options + options, ); return poller.pollUntilDone(); } @@ -9915,7 +10099,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, migrationRequestEnvelope: MigrateMySqlRequest, - options?: WebAppsMigrateMySqlOptionalParams + options?: WebAppsMigrateMySqlOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -9924,21 +10108,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -9947,8 +10130,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -9956,22 +10139,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, migrationRequestEnvelope, options }, - spec: migrateMySqlOperationSpec + spec: migrateMySqlOperationSpec, }); const poller = await createHttpPoller< WebAppsMigrateMySqlResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -9988,13 +10171,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, migrationRequestEnvelope: MigrateMySqlRequest, - options?: WebAppsMigrateMySqlOptionalParams + options?: WebAppsMigrateMySqlOptionalParams, ): Promise { const poller = await this.beginMigrateMySql( resourceGroupName, name, migrationRequestEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -10009,11 +10192,11 @@ export class WebAppsImpl implements WebApps { getMigrateMySqlStatus( resourceGroupName: string, name: string, - options?: WebAppsGetMigrateMySqlStatusOptionalParams + options?: WebAppsGetMigrateMySqlStatusOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getMigrateMySqlStatusOperationSpec + getMigrateMySqlStatusOperationSpec, ); } @@ -10026,11 +10209,11 @@ export class WebAppsImpl implements WebApps { getSwiftVirtualNetworkConnection( resourceGroupName: string, name: string, - options?: WebAppsGetSwiftVirtualNetworkConnectionOptionalParams + options?: WebAppsGetSwiftVirtualNetworkConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getSwiftVirtualNetworkConnectionOperationSpec + getSwiftVirtualNetworkConnectionOperationSpec, ); } @@ -10048,13 +10231,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams - ): Promise< - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse - > { + options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, connectionEnvelope, options }, - createOrUpdateSwiftVirtualNetworkConnectionWithCheckOperationSpec + createOrUpdateSwiftVirtualNetworkConnectionWithCheckOperationSpec, ); } @@ -10067,11 +10248,11 @@ export class WebAppsImpl implements WebApps { deleteSwiftVirtualNetwork( resourceGroupName: string, name: string, - options?: WebAppsDeleteSwiftVirtualNetworkOptionalParams + options?: WebAppsDeleteSwiftVirtualNetworkOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deleteSwiftVirtualNetworkOperationSpec + deleteSwiftVirtualNetworkOperationSpec, ); } @@ -10089,11 +10270,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams + options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, connectionEnvelope, options }, - updateSwiftVirtualNetworkConnectionWithCheckOperationSpec + updateSwiftVirtualNetworkConnectionWithCheckOperationSpec, ); } @@ -10108,11 +10289,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, view: string, - options?: WebAppsListNetworkFeaturesOptionalParams + options?: WebAppsListNetworkFeaturesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, view, options }, - listNetworkFeaturesOperationSpec + listNetworkFeaturesOperationSpec, ); } @@ -10128,11 +10309,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTraceOperationOptionalParams + options?: WebAppsGetNetworkTraceOperationOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, options }, - getNetworkTraceOperationOperationSpec + getNetworkTraceOperationOperationSpec, ); } @@ -10145,11 +10326,11 @@ export class WebAppsImpl implements WebApps { startWebSiteNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStartWebSiteNetworkTraceOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - startWebSiteNetworkTraceOperationSpec + startWebSiteNetworkTraceOperationSpec, ); } @@ -10162,7 +10343,7 @@ export class WebAppsImpl implements WebApps { async beginStartWebSiteNetworkTraceOperation( resourceGroupName: string, name: string, - options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -10171,21 +10352,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -10194,8 +10374,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -10203,22 +10383,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: startWebSiteNetworkTraceOperationOperationSpec + spec: startWebSiteNetworkTraceOperationOperationSpec, }); const poller = await createHttpPoller< WebAppsStartWebSiteNetworkTraceOperationResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -10233,12 +10413,12 @@ export class WebAppsImpl implements WebApps { async beginStartWebSiteNetworkTraceOperationAndWait( resourceGroupName: string, name: string, - options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams, ): Promise { const poller = await this.beginStartWebSiteNetworkTraceOperation( resourceGroupName, name, - options + options, ); return poller.pollUntilDone(); } @@ -10252,11 +10432,11 @@ export class WebAppsImpl implements WebApps { stopWebSiteNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStopWebSiteNetworkTraceOptionalParams + options?: WebAppsStopWebSiteNetworkTraceOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - stopWebSiteNetworkTraceOperationSpec + stopWebSiteNetworkTraceOperationSpec, ); } @@ -10272,11 +10452,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTracesOptionalParams + options?: WebAppsGetNetworkTracesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, options }, - getNetworkTracesOperationSpec + getNetworkTracesOperationSpec, ); } @@ -10292,11 +10472,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTraceOperationV2OptionalParams + options?: WebAppsGetNetworkTraceOperationV2OptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, options }, - getNetworkTraceOperationV2OperationSpec + getNetworkTraceOperationV2OperationSpec, ); } @@ -10312,11 +10492,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTracesV2OptionalParams + options?: WebAppsGetNetworkTracesV2OptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, options }, - getNetworkTracesV2OperationSpec + getNetworkTracesV2OperationSpec, ); } @@ -10329,11 +10509,11 @@ export class WebAppsImpl implements WebApps { generateNewSitePublishingPassword( resourceGroupName: string, name: string, - options?: WebAppsGenerateNewSitePublishingPasswordOptionalParams + options?: WebAppsGenerateNewSitePublishingPasswordOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - generateNewSitePublishingPasswordOperationSpec + generateNewSitePublishingPasswordOperationSpec, ); } @@ -10346,11 +10526,11 @@ export class WebAppsImpl implements WebApps { private _listPerfMonCounters( resourceGroupName: string, name: string, - options?: WebAppsListPerfMonCountersOptionalParams + options?: WebAppsListPerfMonCountersOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listPerfMonCountersOperationSpec + listPerfMonCountersOperationSpec, ); } @@ -10363,11 +10543,11 @@ export class WebAppsImpl implements WebApps { getSitePhpErrorLogFlag( resourceGroupName: string, name: string, - options?: WebAppsGetSitePhpErrorLogFlagOptionalParams + options?: WebAppsGetSitePhpErrorLogFlagOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getSitePhpErrorLogFlagOperationSpec + getSitePhpErrorLogFlagOperationSpec, ); } @@ -10380,11 +10560,11 @@ export class WebAppsImpl implements WebApps { listPremierAddOns( resourceGroupName: string, name: string, - options?: WebAppsListPremierAddOnsOptionalParams + options?: WebAppsListPremierAddOnsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listPremierAddOnsOperationSpec + listPremierAddOnsOperationSpec, ); } @@ -10399,11 +10579,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, premierAddOnName: string, - options?: WebAppsGetPremierAddOnOptionalParams + options?: WebAppsGetPremierAddOnOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, premierAddOnName, options }, - getPremierAddOnOperationSpec + getPremierAddOnOperationSpec, ); } @@ -10420,11 +10600,11 @@ export class WebAppsImpl implements WebApps { name: string, premierAddOnName: string, premierAddOn: PremierAddOn, - options?: WebAppsAddPremierAddOnOptionalParams + options?: WebAppsAddPremierAddOnOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, premierAddOnName, premierAddOn, options }, - addPremierAddOnOperationSpec + addPremierAddOnOperationSpec, ); } @@ -10439,11 +10619,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, premierAddOnName: string, - options?: WebAppsDeletePremierAddOnOptionalParams + options?: WebAppsDeletePremierAddOnOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, premierAddOnName, options }, - deletePremierAddOnOperationSpec + deletePremierAddOnOperationSpec, ); } @@ -10460,11 +10640,11 @@ export class WebAppsImpl implements WebApps { name: string, premierAddOnName: string, premierAddOn: PremierAddOnPatchResource, - options?: WebAppsUpdatePremierAddOnOptionalParams + options?: WebAppsUpdatePremierAddOnOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, premierAddOnName, premierAddOn, options }, - updatePremierAddOnOperationSpec + updatePremierAddOnOperationSpec, ); } @@ -10478,11 +10658,11 @@ export class WebAppsImpl implements WebApps { getPrivateAccess( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateAccessOptionalParams + options?: WebAppsGetPrivateAccessOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getPrivateAccessOperationSpec + getPrivateAccessOperationSpec, ); } @@ -10498,11 +10678,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, access: PrivateAccess, - options?: WebAppsPutPrivateAccessVnetOptionalParams + options?: WebAppsPutPrivateAccessVnetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, access, options }, - putPrivateAccessVnetOperationSpec + putPrivateAccessVnetOperationSpec, ); } @@ -10515,11 +10695,11 @@ export class WebAppsImpl implements WebApps { private _getPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateEndpointConnectionListOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getPrivateEndpointConnectionListOperationSpec + getPrivateEndpointConnectionListOperationSpec, ); } @@ -10534,11 +10714,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: WebAppsGetPrivateEndpointConnectionOptionalParams + options?: WebAppsGetPrivateEndpointConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, privateEndpointConnectionName, options }, - getPrivateEndpointConnectionOperationSpec + getPrivateEndpointConnectionOperationSpec, ); } @@ -10547,15 +10727,15 @@ export class WebAppsImpl implements WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the site. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ async beginApproveOrRejectPrivateEndpointConnection( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -10564,21 +10744,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -10587,8 +10766,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -10596,8 +10775,8 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -10608,16 +10787,16 @@ export class WebAppsImpl implements WebApps { name, privateEndpointConnectionName, privateEndpointWrapper, - options + options, }, - spec: approveOrRejectPrivateEndpointConnectionOperationSpec + spec: approveOrRejectPrivateEndpointConnectionOperationSpec, }); const poller = await createHttpPoller< WebAppsApproveOrRejectPrivateEndpointConnectionResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -10628,22 +10807,22 @@ export class WebAppsImpl implements WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the site. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ async beginApproveOrRejectPrivateEndpointConnectionAndWait( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise { const poller = await this.beginApproveOrRejectPrivateEndpointConnection( resourceGroupName, name, privateEndpointConnectionName, privateEndpointWrapper, - options + options, ); return poller.pollUntilDone(); } @@ -10659,7 +10838,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: WebAppsDeletePrivateEndpointConnectionOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -10668,21 +10847,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -10691,8 +10869,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -10700,22 +10878,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, privateEndpointConnectionName, options }, - spec: deletePrivateEndpointConnectionOperationSpec + spec: deletePrivateEndpointConnectionOperationSpec, }); const poller = await createHttpPoller< WebAppsDeletePrivateEndpointConnectionResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -10732,13 +10910,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: WebAppsDeletePrivateEndpointConnectionOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionOptionalParams, ): Promise { const poller = await this.beginDeletePrivateEndpointConnection( resourceGroupName, name, privateEndpointConnectionName, - options + options, ); return poller.pollUntilDone(); } @@ -10752,11 +10930,11 @@ export class WebAppsImpl implements WebApps { getPrivateLinkResources( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateLinkResourcesOptionalParams + options?: WebAppsGetPrivateLinkResourcesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getPrivateLinkResourcesOperationSpec + getPrivateLinkResourcesOperationSpec, ); } @@ -10770,11 +10948,11 @@ export class WebAppsImpl implements WebApps { private _listProcesses( resourceGroupName: string, name: string, - options?: WebAppsListProcessesOptionalParams + options?: WebAppsListProcessesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listProcessesOperationSpec + listProcessesOperationSpec, ); } @@ -10789,11 +10967,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsGetProcessOptionalParams + options?: WebAppsGetProcessOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, options }, - getProcessOperationSpec + getProcessOperationSpec, ); } @@ -10809,11 +10987,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsDeleteProcessOptionalParams + options?: WebAppsDeleteProcessOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, options }, - deleteProcessOperationSpec + deleteProcessOperationSpec, ); } @@ -10829,11 +11007,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsGetProcessDumpOptionalParams + options?: WebAppsGetProcessDumpOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, options }, - getProcessDumpOperationSpec + getProcessDumpOperationSpec, ); } @@ -10849,11 +11027,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessModulesOptionalParams + options?: WebAppsListProcessModulesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, options }, - listProcessModulesOperationSpec + listProcessModulesOperationSpec, ); } @@ -10870,11 +11048,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, baseAddress: string, - options?: WebAppsGetProcessModuleOptionalParams + options?: WebAppsGetProcessModuleOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, baseAddress, options }, - getProcessModuleOperationSpec + getProcessModuleOperationSpec, ); } @@ -10890,11 +11068,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessThreadsOptionalParams + options?: WebAppsListProcessThreadsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, options }, - listProcessThreadsOperationSpec + listProcessThreadsOperationSpec, ); } @@ -10907,11 +11085,11 @@ export class WebAppsImpl implements WebApps { private _listPublicCertificates( resourceGroupName: string, name: string, - options?: WebAppsListPublicCertificatesOptionalParams + options?: WebAppsListPublicCertificatesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listPublicCertificatesOperationSpec + listPublicCertificatesOperationSpec, ); } @@ -10926,11 +11104,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, publicCertificateName: string, - options?: WebAppsGetPublicCertificateOptionalParams + options?: WebAppsGetPublicCertificateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, publicCertificateName, options }, - getPublicCertificateOperationSpec + getPublicCertificateOperationSpec, ); } @@ -10948,7 +11126,7 @@ export class WebAppsImpl implements WebApps { name: string, publicCertificateName: string, publicCertificate: PublicCertificate, - options?: WebAppsCreateOrUpdatePublicCertificateOptionalParams + options?: WebAppsCreateOrUpdatePublicCertificateOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -10956,9 +11134,9 @@ export class WebAppsImpl implements WebApps { name, publicCertificateName, publicCertificate, - options + options, }, - createOrUpdatePublicCertificateOperationSpec + createOrUpdatePublicCertificateOperationSpec, ); } @@ -10973,11 +11151,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, publicCertificateName: string, - options?: WebAppsDeletePublicCertificateOptionalParams + options?: WebAppsDeletePublicCertificateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, publicCertificateName, options }, - deletePublicCertificateOperationSpec + deletePublicCertificateOperationSpec, ); } @@ -10993,11 +11171,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, publishingProfileOptions: CsmPublishingProfileOptions, - options?: WebAppsListPublishingProfileXmlWithSecretsOptionalParams + options?: WebAppsListPublishingProfileXmlWithSecretsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, publishingProfileOptions, options }, - listPublishingProfileXmlWithSecretsOperationSpec + listPublishingProfileXmlWithSecretsOperationSpec, ); } @@ -11011,11 +11189,11 @@ export class WebAppsImpl implements WebApps { resetProductionSlotConfig( resourceGroupName: string, name: string, - options?: WebAppsResetProductionSlotConfigOptionalParams + options?: WebAppsResetProductionSlotConfigOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - resetProductionSlotConfigOperationSpec + resetProductionSlotConfigOperationSpec, ); } @@ -11028,11 +11206,11 @@ export class WebAppsImpl implements WebApps { restart( resourceGroupName: string, name: string, - options?: WebAppsRestartOptionalParams + options?: WebAppsRestartOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - restartOperationSpec + restartOperationSpec, ); } @@ -11047,25 +11225,24 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobOptionalParams + options?: WebAppsRestoreFromBackupBlobOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -11074,8 +11251,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -11083,19 +11260,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, request, options }, - spec: restoreFromBackupBlobOperationSpec + spec: restoreFromBackupBlobOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -11112,13 +11289,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobOptionalParams + options?: WebAppsRestoreFromBackupBlobOptionalParams, ): Promise { const poller = await this.beginRestoreFromBackupBlob( resourceGroupName, name, request, - options + options, ); return poller.pollUntilDone(); } @@ -11134,25 +11311,24 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppOptionalParams + options?: WebAppsRestoreFromDeletedAppOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -11161,8 +11337,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -11170,19 +11346,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, restoreRequest, options }, - spec: restoreFromDeletedAppOperationSpec + spec: restoreFromDeletedAppOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -11199,13 +11375,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppOptionalParams + options?: WebAppsRestoreFromDeletedAppOptionalParams, ): Promise { const poller = await this.beginRestoreFromDeletedApp( resourceGroupName, name, restoreRequest, - options + options, ); return poller.pollUntilDone(); } @@ -11222,25 +11398,24 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotOptionalParams + options?: WebAppsRestoreSnapshotOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -11249,8 +11424,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -11258,19 +11433,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, restoreRequest, options }, - spec: restoreSnapshotOperationSpec + spec: restoreSnapshotOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -11288,17 +11463,93 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotOptionalParams + options?: WebAppsRestoreSnapshotOptionalParams, ): Promise { const poller = await this.beginRestoreSnapshot( resourceGroupName, name, restoreRequest, - options + options, ); return poller.pollUntilDone(); } + /** + * Lists all the site containers of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The options parameters. + */ + private _listSiteContainers( + resourceGroupName: string, + name: string, + options?: WebAppsListSiteContainersOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, options }, + listSiteContainersOperationSpec, + ); + } + + /** + * Gets a site container of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param containerName Site Container Name + * @param options The options parameters. + */ + getSiteContainer( + resourceGroupName: string, + name: string, + containerName: string, + options?: WebAppsGetSiteContainerOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, containerName, options }, + getSiteContainerOperationSpec, + ); + } + + /** + * Creates or Updates a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param containerName Site Container Name + * @param request Container Entity + * @param options The options parameters. + */ + createOrUpdateSiteContainer( + resourceGroupName: string, + name: string, + containerName: string, + request: SiteContainer, + options?: WebAppsCreateOrUpdateSiteContainerOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, containerName, request, options }, + createOrUpdateSiteContainerOperationSpec, + ); + } + + /** + * Deletes a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param containerName Site Container Name + * @param options The options parameters. + */ + deleteSiteContainer( + resourceGroupName: string, + name: string, + containerName: string, + options?: WebAppsDeleteSiteContainerOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, containerName, options }, + deleteSiteContainerOperationSpec, + ); + } + /** * Description for Get list of siteextensions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -11308,11 +11559,11 @@ export class WebAppsImpl implements WebApps { private _listSiteExtensions( resourceGroupName: string, name: string, - options?: WebAppsListSiteExtensionsOptionalParams + options?: WebAppsListSiteExtensionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSiteExtensionsOperationSpec + listSiteExtensionsOperationSpec, ); } @@ -11327,11 +11578,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsGetSiteExtensionOptionalParams + options?: WebAppsGetSiteExtensionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteExtensionId, options }, - getSiteExtensionOperationSpec + getSiteExtensionOperationSpec, ); } @@ -11346,7 +11597,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsInstallSiteExtensionOptionalParams + options?: WebAppsInstallSiteExtensionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -11355,21 +11606,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -11378,8 +11628,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -11387,22 +11637,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, siteExtensionId, options }, - spec: installSiteExtensionOperationSpec + spec: installSiteExtensionOperationSpec, }); const poller = await createHttpPoller< WebAppsInstallSiteExtensionResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -11419,13 +11669,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsInstallSiteExtensionOptionalParams + options?: WebAppsInstallSiteExtensionOptionalParams, ): Promise { const poller = await this.beginInstallSiteExtension( resourceGroupName, name, siteExtensionId, - options + options, ); return poller.pollUntilDone(); } @@ -11441,11 +11691,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsDeleteSiteExtensionOptionalParams + options?: WebAppsDeleteSiteExtensionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteExtensionId, options }, - deleteSiteExtensionOperationSpec + deleteSiteExtensionOperationSpec, ); } @@ -11458,11 +11708,11 @@ export class WebAppsImpl implements WebApps { private _listSlots( resourceGroupName: string, name: string, - options?: WebAppsListSlotsOptionalParams + options?: WebAppsListSlotsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSlotsOperationSpec + listSlotsOperationSpec, ); } @@ -11477,11 +11727,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSlotOptionalParams + options?: WebAppsGetSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getSlotOperationSpec + getSlotOperationSpec, ); } @@ -11501,7 +11751,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateSlotOptionalParams + options?: WebAppsCreateOrUpdateSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -11510,21 +11760,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -11533,8 +11782,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -11542,22 +11791,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, siteEnvelope, options }, - spec: createOrUpdateSlotOperationSpec + spec: createOrUpdateSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateOrUpdateSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -11579,14 +11828,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateSlotOptionalParams + options?: WebAppsCreateOrUpdateSlotOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateSlot( resourceGroupName, name, slot, siteEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -11602,11 +11851,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteSlotOptionalParams + options?: WebAppsDeleteSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - deleteSlotOperationSpec + deleteSlotOperationSpec, ); } @@ -11626,11 +11875,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteEnvelope: SitePatchResource, - options?: WebAppsUpdateSlotOptionalParams + options?: WebAppsUpdateSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, siteEnvelope, options }, - updateSlotOperationSpec + updateSlotOperationSpec, ); } @@ -11645,11 +11894,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsAnalyzeCustomHostnameSlotOptionalParams + options?: WebAppsAnalyzeCustomHostnameSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - analyzeCustomHostnameSlotOperationSpec + analyzeCustomHostnameSlotOperationSpec, ); } @@ -11667,11 +11916,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsApplySlotConfigurationSlotOptionalParams + options?: WebAppsApplySlotConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, slotSwapEntity, options }, - applySlotConfigurationSlotOperationSpec + applySlotConfigurationSlotOperationSpec, ); } @@ -11690,11 +11939,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, request: BackupRequest, - options?: WebAppsBackupSlotOptionalParams + options?: WebAppsBackupSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, request, options }, - backupSlotOperationSpec + backupSlotOperationSpec, ); } @@ -11710,11 +11959,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBackupsSlotOptionalParams + options?: WebAppsListBackupsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listBackupsSlotOperationSpec + listBackupsSlotOperationSpec, ); } @@ -11732,11 +11981,11 @@ export class WebAppsImpl implements WebApps { name: string, backupId: string, slot: string, - options?: WebAppsGetBackupStatusSlotOptionalParams + options?: WebAppsGetBackupStatusSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, backupId, slot, options }, - getBackupStatusSlotOperationSpec + getBackupStatusSlotOperationSpec, ); } @@ -11754,11 +12003,11 @@ export class WebAppsImpl implements WebApps { name: string, backupId: string, slot: string, - options?: WebAppsDeleteBackupSlotOptionalParams + options?: WebAppsDeleteBackupSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, backupId, slot, options }, - deleteBackupSlotOperationSpec + deleteBackupSlotOperationSpec, ); } @@ -11779,11 +12028,11 @@ export class WebAppsImpl implements WebApps { backupId: string, slot: string, request: BackupRequest, - options?: WebAppsListBackupStatusSecretsSlotOptionalParams + options?: WebAppsListBackupStatusSecretsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, backupId, slot, request, options }, - listBackupStatusSecretsSlotOperationSpec + listBackupStatusSecretsSlotOperationSpec, ); } @@ -11803,25 +12052,24 @@ export class WebAppsImpl implements WebApps { backupId: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreSlotOptionalParams + options?: WebAppsRestoreSlotOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -11830,8 +12078,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -11839,19 +12087,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, backupId, slot, request, options }, - spec: restoreSlotOperationSpec + spec: restoreSlotOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -11873,7 +12121,7 @@ export class WebAppsImpl implements WebApps { backupId: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreSlotOptionalParams + options?: WebAppsRestoreSlotOptionalParams, ): Promise { const poller = await this.beginRestoreSlot( resourceGroupName, @@ -11881,7 +12129,7 @@ export class WebAppsImpl implements WebApps { backupId, slot, request, - options + options, ); return poller.pollUntilDone(); } @@ -11898,11 +12146,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listBasicPublishingCredentialsPoliciesSlotOperationSpec + listBasicPublishingCredentialsPoliciesSlotOperationSpec, ); } @@ -11917,11 +12165,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetFtpAllowedSlotOptionalParams + options?: WebAppsGetFtpAllowedSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getFtpAllowedSlotOperationSpec + getFtpAllowedSlotOperationSpec, ); } @@ -11938,7 +12186,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateFtpAllowedSlotOptionalParams + options?: WebAppsUpdateFtpAllowedSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -11946,9 +12194,9 @@ export class WebAppsImpl implements WebApps { name, slot, csmPublishingAccessPoliciesEntity, - options + options, }, - updateFtpAllowedSlotOperationSpec + updateFtpAllowedSlotOperationSpec, ); } @@ -11963,11 +12211,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetScmAllowedSlotOptionalParams + options?: WebAppsGetScmAllowedSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getScmAllowedSlotOperationSpec + getScmAllowedSlotOperationSpec, ); } @@ -11984,7 +12232,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateScmAllowedSlotOptionalParams + options?: WebAppsUpdateScmAllowedSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -11992,9 +12240,9 @@ export class WebAppsImpl implements WebApps { name, slot, csmPublishingAccessPoliciesEntity, - options + options, }, - updateScmAllowedSlotOperationSpec + updateScmAllowedSlotOperationSpec, ); } @@ -12010,11 +12258,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationsSlotOptionalParams + options?: WebAppsListConfigurationsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listConfigurationsSlotOperationSpec + listConfigurationsSlotOperationSpec, ); } @@ -12032,11 +12280,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, appSettings: StringDictionary, - options?: WebAppsUpdateApplicationSettingsSlotOptionalParams + options?: WebAppsUpdateApplicationSettingsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, appSettings, options }, - updateApplicationSettingsSlotOperationSpec + updateApplicationSettingsSlotOperationSpec, ); } @@ -12052,11 +12300,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListApplicationSettingsSlotOptionalParams + options?: WebAppsListApplicationSettingsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listApplicationSettingsSlotOperationSpec + listApplicationSettingsSlotOperationSpec, ); } @@ -12073,11 +12321,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteAuthSettings: SiteAuthSettings, - options?: WebAppsUpdateAuthSettingsSlotOptionalParams + options?: WebAppsUpdateAuthSettingsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, siteAuthSettings, options }, - updateAuthSettingsSlotOperationSpec + updateAuthSettingsSlotOperationSpec, ); } @@ -12093,11 +12341,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAuthSettingsSlotOptionalParams + options?: WebAppsGetAuthSettingsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getAuthSettingsSlotOperationSpec + getAuthSettingsSlotOperationSpec, ); } @@ -12113,11 +12361,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams + options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getAuthSettingsV2WithoutSecretsSlotOperationSpec + getAuthSettingsV2WithoutSecretsSlotOperationSpec, ); } @@ -12134,11 +12382,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteAuthSettingsV2: SiteAuthSettingsV2, - options?: WebAppsUpdateAuthSettingsV2SlotOptionalParams + options?: WebAppsUpdateAuthSettingsV2SlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, siteAuthSettingsV2, options }, - updateAuthSettingsV2SlotOperationSpec + updateAuthSettingsV2SlotOperationSpec, ); } @@ -12154,11 +12402,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAuthSettingsV2SlotOptionalParams + options?: WebAppsGetAuthSettingsV2SlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getAuthSettingsV2SlotOperationSpec + getAuthSettingsV2SlotOperationSpec, ); } @@ -12176,11 +12424,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, azureStorageAccounts: AzureStoragePropertyDictionaryResource, - options?: WebAppsUpdateAzureStorageAccountsSlotOptionalParams + options?: WebAppsUpdateAzureStorageAccountsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, azureStorageAccounts, options }, - updateAzureStorageAccountsSlotOperationSpec + updateAzureStorageAccountsSlotOperationSpec, ); } @@ -12196,11 +12444,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListAzureStorageAccountsSlotOptionalParams + options?: WebAppsListAzureStorageAccountsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listAzureStorageAccountsSlotOperationSpec + listAzureStorageAccountsSlotOperationSpec, ); } @@ -12218,11 +12466,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, request: BackupRequest, - options?: WebAppsUpdateBackupConfigurationSlotOptionalParams + options?: WebAppsUpdateBackupConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, request, options }, - updateBackupConfigurationSlotOperationSpec + updateBackupConfigurationSlotOperationSpec, ); } @@ -12238,11 +12486,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteBackupConfigurationSlotOptionalParams + options?: WebAppsDeleteBackupConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - deleteBackupConfigurationSlotOperationSpec + deleteBackupConfigurationSlotOperationSpec, ); } @@ -12258,11 +12506,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetBackupConfigurationSlotOptionalParams + options?: WebAppsGetBackupConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getBackupConfigurationSlotOperationSpec + getBackupConfigurationSlotOperationSpec, ); } @@ -12277,11 +12525,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getAppSettingsKeyVaultReferencesSlotOperationSpec + getAppSettingsKeyVaultReferencesSlotOperationSpec, ); } @@ -12298,11 +12546,11 @@ export class WebAppsImpl implements WebApps { name: string, appSettingKey: string, slot: string, - options?: WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams + options?: WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, appSettingKey, slot, options }, - getAppSettingKeyVaultReferenceSlotOperationSpec + getAppSettingKeyVaultReferenceSlotOperationSpec, ); } @@ -12317,11 +12565,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getSiteConnectionStringKeyVaultReferencesSlotOperationSpec + getSiteConnectionStringKeyVaultReferencesSlotOperationSpec, ); } @@ -12338,11 +12586,11 @@ export class WebAppsImpl implements WebApps { name: string, connectionStringKey: string, slot: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, connectionStringKey, slot, options }, - getSiteConnectionStringKeyVaultReferenceSlotOperationSpec + getSiteConnectionStringKeyVaultReferenceSlotOperationSpec, ); } @@ -12360,11 +12608,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, connectionStrings: ConnectionStringDictionary, - options?: WebAppsUpdateConnectionStringsSlotOptionalParams + options?: WebAppsUpdateConnectionStringsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, connectionStrings, options }, - updateConnectionStringsSlotOperationSpec + updateConnectionStringsSlotOperationSpec, ); } @@ -12380,11 +12628,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConnectionStringsSlotOptionalParams + options?: WebAppsListConnectionStringsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listConnectionStringsSlotOperationSpec + listConnectionStringsSlotOperationSpec, ); } @@ -12400,11 +12648,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams + options?: WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getDiagnosticLogsConfigurationSlotOperationSpec + getDiagnosticLogsConfigurationSlotOperationSpec, ); } @@ -12423,11 +12671,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteLogsConfig: SiteLogsConfig, - options?: WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams + options?: WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, siteLogsConfig, options }, - updateDiagnosticLogsConfigSlotOperationSpec + updateDiagnosticLogsConfigSlotOperationSpec, ); } @@ -12445,11 +12693,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, metadata: StringDictionary, - options?: WebAppsUpdateMetadataSlotOptionalParams + options?: WebAppsUpdateMetadataSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, metadata, options }, - updateMetadataSlotOperationSpec + updateMetadataSlotOperationSpec, ); } @@ -12465,11 +12713,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListMetadataSlotOptionalParams + options?: WebAppsListMetadataSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listMetadataSlotOperationSpec + listMetadataSlotOperationSpec, ); } @@ -12485,7 +12733,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublishingCredentialsSlotOptionalParams + options?: WebAppsListPublishingCredentialsSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -12494,21 +12742,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -12517,8 +12764,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -12526,22 +12773,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, options }, - spec: listPublishingCredentialsSlotOperationSpec + spec: listPublishingCredentialsSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsListPublishingCredentialsSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -12559,13 +12806,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublishingCredentialsSlotOptionalParams + options?: WebAppsListPublishingCredentialsSlotOptionalParams, ): Promise { const poller = await this.beginListPublishingCredentialsSlot( resourceGroupName, name, slot, - options + options, ); return poller.pollUntilDone(); } @@ -12583,11 +12830,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, pushSettings: PushSettings, - options?: WebAppsUpdateSitePushSettingsSlotOptionalParams + options?: WebAppsUpdateSitePushSettingsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, pushSettings, options }, - updateSitePushSettingsSlotOperationSpec + updateSitePushSettingsSlotOperationSpec, ); } @@ -12602,11 +12849,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSitePushSettingsSlotOptionalParams + options?: WebAppsListSitePushSettingsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSitePushSettingsSlotOperationSpec + listSitePushSettingsSlotOperationSpec, ); } @@ -12623,11 +12870,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetConfigurationSlotOptionalParams + options?: WebAppsGetConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getConfigurationSlotOperationSpec + getConfigurationSlotOperationSpec, ); } @@ -12645,11 +12892,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteConfig: SiteConfigResource, - options?: WebAppsCreateOrUpdateConfigurationSlotOptionalParams + options?: WebAppsCreateOrUpdateConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, siteConfig, options }, - createOrUpdateConfigurationSlotOperationSpec + createOrUpdateConfigurationSlotOperationSpec, ); } @@ -12667,11 +12914,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteConfig: SiteConfigResource, - options?: WebAppsUpdateConfigurationSlotOptionalParams + options?: WebAppsUpdateConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, siteConfig, options }, - updateConfigurationSlotOperationSpec + updateConfigurationSlotOperationSpec, ); } @@ -12688,11 +12935,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams + options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listConfigurationSnapshotInfoSlotOperationSpec + listConfigurationSnapshotInfoSlotOperationSpec, ); } @@ -12710,11 +12957,11 @@ export class WebAppsImpl implements WebApps { name: string, snapshotId: string, slot: string, - options?: WebAppsGetConfigurationSnapshotSlotOptionalParams + options?: WebAppsGetConfigurationSnapshotSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, snapshotId, slot, options }, - getConfigurationSnapshotSlotOperationSpec + getConfigurationSnapshotSlotOperationSpec, ); } @@ -12732,11 +12979,11 @@ export class WebAppsImpl implements WebApps { name: string, snapshotId: string, slot: string, - options?: WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams + options?: WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, snapshotId, slot, options }, - recoverSiteConfigurationSnapshotSlotOperationSpec + recoverSiteConfigurationSnapshotSlotOperationSpec, ); } @@ -12751,11 +12998,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetWebSiteContainerLogsSlotOptionalParams + options?: WebAppsGetWebSiteContainerLogsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getWebSiteContainerLogsSlotOperationSpec + getWebSiteContainerLogsSlotOperationSpec, ); } @@ -12770,11 +13017,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetContainerLogsZipSlotOptionalParams + options?: WebAppsGetContainerLogsZipSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getContainerLogsZipSlotOperationSpec + getContainerLogsZipSlotOperationSpec, ); } @@ -12790,11 +13037,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListContinuousWebJobsSlotOptionalParams + options?: WebAppsListContinuousWebJobsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listContinuousWebJobsSlotOperationSpec + listContinuousWebJobsSlotOperationSpec, ); } @@ -12812,11 +13059,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsGetContinuousWebJobSlotOptionalParams + options?: WebAppsGetContinuousWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - getContinuousWebJobSlotOperationSpec + getContinuousWebJobSlotOperationSpec, ); } @@ -12834,11 +13081,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsDeleteContinuousWebJobSlotOptionalParams + options?: WebAppsDeleteContinuousWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - deleteContinuousWebJobSlotOperationSpec + deleteContinuousWebJobSlotOperationSpec, ); } @@ -12856,11 +13103,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsStartContinuousWebJobSlotOptionalParams + options?: WebAppsStartContinuousWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - startContinuousWebJobSlotOperationSpec + startContinuousWebJobSlotOperationSpec, ); } @@ -12878,11 +13125,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsStopContinuousWebJobSlotOptionalParams + options?: WebAppsStopContinuousWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - stopContinuousWebJobSlotOperationSpec + stopContinuousWebJobSlotOperationSpec, ); } @@ -12898,11 +13145,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams + options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSlotSiteDeploymentStatusesSlotOperationSpec + listSlotSiteDeploymentStatusesSlotOperationSpec, ); } @@ -12920,7 +13167,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, deploymentStatusId: string, - options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams + options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -12929,21 +13176,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -12952,8 +13198,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -12961,22 +13207,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, deploymentStatusId, options }, - spec: getSlotSiteDeploymentStatusSlotOperationSpec + spec: getSlotSiteDeploymentStatusSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsGetSlotSiteDeploymentStatusSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -12996,14 +13242,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, deploymentStatusId: string, - options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams + options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams, ): Promise { const poller = await this.beginGetSlotSiteDeploymentStatusSlot( resourceGroupName, name, slot, deploymentStatusId, - options + options, ); return poller.pollUntilDone(); } @@ -13020,11 +13266,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDeploymentsSlotOptionalParams + options?: WebAppsListDeploymentsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listDeploymentsSlotOperationSpec + listDeploymentsSlotOperationSpec, ); } @@ -13042,11 +13288,11 @@ export class WebAppsImpl implements WebApps { name: string, id: string, slot: string, - options?: WebAppsGetDeploymentSlotOptionalParams + options?: WebAppsGetDeploymentSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, slot, options }, - getDeploymentSlotOperationSpec + getDeploymentSlotOperationSpec, ); } @@ -13066,11 +13312,11 @@ export class WebAppsImpl implements WebApps { id: string, slot: string, deployment: Deployment, - options?: WebAppsCreateDeploymentSlotOptionalParams + options?: WebAppsCreateDeploymentSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, slot, deployment, options }, - createDeploymentSlotOperationSpec + createDeploymentSlotOperationSpec, ); } @@ -13088,11 +13334,11 @@ export class WebAppsImpl implements WebApps { name: string, id: string, slot: string, - options?: WebAppsDeleteDeploymentSlotOptionalParams + options?: WebAppsDeleteDeploymentSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, slot, options }, - deleteDeploymentSlotOperationSpec + deleteDeploymentSlotOperationSpec, ); } @@ -13111,11 +13357,11 @@ export class WebAppsImpl implements WebApps { name: string, id: string, slot: string, - options?: WebAppsListDeploymentLogSlotOptionalParams + options?: WebAppsListDeploymentLogSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, id, slot, options }, - listDeploymentLogSlotOperationSpec + listDeploymentLogSlotOperationSpec, ); } @@ -13135,11 +13381,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, request: RestoreRequest, - options?: WebAppsDiscoverBackupSlotOptionalParams + options?: WebAppsDiscoverBackupSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, request, options }, - discoverBackupSlotOperationSpec + discoverBackupSlotOperationSpec, ); } @@ -13155,11 +13401,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listDomainOwnershipIdentifiersSlotOperationSpec + listDomainOwnershipIdentifiersSlotOperationSpec, ); } @@ -13177,11 +13423,11 @@ export class WebAppsImpl implements WebApps { name: string, domainOwnershipIdentifierName: string, slot: string, - options?: WebAppsGetDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsGetDomainOwnershipIdentifierSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, domainOwnershipIdentifierName, slot, options }, - getDomainOwnershipIdentifierSlotOperationSpec + getDomainOwnershipIdentifierSlotOperationSpec, ); } @@ -13202,7 +13448,7 @@ export class WebAppsImpl implements WebApps { domainOwnershipIdentifierName: string, slot: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -13211,9 +13457,9 @@ export class WebAppsImpl implements WebApps { domainOwnershipIdentifierName, slot, domainOwnershipIdentifier, - options + options, }, - createOrUpdateDomainOwnershipIdentifierSlotOperationSpec + createOrUpdateDomainOwnershipIdentifierSlotOperationSpec, ); } @@ -13231,11 +13477,11 @@ export class WebAppsImpl implements WebApps { name: string, domainOwnershipIdentifierName: string, slot: string, - options?: WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, domainOwnershipIdentifierName, slot, options }, - deleteDomainOwnershipIdentifierSlotOperationSpec + deleteDomainOwnershipIdentifierSlotOperationSpec, ); } @@ -13256,7 +13502,7 @@ export class WebAppsImpl implements WebApps { domainOwnershipIdentifierName: string, slot: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -13265,9 +13511,9 @@ export class WebAppsImpl implements WebApps { domainOwnershipIdentifierName, slot, domainOwnershipIdentifier, - options + options, }, - updateDomainOwnershipIdentifierSlotOperationSpec + updateDomainOwnershipIdentifierSlotOperationSpec, ); } @@ -13282,11 +13528,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetMSDeployStatusSlotOptionalParams + options?: WebAppsGetMSDeployStatusSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getMSDeployStatusSlotOperationSpec + getMSDeployStatusSlotOperationSpec, ); } @@ -13303,7 +13549,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationSlotOptionalParams + options?: WebAppsCreateMSDeployOperationSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -13312,21 +13558,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -13335,8 +13580,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -13344,22 +13589,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, mSDeploy, options }, - spec: createMSDeployOperationSlotOperationSpec + spec: createMSDeployOperationSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateMSDeployOperationSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -13378,14 +13623,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationSlotOptionalParams + options?: WebAppsCreateMSDeployOperationSlotOptionalParams, ): Promise { const poller = await this.beginCreateMSDeployOperationSlot( resourceGroupName, name, slot, mSDeploy, - options + options, ); return poller.pollUntilDone(); } @@ -13401,11 +13646,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetMSDeployLogSlotOptionalParams + options?: WebAppsGetMSDeployLogSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getMSDeployLogSlotOperationSpec + getMSDeployLogSlotOperationSpec, ); } @@ -13420,11 +13665,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceFunctionsSlotOptionalParams + options?: WebAppsListInstanceFunctionsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listInstanceFunctionsSlotOperationSpec + listInstanceFunctionsSlotOperationSpec, ); } @@ -13439,11 +13684,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetFunctionsAdminTokenSlotOptionalParams + options?: WebAppsGetFunctionsAdminTokenSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getFunctionsAdminTokenSlotOperationSpec + getFunctionsAdminTokenSlotOperationSpec, ); } @@ -13460,11 +13705,11 @@ export class WebAppsImpl implements WebApps { name: string, functionName: string, slot: string, - options?: WebAppsGetInstanceFunctionSlotOptionalParams + options?: WebAppsGetInstanceFunctionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, slot, options }, - getInstanceFunctionSlotOperationSpec + getInstanceFunctionSlotOperationSpec, ); } @@ -13483,7 +13728,7 @@ export class WebAppsImpl implements WebApps { functionName: string, slot: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateInstanceFunctionSlotOptionalParams + options?: WebAppsCreateInstanceFunctionSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -13492,21 +13737,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -13515,8 +13759,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -13524,8 +13768,8 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -13537,16 +13781,16 @@ export class WebAppsImpl implements WebApps { functionName, slot, functionEnvelope, - options + options, }, - spec: createInstanceFunctionSlotOperationSpec + spec: createInstanceFunctionSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateInstanceFunctionSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -13567,7 +13811,7 @@ export class WebAppsImpl implements WebApps { functionName: string, slot: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateInstanceFunctionSlotOptionalParams + options?: WebAppsCreateInstanceFunctionSlotOptionalParams, ): Promise { const poller = await this.beginCreateInstanceFunctionSlot( resourceGroupName, @@ -13575,7 +13819,7 @@ export class WebAppsImpl implements WebApps { functionName, slot, functionEnvelope, - options + options, ); return poller.pollUntilDone(); } @@ -13593,11 +13837,11 @@ export class WebAppsImpl implements WebApps { name: string, functionName: string, slot: string, - options?: WebAppsDeleteInstanceFunctionSlotOptionalParams + options?: WebAppsDeleteInstanceFunctionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, slot, options }, - deleteInstanceFunctionSlotOperationSpec + deleteInstanceFunctionSlotOperationSpec, ); } @@ -13618,11 +13862,11 @@ export class WebAppsImpl implements WebApps { keyName: string, slot: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams + options?: WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, keyName, slot, key, options }, - createOrUpdateFunctionSecretSlotOperationSpec + createOrUpdateFunctionSecretSlotOperationSpec, ); } @@ -13641,11 +13885,11 @@ export class WebAppsImpl implements WebApps { functionName: string, keyName: string, slot: string, - options?: WebAppsDeleteFunctionSecretSlotOptionalParams + options?: WebAppsDeleteFunctionSecretSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, keyName, slot, options }, - deleteFunctionSecretSlotOperationSpec + deleteFunctionSecretSlotOperationSpec, ); } @@ -13662,11 +13906,11 @@ export class WebAppsImpl implements WebApps { name: string, functionName: string, slot: string, - options?: WebAppsListFunctionKeysSlotOptionalParams + options?: WebAppsListFunctionKeysSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, slot, options }, - listFunctionKeysSlotOperationSpec + listFunctionKeysSlotOperationSpec, ); } @@ -13683,11 +13927,11 @@ export class WebAppsImpl implements WebApps { name: string, functionName: string, slot: string, - options?: WebAppsListFunctionSecretsSlotOptionalParams + options?: WebAppsListFunctionSecretsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, slot, options }, - listFunctionSecretsSlotOperationSpec + listFunctionSecretsSlotOperationSpec, ); } @@ -13702,11 +13946,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHostKeysSlotOptionalParams + options?: WebAppsListHostKeysSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listHostKeysSlotOperationSpec + listHostKeysSlotOperationSpec, ); } @@ -13721,11 +13965,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSyncStatusSlotOptionalParams + options?: WebAppsListSyncStatusSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSyncStatusSlotOperationSpec + listSyncStatusSlotOperationSpec, ); } @@ -13740,11 +13984,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsSyncFunctionsSlotOptionalParams + options?: WebAppsSyncFunctionsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - syncFunctionsSlotOperationSpec + syncFunctionsSlotOperationSpec, ); } @@ -13765,11 +14009,11 @@ export class WebAppsImpl implements WebApps { keyName: string, slot: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateHostSecretSlotOptionalParams + options?: WebAppsCreateOrUpdateHostSecretSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, keyType, keyName, slot, key, options }, - createOrUpdateHostSecretSlotOperationSpec + createOrUpdateHostSecretSlotOperationSpec, ); } @@ -13788,11 +14032,11 @@ export class WebAppsImpl implements WebApps { keyType: string, keyName: string, slot: string, - options?: WebAppsDeleteHostSecretSlotOptionalParams + options?: WebAppsDeleteHostSecretSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, keyType, keyName, slot, options }, - deleteHostSecretSlotOperationSpec + deleteHostSecretSlotOperationSpec, ); } @@ -13808,11 +14052,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHostNameBindingsSlotOptionalParams + options?: WebAppsListHostNameBindingsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listHostNameBindingsSlotOperationSpec + listHostNameBindingsSlotOperationSpec, ); } @@ -13830,11 +14074,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, hostName: string, - options?: WebAppsGetHostNameBindingSlotOptionalParams + options?: WebAppsGetHostNameBindingSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, hostName, options }, - getHostNameBindingSlotOperationSpec + getHostNameBindingSlotOperationSpec, ); } @@ -13854,11 +14098,11 @@ export class WebAppsImpl implements WebApps { hostName: string, slot: string, hostNameBinding: HostNameBinding, - options?: WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams + options?: WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, hostName, slot, hostNameBinding, options }, - createOrUpdateHostNameBindingSlotOperationSpec + createOrUpdateHostNameBindingSlotOperationSpec, ); } @@ -13876,11 +14120,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, hostName: string, - options?: WebAppsDeleteHostNameBindingSlotOptionalParams + options?: WebAppsDeleteHostNameBindingSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, hostName, options }, - deleteHostNameBindingSlotOperationSpec + deleteHostNameBindingSlotOperationSpec, ); } @@ -13899,11 +14143,11 @@ export class WebAppsImpl implements WebApps { namespaceName: string, relayName: string, slot: string, - options?: WebAppsGetHybridConnectionSlotOptionalParams + options?: WebAppsGetHybridConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, slot, options }, - getHybridConnectionSlotOperationSpec + getHybridConnectionSlotOperationSpec, ); } @@ -13924,7 +14168,7 @@ export class WebAppsImpl implements WebApps { relayName: string, slot: string, connectionEnvelope: HybridConnection, - options?: WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams + options?: WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -13934,9 +14178,9 @@ export class WebAppsImpl implements WebApps { relayName, slot, connectionEnvelope, - options + options, }, - createOrUpdateHybridConnectionSlotOperationSpec + createOrUpdateHybridConnectionSlotOperationSpec, ); } @@ -13955,11 +14199,11 @@ export class WebAppsImpl implements WebApps { namespaceName: string, relayName: string, slot: string, - options?: WebAppsDeleteHybridConnectionSlotOptionalParams + options?: WebAppsDeleteHybridConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, namespaceName, relayName, slot, options }, - deleteHybridConnectionSlotOperationSpec + deleteHybridConnectionSlotOperationSpec, ); } @@ -13980,7 +14224,7 @@ export class WebAppsImpl implements WebApps { relayName: string, slot: string, connectionEnvelope: HybridConnection, - options?: WebAppsUpdateHybridConnectionSlotOptionalParams + options?: WebAppsUpdateHybridConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -13990,9 +14234,9 @@ export class WebAppsImpl implements WebApps { relayName, slot, connectionEnvelope, - options + options, }, - updateHybridConnectionSlotOperationSpec + updateHybridConnectionSlotOperationSpec, ); } @@ -14007,11 +14251,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHybridConnectionsSlotOptionalParams + options?: WebAppsListHybridConnectionsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listHybridConnectionsSlotOperationSpec + listHybridConnectionsSlotOperationSpec, ); } @@ -14027,11 +14271,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListRelayServiceConnectionsSlotOptionalParams + options?: WebAppsListRelayServiceConnectionsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listRelayServiceConnectionsSlotOperationSpec + listRelayServiceConnectionsSlotOperationSpec, ); } @@ -14049,11 +14293,11 @@ export class WebAppsImpl implements WebApps { name: string, entityName: string, slot: string, - options?: WebAppsGetRelayServiceConnectionSlotOptionalParams + options?: WebAppsGetRelayServiceConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, entityName, slot, options }, - getRelayServiceConnectionSlotOperationSpec + getRelayServiceConnectionSlotOperationSpec, ); } @@ -14074,7 +14318,7 @@ export class WebAppsImpl implements WebApps { entityName: string, slot: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams + options?: WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -14083,9 +14327,9 @@ export class WebAppsImpl implements WebApps { entityName, slot, connectionEnvelope, - options + options, }, - createOrUpdateRelayServiceConnectionSlotOperationSpec + createOrUpdateRelayServiceConnectionSlotOperationSpec, ); } @@ -14103,11 +14347,11 @@ export class WebAppsImpl implements WebApps { name: string, entityName: string, slot: string, - options?: WebAppsDeleteRelayServiceConnectionSlotOptionalParams + options?: WebAppsDeleteRelayServiceConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, entityName, slot, options }, - deleteRelayServiceConnectionSlotOperationSpec + deleteRelayServiceConnectionSlotOperationSpec, ); } @@ -14128,7 +14372,7 @@ export class WebAppsImpl implements WebApps { entityName: string, slot: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsUpdateRelayServiceConnectionSlotOptionalParams + options?: WebAppsUpdateRelayServiceConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -14137,9 +14381,9 @@ export class WebAppsImpl implements WebApps { entityName, slot, connectionEnvelope, - options + options, }, - updateRelayServiceConnectionSlotOperationSpec + updateRelayServiceConnectionSlotOperationSpec, ); } @@ -14155,11 +14399,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceIdentifiersSlotOptionalParams + options?: WebAppsListInstanceIdentifiersSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listInstanceIdentifiersSlotOperationSpec + listInstanceIdentifiersSlotOperationSpec, ); } @@ -14177,11 +14421,11 @@ export class WebAppsImpl implements WebApps { name: string, instanceId: string, slot: string, - options?: WebAppsGetInstanceInfoSlotOptionalParams + options?: WebAppsGetInstanceInfoSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instanceId, slot, options }, - getInstanceInfoSlotOperationSpec + getInstanceInfoSlotOperationSpec, ); } @@ -14198,11 +14442,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceMsDeployStatusSlotOptionalParams + options?: WebAppsGetInstanceMsDeployStatusSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, instanceId, options }, - getInstanceMsDeployStatusSlotOperationSpec + getInstanceMsDeployStatusSlotOperationSpec, ); } @@ -14221,7 +14465,7 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -14230,21 +14474,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -14253,8 +14496,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -14262,22 +14505,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, instanceId, mSDeploy, options }, - spec: createInstanceMSDeployOperationSlotOperationSpec + spec: createInstanceMSDeployOperationSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateInstanceMSDeployOperationSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -14298,7 +14541,7 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams, ): Promise { const poller = await this.beginCreateInstanceMSDeployOperationSlot( resourceGroupName, @@ -14306,7 +14549,7 @@ export class WebAppsImpl implements WebApps { slot, instanceId, mSDeploy, - options + options, ); return poller.pollUntilDone(); } @@ -14324,11 +14567,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceMSDeployLogSlotOptionalParams + options?: WebAppsGetInstanceMSDeployLogSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, instanceId, options }, - getInstanceMSDeployLogSlotOperationSpec + getInstanceMSDeployLogSlotOperationSpec, ); } @@ -14348,11 +14591,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessesSlotOptionalParams + options?: WebAppsListInstanceProcessesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, instanceId, options }, - listInstanceProcessesSlotOperationSpec + listInstanceProcessesSlotOperationSpec, ); } @@ -14373,11 +14616,11 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceProcessSlotOptionalParams + options?: WebAppsGetInstanceProcessSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, instanceId, options }, - getInstanceProcessSlotOperationSpec + getInstanceProcessSlotOperationSpec, ); } @@ -14399,11 +14642,11 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsDeleteInstanceProcessSlotOptionalParams + options?: WebAppsDeleteInstanceProcessSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, instanceId, options }, - deleteInstanceProcessSlotOperationSpec + deleteInstanceProcessSlotOperationSpec, ); } @@ -14425,11 +14668,11 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceProcessDumpSlotOptionalParams + options?: WebAppsGetInstanceProcessDumpSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, instanceId, options }, - getInstanceProcessDumpSlotOperationSpec + getInstanceProcessDumpSlotOperationSpec, ); } @@ -14451,11 +14694,11 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesSlotOptionalParams + options?: WebAppsListInstanceProcessModulesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, instanceId, options }, - listInstanceProcessModulesSlotOperationSpec + listInstanceProcessModulesSlotOperationSpec, ); } @@ -14478,7 +14721,7 @@ export class WebAppsImpl implements WebApps { baseAddress: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceProcessModuleSlotOptionalParams + options?: WebAppsGetInstanceProcessModuleSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -14488,9 +14731,9 @@ export class WebAppsImpl implements WebApps { baseAddress, slot, instanceId, - options + options, }, - getInstanceProcessModuleSlotOperationSpec + getInstanceProcessModuleSlotOperationSpec, ); } @@ -14512,11 +14755,11 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsSlotOptionalParams + options?: WebAppsListInstanceProcessThreadsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, instanceId, options }, - listInstanceProcessThreadsSlotOperationSpec + listInstanceProcessThreadsSlotOperationSpec, ); } @@ -14532,11 +14775,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsIsCloneableSlotOptionalParams + options?: WebAppsIsCloneableSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - isCloneableSlotOperationSpec + isCloneableSlotOperationSpec, ); } @@ -14552,11 +14795,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteBackupsSlotOptionalParams + options?: WebAppsListSiteBackupsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSiteBackupsSlotOperationSpec + listSiteBackupsSlotOperationSpec, ); } @@ -14571,11 +14814,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSyncFunctionTriggersSlotOptionalParams + options?: WebAppsListSyncFunctionTriggersSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSyncFunctionTriggersSlotOperationSpec + listSyncFunctionTriggersSlotOperationSpec, ); } @@ -14591,11 +14834,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetMigrateMySqlStatusSlotOptionalParams + options?: WebAppsGetMigrateMySqlStatusSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getMigrateMySqlStatusSlotOperationSpec + getMigrateMySqlStatusSlotOperationSpec, ); } @@ -14611,11 +14854,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams + options?: WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getSwiftVirtualNetworkConnectionSlotOperationSpec + getSwiftVirtualNetworkConnectionSlotOperationSpec, ); } @@ -14636,13 +14879,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams - ): Promise< - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse - > { + options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, connectionEnvelope, options }, - createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec + createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec, ); } @@ -14658,11 +14899,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams + options?: WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - deleteSwiftVirtualNetworkSlotOperationSpec + deleteSwiftVirtualNetworkSlotOperationSpec, ); } @@ -14683,11 +14924,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams + options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, connectionEnvelope, options }, - updateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec + updateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec, ); } @@ -14705,11 +14946,11 @@ export class WebAppsImpl implements WebApps { name: string, view: string, slot: string, - options?: WebAppsListNetworkFeaturesSlotOptionalParams + options?: WebAppsListNetworkFeaturesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, view, slot, options }, - listNetworkFeaturesSlotOperationSpec + listNetworkFeaturesSlotOperationSpec, ); } @@ -14728,11 +14969,11 @@ export class WebAppsImpl implements WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTraceOperationSlotOptionalParams + options?: WebAppsGetNetworkTraceOperationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, slot, options }, - getNetworkTraceOperationSlotOperationSpec + getNetworkTraceOperationSlotOperationSpec, ); } @@ -14747,11 +14988,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartWebSiteNetworkTraceSlotOptionalParams + options?: WebAppsStartWebSiteNetworkTraceSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - startWebSiteNetworkTraceSlotOperationSpec + startWebSiteNetworkTraceSlotOperationSpec, ); } @@ -14766,7 +15007,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -14775,21 +15016,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -14798,8 +15038,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -14807,22 +15047,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, options }, - spec: startWebSiteNetworkTraceOperationSlotOperationSpec + spec: startWebSiteNetworkTraceOperationSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsStartWebSiteNetworkTraceOperationSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -14839,13 +15079,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams, ): Promise { const poller = await this.beginStartWebSiteNetworkTraceOperationSlot( resourceGroupName, name, slot, - options + options, ); return poller.pollUntilDone(); } @@ -14861,11 +15101,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStopWebSiteNetworkTraceSlotOptionalParams + options?: WebAppsStopWebSiteNetworkTraceSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - stopWebSiteNetworkTraceSlotOperationSpec + stopWebSiteNetworkTraceSlotOperationSpec, ); } @@ -14884,11 +15124,11 @@ export class WebAppsImpl implements WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTracesSlotOptionalParams + options?: WebAppsGetNetworkTracesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, slot, options }, - getNetworkTracesSlotOperationSpec + getNetworkTracesSlotOperationSpec, ); } @@ -14907,11 +15147,11 @@ export class WebAppsImpl implements WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTraceOperationSlotV2OptionalParams + options?: WebAppsGetNetworkTraceOperationSlotV2OptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, slot, options }, - getNetworkTraceOperationSlotV2OperationSpec + getNetworkTraceOperationSlotV2OperationSpec, ); } @@ -14930,11 +15170,11 @@ export class WebAppsImpl implements WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTracesSlotV2OptionalParams + options?: WebAppsGetNetworkTracesSlotV2OptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, operationId, slot, options }, - getNetworkTracesSlotV2OperationSpec + getNetworkTracesSlotV2OperationSpec, ); } @@ -14950,11 +15190,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams + options?: WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - generateNewSitePublishingPasswordSlotOperationSpec + generateNewSitePublishingPasswordSlotOperationSpec, ); } @@ -14969,11 +15209,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPerfMonCountersSlotOptionalParams + options?: WebAppsListPerfMonCountersSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listPerfMonCountersSlotOperationSpec + listPerfMonCountersSlotOperationSpec, ); } @@ -14988,11 +15228,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSitePhpErrorLogFlagSlotOptionalParams + options?: WebAppsGetSitePhpErrorLogFlagSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getSitePhpErrorLogFlagSlotOperationSpec + getSitePhpErrorLogFlagSlotOperationSpec, ); } @@ -15008,11 +15248,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPremierAddOnsSlotOptionalParams + options?: WebAppsListPremierAddOnsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listPremierAddOnsSlotOperationSpec + listPremierAddOnsSlotOperationSpec, ); } @@ -15030,11 +15270,11 @@ export class WebAppsImpl implements WebApps { name: string, premierAddOnName: string, slot: string, - options?: WebAppsGetPremierAddOnSlotOptionalParams + options?: WebAppsGetPremierAddOnSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, premierAddOnName, slot, options }, - getPremierAddOnSlotOperationSpec + getPremierAddOnSlotOperationSpec, ); } @@ -15054,7 +15294,7 @@ export class WebAppsImpl implements WebApps { premierAddOnName: string, slot: string, premierAddOn: PremierAddOn, - options?: WebAppsAddPremierAddOnSlotOptionalParams + options?: WebAppsAddPremierAddOnSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -15063,9 +15303,9 @@ export class WebAppsImpl implements WebApps { premierAddOnName, slot, premierAddOn, - options + options, }, - addPremierAddOnSlotOperationSpec + addPremierAddOnSlotOperationSpec, ); } @@ -15083,11 +15323,11 @@ export class WebAppsImpl implements WebApps { name: string, premierAddOnName: string, slot: string, - options?: WebAppsDeletePremierAddOnSlotOptionalParams + options?: WebAppsDeletePremierAddOnSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, premierAddOnName, slot, options }, - deletePremierAddOnSlotOperationSpec + deletePremierAddOnSlotOperationSpec, ); } @@ -15107,7 +15347,7 @@ export class WebAppsImpl implements WebApps { premierAddOnName: string, slot: string, premierAddOn: PremierAddOnPatchResource, - options?: WebAppsUpdatePremierAddOnSlotOptionalParams + options?: WebAppsUpdatePremierAddOnSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -15116,9 +15356,9 @@ export class WebAppsImpl implements WebApps { premierAddOnName, slot, premierAddOn, - options + options, }, - updatePremierAddOnSlotOperationSpec + updatePremierAddOnSlotOperationSpec, ); } @@ -15134,11 +15374,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateAccessSlotOptionalParams + options?: WebAppsGetPrivateAccessSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getPrivateAccessSlotOperationSpec + getPrivateAccessSlotOperationSpec, ); } @@ -15156,11 +15396,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, access: PrivateAccess, - options?: WebAppsPutPrivateAccessVnetSlotOptionalParams + options?: WebAppsPutPrivateAccessVnetSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, access, options }, - putPrivateAccessVnetSlotOperationSpec + putPrivateAccessVnetSlotOperationSpec, ); } @@ -15175,11 +15415,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getPrivateEndpointConnectionListSlotOperationSpec + getPrivateEndpointConnectionListSlotOperationSpec, ); } @@ -15196,11 +15436,11 @@ export class WebAppsImpl implements WebApps { name: string, privateEndpointConnectionName: string, slot: string, - options?: WebAppsGetPrivateEndpointConnectionSlotOptionalParams + options?: WebAppsGetPrivateEndpointConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, privateEndpointConnectionName, slot, options }, - getPrivateEndpointConnectionSlotOperationSpec + getPrivateEndpointConnectionSlotOperationSpec, ); } @@ -15210,7 +15450,7 @@ export class WebAppsImpl implements WebApps { * @param name Name of the site. * @param privateEndpointConnectionName * @param slot - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ async beginApproveOrRejectPrivateEndpointConnectionSlot( @@ -15218,33 +15458,30 @@ export class WebAppsImpl implements WebApps { name: string, privateEndpointConnectionName: string, slot: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams, ): Promise< SimplePollerLike< - OperationState< - WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse - >, + OperationState, WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -15253,8 +15490,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -15262,8 +15499,8 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -15275,18 +15512,16 @@ export class WebAppsImpl implements WebApps { privateEndpointConnectionName, slot, privateEndpointWrapper, - options + options, }, - spec: approveOrRejectPrivateEndpointConnectionSlotOperationSpec + spec: approveOrRejectPrivateEndpointConnectionSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse, - OperationState< - WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse - > + OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -15298,7 +15533,7 @@ export class WebAppsImpl implements WebApps { * @param name Name of the site. * @param privateEndpointConnectionName * @param slot - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ async beginApproveOrRejectPrivateEndpointConnectionSlotAndWait( @@ -15306,8 +15541,8 @@ export class WebAppsImpl implements WebApps { name: string, privateEndpointConnectionName: string, slot: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams, ): Promise { const poller = await this.beginApproveOrRejectPrivateEndpointConnectionSlot( resourceGroupName, @@ -15315,7 +15550,7 @@ export class WebAppsImpl implements WebApps { privateEndpointConnectionName, slot, privateEndpointWrapper, - options + options, ); return poller.pollUntilDone(); } @@ -15333,7 +15568,7 @@ export class WebAppsImpl implements WebApps { name: string, privateEndpointConnectionName: string, slot: string, - options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -15342,21 +15577,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -15365,8 +15599,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -15374,8 +15608,8 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -15386,16 +15620,16 @@ export class WebAppsImpl implements WebApps { name, privateEndpointConnectionName, slot, - options + options, }, - spec: deletePrivateEndpointConnectionSlotOperationSpec + spec: deletePrivateEndpointConnectionSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsDeletePrivateEndpointConnectionSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -15414,14 +15648,14 @@ export class WebAppsImpl implements WebApps { name: string, privateEndpointConnectionName: string, slot: string, - options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams, ): Promise { const poller = await this.beginDeletePrivateEndpointConnectionSlot( resourceGroupName, name, privateEndpointConnectionName, slot, - options + options, ); return poller.pollUntilDone(); } @@ -15437,11 +15671,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateLinkResourcesSlotOptionalParams + options?: WebAppsGetPrivateLinkResourcesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getPrivateLinkResourcesSlotOperationSpec + getPrivateLinkResourcesSlotOperationSpec, ); } @@ -15458,11 +15692,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListProcessesSlotOptionalParams + options?: WebAppsListProcessesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listProcessesSlotOperationSpec + listProcessesSlotOperationSpec, ); } @@ -15480,11 +15714,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsGetProcessSlotOptionalParams + options?: WebAppsGetProcessSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, options }, - getProcessSlotOperationSpec + getProcessSlotOperationSpec, ); } @@ -15503,11 +15737,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsDeleteProcessSlotOptionalParams + options?: WebAppsDeleteProcessSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, options }, - deleteProcessSlotOperationSpec + deleteProcessSlotOperationSpec, ); } @@ -15526,11 +15760,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsGetProcessDumpSlotOptionalParams + options?: WebAppsGetProcessDumpSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, options }, - getProcessDumpSlotOperationSpec + getProcessDumpSlotOperationSpec, ); } @@ -15549,11 +15783,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessModulesSlotOptionalParams + options?: WebAppsListProcessModulesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, options }, - listProcessModulesSlotOperationSpec + listProcessModulesSlotOperationSpec, ); } @@ -15573,11 +15807,11 @@ export class WebAppsImpl implements WebApps { processId: string, baseAddress: string, slot: string, - options?: WebAppsGetProcessModuleSlotOptionalParams + options?: WebAppsGetProcessModuleSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, baseAddress, slot, options }, - getProcessModuleSlotOperationSpec + getProcessModuleSlotOperationSpec, ); } @@ -15596,11 +15830,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessThreadsSlotOptionalParams + options?: WebAppsListProcessThreadsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, options }, - listProcessThreadsSlotOperationSpec + listProcessThreadsSlotOperationSpec, ); } @@ -15616,11 +15850,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublicCertificatesSlotOptionalParams + options?: WebAppsListPublicCertificatesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listPublicCertificatesSlotOperationSpec + listPublicCertificatesSlotOperationSpec, ); } @@ -15638,11 +15872,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, publicCertificateName: string, - options?: WebAppsGetPublicCertificateSlotOptionalParams + options?: WebAppsGetPublicCertificateSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, publicCertificateName, options }, - getPublicCertificateSlotOperationSpec + getPublicCertificateSlotOperationSpec, ); } @@ -15663,7 +15897,7 @@ export class WebAppsImpl implements WebApps { publicCertificateName: string, slot: string, publicCertificate: PublicCertificate, - options?: WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams + options?: WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -15672,9 +15906,9 @@ export class WebAppsImpl implements WebApps { publicCertificateName, slot, publicCertificate, - options + options, }, - createOrUpdatePublicCertificateSlotOperationSpec + createOrUpdatePublicCertificateSlotOperationSpec, ); } @@ -15692,11 +15926,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, publicCertificateName: string, - options?: WebAppsDeletePublicCertificateSlotOptionalParams + options?: WebAppsDeletePublicCertificateSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, publicCertificateName, options }, - deletePublicCertificateSlotOperationSpec + deletePublicCertificateSlotOperationSpec, ); } @@ -15715,11 +15949,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, publishingProfileOptions: CsmPublishingProfileOptions, - options?: WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams + options?: WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, publishingProfileOptions, options }, - listPublishingProfileXmlWithSecretsSlotOperationSpec + listPublishingProfileXmlWithSecretsSlotOperationSpec, ); } @@ -15736,11 +15970,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsResetSlotConfigurationSlotOptionalParams + options?: WebAppsResetSlotConfigurationSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - resetSlotConfigurationSlotOperationSpec + resetSlotConfigurationSlotOperationSpec, ); } @@ -15756,11 +15990,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsRestartSlotOptionalParams + options?: WebAppsRestartSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - restartSlotOperationSpec + restartSlotOperationSpec, ); } @@ -15778,25 +16012,24 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobSlotOptionalParams + options?: WebAppsRestoreFromBackupBlobSlotOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -15805,8 +16038,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -15814,19 +16047,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, request, options }, - spec: restoreFromBackupBlobSlotOperationSpec + spec: restoreFromBackupBlobSlotOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -15846,14 +16079,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobSlotOptionalParams + options?: WebAppsRestoreFromBackupBlobSlotOptionalParams, ): Promise { const poller = await this.beginRestoreFromBackupBlobSlot( resourceGroupName, name, slot, request, - options + options, ); return poller.pollUntilDone(); } @@ -15871,25 +16104,24 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppSlotOptionalParams + options?: WebAppsRestoreFromDeletedAppSlotOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -15898,8 +16130,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -15907,19 +16139,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, restoreRequest, options }, - spec: restoreFromDeletedAppSlotOperationSpec + spec: restoreFromDeletedAppSlotOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -15938,14 +16170,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppSlotOptionalParams + options?: WebAppsRestoreFromDeletedAppSlotOptionalParams, ): Promise { const poller = await this.beginRestoreFromDeletedAppSlot( resourceGroupName, name, slot, restoreRequest, - options + options, ); return poller.pollUntilDone(); } @@ -15964,25 +16196,24 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotSlotOptionalParams + options?: WebAppsRestoreSnapshotSlotOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -15991,8 +16222,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -16000,19 +16231,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, restoreRequest, options }, - spec: restoreSnapshotSlotOperationSpec + spec: restoreSnapshotSlotOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -16032,18 +16263,106 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotSlotOptionalParams + options?: WebAppsRestoreSnapshotSlotOptionalParams, ): Promise { const poller = await this.beginRestoreSnapshotSlot( resourceGroupName, name, slot, restoreRequest, - options + options, ); return poller.pollUntilDone(); } + /** + * Lists all the site containers of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a list of site + * containers for the production slot. + * @param options The options parameters. + */ + private _listSiteContainersSlot( + resourceGroupName: string, + name: string, + slot: string, + options?: WebAppsListSiteContainersSlotOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, slot, options }, + listSiteContainersSlotOperationSpec, + ); + } + + /** + * Gets a site container of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the Site + * Container for the production slot. + * @param containerName Site Container Name + * @param options The options parameters. + */ + getSiteContainerSlot( + resourceGroupName: string, + name: string, + slot: string, + containerName: string, + options?: WebAppsGetSiteContainerSlotOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, slot, containerName, options }, + getSiteContainerSlotOperationSpec, + ); + } + + /** + * Creates or Updates a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create the + * container for the production slot. + * @param containerName Site Container Name + * @param request Container Entity + * @param options The options parameters. + */ + createOrUpdateSiteContainerSlot( + resourceGroupName: string, + name: string, + slot: string, + containerName: string, + request: SiteContainer, + options?: WebAppsCreateOrUpdateSiteContainerSlotOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, slot, containerName, request, options }, + createOrUpdateSiteContainerSlotOperationSpec, + ); + } + + /** + * Deletes a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the + * container for the production slot. + * @param containerName Site Container Name + * @param options The options parameters. + */ + deleteSiteContainerSlot( + resourceGroupName: string, + name: string, + slot: string, + containerName: string, + options?: WebAppsDeleteSiteContainerSlotOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, slot, containerName, options }, + deleteSiteContainerSlotOperationSpec, + ); + } + /** * Description for Get list of siteextensions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -16056,11 +16375,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteExtensionsSlotOptionalParams + options?: WebAppsListSiteExtensionsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSiteExtensionsSlotOperationSpec + listSiteExtensionsSlotOperationSpec, ); } @@ -16078,11 +16397,11 @@ export class WebAppsImpl implements WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsGetSiteExtensionSlotOptionalParams + options?: WebAppsGetSiteExtensionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteExtensionId, slot, options }, - getSiteExtensionSlotOperationSpec + getSiteExtensionSlotOperationSpec, ); } @@ -16100,7 +16419,7 @@ export class WebAppsImpl implements WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsInstallSiteExtensionSlotOptionalParams + options?: WebAppsInstallSiteExtensionSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -16109,21 +16428,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -16132,8 +16450,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -16141,22 +16459,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, siteExtensionId, slot, options }, - spec: installSiteExtensionSlotOperationSpec + spec: installSiteExtensionSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsInstallSiteExtensionSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -16176,14 +16494,14 @@ export class WebAppsImpl implements WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsInstallSiteExtensionSlotOptionalParams + options?: WebAppsInstallSiteExtensionSlotOptionalParams, ): Promise { const poller = await this.beginInstallSiteExtensionSlot( resourceGroupName, name, siteExtensionId, slot, - options + options, ); return poller.pollUntilDone(); } @@ -16202,11 +16520,11 @@ export class WebAppsImpl implements WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsDeleteSiteExtensionSlotOptionalParams + options?: WebAppsDeleteSiteExtensionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteExtensionId, slot, options }, - deleteSiteExtensionSlotOperationSpec + deleteSiteExtensionSlotOperationSpec, ); } @@ -16224,11 +16542,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesSlotOptionalParams + options?: WebAppsListSlotDifferencesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, slotSwapEntity, options }, - listSlotDifferencesSlotOperationSpec + listSlotDifferencesSlotOperationSpec, ); } @@ -16246,25 +16564,24 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotOptionalParams + options?: WebAppsSwapSlotOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -16273,8 +16590,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -16282,19 +16599,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, slotSwapEntity, options }, - spec: swapSlotOperationSpec + spec: swapSlotOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -16314,14 +16631,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotOptionalParams + options?: WebAppsSwapSlotOptionalParams, ): Promise { const poller = await this.beginSwapSlot( resourceGroupName, name, slot, slotSwapEntity, - options + options, ); return poller.pollUntilDone(); } @@ -16337,11 +16654,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsSlotOptionalParams + options?: WebAppsListSnapshotsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSnapshotsSlotOperationSpec + listSnapshotsSlotOperationSpec, ); } @@ -16356,11 +16673,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams + options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listSnapshotsFromDRSecondarySlotOperationSpec + listSnapshotsFromDRSecondarySlotOperationSpec, ); } @@ -16376,11 +16693,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSourceControlSlotOptionalParams + options?: WebAppsGetSourceControlSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - getSourceControlSlotOperationSpec + getSourceControlSlotOperationSpec, ); } @@ -16398,7 +16715,7 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams + options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -16407,21 +16724,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -16430,8 +16746,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -16439,22 +16755,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, siteSourceControl, options }, - spec: createOrUpdateSourceControlSlotOperationSpec + spec: createOrUpdateSourceControlSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateOrUpdateSourceControlSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -16474,14 +16790,14 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams + options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateSourceControlSlot( resourceGroupName, name, slot, siteSourceControl, - options + options, ); return poller.pollUntilDone(); } @@ -16498,11 +16814,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteSourceControlSlotOptionalParams + options?: WebAppsDeleteSourceControlSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - deleteSourceControlSlotOperationSpec + deleteSourceControlSlotOperationSpec, ); } @@ -16520,11 +16836,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, siteSourceControl: SiteSourceControl, - options?: WebAppsUpdateSourceControlSlotOptionalParams + options?: WebAppsUpdateSourceControlSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, siteSourceControl, options }, - updateSourceControlSlotOperationSpec + updateSourceControlSlotOperationSpec, ); } @@ -16540,11 +16856,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartSlotOptionalParams + options?: WebAppsStartSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - startSlotOperationSpec + startSlotOperationSpec, ); } @@ -16559,7 +16875,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartNetworkTraceSlotOptionalParams + options?: WebAppsStartNetworkTraceSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -16568,21 +16884,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -16591,8 +16906,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -16600,22 +16915,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slot, options }, - spec: startNetworkTraceSlotOperationSpec + spec: startNetworkTraceSlotOperationSpec, }); const poller = await createHttpPoller< WebAppsStartNetworkTraceSlotResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -16632,13 +16947,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartNetworkTraceSlotOptionalParams + options?: WebAppsStartNetworkTraceSlotOptionalParams, ): Promise { const poller = await this.beginStartNetworkTraceSlot( resourceGroupName, name, slot, - options + options, ); return poller.pollUntilDone(); } @@ -16655,11 +16970,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStopSlotOptionalParams + options?: WebAppsStopSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - stopSlotOperationSpec + stopSlotOperationSpec, ); } @@ -16674,11 +16989,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStopNetworkTraceSlotOptionalParams + options?: WebAppsStopNetworkTraceSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - stopNetworkTraceSlotOperationSpec + stopNetworkTraceSlotOperationSpec, ); } @@ -16693,11 +17008,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsSyncRepositorySlotOptionalParams + options?: WebAppsSyncRepositorySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - syncRepositorySlotOperationSpec + syncRepositorySlotOperationSpec, ); } @@ -16712,11 +17027,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsSyncFunctionTriggersSlotOptionalParams + options?: WebAppsSyncFunctionTriggersSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - syncFunctionTriggersSlotOperationSpec + syncFunctionTriggersSlotOperationSpec, ); } @@ -16732,11 +17047,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListTriggeredWebJobsSlotOptionalParams + options?: WebAppsListTriggeredWebJobsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listTriggeredWebJobsSlotOperationSpec + listTriggeredWebJobsSlotOperationSpec, ); } @@ -16754,11 +17069,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsGetTriggeredWebJobSlotOptionalParams + options?: WebAppsGetTriggeredWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - getTriggeredWebJobSlotOperationSpec + getTriggeredWebJobSlotOperationSpec, ); } @@ -16776,11 +17091,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsDeleteTriggeredWebJobSlotOptionalParams + options?: WebAppsDeleteTriggeredWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - deleteTriggeredWebJobSlotOperationSpec + deleteTriggeredWebJobSlotOperationSpec, ); } @@ -16798,11 +17113,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams + options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - listTriggeredWebJobHistorySlotOperationSpec + listTriggeredWebJobHistorySlotOperationSpec, ); } @@ -16822,11 +17137,11 @@ export class WebAppsImpl implements WebApps { webJobName: string, id: string, slot: string, - options?: WebAppsGetTriggeredWebJobHistorySlotOptionalParams + options?: WebAppsGetTriggeredWebJobHistorySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, id, slot, options }, - getTriggeredWebJobHistorySlotOperationSpec + getTriggeredWebJobHistorySlotOperationSpec, ); } @@ -16844,11 +17159,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsRunTriggeredWebJobSlotOptionalParams + options?: WebAppsRunTriggeredWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - runTriggeredWebJobSlotOperationSpec + runTriggeredWebJobSlotOperationSpec, ); } @@ -16864,11 +17179,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListUsagesSlotOptionalParams + options?: WebAppsListUsagesSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listUsagesSlotOperationSpec + listUsagesSlotOperationSpec, ); } @@ -16884,11 +17199,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListVnetConnectionsSlotOptionalParams + options?: WebAppsListVnetConnectionsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listVnetConnectionsSlotOperationSpec + listVnetConnectionsSlotOperationSpec, ); } @@ -16906,11 +17221,11 @@ export class WebAppsImpl implements WebApps { name: string, vnetName: string, slot: string, - options?: WebAppsGetVnetConnectionSlotOptionalParams + options?: WebAppsGetVnetConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, slot, options }, - getVnetConnectionSlotOperationSpec + getVnetConnectionSlotOperationSpec, ); } @@ -16931,11 +17246,11 @@ export class WebAppsImpl implements WebApps { vnetName: string, slot: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, slot, connectionEnvelope, options }, - createOrUpdateVnetConnectionSlotOperationSpec + createOrUpdateVnetConnectionSlotOperationSpec, ); } @@ -16953,11 +17268,11 @@ export class WebAppsImpl implements WebApps { name: string, vnetName: string, slot: string, - options?: WebAppsDeleteVnetConnectionSlotOptionalParams + options?: WebAppsDeleteVnetConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, slot, options }, - deleteVnetConnectionSlotOperationSpec + deleteVnetConnectionSlotOperationSpec, ); } @@ -16978,11 +17293,11 @@ export class WebAppsImpl implements WebApps { vnetName: string, slot: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsUpdateVnetConnectionSlotOptionalParams + options?: WebAppsUpdateVnetConnectionSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, slot, connectionEnvelope, options }, - updateVnetConnectionSlotOperationSpec + updateVnetConnectionSlotOperationSpec, ); } @@ -17002,11 +17317,11 @@ export class WebAppsImpl implements WebApps { vnetName: string, gatewayName: string, slot: string, - options?: WebAppsGetVnetConnectionGatewaySlotOptionalParams + options?: WebAppsGetVnetConnectionGatewaySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, gatewayName, slot, options }, - getVnetConnectionGatewaySlotOperationSpec + getVnetConnectionGatewaySlotOperationSpec, ); } @@ -17028,7 +17343,7 @@ export class WebAppsImpl implements WebApps { gatewayName: string, slot: string, connectionEnvelope: VnetGateway, - options?: WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -17038,9 +17353,9 @@ export class WebAppsImpl implements WebApps { gatewayName, slot, connectionEnvelope, - options + options, }, - createOrUpdateVnetConnectionGatewaySlotOperationSpec + createOrUpdateVnetConnectionGatewaySlotOperationSpec, ); } @@ -17062,7 +17377,7 @@ export class WebAppsImpl implements WebApps { gatewayName: string, slot: string, connectionEnvelope: VnetGateway, - options?: WebAppsUpdateVnetConnectionGatewaySlotOptionalParams + options?: WebAppsUpdateVnetConnectionGatewaySlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -17072,9 +17387,9 @@ export class WebAppsImpl implements WebApps { gatewayName, slot, connectionEnvelope, - options + options, }, - updateVnetConnectionGatewaySlotOperationSpec + updateVnetConnectionGatewaySlotOperationSpec, ); } @@ -17090,11 +17405,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListWebJobsSlotOptionalParams + options?: WebAppsListWebJobsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listWebJobsSlotOperationSpec + listWebJobsSlotOperationSpec, ); } @@ -17112,11 +17427,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsGetWebJobSlotOptionalParams + options?: WebAppsGetWebJobSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, options }, - getWebJobSlotOperationSpec + getWebJobSlotOperationSpec, ); } @@ -17131,11 +17446,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesFromProductionOptionalParams + options?: WebAppsListSlotDifferencesFromProductionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slotSwapEntity, options }, - listSlotDifferencesFromProductionOperationSpec + listSlotDifferencesFromProductionOperationSpec, ); } @@ -17150,25 +17465,24 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotWithProductionOptionalParams + options?: WebAppsSwapSlotWithProductionOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -17177,8 +17491,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -17186,19 +17500,19 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, slotSwapEntity, options }, - spec: swapSlotWithProductionOperationSpec + spec: swapSlotWithProductionOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -17215,13 +17529,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotWithProductionOptionalParams + options?: WebAppsSwapSlotWithProductionOptionalParams, ): Promise { const poller = await this.beginSwapSlotWithProduction( resourceGroupName, name, slotSwapEntity, - options + options, ); return poller.pollUntilDone(); } @@ -17235,11 +17549,11 @@ export class WebAppsImpl implements WebApps { private _listSnapshots( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsOptionalParams + options?: WebAppsListSnapshotsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSnapshotsOperationSpec + listSnapshotsOperationSpec, ); } @@ -17252,11 +17566,11 @@ export class WebAppsImpl implements WebApps { private _listSnapshotsFromDRSecondary( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams + options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listSnapshotsFromDRSecondaryOperationSpec + listSnapshotsFromDRSecondaryOperationSpec, ); } @@ -17269,11 +17583,11 @@ export class WebAppsImpl implements WebApps { getSourceControl( resourceGroupName: string, name: string, - options?: WebAppsGetSourceControlOptionalParams + options?: WebAppsGetSourceControlOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - getSourceControlOperationSpec + getSourceControlOperationSpec, ); } @@ -17288,7 +17602,7 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlOptionalParams + options?: WebAppsCreateOrUpdateSourceControlOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -17297,21 +17611,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -17320,8 +17633,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -17329,22 +17642,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, siteSourceControl, options }, - spec: createOrUpdateSourceControlOperationSpec + spec: createOrUpdateSourceControlOperationSpec, }); const poller = await createHttpPoller< WebAppsCreateOrUpdateSourceControlResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -17361,13 +17674,13 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlOptionalParams + options?: WebAppsCreateOrUpdateSourceControlOptionalParams, ): Promise { const poller = await this.beginCreateOrUpdateSourceControl( resourceGroupName, name, siteSourceControl, - options + options, ); return poller.pollUntilDone(); } @@ -17381,11 +17694,11 @@ export class WebAppsImpl implements WebApps { deleteSourceControl( resourceGroupName: string, name: string, - options?: WebAppsDeleteSourceControlOptionalParams + options?: WebAppsDeleteSourceControlOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deleteSourceControlOperationSpec + deleteSourceControlOperationSpec, ); } @@ -17400,11 +17713,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, - options?: WebAppsUpdateSourceControlOptionalParams + options?: WebAppsUpdateSourceControlOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, siteSourceControl, options }, - updateSourceControlOperationSpec + updateSourceControlOperationSpec, ); } @@ -17417,11 +17730,11 @@ export class WebAppsImpl implements WebApps { start( resourceGroupName: string, name: string, - options?: WebAppsStartOptionalParams + options?: WebAppsStartOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - startOperationSpec + startOperationSpec, ); } @@ -17434,7 +17747,7 @@ export class WebAppsImpl implements WebApps { async beginStartNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStartNetworkTraceOptionalParams + options?: WebAppsStartNetworkTraceOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -17443,21 +17756,20 @@ export class WebAppsImpl implements WebApps { > { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -17466,8 +17778,8 @@ export class WebAppsImpl implements WebApps { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -17475,22 +17787,22 @@ export class WebAppsImpl implements WebApps { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, options }, - spec: startNetworkTraceOperationSpec + spec: startNetworkTraceOperationSpec, }); const poller = await createHttpPoller< WebAppsStartNetworkTraceResponse, OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -17505,12 +17817,12 @@ export class WebAppsImpl implements WebApps { async beginStartNetworkTraceAndWait( resourceGroupName: string, name: string, - options?: WebAppsStartNetworkTraceOptionalParams + options?: WebAppsStartNetworkTraceOptionalParams, ): Promise { const poller = await this.beginStartNetworkTrace( resourceGroupName, name, - options + options, ); return poller.pollUntilDone(); } @@ -17524,11 +17836,11 @@ export class WebAppsImpl implements WebApps { stop( resourceGroupName: string, name: string, - options?: WebAppsStopOptionalParams + options?: WebAppsStopOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - stopOperationSpec + stopOperationSpec, ); } @@ -17541,11 +17853,11 @@ export class WebAppsImpl implements WebApps { stopNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStopNetworkTraceOptionalParams + options?: WebAppsStopNetworkTraceOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - stopNetworkTraceOperationSpec + stopNetworkTraceOperationSpec, ); } @@ -17558,11 +17870,11 @@ export class WebAppsImpl implements WebApps { syncRepository( resourceGroupName: string, name: string, - options?: WebAppsSyncRepositoryOptionalParams + options?: WebAppsSyncRepositoryOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - syncRepositoryOperationSpec + syncRepositoryOperationSpec, ); } @@ -17575,11 +17887,11 @@ export class WebAppsImpl implements WebApps { syncFunctionTriggers( resourceGroupName: string, name: string, - options?: WebAppsSyncFunctionTriggersOptionalParams + options?: WebAppsSyncFunctionTriggersOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - syncFunctionTriggersOperationSpec + syncFunctionTriggersOperationSpec, ); } @@ -17592,11 +17904,11 @@ export class WebAppsImpl implements WebApps { private _listTriggeredWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListTriggeredWebJobsOptionalParams + options?: WebAppsListTriggeredWebJobsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listTriggeredWebJobsOperationSpec + listTriggeredWebJobsOperationSpec, ); } @@ -17611,11 +17923,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsGetTriggeredWebJobOptionalParams + options?: WebAppsGetTriggeredWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - getTriggeredWebJobOperationSpec + getTriggeredWebJobOperationSpec, ); } @@ -17630,11 +17942,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsDeleteTriggeredWebJobOptionalParams + options?: WebAppsDeleteTriggeredWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - deleteTriggeredWebJobOperationSpec + deleteTriggeredWebJobOperationSpec, ); } @@ -17649,11 +17961,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsListTriggeredWebJobHistoryOptionalParams + options?: WebAppsListTriggeredWebJobHistoryOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - listTriggeredWebJobHistoryOperationSpec + listTriggeredWebJobHistoryOperationSpec, ); } @@ -17670,11 +17982,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, id: string, - options?: WebAppsGetTriggeredWebJobHistoryOptionalParams + options?: WebAppsGetTriggeredWebJobHistoryOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, id, options }, - getTriggeredWebJobHistoryOperationSpec + getTriggeredWebJobHistoryOperationSpec, ); } @@ -17689,11 +18001,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsRunTriggeredWebJobOptionalParams + options?: WebAppsRunTriggeredWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - runTriggeredWebJobOperationSpec + runTriggeredWebJobOperationSpec, ); } @@ -17706,11 +18018,11 @@ export class WebAppsImpl implements WebApps { private _listUsages( resourceGroupName: string, name: string, - options?: WebAppsListUsagesOptionalParams + options?: WebAppsListUsagesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listUsagesOperationSpec + listUsagesOperationSpec, ); } @@ -17723,11 +18035,11 @@ export class WebAppsImpl implements WebApps { listVnetConnections( resourceGroupName: string, name: string, - options?: WebAppsListVnetConnectionsOptionalParams + options?: WebAppsListVnetConnectionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listVnetConnectionsOperationSpec + listVnetConnectionsOperationSpec, ); } @@ -17742,11 +18054,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, vnetName: string, - options?: WebAppsGetVnetConnectionOptionalParams + options?: WebAppsGetVnetConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, options }, - getVnetConnectionOperationSpec + getVnetConnectionOperationSpec, ); } @@ -17764,11 +18076,11 @@ export class WebAppsImpl implements WebApps { name: string, vnetName: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsCreateOrUpdateVnetConnectionOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, connectionEnvelope, options }, - createOrUpdateVnetConnectionOperationSpec + createOrUpdateVnetConnectionOperationSpec, ); } @@ -17783,11 +18095,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, vnetName: string, - options?: WebAppsDeleteVnetConnectionOptionalParams + options?: WebAppsDeleteVnetConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, options }, - deleteVnetConnectionOperationSpec + deleteVnetConnectionOperationSpec, ); } @@ -17805,11 +18117,11 @@ export class WebAppsImpl implements WebApps { name: string, vnetName: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsUpdateVnetConnectionOptionalParams + options?: WebAppsUpdateVnetConnectionOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, connectionEnvelope, options }, - updateVnetConnectionOperationSpec + updateVnetConnectionOperationSpec, ); } @@ -17826,11 +18138,11 @@ export class WebAppsImpl implements WebApps { name: string, vnetName: string, gatewayName: string, - options?: WebAppsGetVnetConnectionGatewayOptionalParams + options?: WebAppsGetVnetConnectionGatewayOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, vnetName, gatewayName, options }, - getVnetConnectionGatewayOperationSpec + getVnetConnectionGatewayOperationSpec, ); } @@ -17849,7 +18161,7 @@ export class WebAppsImpl implements WebApps { vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, - options?: WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -17858,9 +18170,9 @@ export class WebAppsImpl implements WebApps { vnetName, gatewayName, connectionEnvelope, - options + options, }, - createOrUpdateVnetConnectionGatewayOperationSpec + createOrUpdateVnetConnectionGatewayOperationSpec, ); } @@ -17879,7 +18191,7 @@ export class WebAppsImpl implements WebApps { vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, - options?: WebAppsUpdateVnetConnectionGatewayOptionalParams + options?: WebAppsUpdateVnetConnectionGatewayOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -17888,9 +18200,9 @@ export class WebAppsImpl implements WebApps { vnetName, gatewayName, connectionEnvelope, - options + options, }, - updateVnetConnectionGatewayOperationSpec + updateVnetConnectionGatewayOperationSpec, ); } @@ -17903,11 +18215,11 @@ export class WebAppsImpl implements WebApps { private _listWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListWebJobsOptionalParams + options?: WebAppsListWebJobsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listWebJobsOperationSpec + listWebJobsOperationSpec, ); } @@ -17922,11 +18234,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsGetWebJobOptionalParams + options?: WebAppsGetWebJobOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, options }, - getWebJobOperationSpec + getWebJobOperationSpec, ); } @@ -17939,11 +18251,11 @@ export class WebAppsImpl implements WebApps { deployWorkflowArtifacts( resourceGroupName: string, name: string, - options?: WebAppsDeployWorkflowArtifactsOptionalParams + options?: WebAppsDeployWorkflowArtifactsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - deployWorkflowArtifactsOperationSpec + deployWorkflowArtifactsOperationSpec, ); } @@ -17958,11 +18270,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeployWorkflowArtifactsSlotOptionalParams + options?: WebAppsDeployWorkflowArtifactsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - deployWorkflowArtifactsSlotOperationSpec + deployWorkflowArtifactsSlotOperationSpec, ); } @@ -17977,11 +18289,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceWorkflowsSlotOptionalParams + options?: WebAppsListInstanceWorkflowsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listInstanceWorkflowsSlotOperationSpec + listInstanceWorkflowsSlotOperationSpec, ); } @@ -17998,11 +18310,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, workflowName: string, - options?: WebAppsGetInstanceWorkflowSlotOptionalParams + options?: WebAppsGetInstanceWorkflowSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, workflowName, options }, - getInstanceWorkflowSlotOperationSpec + getInstanceWorkflowSlotOperationSpec, ); } @@ -18017,11 +18329,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListWorkflowsConnectionsSlotOptionalParams + options?: WebAppsListWorkflowsConnectionsSlotOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, options }, - listWorkflowsConnectionsSlotOperationSpec + listWorkflowsConnectionsSlotOperationSpec, ); } @@ -18034,11 +18346,11 @@ export class WebAppsImpl implements WebApps { private _listWorkflows( resourceGroupName: string, name: string, - options?: WebAppsListWorkflowsOptionalParams + options?: WebAppsListWorkflowsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listWorkflowsOperationSpec + listWorkflowsOperationSpec, ); } @@ -18053,11 +18365,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, workflowName: string, - options?: WebAppsGetWorkflowOptionalParams + options?: WebAppsGetWorkflowOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, options }, - getWorkflowOperationSpec + getWorkflowOperationSpec, ); } @@ -18070,11 +18382,11 @@ export class WebAppsImpl implements WebApps { listWorkflowsConnections( resourceGroupName: string, name: string, - options?: WebAppsListWorkflowsConnectionsOptionalParams + options?: WebAppsListWorkflowsConnectionsOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listWorkflowsConnectionsOperationSpec + listWorkflowsConnectionsOperationSpec, ); } @@ -18085,11 +18397,11 @@ export class WebAppsImpl implements WebApps { */ private _listNext( nextLink: string, - options?: WebAppsListNextOptionalParams + options?: WebAppsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -18102,11 +18414,11 @@ export class WebAppsImpl implements WebApps { private _listByResourceGroupNext( resourceGroupName: string, nextLink: string, - options?: WebAppsListByResourceGroupNextOptionalParams + options?: WebAppsListByResourceGroupNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec + listByResourceGroupNextOperationSpec, ); } @@ -18121,11 +18433,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListBackupsNextOptionalParams + options?: WebAppsListBackupsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listBackupsNextOperationSpec + listBackupsNextOperationSpec, ); } @@ -18141,11 +18453,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesNextOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listBasicPublishingCredentialsPoliciesNextOperationSpec + listBasicPublishingCredentialsPoliciesNextOperationSpec, ); } @@ -18160,11 +18472,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListConfigurationsNextOptionalParams + options?: WebAppsListConfigurationsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listConfigurationsNextOperationSpec + listConfigurationsNextOperationSpec, ); } @@ -18180,11 +18492,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesNextOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getAppSettingsKeyVaultReferencesNextOperationSpec + getAppSettingsKeyVaultReferencesNextOperationSpec, ); } @@ -18200,11 +18512,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesNextOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getSiteConnectionStringKeyVaultReferencesNextOperationSpec + getSiteConnectionStringKeyVaultReferencesNextOperationSpec, ); } @@ -18220,11 +18532,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListConfigurationSnapshotInfoNextOptionalParams + options?: WebAppsListConfigurationSnapshotInfoNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listConfigurationSnapshotInfoNextOperationSpec + listConfigurationSnapshotInfoNextOperationSpec, ); } @@ -18239,11 +18551,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListContinuousWebJobsNextOptionalParams + options?: WebAppsListContinuousWebJobsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listContinuousWebJobsNextOperationSpec + listContinuousWebJobsNextOperationSpec, ); } @@ -18259,11 +18571,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListProductionSiteDeploymentStatusesNextOptionalParams + options?: WebAppsListProductionSiteDeploymentStatusesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listProductionSiteDeploymentStatusesNextOperationSpec + listProductionSiteDeploymentStatusesNextOperationSpec, ); } @@ -18278,11 +18590,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListDeploymentsNextOptionalParams + options?: WebAppsListDeploymentsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listDeploymentsNextOperationSpec + listDeploymentsNextOperationSpec, ); } @@ -18298,11 +18610,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListDomainOwnershipIdentifiersNextOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listDomainOwnershipIdentifiersNextOperationSpec + listDomainOwnershipIdentifiersNextOperationSpec, ); } @@ -18317,11 +18629,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListFunctionsNextOptionalParams + options?: WebAppsListFunctionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listFunctionsNextOperationSpec + listFunctionsNextOperationSpec, ); } @@ -18336,11 +18648,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListHostNameBindingsNextOptionalParams + options?: WebAppsListHostNameBindingsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listHostNameBindingsNextOperationSpec + listHostNameBindingsNextOperationSpec, ); } @@ -18356,11 +18668,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListInstanceIdentifiersNextOptionalParams + options?: WebAppsListInstanceIdentifiersNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listInstanceIdentifiersNextOperationSpec + listInstanceIdentifiersNextOperationSpec, ); } @@ -18378,11 +18690,11 @@ export class WebAppsImpl implements WebApps { name: string, instanceId: string, nextLink: string, - options?: WebAppsListInstanceProcessesNextOptionalParams + options?: WebAppsListInstanceProcessesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, instanceId, nextLink, options }, - listInstanceProcessesNextOperationSpec + listInstanceProcessesNextOperationSpec, ); } @@ -18403,11 +18715,11 @@ export class WebAppsImpl implements WebApps { processId: string, instanceId: string, nextLink: string, - options?: WebAppsListInstanceProcessModulesNextOptionalParams + options?: WebAppsListInstanceProcessModulesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, instanceId, nextLink, options }, - listInstanceProcessModulesNextOperationSpec + listInstanceProcessModulesNextOperationSpec, ); } @@ -18428,11 +18740,11 @@ export class WebAppsImpl implements WebApps { processId: string, instanceId: string, nextLink: string, - options?: WebAppsListInstanceProcessThreadsNextOptionalParams + options?: WebAppsListInstanceProcessThreadsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, instanceId, nextLink, options }, - listInstanceProcessThreadsNextOperationSpec + listInstanceProcessThreadsNextOperationSpec, ); } @@ -18447,11 +18759,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListSiteBackupsNextOptionalParams + options?: WebAppsListSiteBackupsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listSiteBackupsNextOperationSpec + listSiteBackupsNextOperationSpec, ); } @@ -18466,11 +18778,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListPerfMonCountersNextOptionalParams + options?: WebAppsListPerfMonCountersNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listPerfMonCountersNextOperationSpec + listPerfMonCountersNextOperationSpec, ); } @@ -18486,11 +18798,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsGetPrivateEndpointConnectionListNextOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - getPrivateEndpointConnectionListNextOperationSpec + getPrivateEndpointConnectionListNextOperationSpec, ); } @@ -18505,11 +18817,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListProcessesNextOptionalParams + options?: WebAppsListProcessesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listProcessesNextOperationSpec + listProcessesNextOperationSpec, ); } @@ -18526,11 +18838,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, nextLink: string, - options?: WebAppsListProcessModulesNextOptionalParams + options?: WebAppsListProcessModulesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, nextLink, options }, - listProcessModulesNextOperationSpec + listProcessModulesNextOperationSpec, ); } @@ -18547,11 +18859,11 @@ export class WebAppsImpl implements WebApps { name: string, processId: string, nextLink: string, - options?: WebAppsListProcessThreadsNextOptionalParams + options?: WebAppsListProcessThreadsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, nextLink, options }, - listProcessThreadsNextOperationSpec + listProcessThreadsNextOperationSpec, ); } @@ -18566,11 +18878,30 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListPublicCertificatesNextOptionalParams + options?: WebAppsListPublicCertificatesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listPublicCertificatesNextOperationSpec + listPublicCertificatesNextOperationSpec, + ); + } + + /** + * ListSiteContainersNext + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param nextLink The nextLink from the previous successful call to the ListSiteContainers method. + * @param options The options parameters. + */ + private _listSiteContainersNext( + resourceGroupName: string, + name: string, + nextLink: string, + options?: WebAppsListSiteContainersNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, nextLink, options }, + listSiteContainersNextOperationSpec, ); } @@ -18585,11 +18916,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListSiteExtensionsNextOptionalParams + options?: WebAppsListSiteExtensionsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listSiteExtensionsNextOperationSpec + listSiteExtensionsNextOperationSpec, ); } @@ -18604,11 +18935,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListSlotsNextOptionalParams + options?: WebAppsListSlotsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listSlotsNextOperationSpec + listSlotsNextOperationSpec, ); } @@ -18626,11 +18957,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListBackupsSlotNextOptionalParams + options?: WebAppsListBackupsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listBackupsSlotNextOperationSpec + listBackupsSlotNextOperationSpec, ); } @@ -18648,11 +18979,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesSlotNextOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listBasicPublishingCredentialsPoliciesSlotNextOperationSpec + listBasicPublishingCredentialsPoliciesSlotNextOperationSpec, ); } @@ -18670,11 +19001,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListConfigurationsSlotNextOptionalParams + options?: WebAppsListConfigurationsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listConfigurationsSlotNextOperationSpec + listConfigurationsSlotNextOperationSpec, ); } @@ -18692,11 +19023,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesSlotNextOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - getAppSettingsKeyVaultReferencesSlotNextOperationSpec + getAppSettingsKeyVaultReferencesSlotNextOperationSpec, ); } @@ -18714,11 +19045,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotNextOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - getSiteConnectionStringKeyVaultReferencesSlotNextOperationSpec + getSiteConnectionStringKeyVaultReferencesSlotNextOperationSpec, ); } @@ -18737,11 +19068,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListConfigurationSnapshotInfoSlotNextOptionalParams + options?: WebAppsListConfigurationSnapshotInfoSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listConfigurationSnapshotInfoSlotNextOperationSpec + listConfigurationSnapshotInfoSlotNextOperationSpec, ); } @@ -18760,11 +19091,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListContinuousWebJobsSlotNextOptionalParams + options?: WebAppsListContinuousWebJobsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listContinuousWebJobsSlotNextOperationSpec + listContinuousWebJobsSlotNextOperationSpec, ); } @@ -18783,11 +19114,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListSlotSiteDeploymentStatusesSlotNextOptionalParams + options?: WebAppsListSlotSiteDeploymentStatusesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listSlotSiteDeploymentStatusesSlotNextOperationSpec + listSlotSiteDeploymentStatusesSlotNextOperationSpec, ); } @@ -18805,11 +19136,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListDeploymentsSlotNextOptionalParams + options?: WebAppsListDeploymentsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listDeploymentsSlotNextOperationSpec + listDeploymentsSlotNextOperationSpec, ); } @@ -18828,11 +19159,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListDomainOwnershipIdentifiersSlotNextOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listDomainOwnershipIdentifiersSlotNextOperationSpec + listDomainOwnershipIdentifiersSlotNextOperationSpec, ); } @@ -18850,11 +19181,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListInstanceFunctionsSlotNextOptionalParams + options?: WebAppsListInstanceFunctionsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listInstanceFunctionsSlotNextOperationSpec + listInstanceFunctionsSlotNextOperationSpec, ); } @@ -18873,11 +19204,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListHostNameBindingsSlotNextOptionalParams + options?: WebAppsListHostNameBindingsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listHostNameBindingsSlotNextOperationSpec + listHostNameBindingsSlotNextOperationSpec, ); } @@ -18896,11 +19227,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListInstanceIdentifiersSlotNextOptionalParams + options?: WebAppsListInstanceIdentifiersSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listInstanceIdentifiersSlotNextOperationSpec + listInstanceIdentifiersSlotNextOperationSpec, ); } @@ -18922,11 +19253,11 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, nextLink: string, - options?: WebAppsListInstanceProcessesSlotNextOptionalParams + options?: WebAppsListInstanceProcessesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, instanceId, nextLink, options }, - listInstanceProcessesSlotNextOperationSpec + listInstanceProcessesSlotNextOperationSpec, ); } @@ -18950,7 +19281,7 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, nextLink: string, - options?: WebAppsListInstanceProcessModulesSlotNextOptionalParams + options?: WebAppsListInstanceProcessModulesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -18960,9 +19291,9 @@ export class WebAppsImpl implements WebApps { slot, instanceId, nextLink, - options + options, }, - listInstanceProcessModulesSlotNextOperationSpec + listInstanceProcessModulesSlotNextOperationSpec, ); } @@ -18986,7 +19317,7 @@ export class WebAppsImpl implements WebApps { slot: string, instanceId: string, nextLink: string, - options?: WebAppsListInstanceProcessThreadsSlotNextOptionalParams + options?: WebAppsListInstanceProcessThreadsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -18996,9 +19327,9 @@ export class WebAppsImpl implements WebApps { slot, instanceId, nextLink, - options + options, }, - listInstanceProcessThreadsSlotNextOperationSpec + listInstanceProcessThreadsSlotNextOperationSpec, ); } @@ -19016,11 +19347,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListSiteBackupsSlotNextOptionalParams + options?: WebAppsListSiteBackupsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listSiteBackupsSlotNextOperationSpec + listSiteBackupsSlotNextOperationSpec, ); } @@ -19038,11 +19369,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListPerfMonCountersSlotNextOptionalParams + options?: WebAppsListPerfMonCountersSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listPerfMonCountersSlotNextOperationSpec + listPerfMonCountersSlotNextOperationSpec, ); } @@ -19060,11 +19391,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsGetPrivateEndpointConnectionListSlotNextOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - getPrivateEndpointConnectionListSlotNextOperationSpec + getPrivateEndpointConnectionListSlotNextOperationSpec, ); } @@ -19082,11 +19413,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListProcessesSlotNextOptionalParams + options?: WebAppsListProcessesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listProcessesSlotNextOperationSpec + listProcessesSlotNextOperationSpec, ); } @@ -19106,11 +19437,11 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, nextLink: string, - options?: WebAppsListProcessModulesSlotNextOptionalParams + options?: WebAppsListProcessModulesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, nextLink, options }, - listProcessModulesSlotNextOperationSpec + listProcessModulesSlotNextOperationSpec, ); } @@ -19130,11 +19461,11 @@ export class WebAppsImpl implements WebApps { processId: string, slot: string, nextLink: string, - options?: WebAppsListProcessThreadsSlotNextOptionalParams + options?: WebAppsListProcessThreadsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, slot, nextLink, options }, - listProcessThreadsSlotNextOperationSpec + listProcessThreadsSlotNextOperationSpec, ); } @@ -19153,11 +19484,33 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListPublicCertificatesSlotNextOptionalParams + options?: WebAppsListPublicCertificatesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listPublicCertificatesSlotNextOperationSpec + listPublicCertificatesSlotNextOperationSpec, + ); + } + + /** + * ListSiteContainersSlotNext + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a list of site + * containers for the production slot. + * @param nextLink The nextLink from the previous successful call to the ListSiteContainersSlot method. + * @param options The options parameters. + */ + private _listSiteContainersSlotNext( + resourceGroupName: string, + name: string, + slot: string, + nextLink: string, + options?: WebAppsListSiteContainersSlotNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, slot, nextLink, options }, + listSiteContainersSlotNextOperationSpec, ); } @@ -19175,11 +19528,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListSiteExtensionsSlotNextOptionalParams + options?: WebAppsListSiteExtensionsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listSiteExtensionsSlotNextOperationSpec + listSiteExtensionsSlotNextOperationSpec, ); } @@ -19200,11 +19553,11 @@ export class WebAppsImpl implements WebApps { slot: string, slotSwapEntity: CsmSlotEntity, nextLink: string, - options?: WebAppsListSlotDifferencesSlotNextOptionalParams + options?: WebAppsListSlotDifferencesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, slotSwapEntity, nextLink, options }, - listSlotDifferencesSlotNextOperationSpec + listSlotDifferencesSlotNextOperationSpec, ); } @@ -19221,11 +19574,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListSnapshotsSlotNextOptionalParams + options?: WebAppsListSnapshotsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listSnapshotsSlotNextOperationSpec + listSnapshotsSlotNextOperationSpec, ); } @@ -19243,11 +19596,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListSnapshotsFromDRSecondarySlotNextOptionalParams + options?: WebAppsListSnapshotsFromDRSecondarySlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listSnapshotsFromDRSecondarySlotNextOperationSpec + listSnapshotsFromDRSecondarySlotNextOperationSpec, ); } @@ -19266,11 +19619,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListTriggeredWebJobsSlotNextOptionalParams + options?: WebAppsListTriggeredWebJobsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listTriggeredWebJobsSlotNextOperationSpec + listTriggeredWebJobsSlotNextOperationSpec, ); } @@ -19291,11 +19644,11 @@ export class WebAppsImpl implements WebApps { webJobName: string, slot: string, nextLink: string, - options?: WebAppsListTriggeredWebJobHistorySlotNextOptionalParams + options?: WebAppsListTriggeredWebJobHistorySlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, slot, nextLink, options }, - listTriggeredWebJobHistorySlotNextOperationSpec + listTriggeredWebJobHistorySlotNextOperationSpec, ); } @@ -19313,11 +19666,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListUsagesSlotNextOptionalParams + options?: WebAppsListUsagesSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listUsagesSlotNextOperationSpec + listUsagesSlotNextOperationSpec, ); } @@ -19335,11 +19688,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListWebJobsSlotNextOptionalParams + options?: WebAppsListWebJobsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listWebJobsSlotNextOperationSpec + listWebJobsSlotNextOperationSpec, ); } @@ -19357,11 +19710,11 @@ export class WebAppsImpl implements WebApps { name: string, slotSwapEntity: CsmSlotEntity, nextLink: string, - options?: WebAppsListSlotDifferencesFromProductionNextOptionalParams + options?: WebAppsListSlotDifferencesFromProductionNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slotSwapEntity, nextLink, options }, - listSlotDifferencesFromProductionNextOperationSpec + listSlotDifferencesFromProductionNextOperationSpec, ); } @@ -19376,11 +19729,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListSnapshotsNextOptionalParams + options?: WebAppsListSnapshotsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listSnapshotsNextOperationSpec + listSnapshotsNextOperationSpec, ); } @@ -19396,11 +19749,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListSnapshotsFromDRSecondaryNextOptionalParams + options?: WebAppsListSnapshotsFromDRSecondaryNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listSnapshotsFromDRSecondaryNextOperationSpec + listSnapshotsFromDRSecondaryNextOperationSpec, ); } @@ -19415,11 +19768,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListTriggeredWebJobsNextOptionalParams + options?: WebAppsListTriggeredWebJobsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listTriggeredWebJobsNextOperationSpec + listTriggeredWebJobsNextOperationSpec, ); } @@ -19437,11 +19790,11 @@ export class WebAppsImpl implements WebApps { name: string, webJobName: string, nextLink: string, - options?: WebAppsListTriggeredWebJobHistoryNextOptionalParams + options?: WebAppsListTriggeredWebJobHistoryNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, webJobName, nextLink, options }, - listTriggeredWebJobHistoryNextOperationSpec + listTriggeredWebJobHistoryNextOperationSpec, ); } @@ -19456,11 +19809,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListUsagesNextOptionalParams + options?: WebAppsListUsagesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listUsagesNextOperationSpec + listUsagesNextOperationSpec, ); } @@ -19475,11 +19828,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListWebJobsNextOptionalParams + options?: WebAppsListWebJobsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listWebJobsNextOperationSpec + listWebJobsNextOperationSpec, ); } @@ -19497,11 +19850,11 @@ export class WebAppsImpl implements WebApps { name: string, slot: string, nextLink: string, - options?: WebAppsListInstanceWorkflowsSlotNextOptionalParams + options?: WebAppsListInstanceWorkflowsSlotNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, slot, nextLink, options }, - listInstanceWorkflowsSlotNextOperationSpec + listInstanceWorkflowsSlotNextOperationSpec, ); } @@ -19516,11 +19869,11 @@ export class WebAppsImpl implements WebApps { resourceGroupName: string, name: string, nextLink: string, - options?: WebAppsListWorkflowsNextOptionalParams + options?: WebAppsListWorkflowsNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, nextLink, options }, - listWorkflowsNextOperationSpec + listWorkflowsNextOperationSpec, ); } } @@ -19532,83 +19885,80 @@ const listOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.includeSlots], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 201: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 202: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 204: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteEnvelope, queryParameters: [Parameters.apiVersion], @@ -19616,54 +19966,52 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.deleteMetrics, - Parameters.deleteEmptyServerFarm + Parameters.deleteEmptyServerFarm, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 202: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteEnvelope1, queryParameters: [Parameters.apiVersion], @@ -19671,43 +20019,41 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const analyzeCustomHostnameOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CustomHostnameAnalysisResult + bodyMapper: Mappers.CustomHostnameAnalysisResult, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.hostName], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const applySlotConfigToProductionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.slotSwapEntity, queryParameters: [Parameters.apiVersion], @@ -19715,23 +20061,22 @@ const applySlotConfigToProductionOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const backupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupItem + bodyMapper: Mappers.BackupItem, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request1, queryParameters: [Parameters.apiVersion], @@ -19739,45 +20084,43 @@ const backupOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listBackupsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BackupItemCollection + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBackupStatusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BackupItem + bodyMapper: Mappers.BackupItem, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -19785,23 +20128,22 @@ const getBackupStatusOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteBackupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -19809,22 +20151,21 @@ const deleteBackupOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBackupStatusSecretsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupItem + bodyMapper: Mappers.BackupItem, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request1, queryParameters: [Parameters.apiVersion], @@ -19833,15 +20174,14 @@ const listBackupStatusSecretsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const restoreOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore", httpMethod: "POST", responses: { 200: {}, @@ -19849,8 +20189,8 @@ const restoreOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request2, queryParameters: [Parameters.apiVersion], @@ -19859,67 +20199,65 @@ const restoreOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const listBasicPublishingCredentialsPoliciesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PublishingCredentialsPoliciesCollection + serializer, +}; +const listBasicPublishingCredentialsPoliciesOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PublishingCredentialsPoliciesCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getFtpAllowedOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateFtpAllowedOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.csmPublishingAccessPoliciesEntity, queryParameters: [Parameters.apiVersion], @@ -19927,45 +20265,43 @@ const updateFtpAllowedOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getScmAllowedOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateScmAllowedOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.csmPublishingAccessPoliciesEntity, queryParameters: [Parameters.apiVersion], @@ -19973,45 +20309,43 @@ const updateScmAllowedOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listConfigurationsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigResourceCollection + bodyMapper: Mappers.SiteConfigResourceCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateApplicationSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.appSettings, queryParameters: [Parameters.apiVersion], @@ -20019,45 +20353,43 @@ const updateApplicationSettingsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listApplicationSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateAuthSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettings + bodyMapper: Mappers.SiteAuthSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteAuthSettings, queryParameters: [Parameters.apiVersion], @@ -20065,67 +20397,64 @@ const updateAuthSettingsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getAuthSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettings + bodyMapper: Mappers.SiteAuthSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getAuthSettingsV2WithoutSecretsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettingsV2 + bodyMapper: Mappers.SiteAuthSettingsV2, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateAuthSettingsV2OperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettingsV2 + bodyMapper: Mappers.SiteAuthSettingsV2, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteAuthSettingsV2, queryParameters: [Parameters.apiVersion], @@ -20133,45 +20462,43 @@ const updateAuthSettingsV2OperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getAuthSettingsV2OperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettingsV2 + bodyMapper: Mappers.SiteAuthSettingsV2, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateAzureStorageAccountsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AzureStoragePropertyDictionaryResource + bodyMapper: Mappers.AzureStoragePropertyDictionaryResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.azureStorageAccounts, queryParameters: [Parameters.apiVersion], @@ -20179,45 +20506,43 @@ const updateAzureStorageAccountsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listAzureStorageAccountsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.AzureStoragePropertyDictionaryResource + bodyMapper: Mappers.AzureStoragePropertyDictionaryResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateBackupConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.BackupRequest + bodyMapper: Mappers.BackupRequest, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request1, queryParameters: [Parameters.apiVersion], @@ -20225,87 +20550,84 @@ const updateBackupConfigurationOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteBackupConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup", httpMethod: "DELETE", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBackupConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupRequest + bodyMapper: Mappers.BackupRequest, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const getAppSettingsKeyVaultReferencesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ApiKVReferenceCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const getAppSettingsKeyVaultReferencesOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getAppSettingKeyVaultReferenceOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApiKVReference + bodyMapper: Mappers.ApiKVReference, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -20313,67 +20635,66 @@ const getAppSettingKeyVaultReferenceOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.appSettingKey + Parameters.appSettingKey, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getSiteConnectionStringKeyVaultReferencesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ApiKVReferenceCollection +const getSiteConnectionStringKeyVaultReferencesOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const getSiteConnectionStringKeyVaultReferenceOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ApiKVReference + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getSiteConnectionStringKeyVaultReferenceOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReference, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.connectionStringKey - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.connectionStringKey, + ], + headerParameters: [Parameters.accept], + serializer, + }; const updateConnectionStringsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ConnectionStringDictionary + bodyMapper: Mappers.ConnectionStringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionStrings, queryParameters: [Parameters.apiVersion], @@ -20381,67 +20702,64 @@ const updateConnectionStringsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listConnectionStringsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ConnectionStringDictionary + bodyMapper: Mappers.ConnectionStringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDiagnosticLogsConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteLogsConfig + bodyMapper: Mappers.SiteLogsConfig, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateDiagnosticLogsConfigOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteLogsConfig + bodyMapper: Mappers.SiteLogsConfig, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteLogsConfig, queryParameters: [Parameters.apiVersion], @@ -20449,23 +20767,22 @@ const updateDiagnosticLogsConfigOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const updateMetadataOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.metadata, queryParameters: [Parameters.apiVersion], @@ -20473,76 +20790,73 @@ const updateMetadataOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listMetadataOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listPublishingCredentialsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, 201: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, 202: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, 204: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateSitePushSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PushSettings + bodyMapper: Mappers.PushSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.pushSettings, queryParameters: [Parameters.apiVersion], @@ -20550,67 +20864,64 @@ const updateSitePushSettingsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSitePushSettingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.PushSettings + bodyMapper: Mappers.PushSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSlotConfigurationNamesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SlotConfigNamesResource + bodyMapper: Mappers.SlotConfigNamesResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateSlotConfigurationNamesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SlotConfigNamesResource + bodyMapper: Mappers.SlotConfigNamesResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.slotConfigNames, queryParameters: [Parameters.apiVersion], @@ -20618,45 +20929,43 @@ const updateSlotConfigurationNamesOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteConfig, queryParameters: [Parameters.apiVersion], @@ -20664,23 +20973,22 @@ const createOrUpdateConfigurationOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const updateConfigurationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteConfig, queryParameters: [Parameters.apiVersion], @@ -20688,66 +20996,43 @@ const updateConfigurationOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listConfigurationSnapshotInfoOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection + bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getConfigurationSnapshotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.snapshotId - ], - headerParameters: [Parameters.accept], - serializer -}; -const recoverSiteConfigurationSnapshotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}/recover", - httpMethod: "POST", - responses: { - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -20755,89 +21040,112 @@ const recoverSiteConfigurationSnapshotOperationSpec: coreClient.OperationSpec = Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.snapshotId + Parameters.snapshotId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const recoverSiteConfigurationSnapshotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}/recover", + httpMethod: "POST", + responses: { + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.snapshotId, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getWebSiteContainerLogsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs", httpMethod: "POST", responses: { 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, }, 204: {}, - default: {} + default: {}, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept1], - serializer + serializer, }; const getContainerLogsZipOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download", httpMethod: "POST", responses: { 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, }, 204: {}, - default: {} + default: {}, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept2], - serializer + serializer, }; const listContinuousWebJobsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContinuousWebJobCollection + bodyMapper: Mappers.ContinuousWebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getContinuousWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContinuousWebJob + bodyMapper: Mappers.ContinuousWebJob, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -20845,21 +21153,20 @@ const getContinuousWebJobOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteContinuousWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -20867,23 +21174,22 @@ const deleteContinuousWebJobOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const startContinuousWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start", httpMethod: "POST", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -20891,122 +21197,119 @@ const startContinuousWebJobOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const stopContinuousWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop", httpMethod: "POST", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.webJobName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listProductionSiteDeploymentStatusesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.CsmDeploymentStatusCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getProductionSiteDeploymentStatusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus/{deploymentStatusId}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.CsmDeploymentStatus - }, - 201: { - bodyMapper: Mappers.CsmDeploymentStatus - }, - 202: { - bodyMapper: Mappers.CsmDeploymentStatus +const listProductionSiteDeploymentStatusesOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CsmDeploymentStatusCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - 204: { - bodyMapper: Mappers.CsmDeploymentStatus + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getProductionSiteDeploymentStatusOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus/{deploymentStatusId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CsmDeploymentStatus, + }, + 201: { + bodyMapper: Mappers.CsmDeploymentStatus, + }, + 202: { + bodyMapper: Mappers.CsmDeploymentStatus, + }, + 204: { + bodyMapper: Mappers.CsmDeploymentStatus, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.deploymentStatusId - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.deploymentStatusId, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listDeploymentsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeploymentCollection + bodyMapper: Mappers.DeploymentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDeploymentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Deployment + bodyMapper: Mappers.Deployment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21014,22 +21317,21 @@ const getDeploymentOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createDeploymentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Deployment + bodyMapper: Mappers.Deployment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.deployment, queryParameters: [Parameters.apiVersion], @@ -21038,22 +21340,21 @@ const createDeploymentOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteDeploymentOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21061,22 +21362,21 @@ const deleteDeploymentOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listDeploymentLogOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Deployment + bodyMapper: Mappers.Deployment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21084,22 +21384,21 @@ const listDeploymentLogOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const discoverBackupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.RestoreRequest + bodyMapper: Mappers.RestoreRequest, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request2, queryParameters: [Parameters.apiVersion], @@ -21107,45 +21406,43 @@ const discoverBackupOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listDomainOwnershipIdentifiersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IdentifierCollection + bodyMapper: Mappers.IdentifierCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Identifier + bodyMapper: Mappers.Identifier, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21153,46 +21450,45 @@ const getDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainOwnershipIdentifierName + Parameters.domainOwnershipIdentifierName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.Identifier +const createOrUpdateDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Identifier, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.domainOwnershipIdentifier1, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.domainOwnershipIdentifierName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.domainOwnershipIdentifier1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainOwnershipIdentifierName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21200,22 +21496,21 @@ const deleteDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainOwnershipIdentifierName + Parameters.domainOwnershipIdentifierName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Identifier + bodyMapper: Mappers.Identifier, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.domainOwnershipIdentifier1, queryParameters: [Parameters.apiVersion], @@ -21224,57 +21519,55 @@ const updateDomainOwnershipIdentifierOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.domainOwnershipIdentifierName + Parameters.domainOwnershipIdentifierName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getMSDeployStatusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createMSDeployOperationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 201: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 202: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 204: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 409: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.mSDeploy, queryParameters: [Parameters.apiVersion], @@ -21282,146 +21575,140 @@ const createMSDeployOperationOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getMSDeployLogOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployLog + bodyMapper: Mappers.MSDeployLog, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOneDeployStatusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy", httpMethod: "GET", responses: { 200: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOneDeployOperationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy", httpMethod: "PUT", responses: { 200: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listFunctionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionEnvelopeCollection + bodyMapper: Mappers.FunctionEnvelopeCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getFunctionsAdminTokenOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token", httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "String" } } + bodyMapper: { type: { name: "String" } }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getFunctionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21429,31 +21716,30 @@ const getFunctionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createFunctionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 201: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 202: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 204: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.functionEnvelope, queryParameters: [Parameters.apiVersion], @@ -21462,24 +21748,23 @@ const createFunctionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteFunctionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21487,25 +21772,24 @@ const deleteFunctionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateFunctionSecretOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.KeyInfo + bodyMapper: Mappers.KeyInfo, }, 201: { - bodyMapper: Mappers.KeyInfo + bodyMapper: Mappers.KeyInfo, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.key, queryParameters: [Parameters.apiVersion], @@ -21515,24 +21799,23 @@ const createOrUpdateFunctionSecretOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.functionName, - Parameters.keyName + Parameters.keyName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteFunctionSecretOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21541,22 +21824,21 @@ const deleteFunctionSecretOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.functionName, - Parameters.keyName + Parameters.keyName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listFunctionKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21564,22 +21846,21 @@ const listFunctionKeysOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listFunctionSecretsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.FunctionSecrets + bodyMapper: Mappers.FunctionSecrets, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21587,87 +21868,83 @@ const listFunctionSecretsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listHostKeysOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.HostKeys + bodyMapper: Mappers.HostKeys, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSyncStatusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const syncFunctionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateHostSecretOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.KeyInfo + bodyMapper: Mappers.KeyInfo, }, 201: { - bodyMapper: Mappers.KeyInfo + bodyMapper: Mappers.KeyInfo, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.key, queryParameters: [Parameters.apiVersion], @@ -21677,24 +21954,23 @@ const createOrUpdateHostSecretOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.keyName, - Parameters.keyType + Parameters.keyType, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteHostSecretOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21703,44 +21979,42 @@ const deleteHostSecretOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.keyName, - Parameters.keyType + Parameters.keyType, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listHostNameBindingsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HostNameBindingCollection + bodyMapper: Mappers.HostNameBindingCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getHostNameBindingOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HostNameBinding + bodyMapper: Mappers.HostNameBinding, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21748,22 +22022,21 @@ const getHostNameBindingOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.hostName1 + Parameters.hostName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateHostNameBindingOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.HostNameBinding + bodyMapper: Mappers.HostNameBinding, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.hostNameBinding, queryParameters: [Parameters.apiVersion], @@ -21772,22 +22045,21 @@ const createOrUpdateHostNameBindingOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.hostName1 + Parameters.hostName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteHostNameBindingOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21795,22 +22067,21 @@ const deleteHostNameBindingOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.hostName1 + Parameters.hostName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getHybridConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21819,22 +22090,21 @@ const getHybridConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateHybridConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope1, queryParameters: [Parameters.apiVersion], @@ -21844,24 +22114,23 @@ const createOrUpdateHybridConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteHybridConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21870,22 +22139,21 @@ const deleteHybridConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateHybridConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope1, queryParameters: [Parameters.apiVersion], @@ -21895,67 +22163,64 @@ const updateHybridConnectionOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.namespaceName, - Parameters.relayName + Parameters.relayName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listHybridConnectionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listRelayServiceConnectionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity + bodyMapper: Mappers.RelayServiceConnectionEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getRelayServiceConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity + bodyMapper: Mappers.RelayServiceConnectionEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -21963,48 +22228,47 @@ const getRelayServiceConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.entityName + Parameters.entityName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateRelayServiceConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity +const createOrUpdateRelayServiceConnectionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RelayServiceConnectionEntity, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope2, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.entityName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.connectionEnvelope2, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.entityName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteRelayServiceConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22012,22 +22276,21 @@ const deleteRelayServiceConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.entityName + Parameters.entityName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateRelayServiceConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity + bodyMapper: Mappers.RelayServiceConnectionEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope2, queryParameters: [Parameters.apiVersion], @@ -22036,45 +22299,43 @@ const updateRelayServiceConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.entityName + Parameters.entityName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listInstanceIdentifiersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppInstanceStatusCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceInfoOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebSiteInstanceStatus + bodyMapper: Mappers.WebSiteInstanceStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22082,22 +22343,21 @@ const getInstanceInfoOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceMsDeployStatusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22105,34 +22365,33 @@ const getInstanceMsDeployStatusOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createInstanceMSDeployOperationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 201: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 202: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 204: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 409: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.mSDeploy, queryParameters: [Parameters.apiVersion], @@ -22141,26 +22400,25 @@ const createInstanceMSDeployOperationOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getInstanceMSDeployLogOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployLog + bodyMapper: Mappers.MSDeployLog, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22168,25 +22426,24 @@ const getInstanceMSDeployLogOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceProcessesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfoCollection + bodyMapper: Mappers.ProcessInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22194,25 +22451,24 @@ const listInstanceProcessesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceProcessOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfo + bodyMapper: Mappers.ProcessInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22221,23 +22477,22 @@ const getInstanceProcessOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteInstanceProcessOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22246,25 +22501,27 @@ const deleteInstanceProcessOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceProcessDumpOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump", httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22273,25 +22530,24 @@ const getInstanceProcessDumpOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceProcessModulesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection + bodyMapper: Mappers.ProcessModuleInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22300,25 +22556,24 @@ const listInstanceProcessModulesOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceProcessModuleOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfo + bodyMapper: Mappers.ProcessModuleInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22328,25 +22583,24 @@ const getInstanceProcessModuleOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.instanceId, Parameters.processId, - Parameters.baseAddress + Parameters.baseAddress, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceProcessThreadsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection + bodyMapper: Mappers.ProcessThreadInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22355,97 +22609,93 @@ const listInstanceProcessThreadsOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const isCloneableOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SiteCloneability + bodyMapper: Mappers.SiteCloneability, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteBackupsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupItemCollection + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSyncFunctionTriggersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.FunctionSecrets + bodyMapper: Mappers.FunctionSecrets, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const migrateStorageOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StorageMigrationResponse + bodyMapper: Mappers.StorageMigrationResponse, }, 201: { - bodyMapper: Mappers.StorageMigrationResponse + bodyMapper: Mappers.StorageMigrationResponse, }, 202: { - bodyMapper: Mappers.StorageMigrationResponse + bodyMapper: Mappers.StorageMigrationResponse, }, 204: { - bodyMapper: Mappers.StorageMigrationResponse + bodyMapper: Mappers.StorageMigrationResponse, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.migrationOptions, queryParameters: [Parameters.apiVersion, Parameters.subscriptionName], @@ -22453,32 +22703,31 @@ const migrateStorageOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const migrateMySqlOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.Operation + bodyMapper: Mappers.Operation, }, 201: { - bodyMapper: Mappers.Operation + bodyMapper: Mappers.Operation, }, 202: { - bodyMapper: Mappers.Operation + bodyMapper: Mappers.Operation, }, 204: { - bodyMapper: Mappers.Operation + bodyMapper: Mappers.Operation, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.migrationRequestEnvelope, queryParameters: [Parameters.apiVersion], @@ -22486,141 +22735,138 @@ const migrateMySqlOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getMigrateMySqlStatusOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MigrateMySqlStatus + bodyMapper: Mappers.MigrateMySqlStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const getSwiftVirtualNetworkConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateSwiftVirtualNetworkConnectionWithCheckOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork +const getSwiftVirtualNetworkConnectionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope3, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const createOrUpdateSwiftVirtualNetworkConnectionWithCheckOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.connectionEnvelope3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteSwiftVirtualNetworkOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const updateSwiftVirtualNetworkConnectionWithCheckOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork +const updateSwiftVirtualNetworkConnectionWithCheckOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope3, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.connectionEnvelope3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const listNetworkFeaturesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.NetworkFeatures + bodyMapper: Mappers.NetworkFeatures, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22628,35 +22874,34 @@ const listNetworkFeaturesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.view + Parameters.view, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTraceOperationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 202: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22664,131 +22909,128 @@ const getNetworkTraceOperationOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.operationId + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const startWebSiteNetworkTraceOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start", httpMethod: "POST", responses: { 200: { - bodyMapper: { type: { name: "String" } } + bodyMapper: { type: { name: "String" } }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.durationInSeconds, - Parameters.maxFrameLength, - Parameters.sasUrl - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; -const startWebSiteNetworkTraceOperationOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } - }, - 201: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } - }, - 202: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + bodyMapper: Mappers.DefaultErrorResponse, }, - 204: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [ Parameters.apiVersion, Parameters.durationInSeconds, Parameters.maxFrameLength, - Parameters.sasUrl + Parameters.sasUrl, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const startWebSiteNetworkTraceOperationOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + 201: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + 202: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + 204: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.durationInSeconds, + Parameters.maxFrameLength, + Parameters.sasUrl, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; const stopWebSiteNetworkTraceOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop", httpMethod: "POST", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTracesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22796,35 +23038,34 @@ const getNetworkTracesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.operationId + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTraceOperationV2OperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 202: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22832,27 +23073,26 @@ const getNetworkTraceOperationV2OperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.operationId + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTracesV2OperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22860,109 +23100,105 @@ const getNetworkTracesV2OperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.operationId + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer -}; -const generateNewSitePublishingPasswordOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword", - httpMethod: "POST", - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer + serializer, }; +const generateNewSitePublishingPasswordOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword", + httpMethod: "POST", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listPerfMonCountersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PerfMonCounterCollection + bodyMapper: Mappers.PerfMonCounterCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSitePhpErrorLogFlagOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SitePhpErrorLogFlag + bodyMapper: Mappers.SitePhpErrorLogFlag, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listPremierAddOnsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getPremierAddOnOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -22970,22 +23206,21 @@ const getPremierAddOnOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const addPremierAddOnOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.premierAddOn, queryParameters: [Parameters.apiVersion], @@ -22994,21 +23229,20 @@ const addPremierAddOnOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deletePremierAddOnOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", httpMethod: "DELETE", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23016,22 +23250,21 @@ const deletePremierAddOnOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updatePremierAddOnOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.premierAddOn1, queryParameters: [Parameters.apiVersion], @@ -23040,45 +23273,43 @@ const updatePremierAddOnOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getPrivateAccessOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateAccess + bodyMapper: Mappers.PrivateAccess, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const putPrivateAccessVnetOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PrivateAccess + bodyMapper: Mappers.PrivateAccess, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.access, queryParameters: [Parameters.apiVersion], @@ -23086,45 +23317,44 @@ const putPrivateAccessVnetOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const getPrivateEndpointConnectionListOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection + serializer, +}; +const getPrivateEndpointConnectionListOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23132,73 +23362,72 @@ const getPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.privateEndpointConnectionName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const approveOrRejectPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 201: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 202: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 204: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource +const approveOrRejectPrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 201: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 202: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 204: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.privateEndpointWrapper, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.privateEndpointConnectionName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.privateEndpointWrapper, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.privateEndpointConnectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deletePrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}", httpMethod: "DELETE", responses: { 200: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 201: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 202: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, 204: { bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23206,72 +23435,69 @@ const deletePrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.privateEndpointConnectionName + Parameters.privateEndpointConnectionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getPrivateLinkResourcesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateLinkResourcesWrapper + bodyMapper: Mappers.PrivateLinkResourcesWrapper, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listProcessesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfoCollection + bodyMapper: Mappers.ProcessInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getProcessOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfo + bodyMapper: Mappers.ProcessInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23279,23 +23505,22 @@ const getProcessOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteProcessOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23303,25 +23528,27 @@ const deleteProcessOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getProcessDumpOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump", httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23329,25 +23556,24 @@ const getProcessDumpOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listProcessModulesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection + bodyMapper: Mappers.ProcessModuleInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23355,25 +23581,24 @@ const listProcessModulesOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getProcessModuleOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfo + bodyMapper: Mappers.ProcessModuleInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23382,25 +23607,24 @@ const getProcessModuleOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.processId, - Parameters.baseAddress + Parameters.baseAddress, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listProcessThreadsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection + bodyMapper: Mappers.ProcessThreadInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23408,44 +23632,42 @@ const listProcessThreadsOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listPublicCertificatesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PublicCertificateCollection + bodyMapper: Mappers.PublicCertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getPublicCertificateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PublicCertificate + bodyMapper: Mappers.PublicCertificate, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23453,22 +23675,21 @@ const getPublicCertificateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.publicCertificateName + Parameters.publicCertificateName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdatePublicCertificateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PublicCertificate + bodyMapper: Mappers.PublicCertificate, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.publicCertificate, queryParameters: [Parameters.apiVersion], @@ -23477,22 +23698,21 @@ const createOrUpdatePublicCertificateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.publicCertificateName + Parameters.publicCertificateName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deletePublicCertificateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23500,82 +23720,82 @@ const deletePublicCertificateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.publicCertificateName + Parameters.publicCertificateName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listPublishingProfileXmlWithSecretsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } +const listPublishingProfileXmlWithSecretsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.publishingProfileOptions, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.contentType, Parameters.accept3], - mediaType: "json", - serializer -}; + requestBody: Parameters.publishingProfileOptions, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.contentType, Parameters.accept3], + mediaType: "json", + serializer, + }; const resetProductionSlotConfigOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const restartOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.softRestart, - Parameters.synchronous + Parameters.synchronous, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const restoreFromBackupBlobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob", httpMethod: "POST", responses: { 200: {}, @@ -23583,8 +23803,8 @@ const restoreFromBackupBlobOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request2, queryParameters: [Parameters.apiVersion], @@ -23592,15 +23812,14 @@ const restoreFromBackupBlobOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const restoreFromDeletedAppOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp", httpMethod: "POST", responses: { 200: {}, @@ -23608,8 +23827,8 @@ const restoreFromDeletedAppOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.restoreRequest, queryParameters: [Parameters.apiVersion], @@ -23617,15 +23836,14 @@ const restoreFromDeletedAppOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const restoreSnapshotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot", httpMethod: "POST", responses: { 200: {}, @@ -23633,8 +23851,8 @@ const restoreSnapshotOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.restoreRequest1, queryParameters: [Parameters.apiVersion], @@ -23642,51 +23860,140 @@ const restoreSnapshotOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listSiteContainersOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteContainerCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getSiteContainerOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteContainer, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.containerName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateSiteContainerOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.SiteContainer, + }, + 201: { + bodyMapper: Mappers.SiteContainer, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.request3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.containerName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, +}; +const deleteSiteContainerOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.containerName, + ], + headerParameters: [Parameters.accept], + serializer, }; const listSiteExtensionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteExtensionInfoCollection + bodyMapper: Mappers.SiteExtensionInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteExtensionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23694,34 +24001,33 @@ const getSiteExtensionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.siteExtensionId + Parameters.siteExtensionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const installSiteExtensionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 201: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 202: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 204: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 429: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23729,23 +24035,22 @@ const installSiteExtensionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.siteExtensionId + Parameters.siteExtensionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteSiteExtensionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23753,47 +24058,45 @@ const deleteSiteExtensionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.siteExtensionId + Parameters.siteExtensionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSlotsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23801,31 +24104,30 @@ const getSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 201: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 202: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 204: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteEnvelope, queryParameters: [Parameters.apiVersion], @@ -23834,55 +24136,53 @@ const createOrUpdateSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.deleteMetrics, - Parameters.deleteEmptyServerFarm + Parameters.deleteEmptyServerFarm, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, 202: { - bodyMapper: Mappers.Site + bodyMapper: Mappers.Site, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteEnvelope1, queryParameters: [Parameters.apiVersion], @@ -23891,23 +24191,22 @@ const updateSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const analyzeCustomHostnameSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CustomHostnameAnalysisResult + bodyMapper: Mappers.CustomHostnameAnalysisResult, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.hostName], urlParameters: [ @@ -23915,20 +24214,19 @@ const analyzeCustomHostnameSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const applySlotConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.slotSwapEntity, queryParameters: [Parameters.apiVersion], @@ -23937,23 +24235,22 @@ const applySlotConfigurationSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const backupSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupItem + bodyMapper: Mappers.BackupItem, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request1, queryParameters: [Parameters.apiVersion], @@ -23962,23 +24259,22 @@ const backupSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listBackupsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BackupItemCollection + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -23986,22 +24282,21 @@ const listBackupsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBackupStatusSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BackupItem + bodyMapper: Mappers.BackupItem, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24010,23 +24305,22 @@ const getBackupStatusSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteBackupSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24035,22 +24329,21 @@ const deleteBackupSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBackupStatusSecretsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupItem + bodyMapper: Mappers.BackupItem, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request1, queryParameters: [Parameters.apiVersion], @@ -24060,15 +24353,14 @@ const listBackupStatusSecretsSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const restoreSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore", httpMethod: "POST", responses: { 200: {}, @@ -24076,8 +24368,8 @@ const restoreSlotOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request2, queryParameters: [Parameters.apiVersion], @@ -24087,46 +24379,45 @@ const restoreSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.backupId + Parameters.backupId, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const listBasicPublishingCredentialsPoliciesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PublishingCredentialsPoliciesCollection + serializer, +}; +const listBasicPublishingCredentialsPoliciesSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PublishingCredentialsPoliciesCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getFtpAllowedSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24134,22 +24425,21 @@ const getFtpAllowedSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateFtpAllowedSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.csmPublishingAccessPoliciesEntity, queryParameters: [Parameters.apiVersion], @@ -24158,23 +24448,22 @@ const updateFtpAllowedSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getScmAllowedSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24182,22 +24471,21 @@ const getScmAllowedSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateScmAllowedSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity + bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.csmPublishingAccessPoliciesEntity, queryParameters: [Parameters.apiVersion], @@ -24206,23 +24494,22 @@ const updateScmAllowedSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listConfigurationsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigResourceCollection + bodyMapper: Mappers.SiteConfigResourceCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24230,22 +24517,21 @@ const listConfigurationsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateApplicationSettingsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.appSettings, queryParameters: [Parameters.apiVersion], @@ -24254,23 +24540,22 @@ const updateApplicationSettingsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listApplicationSettingsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24278,22 +24563,21 @@ const listApplicationSettingsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateAuthSettingsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettings + bodyMapper: Mappers.SiteAuthSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteAuthSettings, queryParameters: [Parameters.apiVersion], @@ -24302,46 +24586,22 @@ const updateAuthSettingsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getAuthSettingsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettings + bodyMapper: Mappers.SiteAuthSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getAuthSettingsV2WithoutSecretsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SiteAuthSettingsV2 + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24349,22 +24609,44 @@ const getAuthSettingsV2WithoutSecretsSlotOperationSpec: coreClient.OperationSpec Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const getAuthSettingsV2WithoutSecretsSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteAuthSettingsV2, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const updateAuthSettingsV2SlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettingsV2 + bodyMapper: Mappers.SiteAuthSettingsV2, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteAuthSettingsV2, queryParameters: [Parameters.apiVersion], @@ -24373,23 +24655,22 @@ const updateAuthSettingsV2SlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getAuthSettingsV2SlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2/list", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteAuthSettingsV2 + bodyMapper: Mappers.SiteAuthSettingsV2, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24397,22 +24678,21 @@ const getAuthSettingsV2SlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateAzureStorageAccountsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.AzureStoragePropertyDictionaryResource + bodyMapper: Mappers.AzureStoragePropertyDictionaryResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.azureStorageAccounts, queryParameters: [Parameters.apiVersion], @@ -24421,23 +24701,22 @@ const updateAzureStorageAccountsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listAzureStorageAccountsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.AzureStoragePropertyDictionaryResource + bodyMapper: Mappers.AzureStoragePropertyDictionaryResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24445,22 +24724,21 @@ const listAzureStorageAccountsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateBackupConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.BackupRequest + bodyMapper: Mappers.BackupRequest, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request1, queryParameters: [Parameters.apiVersion], @@ -24469,21 +24747,20 @@ const updateBackupConfigurationSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteBackupConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup", httpMethod: "DELETE", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24491,68 +24768,21 @@ const deleteBackupConfigurationSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getBackupConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupRequest - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getAppSettingsKeyVaultReferencesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ApiKVReferenceCollection + bodyMapper: Mappers.BackupRequest, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getAppSettingKeyVaultReferenceSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings/{appSettingKey}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ApiKVReference + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24561,69 +24791,114 @@ const getAppSettingKeyVaultReferenceSlotOperationSpec: coreClient.OperationSpec Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.appSettingKey ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getSiteConnectionStringKeyVaultReferencesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ApiKVReferenceCollection +const getAppSettingsKeyVaultReferencesSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getSiteConnectionStringKeyVaultReferenceSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings/{connectionStringKey}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ApiKVReference + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getAppSettingKeyVaultReferenceSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings/{appSettingKey}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReference, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.connectionStringKey - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.appSettingKey, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getSiteConnectionStringKeyVaultReferencesSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getSiteConnectionStringKeyVaultReferenceSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings/{connectionStringKey}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReference, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.connectionStringKey, + ], + headerParameters: [Parameters.accept], + serializer, + }; const updateConnectionStringsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.ConnectionStringDictionary + bodyMapper: Mappers.ConnectionStringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionStrings, queryParameters: [Parameters.apiVersion], @@ -24632,46 +24907,22 @@ const updateConnectionStringsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listConnectionStringsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ConnectionStringDictionary + bodyMapper: Mappers.ConnectionStringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getDiagnosticLogsConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SiteLogsConfig + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24679,22 +24930,44 @@ const getDiagnosticLogsConfigurationSlotOperationSpec: coreClient.OperationSpec Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const getDiagnosticLogsConfigurationSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteLogsConfig, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const updateDiagnosticLogsConfigSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteLogsConfig + bodyMapper: Mappers.SiteLogsConfig, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteLogsConfig, queryParameters: [Parameters.apiVersion], @@ -24703,23 +24976,22 @@ const updateDiagnosticLogsConfigSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const updateMetadataSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.metadata, queryParameters: [Parameters.apiVersion], @@ -24728,23 +25000,22 @@ const updateMetadataSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listMetadataSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24752,31 +25023,30 @@ const listMetadataSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listPublishingCredentialsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, 201: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, 202: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, 204: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24784,22 +25054,21 @@ const listPublishingCredentialsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateSitePushSettingsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PushSettings + bodyMapper: Mappers.PushSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.pushSettings, queryParameters: [Parameters.apiVersion], @@ -24808,23 +25077,22 @@ const updateSitePushSettingsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSitePushSettingsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.PushSettings + bodyMapper: Mappers.PushSettings, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24832,22 +25100,21 @@ const listSitePushSettingsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24855,22 +25122,21 @@ const getConfigurationSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteConfig, queryParameters: [Parameters.apiVersion], @@ -24879,23 +25145,22 @@ const createOrUpdateConfigurationSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const updateConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteConfig, queryParameters: [Parameters.apiVersion], @@ -24904,23 +25169,45 @@ const updateConfigurationSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const listConfigurationSnapshotInfoSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots", + serializer, +}; +const listConfigurationSnapshotInfoSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getConfigurationSnapshotSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection + bodyMapper: Mappers.SiteConfigResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24928,22 +25215,46 @@ const listConfigurationSnapshotInfoSlotOperationSpec: coreClient.OperationSpec = Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, + Parameters.snapshotId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getConfigurationSnapshotSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}", - httpMethod: "GET", +const recoverSiteConfigurationSnapshotSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover", + httpMethod: "POST", + responses: { + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.snapshotId, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getWebSiteContainerLogsSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SiteConfigResource + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } + 204: {}, + default: {}, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24952,20 +25263,22 @@ const getConfigurationSnapshotSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.snapshotId ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept1], + serializer, }; -const recoverSiteConfigurationSnapshotSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover", +const getContainerLogsZipSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download", httpMethod: "POST", responses: { + 200: { + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, + }, 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } + default: {}, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24974,21 +25287,20 @@ const recoverSiteConfigurationSnapshotSlotOperationSpec: coreClient.OperationSpe Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.snapshotId ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept2], + serializer, }; -const getWebSiteContainerLogsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs", - httpMethod: "POST", +const listContinuousWebJobsSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs", + httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } + bodyMapper: Mappers.ContinuousWebJobCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, }, - 204: {}, - default: {} }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -24996,70 +25308,24 @@ const getWebSiteContainerLogsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept1], - serializer -}; -const getContainerLogsZipSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } - }, - 204: {}, - default: {} - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept2], - serializer -}; -const listContinuousWebJobsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ContinuousWebJobCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContinuousWebJob + bodyMapper: Mappers.ContinuousWebJob, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25068,21 +25334,20 @@ const getContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25091,23 +25356,22 @@ const deleteContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const startContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start", httpMethod: "POST", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25116,23 +25380,22 @@ const startContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const stopContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop", httpMethod: "POST", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25141,54 +25404,53 @@ const stopContinuousWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSlotSiteDeploymentStatusesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.CsmDeploymentStatusCollection +const listSlotSiteDeploymentStatusesSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CsmDeploymentStatusCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getSlotSiteDeploymentStatusSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus/{deploymentStatusId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus/{deploymentStatusId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmDeploymentStatus + bodyMapper: Mappers.CsmDeploymentStatus, }, 201: { - bodyMapper: Mappers.CsmDeploymentStatus + bodyMapper: Mappers.CsmDeploymentStatus, }, 202: { - bodyMapper: Mappers.CsmDeploymentStatus + bodyMapper: Mappers.CsmDeploymentStatus, }, 204: { - bodyMapper: Mappers.CsmDeploymentStatus + bodyMapper: Mappers.CsmDeploymentStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25197,22 +25459,21 @@ const getSlotSiteDeploymentStatusSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.deploymentStatusId + Parameters.deploymentStatusId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listDeploymentsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeploymentCollection + bodyMapper: Mappers.DeploymentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25220,22 +25481,21 @@ const listDeploymentsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getDeploymentSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Deployment + bodyMapper: Mappers.Deployment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25244,22 +25504,21 @@ const getDeploymentSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createDeploymentSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.Deployment + bodyMapper: Mappers.Deployment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.deployment, queryParameters: [Parameters.apiVersion], @@ -25269,22 +25528,21 @@ const createDeploymentSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteDeploymentSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25293,22 +25551,21 @@ const deleteDeploymentSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listDeploymentLogSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Deployment + bodyMapper: Mappers.Deployment, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25317,22 +25574,21 @@ const listDeploymentLogSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const discoverBackupSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.RestoreRequest + bodyMapper: Mappers.RestoreRequest, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.request2, queryParameters: [Parameters.apiVersion], @@ -25341,145 +25597,144 @@ const discoverBackupSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const listDomainOwnershipIdentifiersSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.IdentifierCollection + serializer, +}; +const listDomainOwnershipIdentifiersSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.IdentifierCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.Identifier + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Identifier, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.domainOwnershipIdentifierName - ], - headerParameters: [Parameters.accept], - serializer -}; -const createOrUpdateDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.Identifier + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.domainOwnershipIdentifierName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const createOrUpdateDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Identifier, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.domainOwnershipIdentifier1, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.domainOwnershipIdentifierName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const deleteDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.domainOwnershipIdentifierName - ], - headerParameters: [Parameters.accept], - serializer -}; -const updateDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.Identifier + requestBody: Parameters.domainOwnershipIdentifier1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.domainOwnershipIdentifierName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const deleteDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.domainOwnershipIdentifier1, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.domainOwnershipIdentifierName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.domainOwnershipIdentifierName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const updateDomainOwnershipIdentifierSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.Identifier, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.domainOwnershipIdentifier1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.domainOwnershipIdentifierName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const getMSDeployStatusSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25487,34 +25742,33 @@ const getMSDeployStatusSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createMSDeployOperationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 201: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 202: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 204: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, 409: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.mSDeploy, queryParameters: [Parameters.apiVersion], @@ -25523,26 +25777,25 @@ const createMSDeployOperationSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getMSDeployLogSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployLog + bodyMapper: Mappers.MSDeployLog, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25550,25 +25803,24 @@ const getMSDeployLogSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceFunctionsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionEnvelopeCollection + bodyMapper: Mappers.FunctionEnvelopeCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25576,22 +25828,21 @@ const listInstanceFunctionsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getFunctionsAdminTokenSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token", httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "String" } } + bodyMapper: { type: { name: "String" } }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25599,25 +25850,24 @@ const getFunctionsAdminTokenSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceFunctionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25626,31 +25876,30 @@ const getInstanceFunctionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createInstanceFunctionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 201: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 202: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, 204: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.FunctionEnvelope, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.functionEnvelope, queryParameters: [Parameters.apiVersion], @@ -25660,53 +25909,24 @@ const createInstanceFunctionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteInstanceFunctionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.functionName - ], - headerParameters: [Parameters.accept], - serializer -}; -const createOrUpdateFunctionSecretSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.KeyInfo + bodyMapper: Mappers.DefaultErrorResponse, }, - 201: { - bodyMapper: Mappers.KeyInfo - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, - requestBody: Parameters.key, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -25715,24 +25935,51 @@ const createOrUpdateFunctionSecretSlotOperationSpec: coreClient.OperationSpec = Parameters.name, Parameters.slot, Parameters.functionName, - Parameters.keyName ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; +const createOrUpdateFunctionSecretSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.KeyInfo, + }, + 201: { + bodyMapper: Mappers.KeyInfo, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.key, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.functionName, + Parameters.keyName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteFunctionSecretSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25742,22 +25989,21 @@ const deleteFunctionSecretSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.functionName, - Parameters.keyName + Parameters.keyName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listFunctionKeysSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.StringDictionary + bodyMapper: Mappers.StringDictionary, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25766,22 +26012,21 @@ const listFunctionKeysSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listFunctionSecretsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.FunctionSecrets + bodyMapper: Mappers.FunctionSecrets, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25790,22 +26035,21 @@ const listFunctionSecretsSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.functionName + Parameters.functionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listHostKeysSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.HostKeys + bodyMapper: Mappers.HostKeys, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25813,20 +26057,19 @@ const listHostKeysSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSyncStatusSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25834,20 +26077,19 @@ const listSyncStatusSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const syncFunctionsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25855,25 +26097,24 @@ const syncFunctionsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateHostSecretSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.KeyInfo + bodyMapper: Mappers.KeyInfo, }, 201: { - bodyMapper: Mappers.KeyInfo + bodyMapper: Mappers.KeyInfo, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.key, queryParameters: [Parameters.apiVersion], @@ -25884,24 +26125,23 @@ const createOrUpdateHostSecretSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.keyName, - Parameters.keyType + Parameters.keyType, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteHostSecretSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25911,22 +26151,21 @@ const deleteHostSecretSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.keyName, - Parameters.keyType + Parameters.keyType, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listHostNameBindingsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HostNameBindingCollection + bodyMapper: Mappers.HostNameBindingCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25934,22 +26173,21 @@ const listHostNameBindingsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getHostNameBindingSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HostNameBinding + bodyMapper: Mappers.HostNameBinding, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -25958,47 +26196,46 @@ const getHostNameBindingSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.hostName1 + Parameters.hostName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateHostNameBindingSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.HostNameBinding +const createOrUpdateHostNameBindingSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.HostNameBinding, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.hostNameBinding, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.hostName1 - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.hostNameBinding, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.hostName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteHostNameBindingSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26007,22 +26244,21 @@ const deleteHostNameBindingSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.hostName1 + Parameters.hostName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getHybridConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26032,50 +26268,49 @@ const getHybridConnectionSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.namespaceName, Parameters.relayName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateHybridConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.HybridConnection +const createOrUpdateHybridConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.HybridConnection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope1, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.namespaceName, - Parameters.relayName, - Parameters.slot - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.connectionEnvelope1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.namespaceName, + Parameters.relayName, + Parameters.slot, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteHybridConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26085,22 +26320,21 @@ const deleteHybridConnectionSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.namespaceName, Parameters.relayName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateHybridConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope1, queryParameters: [Parameters.apiVersion], @@ -26111,23 +26345,22 @@ const updateHybridConnectionSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.namespaceName, Parameters.relayName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listHybridConnectionsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HybridConnection + bodyMapper: Mappers.HybridConnection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26135,22 +26368,21 @@ const listHybridConnectionsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listRelayServiceConnectionsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity + bodyMapper: Mappers.RelayServiceConnectionEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26158,22 +26390,21 @@ const listRelayServiceConnectionsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity + bodyMapper: Mappers.RelayServiceConnectionEntity, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26182,99 +26413,98 @@ const getRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.entityName + Parameters.entityName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity +const createOrUpdateRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RelayServiceConnectionEntity, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope2, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.entityName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const deleteRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", - httpMethod: "DELETE", - responses: { - 200: {}, - 404: { - isError: true + requestBody: Parameters.connectionEnvelope2, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.entityName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const deleteRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 404: { + isError: true, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.entityName - ], - headerParameters: [Parameters.accept], - serializer -}; -const updateRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.RelayServiceConnectionEntity + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.entityName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const updateRelayServiceConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.RelayServiceConnectionEntity, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope2, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.entityName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.connectionEnvelope2, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.entityName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const listInstanceIdentifiersSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppInstanceStatusCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26282,22 +26512,21 @@ const listInstanceIdentifiersSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceInfoSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebSiteInstanceStatus + bodyMapper: Mappers.WebSiteInstanceStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26306,22 +26535,21 @@ const getInstanceInfoSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceMsDeployStatusSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.MSDeployStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26330,63 +26558,62 @@ const getInstanceMsDeployStatusSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createInstanceMSDeployOperationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.MSDeployStatus - }, - 201: { - bodyMapper: Mappers.MSDeployStatus - }, - 202: { - bodyMapper: Mappers.MSDeployStatus - }, - 204: { - bodyMapper: Mappers.MSDeployStatus - }, - 409: { - isError: true +const createInstanceMSDeployOperationSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.MSDeployStatus, + }, + 201: { + bodyMapper: Mappers.MSDeployStatus, + }, + 202: { + bodyMapper: Mappers.MSDeployStatus, + }, + 204: { + bodyMapper: Mappers.MSDeployStatus, + }, + 409: { + isError: true, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.mSDeploy, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.instanceId - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.mSDeploy, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.instanceId, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const getInstanceMSDeployLogSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MSDeployLog + bodyMapper: Mappers.MSDeployLog, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26395,25 +26622,24 @@ const getInstanceMSDeployLogSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceProcessesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfoCollection + bodyMapper: Mappers.ProcessInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26422,25 +26648,24 @@ const listInstanceProcessesSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.instanceId + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceProcessSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfo + bodyMapper: Mappers.ProcessInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26450,23 +26675,22 @@ const getInstanceProcessSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteInstanceProcessSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26476,25 +26700,27 @@ const deleteInstanceProcessSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceProcessDumpSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/dump", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/dump", httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26504,25 +26730,24 @@ const getInstanceProcessDumpSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceProcessModulesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection + bodyMapper: Mappers.ProcessModuleInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26532,25 +26757,24 @@ const listInstanceProcessModulesSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceProcessModuleSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfo + bodyMapper: Mappers.ProcessModuleInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26561,25 +26785,24 @@ const getInstanceProcessModuleSlotOperationSpec: coreClient.OperationSpec = { Parameters.slot, Parameters.instanceId, Parameters.processId, - Parameters.baseAddress + Parameters.baseAddress, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceProcessThreadsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection + bodyMapper: Mappers.ProcessThreadInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26589,22 +26812,21 @@ const listInstanceProcessThreadsSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.instanceId, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const isCloneableSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SiteCloneability + bodyMapper: Mappers.SiteCloneability, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26612,22 +26834,21 @@ const isCloneableSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSiteBackupsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listbackups", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listbackups", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.BackupItemCollection + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26635,22 +26856,21 @@ const listSiteBackupsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSyncFunctionTriggersSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.FunctionSecrets + bodyMapper: Mappers.FunctionSecrets, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26658,45 +26878,21 @@ const listSyncFunctionTriggersSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getMigrateMySqlStatusSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.MigrateMySqlStatus + bodyMapper: Mappers.MigrateMySqlStatus, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getSwiftVirtualNetworkConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26704,48 +26900,70 @@ const getSwiftVirtualNetworkConnectionSlotOperationSpec: coreClient.OperationSpe Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork +const getSwiftVirtualNetworkConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope3, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.connectionEnvelope3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteSwiftVirtualNetworkSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26753,50 +26971,49 @@ const deleteSwiftVirtualNetworkSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const updateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", - httpMethod: "PATCH", - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork +const updateSwiftVirtualNetworkConnectionWithCheckSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope3, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.connectionEnvelope3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const listNetworkFeaturesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.NetworkFeatures + bodyMapper: Mappers.NetworkFeatures, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26805,35 +27022,34 @@ const listNetworkFeaturesSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.view + Parameters.view, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTraceOperationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 202: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26842,106 +27058,104 @@ const getNetworkTraceOperationSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.operationId + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const startWebSiteNetworkTraceSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start", httpMethod: "POST", responses: { 200: { - bodyMapper: { type: { name: "String" } } + bodyMapper: { type: { name: "String" } }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.durationInSeconds, Parameters.maxFrameLength, - Parameters.sasUrl + Parameters.sasUrl, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer -}; -const startWebSiteNetworkTraceOperationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } - }, - 201: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } - }, - 202: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } - }, - 204: { - bodyMapper: { - type: { - name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + serializer, +}; +const startWebSiteNetworkTraceOperationSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + 201: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + 202: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + 204: { + bodyMapper: { + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.durationInSeconds, - Parameters.maxFrameLength, - Parameters.sasUrl - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [ + Parameters.apiVersion, + Parameters.durationInSeconds, + Parameters.maxFrameLength, + Parameters.sasUrl, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const stopWebSiteNetworkTraceSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop", httpMethod: "POST", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26949,27 +27163,26 @@ const stopWebSiteNetworkTraceSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTracesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -26978,35 +27191,34 @@ const getNetworkTracesSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.operationId + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTraceOperationSlotV2OperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 202: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27015,27 +27227,26 @@ const getNetworkTraceOperationSlotV2OperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.operationId + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getNetworkTracesSlotV2OperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}", httpMethod: "GET", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27044,44 +27255,43 @@ const getNetworkTracesSlotV2OperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.operationId - ], - headerParameters: [Parameters.accept], - serializer -}; -const generateNewSitePublishingPasswordSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword", - httpMethod: "POST", - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot + Parameters.operationId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const generateNewSitePublishingPasswordSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword", + httpMethod: "POST", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listPerfMonCountersSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PerfMonCounterCollection + bodyMapper: Mappers.PerfMonCounterCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ @@ -27089,22 +27299,21 @@ const listPerfMonCountersSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSitePhpErrorLogFlagSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SitePhpErrorLogFlag + bodyMapper: Mappers.SitePhpErrorLogFlag, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27112,22 +27321,21 @@ const getSitePhpErrorLogFlagSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listPremierAddOnsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27135,22 +27343,21 @@ const listPremierAddOnsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getPremierAddOnSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27159,22 +27366,21 @@ const getPremierAddOnSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const addPremierAddOnSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.premierAddOn, queryParameters: [Parameters.apiVersion], @@ -27184,21 +27390,20 @@ const addPremierAddOnSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deletePremierAddOnSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", httpMethod: "DELETE", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27207,22 +27412,21 @@ const deletePremierAddOnSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updatePremierAddOnSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.PremierAddOn + bodyMapper: Mappers.PremierAddOn, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.premierAddOn1, queryParameters: [Parameters.apiVersion], @@ -27232,23 +27436,22 @@ const updatePremierAddOnSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.premierAddOnName + Parameters.premierAddOnName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getPrivateAccessSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateAccess + bodyMapper: Mappers.PrivateAccess, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27256,170 +27459,168 @@ const getPrivateAccessSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const putPrivateAccessVnetSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.PrivateAccess - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.access, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const getPrivateEndpointConnectionListSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const getPrivateEndpointConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource + bodyMapper: Mappers.PrivateAccess, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.privateEndpointConnectionName, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const approveOrRejectPrivateEndpointConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 201: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource + bodyMapper: Mappers.DefaultErrorResponse, }, - 202: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - 204: { - bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, - requestBody: Parameters.privateEndpointWrapper, + requestBody: Parameters.access, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.privateEndpointConnectionName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer -}; -const deletePrivateEndpointConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "DELETE", - responses: { - 200: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + serializer, +}; +const getPrivateEndpointConnectionListSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - 201: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getPrivateEndpointConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - 202: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.privateEndpointConnectionName, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const approveOrRejectPrivateEndpointConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 201: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 202: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + 204: { + bodyMapper: Mappers.RemotePrivateEndpointConnectionARMResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - 204: { - bodyMapper: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + requestBody: Parameters.privateEndpointWrapper, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.privateEndpointConnectionName, + Parameters.slot, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const deletePrivateEndpointConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "DELETE", + responses: { + 200: { + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + 201: { + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + 202: { + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + 204: { + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.privateEndpointConnectionName, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.privateEndpointConnectionName, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getPrivateLinkResourcesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateLinkResources", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateLinkResources", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateLinkResourcesWrapper + bodyMapper: Mappers.PrivateLinkResourcesWrapper, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27427,25 +27628,24 @@ const getPrivateLinkResourcesSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listProcessesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfoCollection + bodyMapper: Mappers.ProcessInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27453,25 +27653,24 @@ const listProcessesSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getProcessSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfo + bodyMapper: Mappers.ProcessInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27480,23 +27679,22 @@ const getProcessSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteProcessSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27505,25 +27703,27 @@ const deleteProcessSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getProcessDumpSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/dump", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/dump", httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27532,25 +27732,24 @@ const getProcessDumpSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listProcessModulesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection + bodyMapper: Mappers.ProcessModuleInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27559,25 +27758,24 @@ const listProcessModulesSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getProcessModuleSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfo + bodyMapper: Mappers.ProcessModuleInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27587,25 +27785,24 @@ const getProcessModuleSlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.processId, - Parameters.baseAddress + Parameters.baseAddress, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listProcessThreadsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection + bodyMapper: Mappers.ProcessThreadInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27614,22 +27811,21 @@ const listProcessThreadsSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.processId + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listPublicCertificatesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PublicCertificateCollection + bodyMapper: Mappers.PublicCertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27637,22 +27833,21 @@ const listPublicCertificatesSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getPublicCertificateSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PublicCertificate + bodyMapper: Mappers.PublicCertificate, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27661,24 +27856,47 @@ const getPublicCertificateSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.publicCertificateName + Parameters.publicCertificateName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdatePublicCertificateSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.PublicCertificate +const createOrUpdatePublicCertificateSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.PublicCertificate, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, + requestBody: Parameters.publicCertificate, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.publicCertificateName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const deletePublicCertificateSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.publicCertificate, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -27686,22 +27904,47 @@ const createOrUpdatePublicCertificateSlotOperationSpec: coreClient.OperationSpec Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.publicCertificateName + Parameters.publicCertificateName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const deletePublicCertificateSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}", - httpMethod: "DELETE", +const listPublishingProfileXmlWithSecretsSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { name: "Stream" }, + serializedName: "parsedResponse", + }, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.publishingProfileOptions, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.contentType, Parameters.accept3], + mediaType: "json", + serializer, + }; +const resetSlotConfigurationSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig", + httpMethod: "POST", responses: { 200: {}, - 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27710,85 +27953,86 @@ const deletePublicCertificateSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.publicCertificateName ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listPublishingProfileXmlWithSecretsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml", +const restartSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart", httpMethod: "POST", responses: { - 200: { - bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" } - }, + 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.publishingProfileOptions, - queryParameters: [Parameters.apiVersion], + queryParameters: [ + Parameters.apiVersion, + Parameters.softRestart, + Parameters.synchronous, + ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], - headerParameters: [Parameters.contentType, Parameters.accept3], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const resetSlotConfigurationSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig", +const restoreFromBackupBlobSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob", httpMethod: "POST", responses: { 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, + requestBody: Parameters.request2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; -const restartSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart", +const restoreFromDeletedAppSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp", httpMethod: "POST", responses: { 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.softRestart, - Parameters.synchronous - ], + requestBody: Parameters.restoreRequest, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; -const restoreFromBackupBlobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob", +const restoreSnapshotSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot", httpMethod: "POST", responses: { 200: {}, @@ -27796,88 +28040,130 @@ const restoreFromBackupBlobSlotOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.request2, + requestBody: Parameters.restoreRequest1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const restoreFromDeletedAppSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp", - httpMethod: "POST", +const listSiteContainersSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers", + httpMethod: "GET", responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, + 200: { + bodyMapper: Mappers.SiteContainerCollection, + }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.restoreRequest, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getSiteContainerSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteContainer, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.containerName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateSiteContainerSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.SiteContainer, + }, + 201: { + bodyMapper: Mappers.SiteContainer, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.request3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.containerName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const restoreSnapshotSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot", - httpMethod: "POST", +const deleteSiteContainerSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}", + httpMethod: "DELETE", responses: { 200: {}, - 201: {}, - 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.restoreRequest1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, + Parameters.containerName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; const listSiteExtensionsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteExtensionInfoCollection + bodyMapper: Mappers.SiteExtensionInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27885,25 +28171,24 @@ const listSiteExtensionsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSiteExtensionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27912,34 +28197,33 @@ const getSiteExtensionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.siteExtensionId + Parameters.siteExtensionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const installSiteExtensionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 201: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 202: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 204: { - bodyMapper: Mappers.SiteExtensionInfo + bodyMapper: Mappers.SiteExtensionInfo, }, 429: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27948,23 +28232,22 @@ const installSiteExtensionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.siteExtensionId + Parameters.siteExtensionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteSiteExtensionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}", httpMethod: "DELETE", responses: { 204: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -27973,22 +28256,21 @@ const deleteSiteExtensionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.siteExtensionId + Parameters.siteExtensionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSlotDifferencesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SlotDifferenceCollection + bodyMapper: Mappers.SlotDifferenceCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.slotSwapEntity, queryParameters: [Parameters.apiVersion], @@ -27997,15 +28279,14 @@ const listSlotDifferencesSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const swapSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap", httpMethod: "POST", responses: { 200: {}, @@ -28013,8 +28294,8 @@ const swapSlotOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.slotSwapEntity, queryParameters: [Parameters.apiVersion], @@ -28023,46 +28304,22 @@ const swapSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSnapshotsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.SnapshotCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot - ], - headerParameters: [Parameters.accept], - serializer -}; -const listSnapshotsFromDRSecondarySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28070,28 +28327,50 @@ const listSnapshotsFromDRSecondarySlotOperationSpec: coreClient.OperationSpec = Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const listSnapshotsFromDRSecondarySlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SnapshotCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; const getSourceControlSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 201: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 202: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28099,31 +28378,30 @@ const getSourceControlSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateSourceControlSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 201: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 202: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 204: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteSourceControl, queryParameters: [Parameters.apiVersion], @@ -28132,25 +28410,24 @@ const createOrUpdateSourceControlSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteSourceControlSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", httpMethod: "DELETE", responses: { 200: {}, 202: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.additionalFlags], urlParameters: [ @@ -28158,28 +28435,27 @@ const deleteSourceControlSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateSourceControlSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 201: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 202: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteSourceControl, queryParameters: [Parameters.apiVersion], @@ -28188,21 +28464,20 @@ const updateSourceControlSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const startSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28210,77 +28485,75 @@ const startSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const startNetworkTraceSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace", httpMethod: "POST", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 201: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 202: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 204: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.durationInSeconds, Parameters.maxFrameLength, - Parameters.sasUrl + Parameters.sasUrl, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const stopSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28288,21 +28561,20 @@ const stopSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const stopNetworkTraceSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stopNetworkTrace", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stopNetworkTrace", httpMethod: "POST", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28310,20 +28582,19 @@ const stopNetworkTraceSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const syncRepositorySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28331,20 +28602,19 @@ const syncRepositorySlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const syncFunctionTriggersSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28352,22 +28622,21 @@ const syncFunctionTriggersSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listTriggeredWebJobsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredWebJobCollection + bodyMapper: Mappers.TriggeredWebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28375,25 +28644,24 @@ const listTriggeredWebJobsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getTriggeredWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredWebJob + bodyMapper: Mappers.TriggeredWebJob, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28402,21 +28670,20 @@ const getTriggeredWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteTriggeredWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28425,25 +28692,24 @@ const deleteTriggeredWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listTriggeredWebJobHistorySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredJobHistoryCollection + bodyMapper: Mappers.TriggeredJobHistoryCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28452,25 +28718,24 @@ const listTriggeredWebJobHistorySlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getTriggeredWebJobHistorySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history/{id}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredJobHistory + bodyMapper: Mappers.TriggeredJobHistory, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28480,23 +28745,22 @@ const getTriggeredWebJobHistorySlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.slot, Parameters.webJobName, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const runTriggeredWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/run", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/run", httpMethod: "POST", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28505,22 +28769,21 @@ const runTriggeredWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listUsagesSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ @@ -28528,14 +28791,13 @@ const listUsagesSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listVnetConnectionsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections", httpMethod: "GET", responses: { 200: { @@ -28543,14 +28805,14 @@ const listVnetConnectionsSlotOperationSpec: coreClient.OperationSpec = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VnetInfoResource" } - } - } - } + type: { name: "Composite", className: "VnetInfoResource" }, + }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28558,22 +28820,21 @@ const listVnetConnectionsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getVnetConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VnetInfoResource + bodyMapper: Mappers.VnetInfoResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28582,49 +28843,48 @@ const getVnetConnectionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateVnetConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.VnetInfoResource +const createOrUpdateVnetConnectionSlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.VnetInfoResource, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope4, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.vnetName, - Parameters.slot - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.connectionEnvelope4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.vnetName, + Parameters.slot, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const deleteVnetConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28633,22 +28893,21 @@ const deleteVnetConnectionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateVnetConnectionSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VnetInfoResource + bodyMapper: Mappers.VnetInfoResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope4, queryParameters: [Parameters.apiVersion], @@ -28658,26 +28917,25 @@ const updateVnetConnectionSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getVnetConnectionGatewaySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VnetGateway + bodyMapper: Mappers.VnetGateway, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28687,22 +28945,48 @@ const getVnetConnectionGatewaySlotOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.vnetName, Parameters.gatewayName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateVnetConnectionGatewaySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", - httpMethod: "PUT", +const createOrUpdateVnetConnectionGatewaySlotOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.VnetGateway, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + requestBody: Parameters.connectionEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.vnetName, + Parameters.gatewayName, + Parameters.slot, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const updateVnetConnectionGatewaySlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VnetGateway + bodyMapper: Mappers.VnetGateway, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope, queryParameters: [Parameters.apiVersion], @@ -28713,73 +28997,44 @@ const createOrUpdateVnetConnectionGatewaySlotOperationSpec: coreClient.Operation Parameters.name, Parameters.vnetName, Parameters.gatewayName, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; -const updateVnetConnectionGatewaySlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", - httpMethod: "PATCH", +const listWebJobsSlotOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VnetGateway + bodyMapper: Mappers.WebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - requestBody: Parameters.connectionEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.vnetName, - Parameters.gatewayName, - Parameters.slot - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const listWebJobsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.WebJobCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getWebJobSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs/{webJobName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebJob + bodyMapper: Mappers.WebJob, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -28788,38 +29043,37 @@ const getWebJobSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSlotDifferencesFromProductionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.SlotDifferenceCollection +const listSlotDifferencesFromProductionOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.SlotDifferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.slotSwapEntity, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.slotSwapEntity, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const swapSlotWithProductionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap", httpMethod: "POST", responses: { 200: {}, @@ -28827,8 +29081,8 @@ const swapSlotWithProductionOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.slotSwapEntity, queryParameters: [Parameters.apiVersion], @@ -28836,104 +29090,100 @@ const swapSlotWithProductionOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSnapshotsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.SnapshotCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSnapshotsFromDRSecondaryOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.SnapshotCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSourceControlOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 201: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 202: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateSourceControlOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 201: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 202: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 204: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteSourceControl, queryParameters: [Parameters.apiVersion], @@ -28941,53 +29191,51 @@ const createOrUpdateSourceControlOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteSourceControlOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", httpMethod: "DELETE", responses: { 200: {}, 202: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.additionalFlags], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateSourceControlOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 201: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, 202: { - bodyMapper: Mappers.SiteSourceControl + bodyMapper: Mappers.SiteSourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.siteSourceControl, queryParameters: [Parameters.apiVersion], @@ -28995,205 +29243,197 @@ const updateSourceControlOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const startOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const startNetworkTraceOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace", httpMethod: "POST", responses: { 200: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 201: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 202: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, 204: { bodyMapper: { type: { name: "Sequence", - element: { type: { name: "Composite", className: "NetworkTrace" } } - } - } + element: { type: { name: "Composite", className: "NetworkTrace" } }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.durationInSeconds, Parameters.maxFrameLength, - Parameters.sasUrl + Parameters.sasUrl, ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const stopOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const stopNetworkTraceOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace", httpMethod: "POST", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const syncRepositoryOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const syncFunctionTriggersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listTriggeredWebJobsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredWebJobCollection + bodyMapper: Mappers.TriggeredWebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getTriggeredWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredWebJob + bodyMapper: Mappers.TriggeredWebJob, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29201,21 +29441,20 @@ const getTriggeredWebJobOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deleteTriggeredWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29223,25 +29462,24 @@ const deleteTriggeredWebJobOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listTriggeredWebJobHistoryOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredJobHistoryCollection + bodyMapper: Mappers.TriggeredJobHistoryCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29249,25 +29487,24 @@ const listTriggeredWebJobHistoryOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getTriggeredWebJobHistoryOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history/{id}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history/{id}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredJobHistory + bodyMapper: Mappers.TriggeredJobHistory, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29276,23 +29513,22 @@ const getTriggeredWebJobHistoryOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.webJobName, - Parameters.id + Parameters.id, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const runTriggeredWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/run", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/run", httpMethod: "POST", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29300,36 +29536,34 @@ const runTriggeredWebJobOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listUsagesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listVnetConnectionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections", httpMethod: "GET", responses: { 200: { @@ -29337,36 +29571,35 @@ const listVnetConnectionsOperationSpec: coreClient.OperationSpec = { type: { name: "Sequence", element: { - type: { name: "Composite", className: "VnetInfoResource" } - } - } - } + type: { name: "Composite", className: "VnetInfoResource" }, + }, + }, + }, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getVnetConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VnetInfoResource + bodyMapper: Mappers.VnetInfoResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29374,22 +29607,21 @@ const getVnetConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.vnetName + Parameters.vnetName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const createOrUpdateVnetConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.VnetInfoResource + bodyMapper: Mappers.VnetInfoResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope4, queryParameters: [Parameters.apiVersion], @@ -29398,24 +29630,23 @@ const createOrUpdateVnetConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.vnetName + Parameters.vnetName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deleteVnetConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", httpMethod: "DELETE", responses: { 200: {}, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29423,22 +29654,21 @@ const deleteVnetConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.vnetName + Parameters.vnetName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateVnetConnectionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VnetInfoResource + bodyMapper: Mappers.VnetInfoResource, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope4, queryParameters: [Parameters.apiVersion], @@ -29447,26 +29677,25 @@ const updateVnetConnectionOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.vnetName + Parameters.vnetName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const getVnetConnectionGatewayOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.VnetGateway + bodyMapper: Mappers.VnetGateway, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29475,48 +29704,47 @@ const getVnetConnectionGatewayOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.gatewayName + Parameters.gatewayName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const createOrUpdateVnetConnectionGatewayOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.VnetGateway +const createOrUpdateVnetConnectionGatewayOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.VnetGateway, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.connectionEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.vnetName, - Parameters.gatewayName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.connectionEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.vnetName, + Parameters.gatewayName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const updateVnetConnectionGatewayOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}", httpMethod: "PATCH", responses: { 200: { - bodyMapper: Mappers.VnetGateway + bodyMapper: Mappers.VnetGateway, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.connectionEnvelope, queryParameters: [Parameters.apiVersion], @@ -29526,45 +29754,43 @@ const updateVnetConnectionGatewayOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.vnetName, - Parameters.gatewayName + Parameters.gatewayName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listWebJobsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebJobCollection + bodyMapper: Mappers.WebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getWebJobOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebJob + bodyMapper: Mappers.WebJob, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29572,20 +29798,19 @@ const getWebJobOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const deployWorkflowArtifactsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployWorkflowArtifacts", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployWorkflowArtifacts", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.workflowArtifacts, queryParameters: [Parameters.apiVersion], @@ -29593,21 +29818,20 @@ const deployWorkflowArtifactsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const deployWorkflowArtifactsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployWorkflowArtifacts", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployWorkflowArtifacts", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.workflowArtifacts, queryParameters: [Parameters.apiVersion], @@ -29616,23 +29840,22 @@ const deployWorkflowArtifactsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listInstanceWorkflowsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelopeCollection + bodyMapper: Mappers.WorkflowEnvelopeCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29640,25 +29863,24 @@ const listInstanceWorkflowsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getInstanceWorkflowSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows/{workflowName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows/{workflowName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelope + bodyMapper: Mappers.WorkflowEnvelope, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29667,22 +29889,21 @@ const getInstanceWorkflowSlotOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.slot, - Parameters.workflowName + Parameters.workflowName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWorkflowsConnectionsSlotOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listWorkflowsConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listWorkflowsConnections", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelope + bodyMapper: Mappers.WorkflowEnvelope, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29690,47 +29911,45 @@ const listWorkflowsConnectionsSlotOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWorkflowsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelopeCollection + bodyMapper: Mappers.WorkflowEnvelopeCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getWorkflowOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelope + bodyMapper: Mappers.WorkflowEnvelope, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -29738,638 +29957,366 @@ const getWorkflowOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workflowName + Parameters.workflowName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWorkflowsConnectionsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listWorkflowsConnections", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listWorkflowsConnections", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelope + bodyMapper: Mappers.WorkflowEnvelope, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.name + Parameters.name, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBackupsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BackupItemCollection + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listBasicPublishingCredentialsPoliciesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PublishingCredentialsPoliciesCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const listBasicPublishingCredentialsPoliciesNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PublishingCredentialsPoliciesCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listConfigurationsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigResourceCollection + bodyMapper: Mappers.SiteConfigResourceCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getAppSettingsKeyVaultReferencesNextOperationSpec: coreClient.OperationSpec = { +const getAppSettingsKeyVaultReferencesNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getSiteConnectionStringKeyVaultReferencesNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listConfigurationSnapshotInfoNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listContinuousWebJobsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApiKVReferenceCollection + bodyMapper: Mappers.ContinuousWebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getSiteConnectionStringKeyVaultReferencesNextOperationSpec: coreClient.OperationSpec = { +const listProductionSiteDeploymentStatusesNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CsmDeploymentStatusCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listDeploymentsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApiKVReferenceCollection + bodyMapper: Mappers.DeploymentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listConfigurationSnapshotInfoNextOperationSpec: coreClient.OperationSpec = { +const listDomainOwnershipIdentifiersNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.IdentifierCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listFunctionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection + bodyMapper: Mappers.FunctionEnvelopeCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listContinuousWebJobsNextOperationSpec: coreClient.OperationSpec = { +const listHostNameBindingsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContinuousWebJobCollection + bodyMapper: Mappers.HostNameBindingCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listProductionSiteDeploymentStatusesNextOperationSpec: coreClient.OperationSpec = { +const listInstanceIdentifiersNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmDeploymentStatusCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listDeploymentsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DeploymentCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listDomainOwnershipIdentifiersNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.IdentifierCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listFunctionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.FunctionEnvelopeCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listHostNameBindingsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.HostNameBindingCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listInstanceIdentifiersNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.WebAppInstanceStatusCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listInstanceProcessesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ProcessInfoCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.instanceId - ], - headerParameters: [Parameters.accept], - serializer -}; -const listInstanceProcessModulesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.instanceId, - Parameters.processId - ], - headerParameters: [Parameters.accept], - serializer -}; -const listInstanceProcessThreadsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.instanceId, - Parameters.processId - ], - headerParameters: [Parameters.accept], - serializer -}; -const listSiteBackupsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.BackupItemCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listPerfMonCountersNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PerfMonCounterCollection + bodyMapper: Mappers.DefaultErrorResponse, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listProcessesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ProcessInfoCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listProcessModulesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.processId - ], - headerParameters: [Parameters.accept], - serializer -}; -const listProcessThreadsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink, - Parameters.processId - ], - headerParameters: [Parameters.accept], - serializer -}; -const listPublicCertificatesNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.PublicCertificateCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listSiteExtensionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.SiteExtensionInfoCollection - }, - 404: { - isError: true - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.nextLink - ], - headerParameters: [Parameters.accept], - serializer -}; -const listSlotsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.WebAppCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBackupsSlotNextOperationSpec: coreClient.OperationSpec = { +const listInstanceProcessesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BackupItemCollection + bodyMapper: Mappers.ProcessInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30377,21 +30324,24 @@ const listBackupsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listBasicPublishingCredentialsPoliciesSlotNextOperationSpec: coreClient.OperationSpec = { +const listInstanceProcessModulesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PublishingCredentialsPoliciesCollection + bodyMapper: Mappers.ProcessModuleInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30399,21 +30349,25 @@ const listBasicPublishingCredentialsPoliciesSlotNextOperationSpec: coreClient.Op Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.instanceId, + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listConfigurationsSlotNextOperationSpec: coreClient.OperationSpec = { +const listInstanceProcessThreadsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigResourceCollection + bodyMapper: Mappers.ProcessThreadInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30421,21 +30375,22 @@ const listConfigurationsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.instanceId, + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getAppSettingsKeyVaultReferencesSlotNextOperationSpec: coreClient.OperationSpec = { +const listSiteBackupsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApiKVReferenceCollection + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30443,21 +30398,20 @@ const getAppSettingsKeyVaultReferencesSlotNextOperationSpec: coreClient.Operatio Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getSiteConnectionStringKeyVaultReferencesSlotNextOperationSpec: coreClient.OperationSpec = { +const listPerfMonCountersNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ApiKVReferenceCollection + bodyMapper: Mappers.PerfMonCounterCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30465,21 +30419,45 @@ const getSiteConnectionStringKeyVaultReferencesSlotNextOperationSpec: coreClient Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listConfigurationSnapshotInfoSlotNextOperationSpec: coreClient.OperationSpec = { +const getPrivateEndpointConnectionListNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listProcessesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection + bodyMapper: Mappers.ProcessInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30487,21 +30465,23 @@ const listConfigurationSnapshotInfoSlotNextOperationSpec: coreClient.OperationSp Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listContinuousWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { +const listProcessModulesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ContinuousWebJobCollection + bodyMapper: Mappers.ProcessModuleInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30509,21 +30489,24 @@ const listContinuousWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSlotSiteDeploymentStatusesSlotNextOperationSpec: coreClient.OperationSpec = { +const listProcessThreadsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmDeploymentStatusCollection + bodyMapper: Mappers.ProcessThreadInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30531,21 +30514,21 @@ const listSlotSiteDeploymentStatusesSlotNextOperationSpec: coreClient.OperationS Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listDeploymentsSlotNextOperationSpec: coreClient.OperationSpec = { +const listPublicCertificatesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.DeploymentCollection + bodyMapper: Mappers.PublicCertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30553,21 +30536,20 @@ const listDeploymentsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listDomainOwnershipIdentifiersSlotNextOperationSpec: coreClient.OperationSpec = { +const listSiteContainersNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IdentifierCollection + bodyMapper: Mappers.SiteContainerCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30575,24 +30557,23 @@ const listDomainOwnershipIdentifiersSlotNextOperationSpec: coreClient.OperationS Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listInstanceFunctionsSlotNextOperationSpec: coreClient.OperationSpec = { +const listSiteExtensionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.FunctionEnvelopeCollection + bodyMapper: Mappers.SiteExtensionInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30600,21 +30581,20 @@ const listInstanceFunctionsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listHostNameBindingsSlotNextOperationSpec: coreClient.OperationSpec = { +const listSlotsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.HostNameBindingCollection + bodyMapper: Mappers.WebAppCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30622,21 +30602,20 @@ const listHostNameBindingsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listInstanceIdentifiersSlotNextOperationSpec: coreClient.OperationSpec = { +const listBackupsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebAppInstanceStatusCollection + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30644,24 +30623,44 @@ const listInstanceIdentifiersSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listInstanceProcessesSlotNextOperationSpec: coreClient.OperationSpec = { +const listBasicPublishingCredentialsPoliciesSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PublishingCredentialsPoliciesCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listConfigurationsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfoCollection - }, - 404: { - isError: true + bodyMapper: Mappers.SiteConfigResourceCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30670,24 +30669,89 @@ const listInstanceProcessesSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.nextLink, Parameters.slot, - Parameters.instanceId ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listInstanceProcessModulesSlotNextOperationSpec: coreClient.OperationSpec = { +const getAppSettingsKeyVaultReferencesSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const getSiteConnectionStringKeyVaultReferencesSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ApiKVReferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listConfigurationSnapshotInfoSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SiteConfigurationSnapshotInfoCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listContinuousWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection - }, - 404: { - isError: true + bodyMapper: Mappers.ContinuousWebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30696,25 +30760,43 @@ const listInstanceProcessModulesSlotNextOperationSpec: coreClient.OperationSpec Parameters.name, Parameters.nextLink, Parameters.slot, - Parameters.instanceId, - Parameters.processId ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listInstanceProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec = { +const listSlotSiteDeploymentStatusesSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CsmDeploymentStatusCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listDeploymentsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection - }, - 404: { - isError: true + bodyMapper: Mappers.DeploymentCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30723,22 +30805,46 @@ const listInstanceProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec Parameters.name, Parameters.nextLink, Parameters.slot, - Parameters.instanceId, - Parameters.processId ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSiteBackupsSlotNextOperationSpec: coreClient.OperationSpec = { +const listDomainOwnershipIdentifiersSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.IdentifierCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listInstanceFunctionsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BackupItemCollection + bodyMapper: Mappers.FunctionEnvelopeCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30746,21 +30852,21 @@ const listSiteBackupsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listPerfMonCountersSlotNextOperationSpec: coreClient.OperationSpec = { +const listHostNameBindingsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PerfMonCounterCollection + bodyMapper: Mappers.HostNameBindingCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30768,21 +30874,21 @@ const listPerfMonCountersSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getPrivateEndpointConnectionListSlotNextOperationSpec: coreClient.OperationSpec = { +const listInstanceIdentifiersSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnectionCollection + bodyMapper: Mappers.WebAppInstanceStatusCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30790,24 +30896,24 @@ const getPrivateEndpointConnectionListSlotNextOperationSpec: coreClient.Operatio Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listProcessesSlotNextOperationSpec: coreClient.OperationSpec = { +const listInstanceProcessesSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessInfoCollection + bodyMapper: Mappers.ProcessInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30815,24 +30921,78 @@ const listProcessesSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, + Parameters.instanceId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listProcessModulesSlotNextOperationSpec: coreClient.OperationSpec = { +const listInstanceProcessModulesSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProcessModuleInfoCollection, + }, + 404: { + isError: true, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + Parameters.instanceId, + Parameters.processId, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listInstanceProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ProcessThreadInfoCollection, + }, + 404: { + isError: true, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + Parameters.instanceId, + Parameters.processId, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listSiteBackupsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessModuleInfoCollection - }, - 404: { - isError: true + bodyMapper: Mappers.BackupItemCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30841,24 +31001,20 @@ const listProcessModulesSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.nextLink, Parameters.slot, - Parameters.processId ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec = { +const listPerfMonCountersSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ProcessThreadInfoCollection - }, - 404: { - isError: true + bodyMapper: Mappers.PerfMonCounterCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30867,21 +31023,46 @@ const listProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.nextLink, Parameters.slot, - Parameters.processId ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listPublicCertificatesSlotNextOperationSpec: coreClient.OperationSpec = { +const getPrivateEndpointConnectionListSlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listProcessesSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PublicCertificateCollection + bodyMapper: Mappers.ProcessInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30889,24 +31070,24 @@ const listPublicCertificatesSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSiteExtensionsSlotNextOperationSpec: coreClient.OperationSpec = { +const listProcessModulesSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SiteExtensionInfoCollection + bodyMapper: Mappers.ProcessModuleInfoCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30914,21 +31095,25 @@ const listSiteExtensionsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, + Parameters.processId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSlotDifferencesSlotNextOperationSpec: coreClient.OperationSpec = { +const listProcessThreadsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SlotDifferenceCollection + bodyMapper: Mappers.ProcessThreadInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30936,22 +31121,22 @@ const listSlotDifferencesSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, + Parameters.processId, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const listSnapshotsSlotNextOperationSpec: coreClient.OperationSpec = { +const listPublicCertificatesSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.PublicCertificateCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30959,21 +31144,21 @@ const listSnapshotsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSnapshotsFromDRSecondarySlotNextOperationSpec: coreClient.OperationSpec = { +const listSiteContainersSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.SiteContainerCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -30981,21 +31166,24 @@ const listSnapshotsFromDRSecondarySlotNextOperationSpec: coreClient.OperationSpe Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listTriggeredWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { +const listSiteExtensionsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredWebJobCollection + bodyMapper: Mappers.SiteExtensionInfoCollection, + }, + 404: { + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -31003,24 +31191,21 @@ const listTriggeredWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listTriggeredWebJobHistorySlotNextOperationSpec: coreClient.OperationSpec = { +const listSlotDifferencesSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredJobHistoryCollection - }, - 404: { - isError: true + bodyMapper: Mappers.SlotDifferenceCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -31029,21 +31214,21 @@ const listTriggeredWebJobHistorySlotNextOperationSpec: coreClient.OperationSpec Parameters.name, Parameters.nextLink, Parameters.slot, - Parameters.webJobName ], - headerParameters: [Parameters.accept], - serializer + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, }; -const listUsagesSlotNextOperationSpec: coreClient.OperationSpec = { +const listSnapshotsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.SnapshotCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -31051,21 +31236,44 @@ const listUsagesSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { +const listSnapshotsFromDRSecondarySlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SnapshotCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listTriggeredWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebJobCollection + bodyMapper: Mappers.TriggeredWebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -31073,109 +31281,182 @@ const listWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSlotDifferencesFromProductionNextOperationSpec: coreClient.OperationSpec = { +const listTriggeredWebJobHistorySlotNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.TriggeredJobHistoryCollection, + }, + 404: { + isError: true, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + Parameters.slot, + Parameters.webJobName, + ], + headerParameters: [Parameters.accept], + serializer, + }; +const listUsagesSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SlotDifferenceCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, + Parameters.slot, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer + headerParameters: [Parameters.accept], + serializer, }; -const listSnapshotsNextOperationSpec: coreClient.OperationSpec = { +const listWebJobsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.WebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSnapshotsFromDRSecondaryNextOperationSpec: coreClient.OperationSpec = { +const listSlotDifferencesFromProductionNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SlotDifferenceCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; +const listSnapshotsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SnapshotCollection + bodyMapper: Mappers.SnapshotCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; +const listSnapshotsFromDRSecondaryNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SnapshotCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept], + serializer, + }; const listTriggeredWebJobsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredWebJobCollection + bodyMapper: Mappers.TriggeredWebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listTriggeredWebJobHistoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.TriggeredJobHistoryCollection + bodyMapper: Mappers.TriggeredJobHistoryCollection, }, 404: { - isError: true + isError: true, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -31183,63 +31464,63 @@ const listTriggeredWebJobHistoryNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.webJobName + Parameters.webJobName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listUsagesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CsmUsageQuotaCollection + bodyMapper: Mappers.CsmUsageQuotaCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWebJobsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WebJobCollection + bodyMapper: Mappers.WebJobCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listInstanceWorkflowsSlotNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelopeCollection + bodyMapper: Mappers.WorkflowEnvelopeCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -31247,29 +31528,29 @@ const listInstanceWorkflowsSlotNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.slot + Parameters.slot, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listWorkflowsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowEnvelopeCollection + bodyMapper: Mappers.WorkflowEnvelopeCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitions.ts b/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitions.ts index 7c01f84ce061..82f6390bf542 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitions.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitions.ts @@ -25,13 +25,14 @@ import { WorkflowRunActionRepetitionsGetOptionalParams, WorkflowRunActionRepetitionsGetResponse, WorkflowRunActionRepetitionsListNextResponse, - WorkflowRunActionRepetitionsListExpressionTracesNextResponse + WorkflowRunActionRepetitionsListExpressionTracesNextResponse, } from "../models"; /// /** Class containing WorkflowRunActionRepetitions operations. */ export class WorkflowRunActionRepetitionsImpl - implements WorkflowRunActionRepetitions { + implements WorkflowRunActionRepetitions +{ private readonly client: WebSiteManagementClient; /** @@ -57,7 +58,7 @@ export class WorkflowRunActionRepetitionsImpl workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionRepetitionsListOptionalParams + options?: WorkflowRunActionRepetitionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, @@ -65,7 +66,7 @@ export class WorkflowRunActionRepetitionsImpl workflowName, runName, actionName, - options + options, ); return { next() { @@ -85,9 +86,9 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, options, - settings + settings, ); - } + }, }; } @@ -98,7 +99,7 @@ export class WorkflowRunActionRepetitionsImpl runName: string, actionName: string, options?: WorkflowRunActionRepetitionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowRunActionRepetitionsListResponse; let continuationToken = settings?.continuationToken; @@ -109,7 +110,7 @@ export class WorkflowRunActionRepetitionsImpl workflowName, runName, actionName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -124,7 +125,7 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -139,7 +140,7 @@ export class WorkflowRunActionRepetitionsImpl workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionRepetitionsListOptionalParams + options?: WorkflowRunActionRepetitionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, @@ -147,7 +148,7 @@ export class WorkflowRunActionRepetitionsImpl workflowName, runName, actionName, - options + options, )) { yield* page; } @@ -170,7 +171,7 @@ export class WorkflowRunActionRepetitionsImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams + options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listExpressionTracesPagingAll( resourceGroupName, @@ -179,7 +180,7 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, repetitionName, - options + options, ); return { next() { @@ -200,9 +201,9 @@ export class WorkflowRunActionRepetitionsImpl actionName, repetitionName, options, - settings + settings, ); - } + }, }; } @@ -214,7 +215,7 @@ export class WorkflowRunActionRepetitionsImpl actionName: string, repetitionName: string, options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowRunActionRepetitionsListExpressionTracesResponse; let continuationToken = settings?.continuationToken; @@ -226,7 +227,7 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, repetitionName, - options + options, ); let page = result.inputs || []; continuationToken = result.nextLink; @@ -242,7 +243,7 @@ export class WorkflowRunActionRepetitionsImpl actionName, repetitionName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.inputs || []; @@ -258,7 +259,7 @@ export class WorkflowRunActionRepetitionsImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams + options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listExpressionTracesPagingPage( resourceGroupName, @@ -267,7 +268,7 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, repetitionName, - options + options, )) { yield* page; } @@ -288,11 +289,11 @@ export class WorkflowRunActionRepetitionsImpl workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionRepetitionsListOptionalParams + options?: WorkflowRunActionRepetitionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, actionName, options }, - listOperationSpec + listOperationSpec, ); } @@ -313,7 +314,7 @@ export class WorkflowRunActionRepetitionsImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsGetOptionalParams + options?: WorkflowRunActionRepetitionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -323,9 +324,9 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, repetitionName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -346,7 +347,7 @@ export class WorkflowRunActionRepetitionsImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams + options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -356,9 +357,9 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, repetitionName, - options + options, }, - listExpressionTracesOperationSpec + listExpressionTracesOperationSpec, ); } @@ -379,7 +380,7 @@ export class WorkflowRunActionRepetitionsImpl runName: string, actionName: string, nextLink: string, - options?: WorkflowRunActionRepetitionsListNextOptionalParams + options?: WorkflowRunActionRepetitionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -389,9 +390,9 @@ export class WorkflowRunActionRepetitionsImpl runName, actionName, nextLink, - options + options, }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -414,7 +415,7 @@ export class WorkflowRunActionRepetitionsImpl actionName: string, repetitionName: string, nextLink: string, - options?: WorkflowRunActionRepetitionsListExpressionTracesNextOptionalParams + options?: WorkflowRunActionRepetitionsListExpressionTracesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -425,9 +426,9 @@ export class WorkflowRunActionRepetitionsImpl actionName, repetitionName, nextLink, - options + options, }, - listExpressionTracesNextOperationSpec + listExpressionTracesNextOperationSpec, ); } } @@ -435,16 +436,15 @@ export class WorkflowRunActionRepetitionsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -454,22 +454,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.workflowName1, Parameters.runName, - Parameters.actionName + Parameters.actionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -480,22 +479,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.workflowName1, Parameters.runName, Parameters.actionName, - Parameters.repetitionName + Parameters.repetitionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listExpressionTracesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ExpressionTraces + bodyMapper: Mappers.ExpressionTraces, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -506,21 +504,21 @@ const listExpressionTracesOperationSpec: coreClient.OperationSpec = { Parameters.workflowName1, Parameters.runName, Parameters.actionName, - Parameters.repetitionName + Parameters.repetitionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -530,21 +528,21 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.nextLink, Parameters.workflowName1, Parameters.runName, - Parameters.actionName + Parameters.actionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listExpressionTracesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ExpressionTraces + bodyMapper: Mappers.ExpressionTraces, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -555,8 +553,8 @@ const listExpressionTracesNextOperationSpec: coreClient.OperationSpec = { Parameters.workflowName1, Parameters.runName, Parameters.actionName, - Parameters.repetitionName + Parameters.repetitionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitionsRequestHistories.ts b/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitionsRequestHistories.ts index f87b80ead777..cd0ef6664bc6 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitionsRequestHistories.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowRunActionRepetitionsRequestHistories.ts @@ -20,13 +20,14 @@ import { WorkflowRunActionRepetitionsRequestHistoriesListResponse, WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams, WorkflowRunActionRepetitionsRequestHistoriesGetResponse, - WorkflowRunActionRepetitionsRequestHistoriesListNextResponse + WorkflowRunActionRepetitionsRequestHistoriesListNextResponse, } from "../models"; /// /** Class containing WorkflowRunActionRepetitionsRequestHistories operations. */ export class WorkflowRunActionRepetitionsRequestHistoriesImpl - implements WorkflowRunActionRepetitionsRequestHistories { + implements WorkflowRunActionRepetitionsRequestHistories +{ private readonly client: WebSiteManagementClient; /** @@ -54,7 +55,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams + options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, @@ -63,7 +64,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl runName, actionName, repetitionName, - options + options, ); return { next() { @@ -84,9 +85,9 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl actionName, repetitionName, options, - settings + settings, ); - } + }, }; } @@ -98,7 +99,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl actionName: string, repetitionName: string, options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowRunActionRepetitionsRequestHistoriesListResponse; let continuationToken = settings?.continuationToken; @@ -110,7 +111,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl runName, actionName, repetitionName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -126,7 +127,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl actionName, repetitionName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -142,7 +143,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams + options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, @@ -151,7 +152,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl runName, actionName, repetitionName, - options + options, )) { yield* page; } @@ -174,7 +175,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams + options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -184,9 +185,9 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl runName, actionName, repetitionName, - options + options, }, - listOperationSpec + listOperationSpec, ); } @@ -209,7 +210,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl actionName: string, repetitionName: string, requestHistoryName: string, - options?: WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams + options?: WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -220,9 +221,9 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl actionName, repetitionName, requestHistoryName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -245,7 +246,7 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl actionName: string, repetitionName: string, nextLink: string, - options?: WorkflowRunActionRepetitionsRequestHistoriesListNextOptionalParams + options?: WorkflowRunActionRepetitionsRequestHistoriesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -256,9 +257,9 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl actionName, repetitionName, nextLink, - options + options, }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -266,16 +267,15 @@ export class WorkflowRunActionRepetitionsRequestHistoriesImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RequestHistoryListResult + bodyMapper: Mappers.RequestHistoryListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -286,22 +286,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.workflowName1, Parameters.runName, Parameters.actionName, - Parameters.repetitionName + Parameters.repetitionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RequestHistory + bodyMapper: Mappers.RequestHistory, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -313,21 +312,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.runName, Parameters.actionName, Parameters.repetitionName, - Parameters.requestHistoryName + Parameters.requestHistoryName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.RequestHistoryListResult + bodyMapper: Mappers.RequestHistoryListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -338,8 +337,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.workflowName1, Parameters.runName, Parameters.actionName, - Parameters.repetitionName + Parameters.repetitionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowRunActionScopeRepetitions.ts b/sdk/appservice/arm-appservice/src/operations/workflowRunActionScopeRepetitions.ts index 33c0953af050..f8022afdf22d 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowRunActionScopeRepetitions.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowRunActionScopeRepetitions.ts @@ -20,13 +20,14 @@ import { WorkflowRunActionScopeRepetitionsListResponse, WorkflowRunActionScopeRepetitionsGetOptionalParams, WorkflowRunActionScopeRepetitionsGetResponse, - WorkflowRunActionScopeRepetitionsListNextResponse + WorkflowRunActionScopeRepetitionsListNextResponse, } from "../models"; /// /** Class containing WorkflowRunActionScopeRepetitions operations. */ export class WorkflowRunActionScopeRepetitionsImpl - implements WorkflowRunActionScopeRepetitions { + implements WorkflowRunActionScopeRepetitions +{ private readonly client: WebSiteManagementClient; /** @@ -52,7 +53,7 @@ export class WorkflowRunActionScopeRepetitionsImpl workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionScopeRepetitionsListOptionalParams + options?: WorkflowRunActionScopeRepetitionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, @@ -60,7 +61,7 @@ export class WorkflowRunActionScopeRepetitionsImpl workflowName, runName, actionName, - options + options, ); return { next() { @@ -80,9 +81,9 @@ export class WorkflowRunActionScopeRepetitionsImpl runName, actionName, options, - settings + settings, ); - } + }, }; } @@ -93,7 +94,7 @@ export class WorkflowRunActionScopeRepetitionsImpl runName: string, actionName: string, options?: WorkflowRunActionScopeRepetitionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowRunActionScopeRepetitionsListResponse; let continuationToken = settings?.continuationToken; @@ -104,7 +105,7 @@ export class WorkflowRunActionScopeRepetitionsImpl workflowName, runName, actionName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -119,7 +120,7 @@ export class WorkflowRunActionScopeRepetitionsImpl runName, actionName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -134,7 +135,7 @@ export class WorkflowRunActionScopeRepetitionsImpl workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionScopeRepetitionsListOptionalParams + options?: WorkflowRunActionScopeRepetitionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, @@ -142,7 +143,7 @@ export class WorkflowRunActionScopeRepetitionsImpl workflowName, runName, actionName, - options + options, )) { yield* page; } @@ -163,11 +164,11 @@ export class WorkflowRunActionScopeRepetitionsImpl workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionScopeRepetitionsListOptionalParams + options?: WorkflowRunActionScopeRepetitionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, actionName, options }, - listOperationSpec + listOperationSpec, ); } @@ -188,7 +189,7 @@ export class WorkflowRunActionScopeRepetitionsImpl runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionScopeRepetitionsGetOptionalParams + options?: WorkflowRunActionScopeRepetitionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -198,9 +199,9 @@ export class WorkflowRunActionScopeRepetitionsImpl runName, actionName, repetitionName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -221,7 +222,7 @@ export class WorkflowRunActionScopeRepetitionsImpl runName: string, actionName: string, nextLink: string, - options?: WorkflowRunActionScopeRepetitionsListNextOptionalParams + options?: WorkflowRunActionScopeRepetitionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -231,9 +232,9 @@ export class WorkflowRunActionScopeRepetitionsImpl runName, actionName, nextLink, - options + options, }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -241,16 +242,15 @@ export class WorkflowRunActionScopeRepetitionsImpl const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -260,22 +260,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.workflowName1, Parameters.runName, - Parameters.actionName + Parameters.actionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -286,21 +285,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.workflowName1, Parameters.runName, Parameters.actionName, - Parameters.repetitionName + Parameters.repetitionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -310,8 +309,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.nextLink, Parameters.workflowName1, Parameters.runName, - Parameters.actionName + Parameters.actionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowRunActions.ts b/sdk/appservice/arm-appservice/src/operations/workflowRunActions.ts index 7bc176cc0ce5..9ee3929150e9 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowRunActions.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowRunActions.ts @@ -25,7 +25,7 @@ import { WorkflowRunActionsGetOptionalParams, WorkflowRunActionsGetResponse, WorkflowRunActionsListNextResponse, - WorkflowRunActionsListExpressionTracesNextResponse + WorkflowRunActionsListExpressionTracesNextResponse, } from "../models"; /// @@ -54,14 +54,14 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { name: string, workflowName: string, runName: string, - options?: WorkflowRunActionsListOptionalParams + options?: WorkflowRunActionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, name, workflowName, runName, - options + options, ); return { next() { @@ -80,9 +80,9 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName, runName, options, - settings + settings, ); - } + }, }; } @@ -92,7 +92,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName: string, runName: string, options?: WorkflowRunActionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowRunActionsListResponse; let continuationToken = settings?.continuationToken; @@ -102,7 +102,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { name, workflowName, runName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -116,7 +116,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName, runName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -130,14 +130,14 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { name: string, workflowName: string, runName: string, - options?: WorkflowRunActionsListOptionalParams + options?: WorkflowRunActionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, name, workflowName, runName, - options + options, )) { yield* page; } @@ -158,7 +158,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionsListExpressionTracesOptionalParams + options?: WorkflowRunActionsListExpressionTracesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listExpressionTracesPagingAll( resourceGroupName, @@ -166,7 +166,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName, runName, actionName, - options + options, ); return { next() { @@ -186,9 +186,9 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { runName, actionName, options, - settings + settings, ); - } + }, }; } @@ -199,7 +199,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { runName: string, actionName: string, options?: WorkflowRunActionsListExpressionTracesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowRunActionsListExpressionTracesResponse; let continuationToken = settings?.continuationToken; @@ -210,7 +210,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName, runName, actionName, - options + options, ); let page = result.inputs || []; continuationToken = result.nextLink; @@ -225,7 +225,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { runName, actionName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.inputs || []; @@ -240,7 +240,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionsListExpressionTracesOptionalParams + options?: WorkflowRunActionsListExpressionTracesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listExpressionTracesPagingPage( resourceGroupName, @@ -248,7 +248,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName, runName, actionName, - options + options, )) { yield* page; } @@ -267,11 +267,11 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { name: string, workflowName: string, runName: string, - options?: WorkflowRunActionsListOptionalParams + options?: WorkflowRunActionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, options }, - listOperationSpec + listOperationSpec, ); } @@ -290,11 +290,11 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionsGetOptionalParams + options?: WorkflowRunActionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, actionName, options }, - getOperationSpec + getOperationSpec, ); } @@ -313,11 +313,11 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionsListExpressionTracesOptionalParams + options?: WorkflowRunActionsListExpressionTracesOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, actionName, options }, - listExpressionTracesOperationSpec + listExpressionTracesOperationSpec, ); } @@ -336,11 +336,11 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { workflowName: string, runName: string, nextLink: string, - options?: WorkflowRunActionsListNextOptionalParams + options?: WorkflowRunActionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } @@ -361,7 +361,7 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { runName: string, actionName: string, nextLink: string, - options?: WorkflowRunActionsListExpressionTracesNextOptionalParams + options?: WorkflowRunActionsListExpressionTracesNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -371,9 +371,9 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { runName, actionName, nextLink, - options + options, }, - listExpressionTracesNextOperationSpec + listExpressionTracesNextOperationSpec, ); } } @@ -381,16 +381,15 @@ export class WorkflowRunActionsImpl implements WorkflowRunActions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionListResult + bodyMapper: Mappers.WorkflowRunActionListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.top1, Parameters.filter1], urlParameters: [ @@ -399,22 +398,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.runName + Parameters.runName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunAction + bodyMapper: Mappers.WorkflowRunAction, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -424,22 +422,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.workflowName1, Parameters.runName, - Parameters.actionName + Parameters.actionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listExpressionTracesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ExpressionTraces + bodyMapper: Mappers.ExpressionTraces, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -449,21 +446,21 @@ const listExpressionTracesOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.workflowName1, Parameters.runName, - Parameters.actionName + Parameters.actionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunActionListResult + bodyMapper: Mappers.WorkflowRunActionListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -472,21 +469,21 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.nextLink, Parameters.workflowName1, - Parameters.runName + Parameters.runName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listExpressionTracesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ExpressionTraces + bodyMapper: Mappers.ExpressionTraces, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -496,8 +493,8 @@ const listExpressionTracesNextOperationSpec: coreClient.OperationSpec = { Parameters.nextLink, Parameters.workflowName1, Parameters.runName, - Parameters.actionName + Parameters.actionName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowRuns.ts b/sdk/appservice/arm-appservice/src/operations/workflowRuns.ts index 4e96cdc0d8f8..89a0c2b700c4 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowRuns.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowRuns.ts @@ -21,7 +21,7 @@ import { WorkflowRunsGetOptionalParams, WorkflowRunsGetResponse, WorkflowRunsCancelOptionalParams, - WorkflowRunsListNextResponse + WorkflowRunsListNextResponse, } from "../models"; /// @@ -48,13 +48,13 @@ export class WorkflowRunsImpl implements WorkflowRuns { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowRunsListOptionalParams + options?: WorkflowRunsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, name, workflowName, - options + options, ); return { next() { @@ -72,9 +72,9 @@ export class WorkflowRunsImpl implements WorkflowRuns { name, workflowName, options, - settings + settings, ); - } + }, }; } @@ -83,7 +83,7 @@ export class WorkflowRunsImpl implements WorkflowRuns { name: string, workflowName: string, options?: WorkflowRunsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowRunsListResponse; let continuationToken = settings?.continuationToken; @@ -100,7 +100,7 @@ export class WorkflowRunsImpl implements WorkflowRuns { name, workflowName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -113,13 +113,13 @@ export class WorkflowRunsImpl implements WorkflowRuns { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowRunsListOptionalParams + options?: WorkflowRunsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, name, workflowName, - options + options, )) { yield* page; } @@ -136,11 +136,11 @@ export class WorkflowRunsImpl implements WorkflowRuns { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowRunsListOptionalParams + options?: WorkflowRunsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, options }, - listOperationSpec + listOperationSpec, ); } @@ -157,11 +157,11 @@ export class WorkflowRunsImpl implements WorkflowRuns { name: string, workflowName: string, runName: string, - options?: WorkflowRunsGetOptionalParams + options?: WorkflowRunsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, options }, - getOperationSpec + getOperationSpec, ); } @@ -178,11 +178,11 @@ export class WorkflowRunsImpl implements WorkflowRuns { name: string, workflowName: string, runName: string, - options?: WorkflowRunsCancelOptionalParams + options?: WorkflowRunsCancelOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, runName, options }, - cancelOperationSpec + cancelOperationSpec, ); } @@ -199,11 +199,11 @@ export class WorkflowRunsImpl implements WorkflowRuns { name: string, workflowName: string, nextLink: string, - options?: WorkflowRunsListNextOptionalParams + options?: WorkflowRunsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -211,16 +211,15 @@ export class WorkflowRunsImpl implements WorkflowRuns { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunListResult + bodyMapper: Mappers.WorkflowRunListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.top1, Parameters.filter1], urlParameters: [ @@ -228,22 +227,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRun + bodyMapper: Mappers.WorkflowRun, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -252,20 +250,19 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.runName + Parameters.runName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const cancelOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/cancel", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/cancel", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -274,21 +271,21 @@ const cancelOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.runName + Parameters.runName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowRunListResult + bodyMapper: Mappers.WorkflowRunListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -296,8 +293,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowTriggerHistories.ts b/sdk/appservice/arm-appservice/src/operations/workflowTriggerHistories.ts index e6e4fc653495..9df176f78e50 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowTriggerHistories.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowTriggerHistories.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -27,7 +27,7 @@ import { WorkflowTriggerHistoriesGetOptionalParams, WorkflowTriggerHistoriesGetResponse, WorkflowTriggerHistoriesResubmitOptionalParams, - WorkflowTriggerHistoriesListNextResponse + WorkflowTriggerHistoriesListNextResponse, } from "../models"; /// @@ -56,14 +56,14 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggerHistoriesListOptionalParams + options?: WorkflowTriggerHistoriesListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, name, workflowName, triggerName, - options + options, ); return { next() { @@ -82,9 +82,9 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName, triggerName, options, - settings + settings, ); - } + }, }; } @@ -94,7 +94,7 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName: string, triggerName: string, options?: WorkflowTriggerHistoriesListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowTriggerHistoriesListResponse; let continuationToken = settings?.continuationToken; @@ -104,7 +104,7 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { name, workflowName, triggerName, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -118,7 +118,7 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName, triggerName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -132,14 +132,14 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggerHistoriesListOptionalParams + options?: WorkflowTriggerHistoriesListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, name, workflowName, triggerName, - options + options, )) { yield* page; } @@ -158,11 +158,11 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggerHistoriesListOptionalParams + options?: WorkflowTriggerHistoriesListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, triggerName, options }, - listOperationSpec + listOperationSpec, ); } @@ -182,7 +182,7 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName: string, triggerName: string, historyName: string, - options?: WorkflowTriggerHistoriesGetOptionalParams + options?: WorkflowTriggerHistoriesGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { @@ -191,9 +191,9 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName, triggerName, historyName, - options + options, }, - getOperationSpec + getOperationSpec, ); } @@ -213,25 +213,24 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName: string, triggerName: string, historyName: string, - options?: WorkflowTriggerHistoriesResubmitOptionalParams + options?: WorkflowTriggerHistoriesResubmitOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -240,8 +239,8 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -249,8 +248,8 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; @@ -262,13 +261,13 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName, triggerName, historyName, - options + options, }, - spec: resubmitOperationSpec + spec: resubmitOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -290,7 +289,7 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName: string, triggerName: string, historyName: string, - options?: WorkflowTriggerHistoriesResubmitOptionalParams + options?: WorkflowTriggerHistoriesResubmitOptionalParams, ): Promise { const poller = await this.beginResubmit( resourceGroupName, @@ -298,7 +297,7 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName, triggerName, historyName, - options + options, ); return poller.pollUntilDone(); } @@ -318,11 +317,11 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { workflowName: string, triggerName: string, nextLink: string, - options?: WorkflowTriggerHistoriesListNextOptionalParams + options?: WorkflowTriggerHistoriesListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, triggerName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -330,16 +329,15 @@ export class WorkflowTriggerHistoriesImpl implements WorkflowTriggerHistories { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowTriggerHistoryListResult + bodyMapper: Mappers.WorkflowTriggerHistoryListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.top1, Parameters.filter1], urlParameters: [ @@ -348,22 +346,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.triggerName + Parameters.triggerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowTriggerHistory + bodyMapper: Mappers.WorkflowTriggerHistory, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -373,14 +370,13 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.workflowName1, Parameters.triggerName, - Parameters.historyName + Parameters.historyName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const resubmitOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit", httpMethod: "POST", responses: { 200: {}, @@ -388,8 +384,8 @@ const resubmitOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -399,21 +395,21 @@ const resubmitOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.workflowName1, Parameters.triggerName, - Parameters.historyName + Parameters.historyName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowTriggerHistoryListResult + bodyMapper: Mappers.WorkflowTriggerHistoryListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -422,8 +418,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.name, Parameters.nextLink, Parameters.workflowName1, - Parameters.triggerName + Parameters.triggerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowTriggers.ts b/sdk/appservice/arm-appservice/src/operations/workflowTriggers.ts index c343ab1261b2..aa90df72f72e 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowTriggers.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowTriggers.ts @@ -16,7 +16,7 @@ import { WebSiteManagementClient } from "../webSiteManagementClient"; import { SimplePollerLike, OperationState, - createHttpPoller + createHttpPoller, } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl"; import { @@ -31,7 +31,7 @@ import { WorkflowTriggersRunOptionalParams, WorkflowTriggersGetSchemaJsonOptionalParams, WorkflowTriggersGetSchemaJsonResponse, - WorkflowTriggersListNextResponse + WorkflowTriggersListNextResponse, } from "../models"; /// @@ -58,13 +58,13 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowTriggersListOptionalParams + options?: WorkflowTriggersListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, name, workflowName, - options + options, ); return { next() { @@ -82,9 +82,9 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name, workflowName, options, - settings + settings, ); - } + }, }; } @@ -93,7 +93,7 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name: string, workflowName: string, options?: WorkflowTriggersListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowTriggersListResponse; let continuationToken = settings?.continuationToken; @@ -110,7 +110,7 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name, workflowName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -123,13 +123,13 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowTriggersListOptionalParams + options?: WorkflowTriggersListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, name, workflowName, - options + options, )) { yield* page; } @@ -146,11 +146,11 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowTriggersListOptionalParams + options?: WorkflowTriggersListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, options }, - listOperationSpec + listOperationSpec, ); } @@ -167,11 +167,11 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersGetOptionalParams + options?: WorkflowTriggersGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, triggerName, options }, - getOperationSpec + getOperationSpec, ); } @@ -188,11 +188,11 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersListCallbackUrlOptionalParams + options?: WorkflowTriggersListCallbackUrlOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, triggerName, options }, - listCallbackUrlOperationSpec + listCallbackUrlOperationSpec, ); } @@ -209,25 +209,24 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersRunOptionalParams + options?: WorkflowTriggersRunOptionalParams, ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, - spec: coreClient.OperationSpec + spec: coreClient.OperationSpec, ) => { - let currentRawResponse: - | coreClient.FullOperationResponse - | undefined = undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown + flatResponse: unknown, ) => { currentRawResponse = rawResponse; providedCallback?.(rawResponse, flatResponse); @@ -236,8 +235,8 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { ...args, options: { ...args.options, - onResponse: callback - } + onResponse: callback, + }, }; const flatResponse = await directSendOperation(updatedArgs, spec); return { @@ -245,19 +244,19 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { rawResponse: { statusCode: currentRawResponse!.status, body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON() - } + headers: currentRawResponse!.headers.toJSON(), + }, }; }; const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, name, workflowName, triggerName, options }, - spec: runOperationSpec + spec: runOperationSpec, }); const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, }); await poller.poll(); return poller; @@ -276,14 +275,14 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersRunOptionalParams + options?: WorkflowTriggersRunOptionalParams, ): Promise { const poller = await this.beginRun( resourceGroupName, name, workflowName, triggerName, - options + options, ); return poller.pollUntilDone(); } @@ -301,11 +300,11 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersGetSchemaJsonOptionalParams + options?: WorkflowTriggersGetSchemaJsonOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, triggerName, options }, - getSchemaJsonOperationSpec + getSchemaJsonOperationSpec, ); } @@ -322,11 +321,11 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { name: string, workflowName: string, nextLink: string, - options?: WorkflowTriggersListNextOptionalParams + options?: WorkflowTriggersListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -334,16 +333,15 @@ export class WorkflowTriggersImpl implements WorkflowTriggers { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowTriggerListResult + bodyMapper: Mappers.WorkflowTriggerListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.top1, Parameters.filter1], urlParameters: [ @@ -351,22 +349,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowTrigger + bodyMapper: Mappers.WorkflowTrigger, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -375,22 +372,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.triggerName + Parameters.triggerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listCallbackUrlOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WorkflowTriggerCallbackUrl + bodyMapper: Mappers.WorkflowTriggerCallbackUrl, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -399,14 +395,13 @@ const listCallbackUrlOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.triggerName + Parameters.triggerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const runOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/run", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/run", httpMethod: "POST", responses: { 200: {}, @@ -414,8 +409,8 @@ const runOperationSpec: coreClient.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -424,22 +419,21 @@ const runOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.triggerName + Parameters.triggerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSchemaJsonOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/schemas/json", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/schemas/json", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.JsonSchema + bodyMapper: Mappers.JsonSchema, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -448,21 +442,21 @@ const getSchemaJsonOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.triggerName + Parameters.triggerName, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowTriggerListResult + bodyMapper: Mappers.WorkflowTriggerListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -470,8 +464,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflowVersions.ts b/sdk/appservice/arm-appservice/src/operations/workflowVersions.ts index ba53fc2db9bc..2fbe7de58153 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflowVersions.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflowVersions.ts @@ -20,7 +20,7 @@ import { WorkflowVersionsListResponse, WorkflowVersionsGetOptionalParams, WorkflowVersionsGetResponse, - WorkflowVersionsListNextResponse + WorkflowVersionsListNextResponse, } from "../models"; /// @@ -47,13 +47,13 @@ export class WorkflowVersionsImpl implements WorkflowVersions { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowVersionsListOptionalParams + options?: WorkflowVersionsListOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPagingAll( resourceGroupName, name, workflowName, - options + options, ); return { next() { @@ -71,9 +71,9 @@ export class WorkflowVersionsImpl implements WorkflowVersions { name, workflowName, options, - settings + settings, ); - } + }, }; } @@ -82,7 +82,7 @@ export class WorkflowVersionsImpl implements WorkflowVersions { name: string, workflowName: string, options?: WorkflowVersionsListOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: WorkflowVersionsListResponse; let continuationToken = settings?.continuationToken; @@ -99,7 +99,7 @@ export class WorkflowVersionsImpl implements WorkflowVersions { name, workflowName, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -112,13 +112,13 @@ export class WorkflowVersionsImpl implements WorkflowVersions { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowVersionsListOptionalParams + options?: WorkflowVersionsListOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPagingPage( resourceGroupName, name, workflowName, - options + options, )) { yield* page; } @@ -135,11 +135,11 @@ export class WorkflowVersionsImpl implements WorkflowVersions { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowVersionsListOptionalParams + options?: WorkflowVersionsListOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, options }, - listOperationSpec + listOperationSpec, ); } @@ -156,11 +156,11 @@ export class WorkflowVersionsImpl implements WorkflowVersions { name: string, workflowName: string, versionId: string, - options?: WorkflowVersionsGetOptionalParams + options?: WorkflowVersionsGetOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, versionId, options }, - getOperationSpec + getOperationSpec, ); } @@ -177,11 +177,11 @@ export class WorkflowVersionsImpl implements WorkflowVersions { name: string, workflowName: string, nextLink: string, - options?: WorkflowVersionsListNextOptionalParams + options?: WorkflowVersionsListNextOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, nextLink, options }, - listNextOperationSpec + listNextOperationSpec, ); } } @@ -189,16 +189,15 @@ export class WorkflowVersionsImpl implements WorkflowVersions { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const listOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowVersionListResult + bodyMapper: Mappers.WorkflowVersionListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.top1], urlParameters: [ @@ -206,22 +205,21 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const getOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowVersion + bodyMapper: Mappers.WorkflowVersion, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -230,21 +228,21 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.workflowName1, - Parameters.versionId + Parameters.versionId, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkflowVersionListResult + bodyMapper: Mappers.WorkflowVersionListResult, }, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, urlParameters: [ Parameters.$host, @@ -252,8 +250,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.name, Parameters.nextLink, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operations/workflows.ts b/sdk/appservice/arm-appservice/src/operations/workflows.ts index 259a0110c215..009e45b7bd7f 100644 --- a/sdk/appservice/arm-appservice/src/operations/workflows.ts +++ b/sdk/appservice/arm-appservice/src/operations/workflows.ts @@ -15,7 +15,7 @@ import { RegenerateActionParameter, WorkflowsRegenerateAccessKeyOptionalParams, Workflow, - WorkflowsValidateOptionalParams + WorkflowsValidateOptionalParams, } from "../models"; /** Class containing Workflows operations. */ @@ -43,11 +43,11 @@ export class WorkflowsImpl implements Workflows { name: string, workflowName: string, keyType: RegenerateActionParameter, - options?: WorkflowsRegenerateAccessKeyOptionalParams + options?: WorkflowsRegenerateAccessKeyOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, keyType, options }, - regenerateAccessKeyOperationSpec + regenerateAccessKeyOperationSpec, ); } @@ -64,11 +64,11 @@ export class WorkflowsImpl implements Workflows { name: string, workflowName: string, validate: Workflow, - options?: WorkflowsValidateOptionalParams + options?: WorkflowsValidateOptionalParams, ): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, workflowName, validate, options }, - validateOperationSpec + validateOperationSpec, ); } } @@ -76,14 +76,13 @@ export class WorkflowsImpl implements Workflows { const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const regenerateAccessKeyOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/regenerateAccessKey", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/regenerateAccessKey", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.keyType1, queryParameters: [Parameters.apiVersion], @@ -92,21 +91,20 @@ const regenerateAccessKeyOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const validateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/validate", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/validate", httpMethod: "POST", responses: { 200: {}, default: { - bodyMapper: Mappers.ErrorResponse - } + bodyMapper: Mappers.ErrorResponse, + }, }, requestBody: Parameters.validate, queryParameters: [Parameters.apiVersion], @@ -115,9 +113,9 @@ const validateOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.name, - Parameters.workflowName1 + Parameters.workflowName1, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceCertificateOrders.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceCertificateOrders.ts index 0ba7079ec92c..b0bfe7c5aa78 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceCertificateOrders.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceCertificateOrders.ts @@ -45,7 +45,7 @@ import { AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams, AppServiceCertificateOrdersRetrieveCertificateActionsResponse, AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams, - AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse + AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse, } from "../models"; /// @@ -56,7 +56,7 @@ export interface AppServiceCertificateOrders { * @param options The options parameters. */ list( - options?: AppServiceCertificateOrdersListOptionalParams + options?: AppServiceCertificateOrdersListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get certificate orders in a resource group. @@ -65,7 +65,7 @@ export interface AppServiceCertificateOrders { */ listByResourceGroup( resourceGroupName: string, - options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams + options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List all certificates associated with a certificate order. @@ -76,7 +76,7 @@ export interface AppServiceCertificateOrders { listCertificates( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersListCertificatesOptionalParams + options?: AppServiceCertificateOrdersListCertificatesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Validate information for a certificate order. @@ -85,7 +85,7 @@ export interface AppServiceCertificateOrders { */ validatePurchaseInformation( appServiceCertificateOrder: AppServiceCertificateOrder, - options?: AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams + options?: AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams, ): Promise; /** * Description for Get a certificate order. @@ -96,7 +96,7 @@ export interface AppServiceCertificateOrders { get( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersGetOptionalParams + options?: AppServiceCertificateOrdersGetOptionalParams, ): Promise; /** * Description for Create or update a certificate purchase order. @@ -109,7 +109,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: AppServiceCertificateOrder, - options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -127,7 +127,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: AppServiceCertificateOrder, - options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams, ): Promise; /** * Description for Delete an existing certificate order. @@ -138,7 +138,7 @@ export interface AppServiceCertificateOrders { delete( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersDeleteOptionalParams + options?: AppServiceCertificateOrdersDeleteOptionalParams, ): Promise; /** * Description for Create or update a certificate purchase order. @@ -151,7 +151,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: AppServiceCertificateOrderPatchResource, - options?: AppServiceCertificateOrdersUpdateOptionalParams + options?: AppServiceCertificateOrdersUpdateOptionalParams, ): Promise; /** * Description for Get the certificate associated with a certificate order. @@ -164,7 +164,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, name: string, - options?: AppServiceCertificateOrdersGetCertificateOptionalParams + options?: AppServiceCertificateOrdersGetCertificateOptionalParams, ): Promise; /** * Description for Creates or updates a certificate and associates with key vault secret. @@ -179,12 +179,10 @@ export interface AppServiceCertificateOrders { certificateOrderName: string, name: string, keyVaultCertificate: AppServiceCertificateResource, - options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams, ): Promise< SimplePollerLike< - OperationState< - AppServiceCertificateOrdersCreateOrUpdateCertificateResponse - >, + OperationState, AppServiceCertificateOrdersCreateOrUpdateCertificateResponse > >; @@ -201,7 +199,7 @@ export interface AppServiceCertificateOrders { certificateOrderName: string, name: string, keyVaultCertificate: AppServiceCertificateResource, - options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams + options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams, ): Promise; /** * Description for Delete the certificate associated with a certificate order. @@ -214,7 +212,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, name: string, - options?: AppServiceCertificateOrdersDeleteCertificateOptionalParams + options?: AppServiceCertificateOrdersDeleteCertificateOptionalParams, ): Promise; /** * Description for Creates or updates a certificate and associates with key vault secret. @@ -229,7 +227,7 @@ export interface AppServiceCertificateOrders { certificateOrderName: string, name: string, keyVaultCertificate: AppServiceCertificatePatchResource, - options?: AppServiceCertificateOrdersUpdateCertificateOptionalParams + options?: AppServiceCertificateOrdersUpdateCertificateOptionalParams, ): Promise; /** * Description for Reissue an existing certificate order. @@ -242,7 +240,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: ReissueCertificateOrderRequest, - options?: AppServiceCertificateOrdersReissueOptionalParams + options?: AppServiceCertificateOrdersReissueOptionalParams, ): Promise; /** * Description for Renew an existing certificate order. @@ -255,7 +253,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: RenewCertificateOrderRequest, - options?: AppServiceCertificateOrdersRenewOptionalParams + options?: AppServiceCertificateOrdersRenewOptionalParams, ): Promise; /** * Description for Resend certificate email. @@ -266,7 +264,7 @@ export interface AppServiceCertificateOrders { resendEmail( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersResendEmailOptionalParams + options?: AppServiceCertificateOrdersResendEmailOptionalParams, ): Promise; /** * Resend domain verification ownership email containing steps on how to verify a domain for a given @@ -280,7 +278,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, nameIdentifier: NameIdentifier, - options?: AppServiceCertificateOrdersResendRequestEmailsOptionalParams + options?: AppServiceCertificateOrdersResendRequestEmailsOptionalParams, ): Promise; /** * This method is used to obtain the site seal information for an issued certificate. A site seal is a @@ -299,7 +297,7 @@ export interface AppServiceCertificateOrders { resourceGroupName: string, certificateOrderName: string, siteSealRequest: SiteSealRequest, - options?: AppServiceCertificateOrdersRetrieveSiteSealOptionalParams + options?: AppServiceCertificateOrdersRetrieveSiteSealOptionalParams, ): Promise; /** * Description for Verify domain ownership for this certificate order. @@ -310,7 +308,7 @@ export interface AppServiceCertificateOrders { verifyDomainOwnership( resourceGroupName: string, certificateOrderName: string, - options?: AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams + options?: AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams, ): Promise; /** * Description for Retrieve the list of certificate actions. @@ -321,7 +319,7 @@ export interface AppServiceCertificateOrders { retrieveCertificateActions( resourceGroupName: string, name: string, - options?: AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams + options?: AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams, ): Promise; /** * Description for Retrieve email history. @@ -332,8 +330,6 @@ export interface AppServiceCertificateOrders { retrieveCertificateEmailHistory( resourceGroupName: string, name: string, - options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams - ): Promise< - AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse - >; + options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams, + ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceEnvironments.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceEnvironments.ts index 3e312ae08ca4..b24fb533bd88 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceEnvironments.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/appServiceEnvironments.ts @@ -82,7 +82,6 @@ import { AppServiceEnvironmentsListOperationsResponse, AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams, AppServiceEnvironmentsGetPrivateEndpointConnectionResponse, - PrivateLinkConnectionApprovalRequestResource, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse, AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams, @@ -95,7 +94,7 @@ import { AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams, AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse, AppServiceEnvironmentsUpdateWorkerPoolOptionalParams, - AppServiceEnvironmentsUpdateWorkerPoolResponse + AppServiceEnvironmentsUpdateWorkerPoolResponse, } from "../models"; /// @@ -106,7 +105,7 @@ export interface AppServiceEnvironments { * @param options The options parameters. */ list( - options?: AppServiceEnvironmentsListOptionalParams + options?: AppServiceEnvironmentsListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all App Service Environments in a resource group. @@ -115,7 +114,7 @@ export interface AppServiceEnvironments { */ listByResourceGroup( resourceGroupName: string, - options?: AppServiceEnvironmentsListByResourceGroupOptionalParams + options?: AppServiceEnvironmentsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get the used, available, and total worker capacity an App Service Environment. @@ -126,7 +125,7 @@ export interface AppServiceEnvironments { listCapacities( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListCapacitiesOptionalParams + options?: AppServiceEnvironmentsListCapacitiesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Move an App Service Environment to a different VNET. @@ -139,7 +138,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, vnetInfo: VirtualNetworkProfile, - options?: AppServiceEnvironmentsChangeVnetOptionalParams + options?: AppServiceEnvironmentsChangeVnetOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get the network endpoints of all inbound dependencies of an App Service Environment. @@ -150,7 +149,7 @@ export interface AppServiceEnvironments { listInboundNetworkDependenciesEndpoints( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams + options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all multi-role pools. @@ -161,7 +160,7 @@ export interface AppServiceEnvironments { listMultiRolePools( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get metric definitions for a specific instance of a multi-role pool of an App @@ -175,7 +174,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, instance: string, - options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get metric definitions for a multi-role pool of an App Service Environment. @@ -186,7 +185,7 @@ export interface AppServiceEnvironments { listMultiRoleMetricDefinitions( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get available SKUs for scaling a multi-role pool. @@ -197,7 +196,7 @@ export interface AppServiceEnvironments { listMultiRolePoolSkus( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams + options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get usage metrics for a multi-role pool of an App Service Environment. @@ -208,7 +207,7 @@ export interface AppServiceEnvironments { listMultiRoleUsages( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams + options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get the network endpoints of all outbound dependencies of an App Service @@ -220,7 +219,7 @@ export interface AppServiceEnvironments { listOutboundNetworkDependenciesEndpoints( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams + options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the list of private endpoints associated with a hosting environment @@ -231,7 +230,7 @@ export interface AppServiceEnvironments { listPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams + options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Resume an App Service Environment. @@ -242,7 +241,7 @@ export interface AppServiceEnvironments { beginListResumeAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsResumeOptionalParams + options?: AppServiceEnvironmentsResumeOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all App Service plans in an App Service Environment. @@ -253,7 +252,7 @@ export interface AppServiceEnvironments { listAppServicePlans( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListAppServicePlansOptionalParams + options?: AppServiceEnvironmentsListAppServicePlansOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all apps in an App Service Environment. @@ -264,7 +263,7 @@ export interface AppServiceEnvironments { listWebApps( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWebAppsOptionalParams + options?: AppServiceEnvironmentsListWebAppsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Suspend an App Service Environment. @@ -275,7 +274,7 @@ export interface AppServiceEnvironments { beginListSuspendAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsSuspendOptionalParams + options?: AppServiceEnvironmentsSuspendOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get global usage metrics of an App Service Environment. @@ -286,7 +285,7 @@ export interface AppServiceEnvironments { listUsages( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListUsagesOptionalParams + options?: AppServiceEnvironmentsListUsagesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all worker pools of an App Service Environment. @@ -297,7 +296,7 @@ export interface AppServiceEnvironments { listWorkerPools( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get metric definitions for a specific instance of a worker pool of an App Service @@ -313,7 +312,7 @@ export interface AppServiceEnvironments { name: string, workerPoolName: string, instance: string, - options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get metric definitions for a worker pool of an App Service Environment. @@ -326,7 +325,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams + options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get available SKUs for scaling a worker pool. @@ -339,7 +338,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams + options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get usage metrics for a worker pool of an App Service Environment. @@ -352,7 +351,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams + options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get the properties of an App Service Environment. @@ -363,7 +362,7 @@ export interface AppServiceEnvironments { get( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetOptionalParams + options?: AppServiceEnvironmentsGetOptionalParams, ): Promise; /** * Description for Create or update an App Service Environment. @@ -376,7 +375,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentResource, - options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -394,7 +393,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentResource, - options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams, ): Promise; /** * Description for Delete an App Service Environment. @@ -405,7 +404,7 @@ export interface AppServiceEnvironments { beginDelete( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsDeleteOptionalParams + options?: AppServiceEnvironmentsDeleteOptionalParams, ): Promise, void>>; /** * Description for Delete an App Service Environment. @@ -416,7 +415,7 @@ export interface AppServiceEnvironments { beginDeleteAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsDeleteOptionalParams + options?: AppServiceEnvironmentsDeleteOptionalParams, ): Promise; /** * Description for Create or update an App Service Environment. @@ -429,7 +428,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, hostingEnvironmentEnvelope: AppServiceEnvironmentPatchResource, - options?: AppServiceEnvironmentsUpdateOptionalParams + options?: AppServiceEnvironmentsUpdateOptionalParams, ): Promise; /** * Description for Get IP addresses assigned to an App Service Environment. @@ -440,7 +439,7 @@ export interface AppServiceEnvironments { getVipInfo( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetVipInfoOptionalParams + options?: AppServiceEnvironmentsGetVipInfoOptionalParams, ): Promise; /** * Get Custom Dns Suffix configuration of an App Service Environment @@ -451,7 +450,7 @@ export interface AppServiceEnvironments { getAseCustomDnsSuffixConfiguration( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptionalParams + options?: AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptionalParams, ): Promise; /** * Update Custom Dns Suffix configuration of an App Service Environment @@ -464,10 +463,8 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, customDnsSuffixConfiguration: CustomDnsSuffixConfiguration, - options?: AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams - ): Promise< - AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationResponse - >; + options?: AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams, + ): Promise; /** * Delete Custom Dns Suffix configuration of an App Service Environment * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -477,10 +474,8 @@ export interface AppServiceEnvironments { deleteAseCustomDnsSuffixConfiguration( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams - ): Promise< - AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationResponse - >; + options?: AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams, + ): Promise; /** * Description for Get networking configuration of an App Service Environment * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -490,7 +485,7 @@ export interface AppServiceEnvironments { getAseV3NetworkingConfiguration( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams + options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams, ): Promise; /** * Description for Update networking configuration of an App Service Environment @@ -503,7 +498,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, aseNetworkingConfiguration: AseV3NetworkingConfiguration, - options?: AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams + options?: AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams, ): Promise; /** * Description for Get diagnostic information for an App Service Environment. @@ -514,7 +509,7 @@ export interface AppServiceEnvironments { listDiagnostics( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListDiagnosticsOptionalParams + options?: AppServiceEnvironmentsListDiagnosticsOptionalParams, ): Promise; /** * Description for Get a diagnostics item for an App Service Environment. @@ -527,7 +522,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, diagnosticsName: string, - options?: AppServiceEnvironmentsGetDiagnosticsItemOptionalParams + options?: AppServiceEnvironmentsGetDiagnosticsItemOptionalParams, ): Promise; /** * Description for Get properties of a multi-role pool. @@ -538,7 +533,7 @@ export interface AppServiceEnvironments { getMultiRolePool( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsGetMultiRolePoolOptionalParams, ): Promise; /** * Description for Create or update a multi-role pool. @@ -551,7 +546,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, multiRolePoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -569,7 +564,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, multiRolePoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams, ): Promise; /** * Description for Create or update a multi-role pool. @@ -582,7 +577,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, multiRolePoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams + options?: AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams, ): Promise; /** * Send a test notification that an upgrade is available for this App Service Environment. @@ -593,7 +588,7 @@ export interface AppServiceEnvironments { testUpgradeAvailableNotification( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams + options?: AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams, ): Promise; /** * Description for Initiate an upgrade of an App Service Environment if one is available. @@ -604,7 +599,7 @@ export interface AppServiceEnvironments { beginUpgrade( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsUpgradeOptionalParams + options?: AppServiceEnvironmentsUpgradeOptionalParams, ): Promise, void>>; /** * Description for Initiate an upgrade of an App Service Environment if one is available. @@ -615,7 +610,7 @@ export interface AppServiceEnvironments { beginUpgradeAndWait( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsUpgradeOptionalParams + options?: AppServiceEnvironmentsUpgradeOptionalParams, ): Promise; /** * Description for List all currently running operations on the App Service Environment. @@ -626,7 +621,7 @@ export interface AppServiceEnvironments { listOperations( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsListOperationsOptionalParams + options?: AppServiceEnvironmentsListOperationsOptionalParams, ): Promise; /** * Description for Gets a private endpoint connection @@ -639,27 +634,25 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams + options?: AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Approves or rejects a private endpoint connection * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ beginApproveOrRejectPrivateEndpointConnection( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< - OperationState< - AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse - >, + OperationState, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse > >; @@ -668,18 +661,16 @@ export interface AppServiceEnvironments { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ beginApproveOrRejectPrivateEndpointConnectionAndWait( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams - ): Promise< - AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse - >; + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams, + ): Promise; /** * Description for Deletes a private endpoint connection * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -691,12 +682,10 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams + options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< - OperationState< - AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse - >, + OperationState, AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse > >; @@ -711,7 +700,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams + options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Gets the private link resources @@ -722,7 +711,7 @@ export interface AppServiceEnvironments { getPrivateLinkResources( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams + options?: AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams, ): Promise; /** * Description for Reboot all machines in an App Service Environment. @@ -733,7 +722,7 @@ export interface AppServiceEnvironments { reboot( resourceGroupName: string, name: string, - options?: AppServiceEnvironmentsRebootOptionalParams + options?: AppServiceEnvironmentsRebootOptionalParams, ): Promise; /** * Description for Get properties of a worker pool. @@ -746,7 +735,7 @@ export interface AppServiceEnvironments { resourceGroupName: string, name: string, workerPoolName: string, - options?: AppServiceEnvironmentsGetWorkerPoolOptionalParams + options?: AppServiceEnvironmentsGetWorkerPoolOptionalParams, ): Promise; /** * Description for Create or update a worker pool. @@ -761,7 +750,7 @@ export interface AppServiceEnvironments { name: string, workerPoolName: string, workerPoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -781,7 +770,7 @@ export interface AppServiceEnvironments { name: string, workerPoolName: string, workerPoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams + options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams, ): Promise; /** * Description for Create or update a worker pool. @@ -796,6 +785,6 @@ export interface AppServiceEnvironments { name: string, workerPoolName: string, workerPoolEnvelope: WorkerPoolResource, - options?: AppServiceEnvironmentsUpdateWorkerPoolOptionalParams + options?: AppServiceEnvironmentsUpdateWorkerPoolOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/appServicePlans.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/appServicePlans.ts index 6219a6e22de3..dbf3748eb253 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/appServicePlans.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/appServicePlans.ts @@ -58,7 +58,7 @@ import { AppServicePlansDeleteVnetRouteOptionalParams, AppServicePlansUpdateVnetRouteOptionalParams, AppServicePlansUpdateVnetRouteResponse, - AppServicePlansRebootWorkerOptionalParams + AppServicePlansRebootWorkerOptionalParams, } from "../models"; /// @@ -69,7 +69,7 @@ export interface AppServicePlans { * @param options The options parameters. */ list( - options?: AppServicePlansListOptionalParams + options?: AppServicePlansListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all App Service plans in a resource group. @@ -78,7 +78,7 @@ export interface AppServicePlans { */ listByResourceGroup( resourceGroupName: string, - options?: AppServicePlansListByResourceGroupOptionalParams + options?: AppServicePlansListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all apps that use a Hybrid Connection in an App Service Plan. @@ -93,7 +93,7 @@ export interface AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams + options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Retrieve all Hybrid Connections in use in an App Service plan. @@ -104,7 +104,7 @@ export interface AppServicePlans { listHybridConnections( resourceGroupName: string, name: string, - options?: AppServicePlansListHybridConnectionsOptionalParams + options?: AppServicePlansListHybridConnectionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all apps associated with an App Service plan. @@ -115,7 +115,7 @@ export interface AppServicePlans { listWebApps( resourceGroupName: string, name: string, - options?: AppServicePlansListWebAppsOptionalParams + options?: AppServicePlansListWebAppsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets server farm usage information @@ -126,7 +126,7 @@ export interface AppServicePlans { listUsages( resourceGroupName: string, name: string, - options?: AppServicePlansListUsagesOptionalParams + options?: AppServicePlansListUsagesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get an App Service plan. @@ -137,7 +137,7 @@ export interface AppServicePlans { get( resourceGroupName: string, name: string, - options?: AppServicePlansGetOptionalParams + options?: AppServicePlansGetOptionalParams, ): Promise; /** * Description for Creates or updates an App Service Plan. @@ -150,7 +150,7 @@ export interface AppServicePlans { resourceGroupName: string, name: string, appServicePlan: AppServicePlan, - options?: AppServicePlansCreateOrUpdateOptionalParams + options?: AppServicePlansCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -168,7 +168,7 @@ export interface AppServicePlans { resourceGroupName: string, name: string, appServicePlan: AppServicePlan, - options?: AppServicePlansCreateOrUpdateOptionalParams + options?: AppServicePlansCreateOrUpdateOptionalParams, ): Promise; /** * Description for Delete an App Service plan. @@ -179,7 +179,7 @@ export interface AppServicePlans { delete( resourceGroupName: string, name: string, - options?: AppServicePlansDeleteOptionalParams + options?: AppServicePlansDeleteOptionalParams, ): Promise; /** * Description for Creates or updates an App Service Plan. @@ -192,7 +192,7 @@ export interface AppServicePlans { resourceGroupName: string, name: string, appServicePlan: AppServicePlanPatchResource, - options?: AppServicePlansUpdateOptionalParams + options?: AppServicePlansUpdateOptionalParams, ): Promise; /** * Description for List all capabilities of an App Service plan. @@ -203,7 +203,7 @@ export interface AppServicePlans { listCapabilities( resourceGroupName: string, name: string, - options?: AppServicePlansListCapabilitiesOptionalParams + options?: AppServicePlansListCapabilitiesOptionalParams, ): Promise; /** * Description for Retrieve a Hybrid Connection in use in an App Service plan. @@ -218,7 +218,7 @@ export interface AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansGetHybridConnectionOptionalParams + options?: AppServicePlansGetHybridConnectionOptionalParams, ): Promise; /** * Description for Delete a Hybrid Connection in use in an App Service plan. @@ -233,7 +233,7 @@ export interface AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansDeleteHybridConnectionOptionalParams + options?: AppServicePlansDeleteHybridConnectionOptionalParams, ): Promise; /** * Description for Get the send key name and value of a Hybrid Connection. @@ -248,7 +248,7 @@ export interface AppServicePlans { name: string, namespaceName: string, relayName: string, - options?: AppServicePlansListHybridConnectionKeysOptionalParams + options?: AppServicePlansListHybridConnectionKeysOptionalParams, ): Promise; /** * Description for Get the maximum number of Hybrid Connections allowed in an App Service plan. @@ -259,7 +259,7 @@ export interface AppServicePlans { getHybridConnectionPlanLimit( resourceGroupName: string, name: string, - options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams + options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams, ): Promise; /** * Description for Restart all apps in an App Service plan. @@ -270,7 +270,7 @@ export interface AppServicePlans { restartWebApps( resourceGroupName: string, name: string, - options?: AppServicePlansRestartWebAppsOptionalParams + options?: AppServicePlansRestartWebAppsOptionalParams, ): Promise; /** * Description for Gets all selectable SKUs for a given App Service Plan @@ -281,7 +281,7 @@ export interface AppServicePlans { getServerFarmSkus( resourceGroupName: string, name: string, - options?: AppServicePlansGetServerFarmSkusOptionalParams + options?: AppServicePlansGetServerFarmSkusOptionalParams, ): Promise; /** * Description for Get all Virtual Networks associated with an App Service plan. @@ -292,7 +292,7 @@ export interface AppServicePlans { listVnets( resourceGroupName: string, name: string, - options?: AppServicePlansListVnetsOptionalParams + options?: AppServicePlansListVnetsOptionalParams, ): Promise; /** * Description for Get a Virtual Network associated with an App Service plan. @@ -305,7 +305,7 @@ export interface AppServicePlans { resourceGroupName: string, name: string, vnetName: string, - options?: AppServicePlansGetVnetFromServerFarmOptionalParams + options?: AppServicePlansGetVnetFromServerFarmOptionalParams, ): Promise; /** * Description for Get a Virtual Network gateway. @@ -320,7 +320,7 @@ export interface AppServicePlans { name: string, vnetName: string, gatewayName: string, - options?: AppServicePlansGetVnetGatewayOptionalParams + options?: AppServicePlansGetVnetGatewayOptionalParams, ): Promise; /** * Description for Update a Virtual Network gateway. @@ -337,7 +337,7 @@ export interface AppServicePlans { vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, - options?: AppServicePlansUpdateVnetGatewayOptionalParams + options?: AppServicePlansUpdateVnetGatewayOptionalParams, ): Promise; /** * Description for Get all routes that are associated with a Virtual Network in an App Service plan. @@ -350,7 +350,7 @@ export interface AppServicePlans { resourceGroupName: string, name: string, vnetName: string, - options?: AppServicePlansListRoutesForVnetOptionalParams + options?: AppServicePlansListRoutesForVnetOptionalParams, ): Promise; /** * Description for Get a Virtual Network route in an App Service plan. @@ -365,7 +365,7 @@ export interface AppServicePlans { name: string, vnetName: string, routeName: string, - options?: AppServicePlansGetRouteForVnetOptionalParams + options?: AppServicePlansGetRouteForVnetOptionalParams, ): Promise; /** * Description for Create or update a Virtual Network route in an App Service plan. @@ -382,7 +382,7 @@ export interface AppServicePlans { vnetName: string, routeName: string, route: VnetRoute, - options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams + options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams, ): Promise; /** * Description for Delete a Virtual Network route in an App Service plan. @@ -397,7 +397,7 @@ export interface AppServicePlans { name: string, vnetName: string, routeName: string, - options?: AppServicePlansDeleteVnetRouteOptionalParams + options?: AppServicePlansDeleteVnetRouteOptionalParams, ): Promise; /** * Description for Create or update a Virtual Network route in an App Service plan. @@ -414,7 +414,7 @@ export interface AppServicePlans { vnetName: string, routeName: string, route: VnetRoute, - options?: AppServicePlansUpdateVnetRouteOptionalParams + options?: AppServicePlansUpdateVnetRouteOptionalParams, ): Promise; /** * Description for Reboot a worker machine in an App Service plan. @@ -427,6 +427,6 @@ export interface AppServicePlans { resourceGroupName: string, name: string, workerName: string, - options?: AppServicePlansRebootWorkerOptionalParams + options?: AppServicePlansRebootWorkerOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateOrdersDiagnostics.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateOrdersDiagnostics.ts index 84470f4079a1..154b6093f7ee 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateOrdersDiagnostics.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateOrdersDiagnostics.ts @@ -11,7 +11,7 @@ import { DetectorResponse, CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams, CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams, - CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse + CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse, } from "../models"; /// @@ -26,7 +26,7 @@ export interface CertificateOrdersDiagnostics { listAppServiceCertificateOrderDetectorResponse( resourceGroupName: string, certificateOrderName: string, - options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams + options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Microsoft.CertificateRegistration call to get a detector response from App Lens. @@ -39,8 +39,6 @@ export interface CertificateOrdersDiagnostics { resourceGroupName: string, certificateOrderName: string, detectorName: string, - options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams - ): Promise< - CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse - >; + options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams, + ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateRegistrationProvider.ts index f8b71e17eb2c..a910c75b4928 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/certificateRegistrationProvider.ts @@ -9,7 +9,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { CsmOperationDescription, - CertificateRegistrationProviderListOperationsOptionalParams + CertificateRegistrationProviderListOperationsOptionalParams, } from "../models"; /// @@ -21,6 +21,6 @@ export interface CertificateRegistrationProvider { * @param options The options parameters. */ listOperations( - options?: CertificateRegistrationProviderListOperationsOptionalParams + options?: CertificateRegistrationProviderListOperationsOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/certificates.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/certificates.ts index cba021fc1595..6184d583334f 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/certificates.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/certificates.ts @@ -18,7 +18,7 @@ import { CertificatesDeleteOptionalParams, CertificatePatchResource, CertificatesUpdateOptionalParams, - CertificatesUpdateResponse + CertificatesUpdateResponse, } from "../models"; /// @@ -29,7 +29,7 @@ export interface Certificates { * @param options The options parameters. */ list( - options?: CertificatesListOptionalParams + options?: CertificatesListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all certificates in a resource group. @@ -38,7 +38,7 @@ export interface Certificates { */ listByResourceGroup( resourceGroupName: string, - options?: CertificatesListByResourceGroupOptionalParams + options?: CertificatesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get a certificate. @@ -49,7 +49,7 @@ export interface Certificates { get( resourceGroupName: string, name: string, - options?: CertificatesGetOptionalParams + options?: CertificatesGetOptionalParams, ): Promise; /** * Description for Create or update a certificate. @@ -62,7 +62,7 @@ export interface Certificates { resourceGroupName: string, name: string, certificateEnvelope: Certificate, - options?: CertificatesCreateOrUpdateOptionalParams + options?: CertificatesCreateOrUpdateOptionalParams, ): Promise; /** * Description for Delete a certificate. @@ -73,7 +73,7 @@ export interface Certificates { delete( resourceGroupName: string, name: string, - options?: CertificatesDeleteOptionalParams + options?: CertificatesDeleteOptionalParams, ): Promise; /** * Description for Create or update a certificate. @@ -86,6 +86,6 @@ export interface Certificates { resourceGroupName: string, name: string, certificateEnvelope: CertificatePatchResource, - options?: CertificatesUpdateOptionalParams + options?: CertificatesUpdateOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts index 377bd8cbe91c..64cfb1f466e0 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts @@ -18,7 +18,7 @@ import { ContainerAppsCreateOrUpdateResponse, ContainerAppsDeleteOptionalParams, ContainerAppsListSecretsOptionalParams, - ContainerAppsListSecretsResponse + ContainerAppsListSecretsResponse, } from "../models"; /// @@ -29,7 +29,7 @@ export interface ContainerApps { * @param options The options parameters. */ listBySubscription( - options?: ContainerAppsListBySubscriptionOptionalParams + options?: ContainerAppsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** * Get the Container Apps in a given resource group. @@ -38,7 +38,7 @@ export interface ContainerApps { */ listByResourceGroup( resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams + options?: ContainerAppsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Get the properties of a Container App. @@ -49,7 +49,7 @@ export interface ContainerApps { get( resourceGroupName: string, name: string, - options?: ContainerAppsGetOptionalParams + options?: ContainerAppsGetOptionalParams, ): Promise; /** * Description for Create or update a Container App. @@ -62,7 +62,7 @@ export interface ContainerApps { resourceGroupName: string, name: string, containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams + options?: ContainerAppsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -80,7 +80,7 @@ export interface ContainerApps { resourceGroupName: string, name: string, containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams + options?: ContainerAppsCreateOrUpdateOptionalParams, ): Promise; /** * Description for Delete a Container App. @@ -91,7 +91,7 @@ export interface ContainerApps { beginDelete( resourceGroupName: string, name: string, - options?: ContainerAppsDeleteOptionalParams + options?: ContainerAppsDeleteOptionalParams, ): Promise, void>>; /** * Description for Delete a Container App. @@ -102,7 +102,7 @@ export interface ContainerApps { beginDeleteAndWait( resourceGroupName: string, name: string, - options?: ContainerAppsDeleteOptionalParams + options?: ContainerAppsDeleteOptionalParams, ): Promise; /** * List secrets for a container app @@ -111,6 +111,6 @@ export interface ContainerApps { */ listSecrets( name: string, - options?: ContainerAppsListSecretsOptionalParams + options?: ContainerAppsListSecretsOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts index a6e571f0d820..6691395fbc81 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts @@ -14,7 +14,7 @@ import { ContainerAppsRevisionsGetRevisionResponse, ContainerAppsRevisionsActivateRevisionOptionalParams, ContainerAppsRevisionsDeactivateRevisionOptionalParams, - ContainerAppsRevisionsRestartRevisionOptionalParams + ContainerAppsRevisionsRestartRevisionOptionalParams, } from "../models"; /// @@ -29,7 +29,7 @@ export interface ContainerAppsRevisions { listRevisions( resourceGroupName: string, containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams + options?: ContainerAppsRevisionsListRevisionsOptionalParams, ): PagedAsyncIterableIterator; /** * Get a revision of a Container App. @@ -42,7 +42,7 @@ export interface ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsGetRevisionOptionalParams + options?: ContainerAppsRevisionsGetRevisionOptionalParams, ): Promise; /** * Activates a revision for a Container App @@ -55,7 +55,7 @@ export interface ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsActivateRevisionOptionalParams + options?: ContainerAppsRevisionsActivateRevisionOptionalParams, ): Promise; /** * Deactivates a revision for a Container App @@ -68,7 +68,7 @@ export interface ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams + options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams, ): Promise; /** * Restarts a revision for a Container App @@ -81,6 +81,6 @@ export interface ContainerAppsRevisions { resourceGroupName: string, containerAppName: string, name: string, - options?: ContainerAppsRevisionsRestartRevisionOptionalParams + options?: ContainerAppsRevisionsRestartRevisionOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/deletedWebApps.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/deletedWebApps.ts index 8711323a9126..83f6ac69ffbd 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/deletedWebApps.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/deletedWebApps.ts @@ -12,7 +12,7 @@ import { DeletedWebAppsListOptionalParams, DeletedWebAppsListByLocationOptionalParams, DeletedWebAppsGetDeletedWebAppByLocationOptionalParams, - DeletedWebAppsGetDeletedWebAppByLocationResponse + DeletedWebAppsGetDeletedWebAppByLocationResponse, } from "../models"; /// @@ -23,7 +23,7 @@ export interface DeletedWebApps { * @param options The options parameters. */ list( - options?: DeletedWebAppsListOptionalParams + options?: DeletedWebAppsListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all deleted apps for a subscription at location @@ -32,7 +32,7 @@ export interface DeletedWebApps { */ listByLocation( location: string, - options?: DeletedWebAppsListByLocationOptionalParams + options?: DeletedWebAppsListByLocationOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get deleted app for a subscription at location. @@ -43,6 +43,6 @@ export interface DeletedWebApps { getDeletedWebAppByLocation( location: string, deletedSiteId: string, - options?: DeletedWebAppsGetDeletedWebAppByLocationOptionalParams + options?: DeletedWebAppsGetDeletedWebAppByLocationOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/diagnostics.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/diagnostics.ts index c87dcd072006..c0171eb1bc86 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/diagnostics.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/diagnostics.ts @@ -46,7 +46,7 @@ import { DiagnosticsGetSiteDetectorSlotOptionalParams, DiagnosticsGetSiteDetectorSlotResponse, DiagnosticsExecuteSiteDetectorSlotOptionalParams, - DiagnosticsExecuteSiteDetectorSlotResponse + DiagnosticsExecuteSiteDetectorSlotResponse, } from "../models"; /// @@ -61,7 +61,7 @@ export interface Diagnostics { listHostingEnvironmentDetectorResponses( resourceGroupName: string, name: string, - options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams + options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List Site Detector Responses @@ -72,7 +72,7 @@ export interface Diagnostics { listSiteDetectorResponses( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDetectorResponsesOptionalParams + options?: DiagnosticsListSiteDetectorResponsesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get Diagnostics Categories @@ -83,7 +83,7 @@ export interface Diagnostics { listSiteDiagnosticCategories( resourceGroupName: string, siteName: string, - options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get Site Analyses @@ -96,7 +96,7 @@ export interface Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteAnalysesOptionalParams + options?: DiagnosticsListSiteAnalysesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get Detectors @@ -109,7 +109,7 @@ export interface Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsListSiteDetectorsOptionalParams + options?: DiagnosticsListSiteDetectorsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List Site Detector Responses @@ -122,7 +122,7 @@ export interface Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams + options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get Diagnostics Categories @@ -135,7 +135,7 @@ export interface Diagnostics { resourceGroupName: string, siteName: string, slot: string, - options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams + options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get Site Analyses @@ -150,7 +150,7 @@ export interface Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteAnalysesSlotOptionalParams + options?: DiagnosticsListSiteAnalysesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get Detectors @@ -165,7 +165,7 @@ export interface Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsListSiteDetectorsSlotOptionalParams + options?: DiagnosticsListSiteDetectorsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get Hosting Environment Detector Response @@ -178,7 +178,7 @@ export interface Diagnostics { resourceGroupName: string, name: string, detectorName: string, - options?: DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams + options?: DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams, ): Promise; /** * Description for Get site detector response @@ -191,7 +191,7 @@ export interface Diagnostics { resourceGroupName: string, siteName: string, detectorName: string, - options?: DiagnosticsGetSiteDetectorResponseOptionalParams + options?: DiagnosticsGetSiteDetectorResponseOptionalParams, ): Promise; /** * Description for Get Diagnostics Category @@ -204,7 +204,7 @@ export interface Diagnostics { resourceGroupName: string, siteName: string, diagnosticCategory: string, - options?: DiagnosticsGetSiteDiagnosticCategoryOptionalParams + options?: DiagnosticsGetSiteDiagnosticCategoryOptionalParams, ): Promise; /** * Description for Get Site Analysis @@ -219,7 +219,7 @@ export interface Diagnostics { siteName: string, diagnosticCategory: string, analysisName: string, - options?: DiagnosticsGetSiteAnalysisOptionalParams + options?: DiagnosticsGetSiteAnalysisOptionalParams, ): Promise; /** * Description for Execute Analysis @@ -234,7 +234,7 @@ export interface Diagnostics { siteName: string, diagnosticCategory: string, analysisName: string, - options?: DiagnosticsExecuteSiteAnalysisOptionalParams + options?: DiagnosticsExecuteSiteAnalysisOptionalParams, ): Promise; /** * Description for Get Detector @@ -249,7 +249,7 @@ export interface Diagnostics { siteName: string, diagnosticCategory: string, detectorName: string, - options?: DiagnosticsGetSiteDetectorOptionalParams + options?: DiagnosticsGetSiteDetectorOptionalParams, ): Promise; /** * Description for Execute Detector @@ -264,7 +264,7 @@ export interface Diagnostics { siteName: string, detectorName: string, diagnosticCategory: string, - options?: DiagnosticsExecuteSiteDetectorOptionalParams + options?: DiagnosticsExecuteSiteDetectorOptionalParams, ): Promise; /** * Description for Get site detector response @@ -279,7 +279,7 @@ export interface Diagnostics { siteName: string, detectorName: string, slot: string, - options?: DiagnosticsGetSiteDetectorResponseSlotOptionalParams + options?: DiagnosticsGetSiteDetectorResponseSlotOptionalParams, ): Promise; /** * Description for Get Diagnostics Category @@ -294,7 +294,7 @@ export interface Diagnostics { siteName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams + options?: DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams, ): Promise; /** * Description for Get Site Analysis @@ -311,7 +311,7 @@ export interface Diagnostics { diagnosticCategory: string, analysisName: string, slot: string, - options?: DiagnosticsGetSiteAnalysisSlotOptionalParams + options?: DiagnosticsGetSiteAnalysisSlotOptionalParams, ): Promise; /** * Description for Execute Analysis @@ -328,7 +328,7 @@ export interface Diagnostics { diagnosticCategory: string, analysisName: string, slot: string, - options?: DiagnosticsExecuteSiteAnalysisSlotOptionalParams + options?: DiagnosticsExecuteSiteAnalysisSlotOptionalParams, ): Promise; /** * Description for Get Detector @@ -345,7 +345,7 @@ export interface Diagnostics { diagnosticCategory: string, detectorName: string, slot: string, - options?: DiagnosticsGetSiteDetectorSlotOptionalParams + options?: DiagnosticsGetSiteDetectorSlotOptionalParams, ): Promise; /** * Description for Execute Detector @@ -362,6 +362,6 @@ export interface Diagnostics { detectorName: string, diagnosticCategory: string, slot: string, - options?: DiagnosticsExecuteSiteDetectorSlotOptionalParams + options?: DiagnosticsExecuteSiteDetectorSlotOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/domainRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/domainRegistrationProvider.ts index 89754f193343..2338e6fa80a2 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/domainRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/domainRegistrationProvider.ts @@ -9,7 +9,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { CsmOperationDescription, - DomainRegistrationProviderListOperationsOptionalParams + DomainRegistrationProviderListOperationsOptionalParams, } from "../models"; /// @@ -21,6 +21,6 @@ export interface DomainRegistrationProvider { * @param options The options parameters. */ listOperations( - options?: DomainRegistrationProviderListOperationsOptionalParams + options?: DomainRegistrationProviderListOperationsOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/domains.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/domains.ts index 815080772fa6..78c70d680689 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/domains.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/domains.ts @@ -38,7 +38,7 @@ import { DomainsUpdateOwnershipIdentifierResponse, DomainsRenewOptionalParams, DomainsTransferOutOptionalParams, - DomainsTransferOutResponse + DomainsTransferOutResponse, } from "../models"; /// @@ -56,7 +56,7 @@ export interface Domains { */ listRecommendations( parameters: DomainRecommendationSearchParameters, - options?: DomainsListRecommendationsOptionalParams + options?: DomainsListRecommendationsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all domains in a resource group. @@ -65,7 +65,7 @@ export interface Domains { */ listByResourceGroup( resourceGroupName: string, - options?: DomainsListByResourceGroupOptionalParams + options?: DomainsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Lists domain ownership identifiers. @@ -76,7 +76,7 @@ export interface Domains { listOwnershipIdentifiers( resourceGroupName: string, domainName: string, - options?: DomainsListOwnershipIdentifiersOptionalParams + options?: DomainsListOwnershipIdentifiersOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Check if a domain is available for registration. @@ -85,14 +85,14 @@ export interface Domains { */ checkAvailability( identifier: NameIdentifier, - options?: DomainsCheckAvailabilityOptionalParams + options?: DomainsCheckAvailabilityOptionalParams, ): Promise; /** * Description for Generate a single sign-on request for the domain management portal. * @param options The options parameters. */ getControlCenterSsoRequest( - options?: DomainsGetControlCenterSsoRequestOptionalParams + options?: DomainsGetControlCenterSsoRequestOptionalParams, ): Promise; /** * Description for Get a domain. @@ -103,7 +103,7 @@ export interface Domains { get( resourceGroupName: string, domainName: string, - options?: DomainsGetOptionalParams + options?: DomainsGetOptionalParams, ): Promise; /** * Description for Creates or updates a domain. @@ -116,7 +116,7 @@ export interface Domains { resourceGroupName: string, domainName: string, domain: Domain, - options?: DomainsCreateOrUpdateOptionalParams + options?: DomainsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -134,7 +134,7 @@ export interface Domains { resourceGroupName: string, domainName: string, domain: Domain, - options?: DomainsCreateOrUpdateOptionalParams + options?: DomainsCreateOrUpdateOptionalParams, ): Promise; /** * Description for Delete a domain. @@ -145,7 +145,7 @@ export interface Domains { delete( resourceGroupName: string, domainName: string, - options?: DomainsDeleteOptionalParams + options?: DomainsDeleteOptionalParams, ): Promise; /** * Description for Creates or updates a domain. @@ -158,7 +158,7 @@ export interface Domains { resourceGroupName: string, domainName: string, domain: DomainPatchResource, - options?: DomainsUpdateOptionalParams + options?: DomainsUpdateOptionalParams, ): Promise; /** * Description for Get ownership identifier for domain @@ -171,7 +171,7 @@ export interface Domains { resourceGroupName: string, domainName: string, name: string, - options?: DomainsGetOwnershipIdentifierOptionalParams + options?: DomainsGetOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Creates an ownership identifier for a domain or updates identifier details for an @@ -187,7 +187,7 @@ export interface Domains { domainName: string, name: string, domainOwnershipIdentifier: DomainOwnershipIdentifier, - options?: DomainsCreateOrUpdateOwnershipIdentifierOptionalParams + options?: DomainsCreateOrUpdateOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Delete ownership identifier for domain @@ -200,7 +200,7 @@ export interface Domains { resourceGroupName: string, domainName: string, name: string, - options?: DomainsDeleteOwnershipIdentifierOptionalParams + options?: DomainsDeleteOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Creates an ownership identifier for a domain or updates identifier details for an @@ -216,7 +216,7 @@ export interface Domains { domainName: string, name: string, domainOwnershipIdentifier: DomainOwnershipIdentifier, - options?: DomainsUpdateOwnershipIdentifierOptionalParams + options?: DomainsUpdateOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Renew a domain. @@ -227,7 +227,7 @@ export interface Domains { renew( resourceGroupName: string, domainName: string, - options?: DomainsRenewOptionalParams + options?: DomainsRenewOptionalParams, ): Promise; /** * Transfer out domain to another registrar @@ -238,6 +238,6 @@ export interface Domains { transferOut( resourceGroupName: string, domainName: string, - options?: DomainsTransferOutOptionalParams + options?: DomainsTransferOutOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/getUsagesInLocation.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/getUsagesInLocation.ts index 1e090b9efa71..c08e347e9f04 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/getUsagesInLocation.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/getUsagesInLocation.ts @@ -9,7 +9,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { CsmUsageQuota, - GetUsagesInLocationListOptionalParams + GetUsagesInLocationListOptionalParams, } from "../models"; /// @@ -23,6 +23,6 @@ export interface GetUsagesInLocation { */ list( location: string, - options?: GetUsagesInLocationListOptionalParams + options?: GetUsagesInLocationListOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/global.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/global.ts index f7e29b8572b1..0dac51badf14 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/global.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/global.ts @@ -11,7 +11,7 @@ import { GlobalGetDeletedWebAppResponse, GlobalGetDeletedWebAppSnapshotsOptionalParams, GlobalGetDeletedWebAppSnapshotsResponse, - GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams + GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams, } from "../models"; /** Interface representing a Global. */ @@ -23,7 +23,7 @@ export interface Global { */ getDeletedWebApp( deletedSiteId: string, - options?: GlobalGetDeletedWebAppOptionalParams + options?: GlobalGetDeletedWebAppOptionalParams, ): Promise; /** * Description for Get all deleted apps for a subscription. @@ -32,7 +32,7 @@ export interface Global { */ getDeletedWebAppSnapshots( deletedSiteId: string, - options?: GlobalGetDeletedWebAppSnapshotsOptionalParams + options?: GlobalGetDeletedWebAppSnapshotsOptionalParams, ): Promise; /** * Description for Gets an operation in a subscription and given region @@ -43,6 +43,6 @@ export interface Global { getSubscriptionOperationWithAsyncResponse( location: string, operationId: string, - options?: GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams + options?: GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts index 87d60f834b34..884815439549 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts @@ -9,9 +9,9 @@ export * from "./appServiceCertificateOrders"; export * from "./certificateOrdersDiagnostics"; export * from "./certificateRegistrationProvider"; +export * from "./domainRegistrationProvider"; export * from "./domains"; export * from "./topLevelDomains"; -export * from "./domainRegistrationProvider"; export * from "./appServiceEnvironments"; export * from "./appServicePlans"; export * from "./certificates"; diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/kubeEnvironments.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/kubeEnvironments.ts index c11588380c4a..d5d9f939ae35 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/kubeEnvironments.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/kubeEnvironments.ts @@ -19,7 +19,7 @@ import { KubeEnvironmentsDeleteOptionalParams, KubeEnvironmentPatchResource, KubeEnvironmentsUpdateOptionalParams, - KubeEnvironmentsUpdateResponse + KubeEnvironmentsUpdateResponse, } from "../models"; /// @@ -30,7 +30,7 @@ export interface KubeEnvironments { * @param options The options parameters. */ listBySubscription( - options?: KubeEnvironmentsListBySubscriptionOptionalParams + options?: KubeEnvironmentsListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all the Kubernetes Environments in a resource group. @@ -39,7 +39,7 @@ export interface KubeEnvironments { */ listByResourceGroup( resourceGroupName: string, - options?: KubeEnvironmentsListByResourceGroupOptionalParams + options?: KubeEnvironmentsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get the properties of a Kubernetes Environment. @@ -50,7 +50,7 @@ export interface KubeEnvironments { get( resourceGroupName: string, name: string, - options?: KubeEnvironmentsGetOptionalParams + options?: KubeEnvironmentsGetOptionalParams, ): Promise; /** * Description for Creates or updates a Kubernetes Environment. @@ -63,7 +63,7 @@ export interface KubeEnvironments { resourceGroupName: string, name: string, kubeEnvironmentEnvelope: KubeEnvironment, - options?: KubeEnvironmentsCreateOrUpdateOptionalParams + options?: KubeEnvironmentsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -81,7 +81,7 @@ export interface KubeEnvironments { resourceGroupName: string, name: string, kubeEnvironmentEnvelope: KubeEnvironment, - options?: KubeEnvironmentsCreateOrUpdateOptionalParams + options?: KubeEnvironmentsCreateOrUpdateOptionalParams, ): Promise; /** * Description for Delete a Kubernetes Environment. @@ -92,7 +92,7 @@ export interface KubeEnvironments { beginDelete( resourceGroupName: string, name: string, - options?: KubeEnvironmentsDeleteOptionalParams + options?: KubeEnvironmentsDeleteOptionalParams, ): Promise, void>>; /** * Description for Delete a Kubernetes Environment. @@ -103,7 +103,7 @@ export interface KubeEnvironments { beginDeleteAndWait( resourceGroupName: string, name: string, - options?: KubeEnvironmentsDeleteOptionalParams + options?: KubeEnvironmentsDeleteOptionalParams, ): Promise; /** * Description for Creates or updates a Kubernetes Environment. @@ -116,6 +116,6 @@ export interface KubeEnvironments { resourceGroupName: string, name: string, kubeEnvironmentEnvelope: KubeEnvironmentPatchResource, - options?: KubeEnvironmentsUpdateOptionalParams + options?: KubeEnvironmentsUpdateOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/provider.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/provider.ts index 03d93dde84bd..8abc7f1ce5bd 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/provider.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/provider.ts @@ -18,7 +18,7 @@ import { CsmOperationDescription, ProviderListOperationsOptionalParams, ProviderGetWebAppStacksOptionalParams, - ProviderGetAvailableStacksOnPremOptionalParams + ProviderGetAvailableStacksOnPremOptionalParams, } from "../models"; /// @@ -29,14 +29,14 @@ export interface Provider { * @param options The options parameters. */ listAvailableStacks( - options?: ProviderGetAvailableStacksOptionalParams + options?: ProviderGetAvailableStacksOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get available Function app frameworks and their versions * @param options The options parameters. */ listFunctionAppStacks( - options?: ProviderGetFunctionAppStacksOptionalParams + options?: ProviderGetFunctionAppStacksOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get available Function app frameworks and their versions for location @@ -45,7 +45,7 @@ export interface Provider { */ listFunctionAppStacksForLocation( location: string, - options?: ProviderGetFunctionAppStacksForLocationOptionalParams + options?: ProviderGetFunctionAppStacksForLocationOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get available Web app frameworks and their versions for location @@ -54,7 +54,7 @@ export interface Provider { */ listWebAppStacksForLocation( location: string, - options?: ProviderGetWebAppStacksForLocationOptionalParams + options?: ProviderGetWebAppStacksForLocationOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes @@ -62,20 +62,20 @@ export interface Provider { * @param options The options parameters. */ listOperations( - options?: ProviderListOperationsOptionalParams + options?: ProviderListOperationsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get available Web app frameworks and their versions * @param options The options parameters. */ listWebAppStacks( - options?: ProviderGetWebAppStacksOptionalParams + options?: ProviderGetWebAppStacksOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get available application frameworks and their versions * @param options The options parameters. */ listAvailableStacksOnPrem( - options?: ProviderGetAvailableStacksOnPremOptionalParams + options?: ProviderGetAvailableStacksOnPremOptionalParams, ): PagedAsyncIterableIterator; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/recommendations.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/recommendations.ts index a8bc96aed43e..869460dc4180 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/recommendations.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/recommendations.ts @@ -25,7 +25,7 @@ import { RecommendationsResetAllFiltersForWebAppOptionalParams, RecommendationsGetRuleDetailsByWebAppOptionalParams, RecommendationsGetRuleDetailsByWebAppResponse, - RecommendationsDisableRecommendationForSiteOptionalParams + RecommendationsDisableRecommendationForSiteOptionalParams, } from "../models"; /// @@ -36,7 +36,7 @@ export interface Recommendations { * @param options The options parameters. */ list( - options?: RecommendationsListOptionalParams + options?: RecommendationsListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get past recommendations for an app, optionally specified by the time range. @@ -47,7 +47,7 @@ export interface Recommendations { listHistoryForHostingEnvironment( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams + options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all recommendations for a hosting environment. @@ -58,7 +58,7 @@ export interface Recommendations { listRecommendedRulesForHostingEnvironment( resourceGroupName: string, hostingEnvironmentName: string, - options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams + options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get past recommendations for an app, optionally specified by the time range. @@ -69,7 +69,7 @@ export interface Recommendations { listHistoryForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsListHistoryForWebAppOptionalParams + options?: RecommendationsListHistoryForWebAppOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get all recommendations for an app. @@ -80,14 +80,14 @@ export interface Recommendations { listRecommendedRulesForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsListRecommendedRulesForWebAppOptionalParams + options?: RecommendationsListRecommendedRulesForWebAppOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Reset all recommendation opt-out settings for a subscription. * @param options The options parameters. */ resetAllFilters( - options?: RecommendationsResetAllFiltersOptionalParams + options?: RecommendationsResetAllFiltersOptionalParams, ): Promise; /** * Description for Disables the specified rule so it will not apply to a subscription in the future. @@ -96,7 +96,7 @@ export interface Recommendations { */ disableRecommendationForSubscription( name: string, - options?: RecommendationsDisableRecommendationForSubscriptionOptionalParams + options?: RecommendationsDisableRecommendationForSubscriptionOptionalParams, ): Promise; /** * Description for Disable all recommendations for an app. @@ -109,7 +109,7 @@ export interface Recommendations { resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, - options?: RecommendationsDisableAllForHostingEnvironmentOptionalParams + options?: RecommendationsDisableAllForHostingEnvironmentOptionalParams, ): Promise; /** * Description for Reset all recommendation opt-out settings for an app. @@ -122,7 +122,7 @@ export interface Recommendations { resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, - options?: RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams + options?: RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams, ): Promise; /** * Description for Get a recommendation rule for an app. @@ -135,7 +135,7 @@ export interface Recommendations { resourceGroupName: string, hostingEnvironmentName: string, name: string, - options?: RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams + options?: RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams, ): Promise; /** * Description for Disables the specific rule for a web site permanently. @@ -150,7 +150,7 @@ export interface Recommendations { environmentName: string, name: string, hostingEnvironmentName: string, - options?: RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams + options?: RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams, ): Promise; /** * Description for Disable all recommendations for an app. @@ -161,7 +161,7 @@ export interface Recommendations { disableAllForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsDisableAllForWebAppOptionalParams + options?: RecommendationsDisableAllForWebAppOptionalParams, ): Promise; /** * Description for Reset all recommendation opt-out settings for an app. @@ -172,7 +172,7 @@ export interface Recommendations { resetAllFiltersForWebApp( resourceGroupName: string, siteName: string, - options?: RecommendationsResetAllFiltersForWebAppOptionalParams + options?: RecommendationsResetAllFiltersForWebAppOptionalParams, ): Promise; /** * Description for Get a recommendation rule for an app. @@ -185,7 +185,7 @@ export interface Recommendations { resourceGroupName: string, siteName: string, name: string, - options?: RecommendationsGetRuleDetailsByWebAppOptionalParams + options?: RecommendationsGetRuleDetailsByWebAppOptionalParams, ): Promise; /** * Description for Disables the specific rule for a web site permanently. @@ -198,6 +198,6 @@ export interface Recommendations { resourceGroupName: string, siteName: string, name: string, - options?: RecommendationsDisableRecommendationForSiteOptionalParams + options?: RecommendationsDisableRecommendationForSiteOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/resourceHealthMetadataOperations.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/resourceHealthMetadataOperations.ts index ab006a59cb99..21984001d59d 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/resourceHealthMetadataOperations.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/resourceHealthMetadataOperations.ts @@ -16,7 +16,7 @@ import { ResourceHealthMetadataGetBySiteOptionalParams, ResourceHealthMetadataGetBySiteResponse, ResourceHealthMetadataGetBySiteSlotOptionalParams, - ResourceHealthMetadataGetBySiteSlotResponse + ResourceHealthMetadataGetBySiteSlotResponse, } from "../models"; /// @@ -27,7 +27,7 @@ export interface ResourceHealthMetadataOperations { * @param options The options parameters. */ list( - options?: ResourceHealthMetadataListOptionalParams + options?: ResourceHealthMetadataListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List all ResourceHealthMetadata for all sites in the resource group in the @@ -37,7 +37,7 @@ export interface ResourceHealthMetadataOperations { */ listByResourceGroup( resourceGroupName: string, - options?: ResourceHealthMetadataListByResourceGroupOptionalParams + options?: ResourceHealthMetadataListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the category of ResourceHealthMetadata to use for the given site as a @@ -49,7 +49,7 @@ export interface ResourceHealthMetadataOperations { listBySite( resourceGroupName: string, name: string, - options?: ResourceHealthMetadataListBySiteOptionalParams + options?: ResourceHealthMetadataListBySiteOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the category of ResourceHealthMetadata to use for the given site as a @@ -63,7 +63,7 @@ export interface ResourceHealthMetadataOperations { resourceGroupName: string, name: string, slot: string, - options?: ResourceHealthMetadataListBySiteSlotOptionalParams + options?: ResourceHealthMetadataListBySiteSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the category of ResourceHealthMetadata to use for the given site @@ -74,7 +74,7 @@ export interface ResourceHealthMetadataOperations { getBySite( resourceGroupName: string, name: string, - options?: ResourceHealthMetadataGetBySiteOptionalParams + options?: ResourceHealthMetadataGetBySiteOptionalParams, ): Promise; /** * Description for Gets the category of ResourceHealthMetadata to use for the given site @@ -87,6 +87,6 @@ export interface ResourceHealthMetadataOperations { resourceGroupName: string, name: string, slot: string, - options?: ResourceHealthMetadataGetBySiteSlotOptionalParams + options?: ResourceHealthMetadataGetBySiteSlotOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/staticSites.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/staticSites.ts index a1e75362c13d..bed1d4702602 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/staticSites.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/staticSites.ts @@ -118,7 +118,6 @@ import { StaticSitesListStaticSiteSecretsResponse, StaticSitesGetPrivateEndpointConnectionOptionalParams, StaticSitesGetPrivateEndpointConnectionResponse, - PrivateLinkConnectionApprovalRequestResource, StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse, StaticSitesDeletePrivateEndpointConnectionOptionalParams, @@ -144,7 +143,7 @@ import { StaticSitesGetLinkedBackendForBuildResponse, StaticSitesLinkBackendToBuildOptionalParams, StaticSitesLinkBackendToBuildResponse, - StaticSitesUnlinkBackendFromBuildOptionalParams + StaticSitesUnlinkBackendFromBuildOptionalParams, } from "../models"; /// @@ -155,7 +154,7 @@ export interface StaticSites { * @param options The options parameters. */ list( - options?: StaticSitesListOptionalParams + options?: StaticSitesListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets all static sites in the specified resource group. @@ -164,7 +163,7 @@ export interface StaticSites { */ listStaticSitesByResourceGroup( resourceGroupName: string, - options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams + options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the list of users of a static site. @@ -177,7 +176,7 @@ export interface StaticSites { resourceGroupName: string, name: string, authprovider: string, - options?: StaticSitesListStaticSiteUsersOptionalParams + options?: StaticSitesListStaticSiteUsersOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets all static site builds for a particular static site. @@ -188,7 +187,7 @@ export interface StaticSites { listStaticSiteBuilds( resourceGroupName: string, name: string, - options?: StaticSitesGetStaticSiteBuildsOptionalParams + options?: StaticSitesGetStaticSiteBuildsOptionalParams, ): PagedAsyncIterableIterator; /** * Returns overviews of database connections for a static site build @@ -201,7 +200,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the functions of a particular static site build. @@ -214,7 +213,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams + options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams, ): PagedAsyncIterableIterator; /** * Returns details of database connections for a static site build @@ -227,7 +226,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the details of the user provided function apps registered with a static site @@ -241,7 +240,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the basic auth properties for a static site as a collection. @@ -252,7 +251,7 @@ export interface StaticSites { listBasicAuth( resourceGroupName: string, name: string, - options?: StaticSitesListBasicAuthOptionalParams + options?: StaticSitesListBasicAuthOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets all static site custom domains for a particular static site. @@ -263,7 +262,7 @@ export interface StaticSites { listStaticSiteCustomDomains( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteCustomDomainsOptionalParams + options?: StaticSitesListStaticSiteCustomDomainsOptionalParams, ): PagedAsyncIterableIterator; /** * Returns overviews of database connections for a static site @@ -274,7 +273,7 @@ export interface StaticSites { listDatabaseConnections( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsOptionalParams + options?: StaticSitesGetDatabaseConnectionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the functions of a static site. @@ -285,7 +284,7 @@ export interface StaticSites { listStaticSiteFunctions( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteFunctionsOptionalParams + options?: StaticSitesListStaticSiteFunctionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the list of private endpoint connections associated with a static site @@ -296,7 +295,7 @@ export interface StaticSites { listPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams + options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams, ): PagedAsyncIterableIterator; /** * Returns details of database connections for a static site @@ -307,7 +306,7 @@ export interface StaticSites { listDatabaseConnectionsWithDetails( resourceGroupName: string, name: string, - options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams + options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the details of the user provided function apps registered with a static site @@ -318,7 +317,7 @@ export interface StaticSites { listUserProvidedFunctionAppsForStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams, ): PagedAsyncIterableIterator; /** * Returns details of all backends linked to a static site @@ -329,7 +328,7 @@ export interface StaticSites { listLinkedBackends( resourceGroupName: string, name: string, - options?: StaticSitesGetLinkedBackendsOptionalParams + options?: StaticSitesGetLinkedBackendsOptionalParams, ): PagedAsyncIterableIterator; /** * Returns details of all backends linked to a static site build @@ -342,7 +341,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetLinkedBackendsForBuildOptionalParams + options?: StaticSitesGetLinkedBackendsForBuildOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Generates a preview workflow file for the static site @@ -354,7 +353,7 @@ export interface StaticSites { previewWorkflow( location: string, staticSitesWorkflowPreviewRequest: StaticSitesWorkflowPreviewRequest, - options?: StaticSitesPreviewWorkflowOptionalParams + options?: StaticSitesPreviewWorkflowOptionalParams, ): Promise; /** * Description for Gets the details of a static site. @@ -365,7 +364,7 @@ export interface StaticSites { getStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesGetStaticSiteOptionalParams + options?: StaticSitesGetStaticSiteOptionalParams, ): Promise; /** * Description for Creates a new static site in an existing resource group, or updates an existing @@ -379,7 +378,7 @@ export interface StaticSites { resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -398,7 +397,7 @@ export interface StaticSites { resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams, ): Promise; /** * Description for Deletes a static site. @@ -409,7 +408,7 @@ export interface StaticSites { beginDeleteStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesDeleteStaticSiteOptionalParams + options?: StaticSitesDeleteStaticSiteOptionalParams, ): Promise, void>>; /** * Description for Deletes a static site. @@ -420,7 +419,7 @@ export interface StaticSites { beginDeleteStaticSiteAndWait( resourceGroupName: string, name: string, - options?: StaticSitesDeleteStaticSiteOptionalParams + options?: StaticSitesDeleteStaticSiteOptionalParams, ): Promise; /** * Description for Creates a new static site in an existing resource group, or updates an existing @@ -434,7 +433,7 @@ export interface StaticSites { resourceGroupName: string, name: string, staticSiteEnvelope: StaticSitePatchResource, - options?: StaticSitesUpdateStaticSiteOptionalParams + options?: StaticSitesUpdateStaticSiteOptionalParams, ): Promise; /** * Description for Deletes the user entry from the static site. @@ -449,7 +448,7 @@ export interface StaticSites { name: string, authprovider: string, userid: string, - options?: StaticSitesDeleteStaticSiteUserOptionalParams + options?: StaticSitesDeleteStaticSiteUserOptionalParams, ): Promise; /** * Description for Updates a user entry with the listed roles @@ -466,7 +465,7 @@ export interface StaticSites { authprovider: string, userid: string, staticSiteUserEnvelope: StaticSiteUserARMResource, - options?: StaticSitesUpdateStaticSiteUserOptionalParams + options?: StaticSitesUpdateStaticSiteUserOptionalParams, ): Promise; /** * Description for Gets the details of a static site build. @@ -479,7 +478,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesGetStaticSiteBuildOptionalParams + options?: StaticSitesGetStaticSiteBuildOptionalParams, ): Promise; /** * Description for Deletes a static site build. @@ -492,7 +491,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesDeleteStaticSiteBuildOptionalParams + options?: StaticSitesDeleteStaticSiteBuildOptionalParams, ): Promise, void>>; /** * Description for Deletes a static site build. @@ -505,7 +504,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesDeleteStaticSiteBuildOptionalParams + options?: StaticSitesDeleteStaticSiteBuildOptionalParams, ): Promise; /** * Description for Creates or updates the app settings of a static site build. @@ -520,7 +519,7 @@ export interface StaticSites { name: string, environmentName: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams, ): Promise; /** * Description for Creates or updates the function app settings of a static site build. @@ -535,10 +534,8 @@ export interface StaticSites { name: string, environmentName: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams - ): Promise< - StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse - >; + options?: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams, + ): Promise; /** * Returns overview of a database connection for a static site build by name * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -552,7 +549,7 @@ export interface StaticSites { name: string, environmentName: string, databaseConnectionName: string, - options?: StaticSitesGetBuildDatabaseConnectionOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionOptionalParams, ): Promise; /** * Description for Create or update a database connection for a static site build @@ -570,7 +567,7 @@ export interface StaticSites { environmentName: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnection, - options?: StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams + options?: StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams, ): Promise; /** * Delete a database connection for a static site build @@ -585,7 +582,7 @@ export interface StaticSites { name: string, environmentName: string, databaseConnectionName: string, - options?: StaticSitesDeleteBuildDatabaseConnectionOptionalParams + options?: StaticSitesDeleteBuildDatabaseConnectionOptionalParams, ): Promise; /** * Description for Create or update a database connection for a static site build @@ -603,7 +600,7 @@ export interface StaticSites { environmentName: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnectionPatchRequest, - options?: StaticSitesUpdateBuildDatabaseConnectionOptionalParams + options?: StaticSitesUpdateBuildDatabaseConnectionOptionalParams, ): Promise; /** * Returns details of a database connection for a static site build by name @@ -618,7 +615,7 @@ export interface StaticSites { name: string, environmentName: string, databaseConnectionName: string, - options?: StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams + options?: StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams, ): Promise; /** * Description for Gets the application settings of a static site build. @@ -631,7 +628,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildAppSettingsOptionalParams + options?: StaticSitesListStaticSiteBuildAppSettingsOptionalParams, ): Promise; /** * Description for Gets the application settings of a static site build. @@ -644,7 +641,7 @@ export interface StaticSites { resourceGroupName: string, name: string, environmentName: string, - options?: StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams + options?: StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams, ): Promise; /** * Description for Gets the details of the user provided function app registered with a static site @@ -660,7 +657,7 @@ export interface StaticSites { name: string, environmentName: string, functionAppName: string, - options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams, ): Promise; /** * Description for Register a user provided function app with a static site build @@ -678,12 +675,10 @@ export interface StaticSites { environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams, ): Promise< SimplePollerLike< - OperationState< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse - >, + OperationState, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse > >; @@ -703,10 +698,8 @@ export interface StaticSites { environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams - ): Promise< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse - >; + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams, + ): Promise; /** * Description for Detach the user provided function app from the static site build * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -720,7 +713,7 @@ export interface StaticSites { name: string, environmentName: string, functionAppName: string, - options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams + options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams, ): Promise; /** * Description for Deploys zipped content to a specific environment of a static site. @@ -736,7 +729,7 @@ export interface StaticSites { name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams, ): Promise, void>>; /** * Description for Deploys zipped content to a specific environment of a static site. @@ -752,7 +745,7 @@ export interface StaticSites { name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams, ): Promise; /** * Description for Creates or updates the app settings of a static site. @@ -765,7 +758,7 @@ export interface StaticSites { resourceGroupName: string, name: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams, ): Promise; /** * Description for Gets the basic auth properties for a static site. @@ -778,7 +771,7 @@ export interface StaticSites { resourceGroupName: string, name: string, basicAuthName: BasicAuthName, - options?: StaticSitesGetBasicAuthOptionalParams + options?: StaticSitesGetBasicAuthOptionalParams, ): Promise; /** * Description for Adds or updates basic auth for a static site. @@ -793,7 +786,7 @@ export interface StaticSites { name: string, basicAuthName: BasicAuthName, basicAuthEnvelope: StaticSiteBasicAuthPropertiesARMResource, - options?: StaticSitesCreateOrUpdateBasicAuthOptionalParams + options?: StaticSitesCreateOrUpdateBasicAuthOptionalParams, ): Promise; /** * Description for Creates or updates the function app settings of a static site. @@ -806,7 +799,7 @@ export interface StaticSites { resourceGroupName: string, name: string, appSettings: StringDictionary, - options?: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams, ): Promise; /** * Description for Creates an invitation link for a user with the role @@ -819,7 +812,7 @@ export interface StaticSites { resourceGroupName: string, name: string, staticSiteUserRolesInvitationEnvelope: StaticSiteUserInvitationRequestResource, - options?: StaticSitesCreateUserRolesInvitationLinkOptionalParams + options?: StaticSitesCreateUserRolesInvitationLinkOptionalParams, ): Promise; /** * Description for Gets an existing custom domain for a particular static site. @@ -832,7 +825,7 @@ export interface StaticSites { resourceGroupName: string, name: string, domainName: string, - options?: StaticSitesGetStaticSiteCustomDomainOptionalParams + options?: StaticSitesGetStaticSiteCustomDomainOptionalParams, ): Promise; /** * Description for Creates a new static site custom domain in an existing resource group and static @@ -849,7 +842,7 @@ export interface StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -871,7 +864,7 @@ export interface StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams + options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams, ): Promise; /** * Description for Deletes a custom domain. @@ -884,7 +877,7 @@ export interface StaticSites { resourceGroupName: string, name: string, domainName: string, - options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams + options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams, ): Promise, void>>; /** * Description for Deletes a custom domain. @@ -897,7 +890,7 @@ export interface StaticSites { resourceGroupName: string, name: string, domainName: string, - options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams + options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams, ): Promise; /** * Description for Validates a particular custom domain can be added to a static site. @@ -913,7 +906,7 @@ export interface StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams + options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams, ): Promise, void>>; /** * Description for Validates a particular custom domain can be added to a static site. @@ -929,7 +922,7 @@ export interface StaticSites { name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, - options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams + options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams, ): Promise; /** * Returns overview of a database connection for a static site by name @@ -942,7 +935,7 @@ export interface StaticSites { resourceGroupName: string, name: string, databaseConnectionName: string, - options?: StaticSitesGetDatabaseConnectionOptionalParams + options?: StaticSitesGetDatabaseConnectionOptionalParams, ): Promise; /** * Description for Create or update a database connection for a static site @@ -958,7 +951,7 @@ export interface StaticSites { name: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnection, - options?: StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams + options?: StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams, ): Promise; /** * Delete a database connection for a static site @@ -971,7 +964,7 @@ export interface StaticSites { resourceGroupName: string, name: string, databaseConnectionName: string, - options?: StaticSitesDeleteDatabaseConnectionOptionalParams + options?: StaticSitesDeleteDatabaseConnectionOptionalParams, ): Promise; /** * Description for Create or update a database connection for a static site @@ -987,7 +980,7 @@ export interface StaticSites { name: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnectionPatchRequest, - options?: StaticSitesUpdateDatabaseConnectionOptionalParams + options?: StaticSitesUpdateDatabaseConnectionOptionalParams, ): Promise; /** * Returns details of a database connection for a static site by name @@ -1000,7 +993,7 @@ export interface StaticSites { resourceGroupName: string, name: string, databaseConnectionName: string, - options?: StaticSitesGetDatabaseConnectionWithDetailsOptionalParams + options?: StaticSitesGetDatabaseConnectionWithDetailsOptionalParams, ): Promise; /** * Description for Detaches a static site. @@ -1011,7 +1004,7 @@ export interface StaticSites { beginDetachStaticSite( resourceGroupName: string, name: string, - options?: StaticSitesDetachStaticSiteOptionalParams + options?: StaticSitesDetachStaticSiteOptionalParams, ): Promise, void>>; /** * Description for Detaches a static site. @@ -1022,7 +1015,7 @@ export interface StaticSites { beginDetachStaticSiteAndWait( resourceGroupName: string, name: string, - options?: StaticSitesDetachStaticSiteOptionalParams + options?: StaticSitesDetachStaticSiteOptionalParams, ): Promise; /** * Description for Gets the application settings of a static site. @@ -1033,7 +1026,7 @@ export interface StaticSites { listStaticSiteAppSettings( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteAppSettingsOptionalParams + options?: StaticSitesListStaticSiteAppSettingsOptionalParams, ): Promise; /** * Description for Lists the roles configured for the static site. @@ -1044,7 +1037,7 @@ export interface StaticSites { listStaticSiteConfiguredRoles( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteConfiguredRolesOptionalParams + options?: StaticSitesListStaticSiteConfiguredRolesOptionalParams, ): Promise; /** * Description for Gets the application settings of a static site. @@ -1055,7 +1048,7 @@ export interface StaticSites { listStaticSiteFunctionAppSettings( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteFunctionAppSettingsOptionalParams + options?: StaticSitesListStaticSiteFunctionAppSettingsOptionalParams, ): Promise; /** * Description for Lists the secrets for an existing static site. @@ -1066,7 +1059,7 @@ export interface StaticSites { listStaticSiteSecrets( resourceGroupName: string, name: string, - options?: StaticSitesListStaticSiteSecretsOptionalParams + options?: StaticSitesListStaticSiteSecretsOptionalParams, ): Promise; /** * Description for Gets a private endpoint connection @@ -1079,7 +1072,7 @@ export interface StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: StaticSitesGetPrivateEndpointConnectionOptionalParams + options?: StaticSitesGetPrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Approves or rejects a private endpoint connection @@ -1093,13 +1086,11 @@ export interface StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< - OperationState< - StaticSitesApproveOrRejectPrivateEndpointConnectionResponse - >, + OperationState, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse > >; @@ -1115,8 +1106,8 @@ export interface StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Deletes a private endpoint connection @@ -1129,7 +1120,7 @@ export interface StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams + options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -1147,7 +1138,7 @@ export interface StaticSites { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams + options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Gets the private link resources @@ -1158,7 +1149,7 @@ export interface StaticSites { getPrivateLinkResources( resourceGroupName: string, name: string, - options?: StaticSitesGetPrivateLinkResourcesOptionalParams + options?: StaticSitesGetPrivateLinkResourcesOptionalParams, ): Promise; /** * Description for Resets the api key for an existing static site. @@ -1171,7 +1162,7 @@ export interface StaticSites { resourceGroupName: string, name: string, resetPropertiesEnvelope: StaticSiteResetPropertiesARMResource, - options?: StaticSitesResetStaticSiteApiKeyOptionalParams + options?: StaticSitesResetStaticSiteApiKeyOptionalParams, ): Promise; /** * Description for Gets the details of the user provided function app registered with a static site @@ -1184,7 +1175,7 @@ export interface StaticSites { resourceGroupName: string, name: string, functionAppName: string, - options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams + options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams, ): Promise; /** * Description for Register a user provided function app with a static site @@ -1200,12 +1191,10 @@ export interface StaticSites { name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams, ): Promise< SimplePollerLike< - OperationState< - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse - >, + OperationState, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse > >; @@ -1223,7 +1212,7 @@ export interface StaticSites { name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, - options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams + options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams, ): Promise; /** * Description for Detach the user provided function app from the static site @@ -1236,7 +1225,7 @@ export interface StaticSites { resourceGroupName: string, name: string, functionAppName: string, - options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams + options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams, ): Promise; /** * Description for Deploys zipped content to a static site. @@ -1250,7 +1239,7 @@ export interface StaticSites { resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams, ): Promise, void>>; /** * Description for Deploys zipped content to a static site. @@ -1264,7 +1253,7 @@ export interface StaticSites { resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, - options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams + options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams, ): Promise; /** * Validates that a backend can be linked to a static site @@ -1280,7 +1269,7 @@ export interface StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendOptionalParams + options?: StaticSitesValidateBackendOptionalParams, ): Promise, void>>; /** * Validates that a backend can be linked to a static site @@ -1296,7 +1285,7 @@ export interface StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendOptionalParams + options?: StaticSitesValidateBackendOptionalParams, ): Promise; /** * Validates that a backend can be linked to a static site build @@ -1314,7 +1303,7 @@ export interface StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendForBuildOptionalParams + options?: StaticSitesValidateBackendForBuildOptionalParams, ): Promise, void>>; /** * Validates that a backend can be linked to a static site build @@ -1332,7 +1321,7 @@ export interface StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesValidateBackendForBuildOptionalParams + options?: StaticSitesValidateBackendForBuildOptionalParams, ): Promise; /** * Returns the details of a linked backend linked to a static site by name @@ -1345,7 +1334,7 @@ export interface StaticSites { resourceGroupName: string, name: string, linkedBackendName: string, - options?: StaticSitesGetLinkedBackendOptionalParams + options?: StaticSitesGetLinkedBackendOptionalParams, ): Promise; /** * Link backend to a static site @@ -1361,7 +1350,7 @@ export interface StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendOptionalParams + options?: StaticSitesLinkBackendOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -1382,7 +1371,7 @@ export interface StaticSites { name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendOptionalParams + options?: StaticSitesLinkBackendOptionalParams, ): Promise; /** * Unlink a backend from a static site @@ -1395,7 +1384,7 @@ export interface StaticSites { resourceGroupName: string, name: string, linkedBackendName: string, - options?: StaticSitesUnlinkBackendOptionalParams + options?: StaticSitesUnlinkBackendOptionalParams, ): Promise; /** * Returns the details of a linked backend linked to a static site build by name @@ -1410,7 +1399,7 @@ export interface StaticSites { name: string, environmentName: string, linkedBackendName: string, - options?: StaticSitesGetLinkedBackendForBuildOptionalParams + options?: StaticSitesGetLinkedBackendForBuildOptionalParams, ): Promise; /** * Link backend to a static site build @@ -1428,7 +1417,7 @@ export interface StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendToBuildOptionalParams + options?: StaticSitesLinkBackendToBuildOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -1451,7 +1440,7 @@ export interface StaticSites { environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, - options?: StaticSitesLinkBackendToBuildOptionalParams + options?: StaticSitesLinkBackendToBuildOptionalParams, ): Promise; /** * Unlink a backend from a static site build @@ -1466,6 +1455,6 @@ export interface StaticSites { name: string, environmentName: string, linkedBackendName: string, - options?: StaticSitesUnlinkBackendFromBuildOptionalParams + options?: StaticSitesUnlinkBackendFromBuildOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/topLevelDomains.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/topLevelDomains.ts index a810954e010e..4f6bc6fdb66f 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/topLevelDomains.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/topLevelDomains.ts @@ -14,7 +14,7 @@ import { TopLevelDomainAgreementOption, TopLevelDomainsListAgreementsOptionalParams, TopLevelDomainsGetOptionalParams, - TopLevelDomainsGetResponse + TopLevelDomainsGetResponse, } from "../models"; /// @@ -25,7 +25,7 @@ export interface TopLevelDomains { * @param options The options parameters. */ list( - options?: TopLevelDomainsListOptionalParams + options?: TopLevelDomainsListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets all legal agreements that user needs to accept before purchasing a domain. @@ -36,7 +36,7 @@ export interface TopLevelDomains { listAgreements( name: string, agreementOption: TopLevelDomainAgreementOption, - options?: TopLevelDomainsListAgreementsOptionalParams + options?: TopLevelDomainsListAgreementsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get details of a top-level domain. @@ -45,6 +45,6 @@ export interface TopLevelDomains { */ get( name: string, - options?: TopLevelDomainsGetOptionalParams + options?: TopLevelDomainsGetOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts index a2397728435a..b9e29e31b4e7 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts @@ -53,6 +53,8 @@ import { WebAppsListProcessThreadsOptionalParams, PublicCertificate, WebAppsListPublicCertificatesOptionalParams, + SiteContainer, + WebAppsListSiteContainersOptionalParams, SiteExtensionInfo, WebAppsListSiteExtensionsOptionalParams, WebAppsListSlotsOptionalParams, @@ -79,6 +81,7 @@ import { WebAppsListProcessModulesSlotOptionalParams, WebAppsListProcessThreadsSlotOptionalParams, WebAppsListPublicCertificatesSlotOptionalParams, + WebAppsListSiteContainersSlotOptionalParams, WebAppsListSiteExtensionsSlotOptionalParams, SlotDifference, CsmSlotEntity, @@ -355,7 +358,6 @@ import { WebAppsPutPrivateAccessVnetResponse, WebAppsGetPrivateEndpointConnectionOptionalParams, WebAppsGetPrivateEndpointConnectionResponse, - PrivateLinkConnectionApprovalRequestResource, WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams, WebAppsApproveOrRejectPrivateEndpointConnectionResponse, WebAppsDeletePrivateEndpointConnectionOptionalParams, @@ -384,6 +386,11 @@ import { WebAppsRestoreFromDeletedAppOptionalParams, SnapshotRestoreRequest, WebAppsRestoreSnapshotOptionalParams, + WebAppsGetSiteContainerOptionalParams, + WebAppsGetSiteContainerResponse, + WebAppsCreateOrUpdateSiteContainerOptionalParams, + WebAppsCreateOrUpdateSiteContainerResponse, + WebAppsDeleteSiteContainerOptionalParams, WebAppsGetSiteExtensionOptionalParams, WebAppsGetSiteExtensionResponse, WebAppsInstallSiteExtensionOptionalParams, @@ -632,6 +639,11 @@ import { WebAppsRestoreFromBackupBlobSlotOptionalParams, WebAppsRestoreFromDeletedAppSlotOptionalParams, WebAppsRestoreSnapshotSlotOptionalParams, + WebAppsGetSiteContainerSlotOptionalParams, + WebAppsGetSiteContainerSlotResponse, + WebAppsCreateOrUpdateSiteContainerSlotOptionalParams, + WebAppsCreateOrUpdateSiteContainerSlotResponse, + WebAppsDeleteSiteContainerSlotOptionalParams, WebAppsGetSiteExtensionSlotOptionalParams, WebAppsGetSiteExtensionSlotResponse, WebAppsInstallSiteExtensionSlotOptionalParams, @@ -725,7 +737,7 @@ import { WebAppsGetWorkflowOptionalParams, WebAppsGetWorkflowResponse, WebAppsListWorkflowsConnectionsOptionalParams, - WebAppsListWorkflowsConnectionsResponse + WebAppsListWorkflowsConnectionsResponse, } from "../models"; /// @@ -743,7 +755,7 @@ export interface WebApps { */ listByResourceGroup( resourceGroupName: string, - options?: WebAppsListByResourceGroupOptionalParams + options?: WebAppsListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets existing backups of an app. @@ -754,7 +766,7 @@ export interface WebApps { listBackups( resourceGroupName: string, name: string, - options?: WebAppsListBackupsOptionalParams + options?: WebAppsListBackupsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given @@ -766,7 +778,7 @@ export interface WebApps { listBasicPublishingCredentialsPolicies( resourceGroupName: string, name: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the configurations of an app @@ -777,7 +789,7 @@ export interface WebApps { listConfigurations( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationsOptionalParams + options?: WebAppsListConfigurationsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the config reference app settings and status of an app @@ -788,7 +800,7 @@ export interface WebApps { listAppSettingsKeyVaultReferences( resourceGroupName: string, name: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the config reference app settings and status of an app @@ -799,7 +811,7 @@ export interface WebApps { listSiteConnectionStringKeyVaultReferences( resourceGroupName: string, name: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets a list of web app configuration snapshots identifiers. Each element of the list @@ -811,7 +823,7 @@ export interface WebApps { listConfigurationSnapshotInfo( resourceGroupName: string, name: string, - options?: WebAppsListConfigurationSnapshotInfoOptionalParams + options?: WebAppsListConfigurationSnapshotInfoOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List continuous web jobs for an app, or a deployment slot. @@ -822,7 +834,7 @@ export interface WebApps { listContinuousWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListContinuousWebJobsOptionalParams + options?: WebAppsListContinuousWebJobsOptionalParams, ): PagedAsyncIterableIterator; /** * List deployment statuses for an app (or deployment slot, if specified). @@ -833,7 +845,7 @@ export interface WebApps { listProductionSiteDeploymentStatuses( resourceGroupName: string, name: string, - options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams + options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List deployments for an app, or a deployment slot. @@ -844,7 +856,7 @@ export interface WebApps { listDeployments( resourceGroupName: string, name: string, - options?: WebAppsListDeploymentsOptionalParams + options?: WebAppsListDeploymentsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Lists ownership identifiers for domain associated with web app. @@ -855,7 +867,7 @@ export interface WebApps { listDomainOwnershipIdentifiers( resourceGroupName: string, name: string, - options?: WebAppsListDomainOwnershipIdentifiersOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the functions for a web site, or a deployment slot. @@ -866,7 +878,7 @@ export interface WebApps { listFunctions( resourceGroupName: string, name: string, - options?: WebAppsListFunctionsOptionalParams + options?: WebAppsListFunctionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get hostname bindings for an app or a deployment slot. @@ -877,7 +889,7 @@ export interface WebApps { listHostNameBindings( resourceGroupName: string, name: string, - options?: WebAppsListHostNameBindingsOptionalParams + options?: WebAppsListHostNameBindingsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets all scale-out instances of an app. @@ -888,7 +900,7 @@ export interface WebApps { listInstanceIdentifiers( resourceGroupName: string, name: string, - options?: WebAppsListInstanceIdentifiersOptionalParams + options?: WebAppsListInstanceIdentifiersOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get list of processes for a web site, or a deployment slot, or for a specific @@ -903,7 +915,7 @@ export interface WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsListInstanceProcessesOptionalParams + options?: WebAppsListInstanceProcessesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List module information for a process by its ID for a specific scaled-out instance @@ -920,7 +932,7 @@ export interface WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesOptionalParams + options?: WebAppsListInstanceProcessModulesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the threads in a process by its ID for a specific scaled-out instance in a web @@ -937,7 +949,7 @@ export interface WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsOptionalParams + options?: WebAppsListInstanceProcessThreadsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets existing backups of an app. @@ -948,7 +960,7 @@ export interface WebApps { listSiteBackups( resourceGroupName: string, name: string, - options?: WebAppsListSiteBackupsOptionalParams + options?: WebAppsListSiteBackupsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets perfmon counters for web app. @@ -959,7 +971,7 @@ export interface WebApps { listPerfMonCounters( resourceGroupName: string, name: string, - options?: WebAppsListPerfMonCountersOptionalParams + options?: WebAppsListPerfMonCountersOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the list of private endpoint connections associated with a site @@ -970,7 +982,7 @@ export interface WebApps { listPrivateEndpointConnectionList( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateEndpointConnectionListOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get list of processes for a web site, or a deployment slot, or for a specific @@ -982,7 +994,7 @@ export interface WebApps { listProcesses( resourceGroupName: string, name: string, - options?: WebAppsListProcessesOptionalParams + options?: WebAppsListProcessesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List module information for a process by its ID for a specific scaled-out instance @@ -996,7 +1008,7 @@ export interface WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessModulesOptionalParams + options?: WebAppsListProcessModulesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the threads in a process by its ID for a specific scaled-out instance in a web @@ -1010,7 +1022,7 @@ export interface WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsListProcessThreadsOptionalParams + options?: WebAppsListProcessThreadsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get public certificates for an app or a deployment slot. @@ -1021,8 +1033,19 @@ export interface WebApps { listPublicCertificates( resourceGroupName: string, name: string, - options?: WebAppsListPublicCertificatesOptionalParams + options?: WebAppsListPublicCertificatesOptionalParams, ): PagedAsyncIterableIterator; + /** + * Lists all the site containers of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The options parameters. + */ + listSiteContainers( + resourceGroupName: string, + name: string, + options?: WebAppsListSiteContainersOptionalParams, + ): PagedAsyncIterableIterator; /** * Description for Get list of siteextensions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1032,7 +1055,7 @@ export interface WebApps { listSiteExtensions( resourceGroupName: string, name: string, - options?: WebAppsListSiteExtensionsOptionalParams + options?: WebAppsListSiteExtensionsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets an app's deployment slots. @@ -1043,7 +1066,7 @@ export interface WebApps { listSlots( resourceGroupName: string, name: string, - options?: WebAppsListSlotsOptionalParams + options?: WebAppsListSlotsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets existing backups of an app. @@ -1057,7 +1080,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBackupsSlotOptionalParams + options?: WebAppsListBackupsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given @@ -1071,7 +1094,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams + options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the configurations of an app @@ -1085,7 +1108,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationsSlotOptionalParams + options?: WebAppsListConfigurationsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the config reference app settings and status of an app @@ -1098,7 +1121,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the config reference app settings and status of an app @@ -1111,7 +1134,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets a list of web app configuration snapshots identifiers. Each element of the list @@ -1126,7 +1149,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams + options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List continuous web jobs for an app, or a deployment slot. @@ -1140,7 +1163,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListContinuousWebJobsSlotOptionalParams + options?: WebAppsListContinuousWebJobsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * List deployment statuses for an app (or deployment slot, if specified). @@ -1154,7 +1177,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams + options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List deployments for an app, or a deployment slot. @@ -1168,7 +1191,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDeploymentsSlotOptionalParams + options?: WebAppsListDeploymentsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Lists ownership identifiers for domain associated with web app. @@ -1182,7 +1205,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams + options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the functions for a web site, or a deployment slot. @@ -1195,7 +1218,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceFunctionsSlotOptionalParams + options?: WebAppsListInstanceFunctionsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get hostname bindings for an app or a deployment slot. @@ -1209,7 +1232,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHostNameBindingsSlotOptionalParams + options?: WebAppsListHostNameBindingsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets all scale-out instances of an app. @@ -1223,7 +1246,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceIdentifiersSlotOptionalParams + options?: WebAppsListInstanceIdentifiersSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get list of processes for a web site, or a deployment slot, or for a specific @@ -1241,7 +1264,7 @@ export interface WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessesSlotOptionalParams + options?: WebAppsListInstanceProcessesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List module information for a process by its ID for a specific scaled-out instance @@ -1261,7 +1284,7 @@ export interface WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessModulesSlotOptionalParams + options?: WebAppsListInstanceProcessModulesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the threads in a process by its ID for a specific scaled-out instance in a web @@ -1281,7 +1304,7 @@ export interface WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsListInstanceProcessThreadsSlotOptionalParams + options?: WebAppsListInstanceProcessThreadsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets existing backups of an app. @@ -1295,7 +1318,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteBackupsSlotOptionalParams + options?: WebAppsListSiteBackupsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets perfmon counters for web app. @@ -1308,7 +1331,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPerfMonCountersSlotOptionalParams + options?: WebAppsListPerfMonCountersSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the list of private endpoint connections associated with a site @@ -1321,7 +1344,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams + options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get list of processes for a web site, or a deployment slot, or for a specific @@ -1336,7 +1359,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListProcessesSlotOptionalParams + options?: WebAppsListProcessesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List module information for a process by its ID for a specific scaled-out instance @@ -1353,7 +1376,7 @@ export interface WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessModulesSlotOptionalParams + options?: WebAppsListProcessModulesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List the threads in a process by its ID for a specific scaled-out instance in a web @@ -1370,7 +1393,7 @@ export interface WebApps { name: string, processId: string, slot: string, - options?: WebAppsListProcessThreadsSlotOptionalParams + options?: WebAppsListProcessThreadsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get public certificates for an app or a deployment slot. @@ -1384,8 +1407,22 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublicCertificatesSlotOptionalParams + options?: WebAppsListPublicCertificatesSlotOptionalParams, ): PagedAsyncIterableIterator; + /** + * Lists all the site containers of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a list of site + * containers for the production slot. + * @param options The options parameters. + */ + listSiteContainersSlot( + resourceGroupName: string, + name: string, + slot: string, + options?: WebAppsListSiteContainersSlotOptionalParams, + ): PagedAsyncIterableIterator; /** * Description for Get list of siteextensions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1398,7 +1435,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSiteExtensionsSlotOptionalParams + options?: WebAppsListSiteExtensionsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get the difference in configuration settings between two web app slots. @@ -1414,7 +1451,7 @@ export interface WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesSlotOptionalParams + options?: WebAppsListSlotDifferencesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Returns all Snapshots to the user. @@ -1427,7 +1464,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsSlotOptionalParams + options?: WebAppsListSnapshotsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Returns all Snapshots to the user from DRSecondary endpoint. @@ -1440,7 +1477,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams + options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List triggered web jobs for an app, or a deployment slot. @@ -1454,7 +1491,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListTriggeredWebJobsSlotOptionalParams + options?: WebAppsListTriggeredWebJobsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List a triggered web job's history for an app, or a deployment slot. @@ -1470,7 +1507,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams + options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the quota usage information of an app (or deployment slot, if specified). @@ -1484,7 +1521,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListUsagesSlotOptionalParams + options?: WebAppsListUsagesSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List webjobs for an app, or a deployment slot. @@ -1498,7 +1535,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListWebJobsSlotOptionalParams + options?: WebAppsListWebJobsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Get the difference in configuration settings between two web app slots. @@ -1511,7 +1548,7 @@ export interface WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsListSlotDifferencesFromProductionOptionalParams + options?: WebAppsListSlotDifferencesFromProductionOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Returns all Snapshots to the user. @@ -1522,7 +1559,7 @@ export interface WebApps { listSnapshots( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsOptionalParams + options?: WebAppsListSnapshotsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Returns all Snapshots to the user from DRSecondary endpoint. @@ -1533,7 +1570,7 @@ export interface WebApps { listSnapshotsFromDRSecondary( resourceGroupName: string, name: string, - options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams + options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List triggered web jobs for an app, or a deployment slot. @@ -1544,7 +1581,7 @@ export interface WebApps { listTriggeredWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListTriggeredWebJobsOptionalParams + options?: WebAppsListTriggeredWebJobsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List a triggered web job's history for an app, or a deployment slot. @@ -1557,7 +1594,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsListTriggeredWebJobHistoryOptionalParams + options?: WebAppsListTriggeredWebJobHistoryOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the quota usage information of an app (or deployment slot, if specified). @@ -1568,7 +1605,7 @@ export interface WebApps { listUsages( resourceGroupName: string, name: string, - options?: WebAppsListUsagesOptionalParams + options?: WebAppsListUsagesOptionalParams, ): PagedAsyncIterableIterator; /** * Description for List webjobs for an app, or a deployment slot. @@ -1579,7 +1616,7 @@ export interface WebApps { listWebJobs( resourceGroupName: string, name: string, - options?: WebAppsListWebJobsOptionalParams + options?: WebAppsListWebJobsOptionalParams, ): PagedAsyncIterableIterator; /** * List the workflows for a web site, or a deployment slot. @@ -1592,7 +1629,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListInstanceWorkflowsSlotOptionalParams + options?: WebAppsListInstanceWorkflowsSlotOptionalParams, ): PagedAsyncIterableIterator; /** * List the workflows for a web site, or a deployment slot. @@ -1603,7 +1640,7 @@ export interface WebApps { listWorkflows( resourceGroupName: string, name: string, - options?: WebAppsListWorkflowsOptionalParams + options?: WebAppsListWorkflowsOptionalParams, ): PagedAsyncIterableIterator; /** * Description for Gets the details of a web, mobile, or API app. @@ -1614,7 +1651,7 @@ export interface WebApps { get( resourceGroupName: string, name: string, - options?: WebAppsGetOptionalParams + options?: WebAppsGetOptionalParams, ): Promise; /** * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an @@ -1629,7 +1666,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateOptionalParams + options?: WebAppsCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -1649,7 +1686,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateOptionalParams + options?: WebAppsCreateOrUpdateOptionalParams, ): Promise; /** * Description for Deletes a web, mobile, or API app, or one of the deployment slots. @@ -1660,7 +1697,7 @@ export interface WebApps { delete( resourceGroupName: string, name: string, - options?: WebAppsDeleteOptionalParams + options?: WebAppsDeleteOptionalParams, ): Promise; /** * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an @@ -1675,7 +1712,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteEnvelope: SitePatchResource, - options?: WebAppsUpdateOptionalParams + options?: WebAppsUpdateOptionalParams, ): Promise; /** * Description for Analyze a custom hostname. @@ -1686,7 +1723,7 @@ export interface WebApps { analyzeCustomHostname( resourceGroupName: string, name: string, - options?: WebAppsAnalyzeCustomHostnameOptionalParams + options?: WebAppsAnalyzeCustomHostnameOptionalParams, ): Promise; /** * Description for Applies the configuration settings from the target slot onto the current slot. @@ -1699,7 +1736,7 @@ export interface WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsApplySlotConfigToProductionOptionalParams + options?: WebAppsApplySlotConfigToProductionOptionalParams, ): Promise; /** * Description for Creates a backup of an app. @@ -1713,7 +1750,7 @@ export interface WebApps { resourceGroupName: string, name: string, request: BackupRequest, - options?: WebAppsBackupOptionalParams + options?: WebAppsBackupOptionalParams, ): Promise; /** * Description for Gets a backup of an app by its ID. @@ -1726,7 +1763,7 @@ export interface WebApps { resourceGroupName: string, name: string, backupId: string, - options?: WebAppsGetBackupStatusOptionalParams + options?: WebAppsGetBackupStatusOptionalParams, ): Promise; /** * Description for Deletes a backup of an app by its ID. @@ -1739,7 +1776,7 @@ export interface WebApps { resourceGroupName: string, name: string, backupId: string, - options?: WebAppsDeleteBackupOptionalParams + options?: WebAppsDeleteBackupOptionalParams, ): Promise; /** * Description for Gets status of a web app backup that may be in progress, including secrets @@ -1756,7 +1793,7 @@ export interface WebApps { name: string, backupId: string, request: BackupRequest, - options?: WebAppsListBackupStatusSecretsOptionalParams + options?: WebAppsListBackupStatusSecretsOptionalParams, ): Promise; /** * Description for Restores a specific backup to another app (or deployment slot, if specified). @@ -1771,7 +1808,7 @@ export interface WebApps { name: string, backupId: string, request: RestoreRequest, - options?: WebAppsRestoreOptionalParams + options?: WebAppsRestoreOptionalParams, ): Promise, void>>; /** * Description for Restores a specific backup to another app (or deployment slot, if specified). @@ -1786,7 +1823,7 @@ export interface WebApps { name: string, backupId: string, request: RestoreRequest, - options?: WebAppsRestoreOptionalParams + options?: WebAppsRestoreOptionalParams, ): Promise; /** * Description for Returns whether FTP is allowed on the site or not. @@ -1797,7 +1834,7 @@ export interface WebApps { getFtpAllowed( resourceGroupName: string, name: string, - options?: WebAppsGetFtpAllowedOptionalParams + options?: WebAppsGetFtpAllowedOptionalParams, ): Promise; /** * Description for Updates whether FTP is allowed on the site or not. @@ -1810,7 +1847,7 @@ export interface WebApps { resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateFtpAllowedOptionalParams + options?: WebAppsUpdateFtpAllowedOptionalParams, ): Promise; /** * Description for Returns whether Scm basic auth is allowed on the site or not. @@ -1821,7 +1858,7 @@ export interface WebApps { getScmAllowed( resourceGroupName: string, name: string, - options?: WebAppsGetScmAllowedOptionalParams + options?: WebAppsGetScmAllowedOptionalParams, ): Promise; /** * Description for Updates whether user publishing credentials are allowed on the site or not. @@ -1834,7 +1871,7 @@ export interface WebApps { resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateScmAllowedOptionalParams + options?: WebAppsUpdateScmAllowedOptionalParams, ): Promise; /** * Description for Replaces the application settings of an app. @@ -1847,7 +1884,7 @@ export interface WebApps { resourceGroupName: string, name: string, appSettings: StringDictionary, - options?: WebAppsUpdateApplicationSettingsOptionalParams + options?: WebAppsUpdateApplicationSettingsOptionalParams, ): Promise; /** * Description for Gets the application settings of an app. @@ -1858,7 +1895,7 @@ export interface WebApps { listApplicationSettings( resourceGroupName: string, name: string, - options?: WebAppsListApplicationSettingsOptionalParams + options?: WebAppsListApplicationSettingsOptionalParams, ): Promise; /** * Description for Updates the Authentication / Authorization settings associated with web app. @@ -1871,7 +1908,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteAuthSettings: SiteAuthSettings, - options?: WebAppsUpdateAuthSettingsOptionalParams + options?: WebAppsUpdateAuthSettingsOptionalParams, ): Promise; /** * Description for Gets the Authentication/Authorization settings of an app. @@ -1882,7 +1919,7 @@ export interface WebApps { getAuthSettings( resourceGroupName: string, name: string, - options?: WebAppsGetAuthSettingsOptionalParams + options?: WebAppsGetAuthSettingsOptionalParams, ): Promise; /** * Description for Gets site's Authentication / Authorization settings for apps via the V2 format @@ -1893,7 +1930,7 @@ export interface WebApps { getAuthSettingsV2WithoutSecrets( resourceGroupName: string, name: string, - options?: WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams + options?: WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams, ): Promise; /** * Description for Updates site's Authentication / Authorization settings for apps via the V2 format @@ -1906,7 +1943,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteAuthSettingsV2: SiteAuthSettingsV2, - options?: WebAppsUpdateAuthSettingsV2OptionalParams + options?: WebAppsUpdateAuthSettingsV2OptionalParams, ): Promise; /** * Description for Gets site's Authentication / Authorization settings for apps via the V2 format @@ -1917,7 +1954,7 @@ export interface WebApps { getAuthSettingsV2( resourceGroupName: string, name: string, - options?: WebAppsGetAuthSettingsV2OptionalParams + options?: WebAppsGetAuthSettingsV2OptionalParams, ): Promise; /** * Description for Updates the Azure storage account configurations of an app. @@ -1930,7 +1967,7 @@ export interface WebApps { resourceGroupName: string, name: string, azureStorageAccounts: AzureStoragePropertyDictionaryResource, - options?: WebAppsUpdateAzureStorageAccountsOptionalParams + options?: WebAppsUpdateAzureStorageAccountsOptionalParams, ): Promise; /** * Description for Gets the Azure storage account configurations of an app. @@ -1941,7 +1978,7 @@ export interface WebApps { listAzureStorageAccounts( resourceGroupName: string, name: string, - options?: WebAppsListAzureStorageAccountsOptionalParams + options?: WebAppsListAzureStorageAccountsOptionalParams, ): Promise; /** * Description for Updates the backup configuration of an app. @@ -1954,7 +1991,7 @@ export interface WebApps { resourceGroupName: string, name: string, request: BackupRequest, - options?: WebAppsUpdateBackupConfigurationOptionalParams + options?: WebAppsUpdateBackupConfigurationOptionalParams, ): Promise; /** * Description for Deletes the backup configuration of an app. @@ -1965,7 +2002,7 @@ export interface WebApps { deleteBackupConfiguration( resourceGroupName: string, name: string, - options?: WebAppsDeleteBackupConfigurationOptionalParams + options?: WebAppsDeleteBackupConfigurationOptionalParams, ): Promise; /** * Description for Gets the backup configuration of an app. @@ -1976,7 +2013,7 @@ export interface WebApps { getBackupConfiguration( resourceGroupName: string, name: string, - options?: WebAppsGetBackupConfigurationOptionalParams + options?: WebAppsGetBackupConfigurationOptionalParams, ): Promise; /** * Description for Gets the config reference and status of an app @@ -1989,7 +2026,7 @@ export interface WebApps { resourceGroupName: string, name: string, appSettingKey: string, - options?: WebAppsGetAppSettingKeyVaultReferenceOptionalParams + options?: WebAppsGetAppSettingKeyVaultReferenceOptionalParams, ): Promise; /** * Description for Gets the config reference and status of an app @@ -2002,7 +2039,7 @@ export interface WebApps { resourceGroupName: string, name: string, connectionStringKey: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams, ): Promise; /** * Description for Replaces the connection strings of an app. @@ -2015,7 +2052,7 @@ export interface WebApps { resourceGroupName: string, name: string, connectionStrings: ConnectionStringDictionary, - options?: WebAppsUpdateConnectionStringsOptionalParams + options?: WebAppsUpdateConnectionStringsOptionalParams, ): Promise; /** * Description for Gets the connection strings of an app. @@ -2026,7 +2063,7 @@ export interface WebApps { listConnectionStrings( resourceGroupName: string, name: string, - options?: WebAppsListConnectionStringsOptionalParams + options?: WebAppsListConnectionStringsOptionalParams, ): Promise; /** * Description for Gets the logging configuration of an app. @@ -2037,7 +2074,7 @@ export interface WebApps { getDiagnosticLogsConfiguration( resourceGroupName: string, name: string, - options?: WebAppsGetDiagnosticLogsConfigurationOptionalParams + options?: WebAppsGetDiagnosticLogsConfigurationOptionalParams, ): Promise; /** * Description for Updates the logging configuration of an app. @@ -2051,7 +2088,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteLogsConfig: SiteLogsConfig, - options?: WebAppsUpdateDiagnosticLogsConfigOptionalParams + options?: WebAppsUpdateDiagnosticLogsConfigOptionalParams, ): Promise; /** * Description for Replaces the metadata of an app. @@ -2064,7 +2101,7 @@ export interface WebApps { resourceGroupName: string, name: string, metadata: StringDictionary, - options?: WebAppsUpdateMetadataOptionalParams + options?: WebAppsUpdateMetadataOptionalParams, ): Promise; /** * Description for Gets the metadata of an app. @@ -2075,7 +2112,7 @@ export interface WebApps { listMetadata( resourceGroupName: string, name: string, - options?: WebAppsListMetadataOptionalParams + options?: WebAppsListMetadataOptionalParams, ): Promise; /** * Description for Gets the Git/FTP publishing credentials of an app. @@ -2086,7 +2123,7 @@ export interface WebApps { beginListPublishingCredentials( resourceGroupName: string, name: string, - options?: WebAppsListPublishingCredentialsOptionalParams + options?: WebAppsListPublishingCredentialsOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2102,7 +2139,7 @@ export interface WebApps { beginListPublishingCredentialsAndWait( resourceGroupName: string, name: string, - options?: WebAppsListPublishingCredentialsOptionalParams + options?: WebAppsListPublishingCredentialsOptionalParams, ): Promise; /** * Description for Updates the Push settings associated with web app. @@ -2115,7 +2152,7 @@ export interface WebApps { resourceGroupName: string, name: string, pushSettings: PushSettings, - options?: WebAppsUpdateSitePushSettingsOptionalParams + options?: WebAppsUpdateSitePushSettingsOptionalParams, ): Promise; /** * Description for Gets the Push settings associated with web app. @@ -2126,7 +2163,7 @@ export interface WebApps { listSitePushSettings( resourceGroupName: string, name: string, - options?: WebAppsListSitePushSettingsOptionalParams + options?: WebAppsListSitePushSettingsOptionalParams, ): Promise; /** * Description for Gets the names of app settings and connection strings that stick to the slot (not @@ -2138,7 +2175,7 @@ export interface WebApps { listSlotConfigurationNames( resourceGroupName: string, name: string, - options?: WebAppsListSlotConfigurationNamesOptionalParams + options?: WebAppsListSlotConfigurationNamesOptionalParams, ): Promise; /** * Description for Updates the names of application settings and connection string that remain with the @@ -2152,7 +2189,7 @@ export interface WebApps { resourceGroupName: string, name: string, slotConfigNames: SlotConfigNamesResource, - options?: WebAppsUpdateSlotConfigurationNamesOptionalParams + options?: WebAppsUpdateSlotConfigurationNamesOptionalParams, ): Promise; /** * Description for Gets the configuration of an app, such as platform version and bitness, default @@ -2164,7 +2201,7 @@ export interface WebApps { getConfiguration( resourceGroupName: string, name: string, - options?: WebAppsGetConfigurationOptionalParams + options?: WebAppsGetConfigurationOptionalParams, ): Promise; /** * Description for Updates the configuration of an app. @@ -2177,7 +2214,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteConfig: SiteConfigResource, - options?: WebAppsCreateOrUpdateConfigurationOptionalParams + options?: WebAppsCreateOrUpdateConfigurationOptionalParams, ): Promise; /** * Description for Updates the configuration of an app. @@ -2190,7 +2227,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteConfig: SiteConfigResource, - options?: WebAppsUpdateConfigurationOptionalParams + options?: WebAppsUpdateConfigurationOptionalParams, ): Promise; /** * Description for Gets a snapshot of the configuration of an app at a previous point in time. @@ -2203,7 +2240,7 @@ export interface WebApps { resourceGroupName: string, name: string, snapshotId: string, - options?: WebAppsGetConfigurationSnapshotOptionalParams + options?: WebAppsGetConfigurationSnapshotOptionalParams, ): Promise; /** * Description for Reverts the configuration of an app to a previous snapshot. @@ -2216,7 +2253,7 @@ export interface WebApps { resourceGroupName: string, name: string, snapshotId: string, - options?: WebAppsRecoverSiteConfigurationSnapshotOptionalParams + options?: WebAppsRecoverSiteConfigurationSnapshotOptionalParams, ): Promise; /** * Description for Gets the last lines of docker logs for the given site @@ -2227,7 +2264,7 @@ export interface WebApps { getWebSiteContainerLogs( resourceGroupName: string, name: string, - options?: WebAppsGetWebSiteContainerLogsOptionalParams + options?: WebAppsGetWebSiteContainerLogsOptionalParams, ): Promise; /** * Description for Gets the ZIP archived docker log files for the given site @@ -2238,7 +2275,7 @@ export interface WebApps { getContainerLogsZip( resourceGroupName: string, name: string, - options?: WebAppsGetContainerLogsZipOptionalParams + options?: WebAppsGetContainerLogsZipOptionalParams, ): Promise; /** * Description for Gets a continuous web job by its ID for an app, or a deployment slot. @@ -2251,7 +2288,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsGetContinuousWebJobOptionalParams + options?: WebAppsGetContinuousWebJobOptionalParams, ): Promise; /** * Description for Delete a continuous web job by its ID for an app, or a deployment slot. @@ -2264,7 +2301,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsDeleteContinuousWebJobOptionalParams + options?: WebAppsDeleteContinuousWebJobOptionalParams, ): Promise; /** * Description for Start a continuous web job for an app, or a deployment slot. @@ -2277,7 +2314,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsStartContinuousWebJobOptionalParams + options?: WebAppsStartContinuousWebJobOptionalParams, ): Promise; /** * Description for Stop a continuous web job for an app, or a deployment slot. @@ -2290,7 +2327,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsStopContinuousWebJobOptionalParams + options?: WebAppsStopContinuousWebJobOptionalParams, ): Promise; /** * Gets the deployment status for an app (or deployment slot, if specified). @@ -2303,7 +2340,7 @@ export interface WebApps { resourceGroupName: string, name: string, deploymentStatusId: string, - options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams + options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2321,7 +2358,7 @@ export interface WebApps { resourceGroupName: string, name: string, deploymentStatusId: string, - options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams + options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams, ): Promise; /** * Description for Get a deployment by its ID for an app, or a deployment slot. @@ -2334,7 +2371,7 @@ export interface WebApps { resourceGroupName: string, name: string, id: string, - options?: WebAppsGetDeploymentOptionalParams + options?: WebAppsGetDeploymentOptionalParams, ): Promise; /** * Description for Create a deployment for an app, or a deployment slot. @@ -2349,7 +2386,7 @@ export interface WebApps { name: string, id: string, deployment: Deployment, - options?: WebAppsCreateDeploymentOptionalParams + options?: WebAppsCreateDeploymentOptionalParams, ): Promise; /** * Description for Delete a deployment by its ID for an app, or a deployment slot. @@ -2362,7 +2399,7 @@ export interface WebApps { resourceGroupName: string, name: string, id: string, - options?: WebAppsDeleteDeploymentOptionalParams + options?: WebAppsDeleteDeploymentOptionalParams, ): Promise; /** * Description for List deployment log for specific deployment for an app, or a deployment slot. @@ -2376,7 +2413,7 @@ export interface WebApps { resourceGroupName: string, name: string, id: string, - options?: WebAppsListDeploymentLogOptionalParams + options?: WebAppsListDeploymentLogOptionalParams, ): Promise; /** * Description for Discovers an existing app backup that can be restored from a blob in Azure storage. @@ -2391,7 +2428,7 @@ export interface WebApps { resourceGroupName: string, name: string, request: RestoreRequest, - options?: WebAppsDiscoverBackupOptionalParams + options?: WebAppsDiscoverBackupOptionalParams, ): Promise; /** * Description for Get domain ownership identifier for web app. @@ -2404,7 +2441,7 @@ export interface WebApps { resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, - options?: WebAppsGetDomainOwnershipIdentifierOptionalParams + options?: WebAppsGetDomainOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Creates a domain ownership identifier for web app, or updates an existing ownership @@ -2420,7 +2457,7 @@ export interface WebApps { name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams + options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Deletes a domain ownership identifier for a web app. @@ -2433,7 +2470,7 @@ export interface WebApps { resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, - options?: WebAppsDeleteDomainOwnershipIdentifierOptionalParams + options?: WebAppsDeleteDomainOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Creates a domain ownership identifier for web app, or updates an existing ownership @@ -2449,7 +2486,7 @@ export interface WebApps { name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsUpdateDomainOwnershipIdentifierOptionalParams + options?: WebAppsUpdateDomainOwnershipIdentifierOptionalParams, ): Promise; /** * Description for Get the status of the last MSDeploy operation. @@ -2460,7 +2497,7 @@ export interface WebApps { getMSDeployStatus( resourceGroupName: string, name: string, - options?: WebAppsGetMSDeployStatusOptionalParams + options?: WebAppsGetMSDeployStatusOptionalParams, ): Promise; /** * Description for Invoke the MSDeploy web app extension. @@ -2473,7 +2510,7 @@ export interface WebApps { resourceGroupName: string, name: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationOptionalParams + options?: WebAppsCreateMSDeployOperationOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2491,7 +2528,7 @@ export interface WebApps { resourceGroupName: string, name: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationOptionalParams + options?: WebAppsCreateMSDeployOperationOptionalParams, ): Promise; /** * Description for Get the MSDeploy Log for the last MSDeploy operation. @@ -2502,7 +2539,7 @@ export interface WebApps { getMSDeployLog( resourceGroupName: string, name: string, - options?: WebAppsGetMSDeployLogOptionalParams + options?: WebAppsGetMSDeployLogOptionalParams, ): Promise; /** * Description for Invoke onedeploy status API /api/deployments and gets the deployment status for the @@ -2514,7 +2551,7 @@ export interface WebApps { getOneDeployStatus( resourceGroupName: string, name: string, - options?: WebAppsGetOneDeployStatusOptionalParams + options?: WebAppsGetOneDeployStatusOptionalParams, ): Promise; /** * Description for Invoke the OneDeploy publish web app extension. @@ -2525,7 +2562,7 @@ export interface WebApps { createOneDeployOperation( resourceGroupName: string, name: string, - options?: WebAppsCreateOneDeployOperationOptionalParams + options?: WebAppsCreateOneDeployOperationOptionalParams, ): Promise; /** * Description for Fetch a short lived token that can be exchanged for a master key. @@ -2536,7 +2573,7 @@ export interface WebApps { getFunctionsAdminToken( resourceGroupName: string, name: string, - options?: WebAppsGetFunctionsAdminTokenOptionalParams + options?: WebAppsGetFunctionsAdminTokenOptionalParams, ): Promise; /** * Description for Get function information by its ID for web site, or a deployment slot. @@ -2549,7 +2586,7 @@ export interface WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsGetFunctionOptionalParams + options?: WebAppsGetFunctionOptionalParams, ): Promise; /** * Description for Create function for web site, or a deployment slot. @@ -2564,7 +2601,7 @@ export interface WebApps { name: string, functionName: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateFunctionOptionalParams + options?: WebAppsCreateFunctionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2584,7 +2621,7 @@ export interface WebApps { name: string, functionName: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateFunctionOptionalParams + options?: WebAppsCreateFunctionOptionalParams, ): Promise; /** * Description for Delete a function for web site, or a deployment slot. @@ -2597,7 +2634,7 @@ export interface WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsDeleteFunctionOptionalParams + options?: WebAppsDeleteFunctionOptionalParams, ): Promise; /** * Description for Add or update a function secret. @@ -2614,7 +2651,7 @@ export interface WebApps { functionName: string, keyName: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateFunctionSecretOptionalParams + options?: WebAppsCreateOrUpdateFunctionSecretOptionalParams, ): Promise; /** * Description for Delete a function secret. @@ -2629,7 +2666,7 @@ export interface WebApps { name: string, functionName: string, keyName: string, - options?: WebAppsDeleteFunctionSecretOptionalParams + options?: WebAppsDeleteFunctionSecretOptionalParams, ): Promise; /** * Description for Get function keys for a function in a web site, or a deployment slot. @@ -2642,7 +2679,7 @@ export interface WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsListFunctionKeysOptionalParams + options?: WebAppsListFunctionKeysOptionalParams, ): Promise; /** * Description for Get function secrets for a function in a web site, or a deployment slot. @@ -2655,7 +2692,7 @@ export interface WebApps { resourceGroupName: string, name: string, functionName: string, - options?: WebAppsListFunctionSecretsOptionalParams + options?: WebAppsListFunctionSecretsOptionalParams, ): Promise; /** * Description for Get host secrets for a function app. @@ -2666,7 +2703,7 @@ export interface WebApps { listHostKeys( resourceGroupName: string, name: string, - options?: WebAppsListHostKeysOptionalParams + options?: WebAppsListHostKeysOptionalParams, ): Promise; /** * Description for This is to allow calling via powershell and ARM template. @@ -2677,7 +2714,7 @@ export interface WebApps { listSyncStatus( resourceGroupName: string, name: string, - options?: WebAppsListSyncStatusOptionalParams + options?: WebAppsListSyncStatusOptionalParams, ): Promise; /** * Description for Syncs function trigger metadata to the management database @@ -2688,7 +2725,7 @@ export interface WebApps { syncFunctions( resourceGroupName: string, name: string, - options?: WebAppsSyncFunctionsOptionalParams + options?: WebAppsSyncFunctionsOptionalParams, ): Promise; /** * Description for Add or update a host level secret. @@ -2705,7 +2742,7 @@ export interface WebApps { keyType: string, keyName: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateHostSecretOptionalParams + options?: WebAppsCreateOrUpdateHostSecretOptionalParams, ): Promise; /** * Description for Delete a host level secret. @@ -2720,7 +2757,7 @@ export interface WebApps { name: string, keyType: string, keyName: string, - options?: WebAppsDeleteHostSecretOptionalParams + options?: WebAppsDeleteHostSecretOptionalParams, ): Promise; /** * Description for Get the named hostname binding for an app (or deployment slot, if specified). @@ -2733,7 +2770,7 @@ export interface WebApps { resourceGroupName: string, name: string, hostName: string, - options?: WebAppsGetHostNameBindingOptionalParams + options?: WebAppsGetHostNameBindingOptionalParams, ): Promise; /** * Description for Creates a hostname binding for an app. @@ -2748,7 +2785,7 @@ export interface WebApps { name: string, hostName: string, hostNameBinding: HostNameBinding, - options?: WebAppsCreateOrUpdateHostNameBindingOptionalParams + options?: WebAppsCreateOrUpdateHostNameBindingOptionalParams, ): Promise; /** * Description for Deletes a hostname binding for an app. @@ -2761,7 +2798,7 @@ export interface WebApps { resourceGroupName: string, name: string, hostName: string, - options?: WebAppsDeleteHostNameBindingOptionalParams + options?: WebAppsDeleteHostNameBindingOptionalParams, ): Promise; /** * Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. @@ -2776,7 +2813,7 @@ export interface WebApps { name: string, namespaceName: string, relayName: string, - options?: WebAppsGetHybridConnectionOptionalParams + options?: WebAppsGetHybridConnectionOptionalParams, ): Promise; /** * Description for Creates a new Hybrid Connection using a Service Bus relay. @@ -2793,7 +2830,7 @@ export interface WebApps { namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, - options?: WebAppsCreateOrUpdateHybridConnectionOptionalParams + options?: WebAppsCreateOrUpdateHybridConnectionOptionalParams, ): Promise; /** * Description for Removes a Hybrid Connection from this site. @@ -2808,7 +2845,7 @@ export interface WebApps { name: string, namespaceName: string, relayName: string, - options?: WebAppsDeleteHybridConnectionOptionalParams + options?: WebAppsDeleteHybridConnectionOptionalParams, ): Promise; /** * Description for Creates a new Hybrid Connection using a Service Bus relay. @@ -2825,7 +2862,7 @@ export interface WebApps { namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, - options?: WebAppsUpdateHybridConnectionOptionalParams + options?: WebAppsUpdateHybridConnectionOptionalParams, ): Promise; /** * Description for Retrieves all Service Bus Hybrid Connections used by this Web App. @@ -2836,7 +2873,7 @@ export interface WebApps { listHybridConnections( resourceGroupName: string, name: string, - options?: WebAppsListHybridConnectionsOptionalParams + options?: WebAppsListHybridConnectionsOptionalParams, ): Promise; /** * Description for Gets hybrid connections configured for an app (or deployment slot, if specified). @@ -2847,7 +2884,7 @@ export interface WebApps { listRelayServiceConnections( resourceGroupName: string, name: string, - options?: WebAppsListRelayServiceConnectionsOptionalParams + options?: WebAppsListRelayServiceConnectionsOptionalParams, ): Promise; /** * Description for Gets a hybrid connection configuration by its name. @@ -2860,7 +2897,7 @@ export interface WebApps { resourceGroupName: string, name: string, entityName: string, - options?: WebAppsGetRelayServiceConnectionOptionalParams + options?: WebAppsGetRelayServiceConnectionOptionalParams, ): Promise; /** * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one @@ -2876,7 +2913,7 @@ export interface WebApps { name: string, entityName: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams + options?: WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams, ): Promise; /** * Description for Deletes a relay service connection by its name. @@ -2889,7 +2926,7 @@ export interface WebApps { resourceGroupName: string, name: string, entityName: string, - options?: WebAppsDeleteRelayServiceConnectionOptionalParams + options?: WebAppsDeleteRelayServiceConnectionOptionalParams, ): Promise; /** * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one @@ -2905,7 +2942,7 @@ export interface WebApps { name: string, entityName: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsUpdateRelayServiceConnectionOptionalParams + options?: WebAppsUpdateRelayServiceConnectionOptionalParams, ): Promise; /** * Description for Gets all scale-out instances of an app. @@ -2918,7 +2955,7 @@ export interface WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsGetInstanceInfoOptionalParams + options?: WebAppsGetInstanceInfoOptionalParams, ): Promise; /** * Description for Get the status of the last MSDeploy operation. @@ -2931,7 +2968,7 @@ export interface WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsGetInstanceMsDeployStatusOptionalParams + options?: WebAppsGetInstanceMsDeployStatusOptionalParams, ): Promise; /** * Description for Invoke the MSDeploy web app extension. @@ -2946,7 +2983,7 @@ export interface WebApps { name: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -2966,7 +3003,7 @@ export interface WebApps { name: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationOptionalParams, ): Promise; /** * Description for Get the MSDeploy Log for the last MSDeploy operation. @@ -2979,7 +3016,7 @@ export interface WebApps { resourceGroupName: string, name: string, instanceId: string, - options?: WebAppsGetInstanceMSDeployLogOptionalParams + options?: WebAppsGetInstanceMSDeployLogOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -2995,7 +3032,7 @@ export interface WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsGetInstanceProcessOptionalParams + options?: WebAppsGetInstanceProcessOptionalParams, ): Promise; /** * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific @@ -3012,7 +3049,7 @@ export interface WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsDeleteInstanceProcessOptionalParams + options?: WebAppsDeleteInstanceProcessOptionalParams, ): Promise; /** * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web @@ -3029,7 +3066,7 @@ export interface WebApps { name: string, processId: string, instanceId: string, - options?: WebAppsGetInstanceProcessDumpOptionalParams + options?: WebAppsGetInstanceProcessDumpOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -3047,7 +3084,7 @@ export interface WebApps { processId: string, baseAddress: string, instanceId: string, - options?: WebAppsGetInstanceProcessModuleOptionalParams + options?: WebAppsGetInstanceProcessModuleOptionalParams, ): Promise; /** * Description for Shows whether an app can be cloned to another resource group or subscription. @@ -3058,7 +3095,7 @@ export interface WebApps { isCloneable( resourceGroupName: string, name: string, - options?: WebAppsIsCloneableOptionalParams + options?: WebAppsIsCloneableOptionalParams, ): Promise; /** * Description for This is to allow calling via powershell and ARM template. @@ -3069,7 +3106,7 @@ export interface WebApps { listSyncFunctionTriggers( resourceGroupName: string, name: string, - options?: WebAppsListSyncFunctionTriggersOptionalParams + options?: WebAppsListSyncFunctionTriggersOptionalParams, ): Promise; /** * Description for Restores a web app. @@ -3084,7 +3121,7 @@ export interface WebApps { resourceGroupName: string, name: string, migrationOptions: StorageMigrationOptions, - options?: WebAppsMigrateStorageOptionalParams + options?: WebAppsMigrateStorageOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3104,7 +3141,7 @@ export interface WebApps { resourceGroupName: string, name: string, migrationOptions: StorageMigrationOptions, - options?: WebAppsMigrateStorageOptionalParams + options?: WebAppsMigrateStorageOptionalParams, ): Promise; /** * Description for Migrates a local (in-app) MySql database to a remote MySql database. @@ -3117,7 +3154,7 @@ export interface WebApps { resourceGroupName: string, name: string, migrationRequestEnvelope: MigrateMySqlRequest, - options?: WebAppsMigrateMySqlOptionalParams + options?: WebAppsMigrateMySqlOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3135,7 +3172,7 @@ export interface WebApps { resourceGroupName: string, name: string, migrationRequestEnvelope: MigrateMySqlRequest, - options?: WebAppsMigrateMySqlOptionalParams + options?: WebAppsMigrateMySqlOptionalParams, ): Promise; /** * Description for Returns the status of MySql in app migration, if one is active, and whether or not @@ -3147,7 +3184,7 @@ export interface WebApps { getMigrateMySqlStatus( resourceGroupName: string, name: string, - options?: WebAppsGetMigrateMySqlStatusOptionalParams + options?: WebAppsGetMigrateMySqlStatusOptionalParams, ): Promise; /** * Description for Gets a Swift Virtual Network connection. @@ -3158,7 +3195,7 @@ export interface WebApps { getSwiftVirtualNetworkConnection( resourceGroupName: string, name: string, - options?: WebAppsGetSwiftVirtualNetworkConnectionOptionalParams + options?: WebAppsGetSwiftVirtualNetworkConnectionOptionalParams, ): Promise; /** * Description for Integrates this Web App with a Virtual Network. This requires that 1) @@ -3174,10 +3211,8 @@ export interface WebApps { resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams - ): Promise< - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckResponse - >; + options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams, + ): Promise; /** * Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3187,7 +3222,7 @@ export interface WebApps { deleteSwiftVirtualNetwork( resourceGroupName: string, name: string, - options?: WebAppsDeleteSwiftVirtualNetworkOptionalParams + options?: WebAppsDeleteSwiftVirtualNetworkOptionalParams, ): Promise; /** * Description for Integrates this Web App with a Virtual Network. This requires that 1) @@ -3203,7 +3238,7 @@ export interface WebApps { resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams + options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams, ): Promise; /** * Description for Gets all network features used by the app (or deployment slot, if specified). @@ -3216,7 +3251,7 @@ export interface WebApps { resourceGroupName: string, name: string, view: string, - options?: WebAppsListNetworkFeaturesOptionalParams + options?: WebAppsListNetworkFeaturesOptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -3230,7 +3265,7 @@ export interface WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTraceOperationOptionalParams + options?: WebAppsGetNetworkTraceOperationOptionalParams, ): Promise; /** * Description for Start capturing network packets for the site (To be deprecated). @@ -3241,7 +3276,7 @@ export interface WebApps { startWebSiteNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStartWebSiteNetworkTraceOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOptionalParams, ): Promise; /** * Description for Start capturing network packets for the site. @@ -3252,7 +3287,7 @@ export interface WebApps { beginStartWebSiteNetworkTraceOperation( resourceGroupName: string, name: string, - options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3268,7 +3303,7 @@ export interface WebApps { beginStartWebSiteNetworkTraceOperationAndWait( resourceGroupName: string, name: string, - options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams, ): Promise; /** * Description for Stop ongoing capturing network packets for the site. @@ -3279,7 +3314,7 @@ export interface WebApps { stopWebSiteNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStopWebSiteNetworkTraceOptionalParams + options?: WebAppsStopWebSiteNetworkTraceOptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -3293,7 +3328,7 @@ export interface WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTracesOptionalParams + options?: WebAppsGetNetworkTracesOptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -3307,7 +3342,7 @@ export interface WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTraceOperationV2OptionalParams + options?: WebAppsGetNetworkTraceOperationV2OptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -3321,7 +3356,7 @@ export interface WebApps { resourceGroupName: string, name: string, operationId: string, - options?: WebAppsGetNetworkTracesV2OptionalParams + options?: WebAppsGetNetworkTracesV2OptionalParams, ): Promise; /** * Description for Generates a new publishing password for an app (or deployment slot, if specified). @@ -3332,7 +3367,7 @@ export interface WebApps { generateNewSitePublishingPassword( resourceGroupName: string, name: string, - options?: WebAppsGenerateNewSitePublishingPasswordOptionalParams + options?: WebAppsGenerateNewSitePublishingPasswordOptionalParams, ): Promise; /** * Description for Gets web app's event logs. @@ -3343,7 +3378,7 @@ export interface WebApps { getSitePhpErrorLogFlag( resourceGroupName: string, name: string, - options?: WebAppsGetSitePhpErrorLogFlagOptionalParams + options?: WebAppsGetSitePhpErrorLogFlagOptionalParams, ): Promise; /** * Description for Gets the premier add-ons of an app. @@ -3354,7 +3389,7 @@ export interface WebApps { listPremierAddOns( resourceGroupName: string, name: string, - options?: WebAppsListPremierAddOnsOptionalParams + options?: WebAppsListPremierAddOnsOptionalParams, ): Promise; /** * Description for Gets a named add-on of an app. @@ -3367,7 +3402,7 @@ export interface WebApps { resourceGroupName: string, name: string, premierAddOnName: string, - options?: WebAppsGetPremierAddOnOptionalParams + options?: WebAppsGetPremierAddOnOptionalParams, ): Promise; /** * Description for Updates a named add-on of an app. @@ -3382,7 +3417,7 @@ export interface WebApps { name: string, premierAddOnName: string, premierAddOn: PremierAddOn, - options?: WebAppsAddPremierAddOnOptionalParams + options?: WebAppsAddPremierAddOnOptionalParams, ): Promise; /** * Description for Delete a premier add-on from an app. @@ -3395,7 +3430,7 @@ export interface WebApps { resourceGroupName: string, name: string, premierAddOnName: string, - options?: WebAppsDeletePremierAddOnOptionalParams + options?: WebAppsDeletePremierAddOnOptionalParams, ): Promise; /** * Description for Updates a named add-on of an app. @@ -3410,7 +3445,7 @@ export interface WebApps { name: string, premierAddOnName: string, premierAddOn: PremierAddOnPatchResource, - options?: WebAppsUpdatePremierAddOnOptionalParams + options?: WebAppsUpdatePremierAddOnOptionalParams, ): Promise; /** * Description for Gets data around private site access enablement and authorized Virtual Networks that @@ -3422,7 +3457,7 @@ export interface WebApps { getPrivateAccess( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateAccessOptionalParams + options?: WebAppsGetPrivateAccessOptionalParams, ): Promise; /** * Description for Sets data around private site access enablement and authorized Virtual Networks that @@ -3436,7 +3471,7 @@ export interface WebApps { resourceGroupName: string, name: string, access: PrivateAccess, - options?: WebAppsPutPrivateAccessVnetOptionalParams + options?: WebAppsPutPrivateAccessVnetOptionalParams, ): Promise; /** * Description for Gets a private endpoint connection @@ -3449,22 +3484,22 @@ export interface WebApps { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: WebAppsGetPrivateEndpointConnectionOptionalParams + options?: WebAppsGetPrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Approves or rejects a private endpoint connection * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the site. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ beginApproveOrRejectPrivateEndpointConnection( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3476,15 +3511,15 @@ export interface WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the site. * @param privateEndpointConnectionName - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ beginApproveOrRejectPrivateEndpointConnectionAndWait( resourceGroupName: string, name: string, privateEndpointConnectionName: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Deletes a private endpoint connection @@ -3497,7 +3532,7 @@ export interface WebApps { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: WebAppsDeletePrivateEndpointConnectionOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3515,7 +3550,7 @@ export interface WebApps { resourceGroupName: string, name: string, privateEndpointConnectionName: string, - options?: WebAppsDeletePrivateEndpointConnectionOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionOptionalParams, ): Promise; /** * Description for Gets the private link resources @@ -3526,7 +3561,7 @@ export interface WebApps { getPrivateLinkResources( resourceGroupName: string, name: string, - options?: WebAppsGetPrivateLinkResourcesOptionalParams + options?: WebAppsGetPrivateLinkResourcesOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -3539,7 +3574,7 @@ export interface WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsGetProcessOptionalParams + options?: WebAppsGetProcessOptionalParams, ): Promise; /** * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific @@ -3553,7 +3588,7 @@ export interface WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsDeleteProcessOptionalParams + options?: WebAppsDeleteProcessOptionalParams, ): Promise; /** * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web @@ -3567,7 +3602,7 @@ export interface WebApps { resourceGroupName: string, name: string, processId: string, - options?: WebAppsGetProcessDumpOptionalParams + options?: WebAppsGetProcessDumpOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -3582,7 +3617,7 @@ export interface WebApps { name: string, processId: string, baseAddress: string, - options?: WebAppsGetProcessModuleOptionalParams + options?: WebAppsGetProcessModuleOptionalParams, ): Promise; /** * Description for Get the named public certificate for an app (or deployment slot, if specified). @@ -3595,7 +3630,7 @@ export interface WebApps { resourceGroupName: string, name: string, publicCertificateName: string, - options?: WebAppsGetPublicCertificateOptionalParams + options?: WebAppsGetPublicCertificateOptionalParams, ): Promise; /** * Description for Creates a hostname binding for an app. @@ -3611,7 +3646,7 @@ export interface WebApps { name: string, publicCertificateName: string, publicCertificate: PublicCertificate, - options?: WebAppsCreateOrUpdatePublicCertificateOptionalParams + options?: WebAppsCreateOrUpdatePublicCertificateOptionalParams, ): Promise; /** * Description for Deletes a hostname binding for an app. @@ -3624,7 +3659,7 @@ export interface WebApps { resourceGroupName: string, name: string, publicCertificateName: string, - options?: WebAppsDeletePublicCertificateOptionalParams + options?: WebAppsDeletePublicCertificateOptionalParams, ): Promise; /** * Description for Gets the publishing profile for an app (or deployment slot, if specified). @@ -3638,7 +3673,7 @@ export interface WebApps { resourceGroupName: string, name: string, publishingProfileOptions: CsmPublishingProfileOptions, - options?: WebAppsListPublishingProfileXmlWithSecretsOptionalParams + options?: WebAppsListPublishingProfileXmlWithSecretsOptionalParams, ): Promise; /** * Description for Resets the configuration settings of the current slot if they were previously @@ -3650,7 +3685,7 @@ export interface WebApps { resetProductionSlotConfig( resourceGroupName: string, name: string, - options?: WebAppsResetProductionSlotConfigOptionalParams + options?: WebAppsResetProductionSlotConfigOptionalParams, ): Promise; /** * Description for Restarts an app (or deployment slot, if specified). @@ -3661,7 +3696,7 @@ export interface WebApps { restart( resourceGroupName: string, name: string, - options?: WebAppsRestartOptionalParams + options?: WebAppsRestartOptionalParams, ): Promise; /** * Description for Restores an app from a backup blob in Azure Storage. @@ -3674,7 +3709,7 @@ export interface WebApps { resourceGroupName: string, name: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobOptionalParams + options?: WebAppsRestoreFromBackupBlobOptionalParams, ): Promise, void>>; /** * Description for Restores an app from a backup blob in Azure Storage. @@ -3687,7 +3722,7 @@ export interface WebApps { resourceGroupName: string, name: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobOptionalParams + options?: WebAppsRestoreFromBackupBlobOptionalParams, ): Promise; /** * Description for Restores a deleted web app to this web app. @@ -3700,7 +3735,7 @@ export interface WebApps { resourceGroupName: string, name: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppOptionalParams + options?: WebAppsRestoreFromDeletedAppOptionalParams, ): Promise, void>>; /** * Description for Restores a deleted web app to this web app. @@ -3713,7 +3748,7 @@ export interface WebApps { resourceGroupName: string, name: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppOptionalParams + options?: WebAppsRestoreFromDeletedAppOptionalParams, ): Promise; /** * Description for Restores a web app from a snapshot. @@ -3727,7 +3762,7 @@ export interface WebApps { resourceGroupName: string, name: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotOptionalParams + options?: WebAppsRestoreSnapshotOptionalParams, ): Promise, void>>; /** * Description for Restores a web app from a snapshot. @@ -3741,7 +3776,48 @@ export interface WebApps { resourceGroupName: string, name: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotOptionalParams + options?: WebAppsRestoreSnapshotOptionalParams, + ): Promise; + /** + * Gets a site container of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param containerName Site Container Name + * @param options The options parameters. + */ + getSiteContainer( + resourceGroupName: string, + name: string, + containerName: string, + options?: WebAppsGetSiteContainerOptionalParams, + ): Promise; + /** + * Creates or Updates a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param containerName Site Container Name + * @param request Container Entity + * @param options The options parameters. + */ + createOrUpdateSiteContainer( + resourceGroupName: string, + name: string, + containerName: string, + request: SiteContainer, + options?: WebAppsCreateOrUpdateSiteContainerOptionalParams, + ): Promise; + /** + * Deletes a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param containerName Site Container Name + * @param options The options parameters. + */ + deleteSiteContainer( + resourceGroupName: string, + name: string, + containerName: string, + options?: WebAppsDeleteSiteContainerOptionalParams, ): Promise; /** * Description for Get site extension information by its ID for a web site, or a deployment slot. @@ -3754,7 +3830,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsGetSiteExtensionOptionalParams + options?: WebAppsGetSiteExtensionOptionalParams, ): Promise; /** * Description for Install site extension on a web site, or a deployment slot. @@ -3767,7 +3843,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsInstallSiteExtensionOptionalParams + options?: WebAppsInstallSiteExtensionOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3785,7 +3861,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsInstallSiteExtensionOptionalParams + options?: WebAppsInstallSiteExtensionOptionalParams, ): Promise; /** * Description for Remove a site extension from a web site, or a deployment slot. @@ -3798,7 +3874,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteExtensionId: string, - options?: WebAppsDeleteSiteExtensionOptionalParams + options?: WebAppsDeleteSiteExtensionOptionalParams, ): Promise; /** * Description for Gets the details of a web, mobile, or API app. @@ -3811,7 +3887,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSlotOptionalParams + options?: WebAppsGetSlotOptionalParams, ): Promise; /** * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an @@ -3829,7 +3905,7 @@ export interface WebApps { name: string, slot: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateSlotOptionalParams + options?: WebAppsCreateOrUpdateSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -3852,7 +3928,7 @@ export interface WebApps { name: string, slot: string, siteEnvelope: Site, - options?: WebAppsCreateOrUpdateSlotOptionalParams + options?: WebAppsCreateOrUpdateSlotOptionalParams, ): Promise; /** * Description for Deletes a web, mobile, or API app, or one of the deployment slots. @@ -3865,7 +3941,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteSlotOptionalParams + options?: WebAppsDeleteSlotOptionalParams, ): Promise; /** * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an @@ -3883,7 +3959,7 @@ export interface WebApps { name: string, slot: string, siteEnvelope: SitePatchResource, - options?: WebAppsUpdateSlotOptionalParams + options?: WebAppsUpdateSlotOptionalParams, ): Promise; /** * Description for Analyze a custom hostname. @@ -3896,7 +3972,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsAnalyzeCustomHostnameSlotOptionalParams + options?: WebAppsAnalyzeCustomHostnameSlotOptionalParams, ): Promise; /** * Description for Applies the configuration settings from the target slot onto the current slot. @@ -3912,7 +3988,7 @@ export interface WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsApplySlotConfigurationSlotOptionalParams + options?: WebAppsApplySlotConfigurationSlotOptionalParams, ): Promise; /** * Description for Creates a backup of an app. @@ -3929,7 +4005,7 @@ export interface WebApps { name: string, slot: string, request: BackupRequest, - options?: WebAppsBackupSlotOptionalParams + options?: WebAppsBackupSlotOptionalParams, ): Promise; /** * Description for Gets a backup of an app by its ID. @@ -3945,7 +4021,7 @@ export interface WebApps { name: string, backupId: string, slot: string, - options?: WebAppsGetBackupStatusSlotOptionalParams + options?: WebAppsGetBackupStatusSlotOptionalParams, ): Promise; /** * Description for Deletes a backup of an app by its ID. @@ -3961,7 +4037,7 @@ export interface WebApps { name: string, backupId: string, slot: string, - options?: WebAppsDeleteBackupSlotOptionalParams + options?: WebAppsDeleteBackupSlotOptionalParams, ): Promise; /** * Description for Gets status of a web app backup that may be in progress, including secrets @@ -3980,7 +4056,7 @@ export interface WebApps { backupId: string, slot: string, request: BackupRequest, - options?: WebAppsListBackupStatusSecretsSlotOptionalParams + options?: WebAppsListBackupStatusSecretsSlotOptionalParams, ): Promise; /** * Description for Restores a specific backup to another app (or deployment slot, if specified). @@ -3998,7 +4074,7 @@ export interface WebApps { backupId: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreSlotOptionalParams + options?: WebAppsRestoreSlotOptionalParams, ): Promise, void>>; /** * Description for Restores a specific backup to another app (or deployment slot, if specified). @@ -4016,7 +4092,7 @@ export interface WebApps { backupId: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreSlotOptionalParams + options?: WebAppsRestoreSlotOptionalParams, ): Promise; /** * Description for Returns whether FTP is allowed on the site or not. @@ -4029,7 +4105,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetFtpAllowedSlotOptionalParams + options?: WebAppsGetFtpAllowedSlotOptionalParams, ): Promise; /** * Description for Updates whether FTP is allowed on the site or not. @@ -4044,7 +4120,7 @@ export interface WebApps { name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateFtpAllowedSlotOptionalParams + options?: WebAppsUpdateFtpAllowedSlotOptionalParams, ): Promise; /** * Description for Returns whether Scm basic auth is allowed on the site or not. @@ -4057,7 +4133,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetScmAllowedSlotOptionalParams + options?: WebAppsGetScmAllowedSlotOptionalParams, ): Promise; /** * Description for Updates whether user publishing credentials are allowed on the site or not. @@ -4072,7 +4148,7 @@ export interface WebApps { name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, - options?: WebAppsUpdateScmAllowedSlotOptionalParams + options?: WebAppsUpdateScmAllowedSlotOptionalParams, ): Promise; /** * Description for Replaces the application settings of an app. @@ -4088,7 +4164,7 @@ export interface WebApps { name: string, slot: string, appSettings: StringDictionary, - options?: WebAppsUpdateApplicationSettingsSlotOptionalParams + options?: WebAppsUpdateApplicationSettingsSlotOptionalParams, ): Promise; /** * Description for Gets the application settings of an app. @@ -4102,7 +4178,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListApplicationSettingsSlotOptionalParams + options?: WebAppsListApplicationSettingsSlotOptionalParams, ): Promise; /** * Description for Updates the Authentication / Authorization settings associated with web app. @@ -4117,7 +4193,7 @@ export interface WebApps { name: string, slot: string, siteAuthSettings: SiteAuthSettings, - options?: WebAppsUpdateAuthSettingsSlotOptionalParams + options?: WebAppsUpdateAuthSettingsSlotOptionalParams, ): Promise; /** * Description for Gets the Authentication/Authorization settings of an app. @@ -4131,7 +4207,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAuthSettingsSlotOptionalParams + options?: WebAppsGetAuthSettingsSlotOptionalParams, ): Promise; /** * Gets site's Authentication / Authorization settings for apps via the V2 format @@ -4145,7 +4221,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams + options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams, ): Promise; /** * Description for Updates site's Authentication / Authorization settings for apps via the V2 format @@ -4160,7 +4236,7 @@ export interface WebApps { name: string, slot: string, siteAuthSettingsV2: SiteAuthSettingsV2, - options?: WebAppsUpdateAuthSettingsV2SlotOptionalParams + options?: WebAppsUpdateAuthSettingsV2SlotOptionalParams, ): Promise; /** * Description for Gets site's Authentication / Authorization settings for apps via the V2 format @@ -4174,7 +4250,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetAuthSettingsV2SlotOptionalParams + options?: WebAppsGetAuthSettingsV2SlotOptionalParams, ): Promise; /** * Description for Updates the Azure storage account configurations of an app. @@ -4190,7 +4266,7 @@ export interface WebApps { name: string, slot: string, azureStorageAccounts: AzureStoragePropertyDictionaryResource, - options?: WebAppsUpdateAzureStorageAccountsSlotOptionalParams + options?: WebAppsUpdateAzureStorageAccountsSlotOptionalParams, ): Promise; /** * Description for Gets the Azure storage account configurations of an app. @@ -4204,7 +4280,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListAzureStorageAccountsSlotOptionalParams + options?: WebAppsListAzureStorageAccountsSlotOptionalParams, ): Promise; /** * Description for Updates the backup configuration of an app. @@ -4220,7 +4296,7 @@ export interface WebApps { name: string, slot: string, request: BackupRequest, - options?: WebAppsUpdateBackupConfigurationSlotOptionalParams + options?: WebAppsUpdateBackupConfigurationSlotOptionalParams, ): Promise; /** * Description for Deletes the backup configuration of an app. @@ -4234,7 +4310,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteBackupConfigurationSlotOptionalParams + options?: WebAppsDeleteBackupConfigurationSlotOptionalParams, ): Promise; /** * Description for Gets the backup configuration of an app. @@ -4248,7 +4324,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetBackupConfigurationSlotOptionalParams + options?: WebAppsGetBackupConfigurationSlotOptionalParams, ): Promise; /** * Description for Gets the config reference and status of an app @@ -4263,7 +4339,7 @@ export interface WebApps { name: string, appSettingKey: string, slot: string, - options?: WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams + options?: WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams, ): Promise; /** * Description for Gets the config reference and status of an app @@ -4278,7 +4354,7 @@ export interface WebApps { name: string, connectionStringKey: string, slot: string, - options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams + options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams, ): Promise; /** * Description for Replaces the connection strings of an app. @@ -4294,7 +4370,7 @@ export interface WebApps { name: string, slot: string, connectionStrings: ConnectionStringDictionary, - options?: WebAppsUpdateConnectionStringsSlotOptionalParams + options?: WebAppsUpdateConnectionStringsSlotOptionalParams, ): Promise; /** * Description for Gets the connection strings of an app. @@ -4308,7 +4384,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListConnectionStringsSlotOptionalParams + options?: WebAppsListConnectionStringsSlotOptionalParams, ): Promise; /** * Description for Gets the logging configuration of an app. @@ -4322,7 +4398,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams + options?: WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams, ): Promise; /** * Description for Updates the logging configuration of an app. @@ -4339,7 +4415,7 @@ export interface WebApps { name: string, slot: string, siteLogsConfig: SiteLogsConfig, - options?: WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams + options?: WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams, ): Promise; /** * Description for Replaces the metadata of an app. @@ -4355,7 +4431,7 @@ export interface WebApps { name: string, slot: string, metadata: StringDictionary, - options?: WebAppsUpdateMetadataSlotOptionalParams + options?: WebAppsUpdateMetadataSlotOptionalParams, ): Promise; /** * Description for Gets the metadata of an app. @@ -4369,7 +4445,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListMetadataSlotOptionalParams + options?: WebAppsListMetadataSlotOptionalParams, ): Promise; /** * Description for Gets the Git/FTP publishing credentials of an app. @@ -4383,7 +4459,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublishingCredentialsSlotOptionalParams + options?: WebAppsListPublishingCredentialsSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -4402,7 +4478,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPublishingCredentialsSlotOptionalParams + options?: WebAppsListPublishingCredentialsSlotOptionalParams, ): Promise; /** * Description for Updates the Push settings associated with web app. @@ -4417,7 +4493,7 @@ export interface WebApps { name: string, slot: string, pushSettings: PushSettings, - options?: WebAppsUpdateSitePushSettingsSlotOptionalParams + options?: WebAppsUpdateSitePushSettingsSlotOptionalParams, ): Promise; /** * Description for Gets the Push settings associated with web app. @@ -4430,7 +4506,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSitePushSettingsSlotOptionalParams + options?: WebAppsListSitePushSettingsSlotOptionalParams, ): Promise; /** * Description for Gets the configuration of an app, such as platform version and bitness, default @@ -4445,7 +4521,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetConfigurationSlotOptionalParams + options?: WebAppsGetConfigurationSlotOptionalParams, ): Promise; /** * Description for Updates the configuration of an app. @@ -4461,7 +4537,7 @@ export interface WebApps { name: string, slot: string, siteConfig: SiteConfigResource, - options?: WebAppsCreateOrUpdateConfigurationSlotOptionalParams + options?: WebAppsCreateOrUpdateConfigurationSlotOptionalParams, ): Promise; /** * Description for Updates the configuration of an app. @@ -4477,7 +4553,7 @@ export interface WebApps { name: string, slot: string, siteConfig: SiteConfigResource, - options?: WebAppsUpdateConfigurationSlotOptionalParams + options?: WebAppsUpdateConfigurationSlotOptionalParams, ): Promise; /** * Description for Gets a snapshot of the configuration of an app at a previous point in time. @@ -4493,7 +4569,7 @@ export interface WebApps { name: string, snapshotId: string, slot: string, - options?: WebAppsGetConfigurationSnapshotSlotOptionalParams + options?: WebAppsGetConfigurationSnapshotSlotOptionalParams, ): Promise; /** * Description for Reverts the configuration of an app to a previous snapshot. @@ -4509,7 +4585,7 @@ export interface WebApps { name: string, snapshotId: string, slot: string, - options?: WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams + options?: WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams, ): Promise; /** * Description for Gets the last lines of docker logs for the given site @@ -4522,7 +4598,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetWebSiteContainerLogsSlotOptionalParams + options?: WebAppsGetWebSiteContainerLogsSlotOptionalParams, ): Promise; /** * Description for Gets the ZIP archived docker log files for the given site @@ -4535,7 +4611,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetContainerLogsZipSlotOptionalParams + options?: WebAppsGetContainerLogsZipSlotOptionalParams, ): Promise; /** * Description for Gets a continuous web job by its ID for an app, or a deployment slot. @@ -4551,7 +4627,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsGetContinuousWebJobSlotOptionalParams + options?: WebAppsGetContinuousWebJobSlotOptionalParams, ): Promise; /** * Description for Delete a continuous web job by its ID for an app, or a deployment slot. @@ -4567,7 +4643,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsDeleteContinuousWebJobSlotOptionalParams + options?: WebAppsDeleteContinuousWebJobSlotOptionalParams, ): Promise; /** * Description for Start a continuous web job for an app, or a deployment slot. @@ -4583,7 +4659,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsStartContinuousWebJobSlotOptionalParams + options?: WebAppsStartContinuousWebJobSlotOptionalParams, ): Promise; /** * Description for Stop a continuous web job for an app, or a deployment slot. @@ -4599,7 +4675,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsStopContinuousWebJobSlotOptionalParams + options?: WebAppsStopContinuousWebJobSlotOptionalParams, ): Promise; /** * Gets the deployment status for an app (or deployment slot, if specified). @@ -4615,7 +4691,7 @@ export interface WebApps { name: string, slot: string, deploymentStatusId: string, - options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams + options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -4636,7 +4712,7 @@ export interface WebApps { name: string, slot: string, deploymentStatusId: string, - options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams + options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams, ): Promise; /** * Description for Get a deployment by its ID for an app, or a deployment slot. @@ -4652,7 +4728,7 @@ export interface WebApps { name: string, id: string, slot: string, - options?: WebAppsGetDeploymentSlotOptionalParams + options?: WebAppsGetDeploymentSlotOptionalParams, ): Promise; /** * Description for Create a deployment for an app, or a deployment slot. @@ -4670,7 +4746,7 @@ export interface WebApps { id: string, slot: string, deployment: Deployment, - options?: WebAppsCreateDeploymentSlotOptionalParams + options?: WebAppsCreateDeploymentSlotOptionalParams, ): Promise; /** * Description for Delete a deployment by its ID for an app, or a deployment slot. @@ -4686,7 +4762,7 @@ export interface WebApps { name: string, id: string, slot: string, - options?: WebAppsDeleteDeploymentSlotOptionalParams + options?: WebAppsDeleteDeploymentSlotOptionalParams, ): Promise; /** * Description for List deployment log for specific deployment for an app, or a deployment slot. @@ -4703,7 +4779,7 @@ export interface WebApps { name: string, id: string, slot: string, - options?: WebAppsListDeploymentLogSlotOptionalParams + options?: WebAppsListDeploymentLogSlotOptionalParams, ): Promise; /** * Description for Discovers an existing app backup that can be restored from a blob in Azure storage. @@ -4721,7 +4797,7 @@ export interface WebApps { name: string, slot: string, request: RestoreRequest, - options?: WebAppsDiscoverBackupSlotOptionalParams + options?: WebAppsDiscoverBackupSlotOptionalParams, ): Promise; /** * Description for Get domain ownership identifier for web app. @@ -4737,7 +4813,7 @@ export interface WebApps { name: string, domainOwnershipIdentifierName: string, slot: string, - options?: WebAppsGetDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsGetDomainOwnershipIdentifierSlotOptionalParams, ): Promise; /** * Description for Creates a domain ownership identifier for web app, or updates an existing ownership @@ -4756,7 +4832,7 @@ export interface WebApps { domainOwnershipIdentifierName: string, slot: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams, ): Promise; /** * Description for Deletes a domain ownership identifier for a web app. @@ -4772,7 +4848,7 @@ export interface WebApps { name: string, domainOwnershipIdentifierName: string, slot: string, - options?: WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams, ): Promise; /** * Description for Creates a domain ownership identifier for web app, or updates an existing ownership @@ -4791,7 +4867,7 @@ export interface WebApps { domainOwnershipIdentifierName: string, slot: string, domainOwnershipIdentifier: Identifier, - options?: WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams + options?: WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams, ): Promise; /** * Description for Get the status of the last MSDeploy operation. @@ -4804,7 +4880,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetMSDeployStatusSlotOptionalParams + options?: WebAppsGetMSDeployStatusSlotOptionalParams, ): Promise; /** * Description for Invoke the MSDeploy web app extension. @@ -4819,7 +4895,7 @@ export interface WebApps { name: string, slot: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationSlotOptionalParams + options?: WebAppsCreateMSDeployOperationSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -4839,7 +4915,7 @@ export interface WebApps { name: string, slot: string, mSDeploy: MSDeploy, - options?: WebAppsCreateMSDeployOperationSlotOptionalParams + options?: WebAppsCreateMSDeployOperationSlotOptionalParams, ): Promise; /** * Description for Get the MSDeploy Log for the last MSDeploy operation. @@ -4852,7 +4928,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetMSDeployLogSlotOptionalParams + options?: WebAppsGetMSDeployLogSlotOptionalParams, ): Promise; /** * Description for Fetch a short lived token that can be exchanged for a master key. @@ -4865,7 +4941,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetFunctionsAdminTokenSlotOptionalParams + options?: WebAppsGetFunctionsAdminTokenSlotOptionalParams, ): Promise; /** * Description for Get function information by its ID for web site, or a deployment slot. @@ -4880,7 +4956,7 @@ export interface WebApps { name: string, functionName: string, slot: string, - options?: WebAppsGetInstanceFunctionSlotOptionalParams + options?: WebAppsGetInstanceFunctionSlotOptionalParams, ): Promise; /** * Description for Create function for web site, or a deployment slot. @@ -4897,7 +4973,7 @@ export interface WebApps { functionName: string, slot: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateInstanceFunctionSlotOptionalParams + options?: WebAppsCreateInstanceFunctionSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -4919,7 +4995,7 @@ export interface WebApps { functionName: string, slot: string, functionEnvelope: FunctionEnvelope, - options?: WebAppsCreateInstanceFunctionSlotOptionalParams + options?: WebAppsCreateInstanceFunctionSlotOptionalParams, ): Promise; /** * Description for Delete a function for web site, or a deployment slot. @@ -4934,7 +5010,7 @@ export interface WebApps { name: string, functionName: string, slot: string, - options?: WebAppsDeleteInstanceFunctionSlotOptionalParams + options?: WebAppsDeleteInstanceFunctionSlotOptionalParams, ): Promise; /** * Description for Add or update a function secret. @@ -4953,7 +5029,7 @@ export interface WebApps { keyName: string, slot: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams + options?: WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams, ): Promise; /** * Description for Delete a function secret. @@ -4970,7 +5046,7 @@ export interface WebApps { functionName: string, keyName: string, slot: string, - options?: WebAppsDeleteFunctionSecretSlotOptionalParams + options?: WebAppsDeleteFunctionSecretSlotOptionalParams, ): Promise; /** * Description for Get function keys for a function in a web site, or a deployment slot. @@ -4985,7 +5061,7 @@ export interface WebApps { name: string, functionName: string, slot: string, - options?: WebAppsListFunctionKeysSlotOptionalParams + options?: WebAppsListFunctionKeysSlotOptionalParams, ): Promise; /** * Description for Get function secrets for a function in a web site, or a deployment slot. @@ -5000,7 +5076,7 @@ export interface WebApps { name: string, functionName: string, slot: string, - options?: WebAppsListFunctionSecretsSlotOptionalParams + options?: WebAppsListFunctionSecretsSlotOptionalParams, ): Promise; /** * Description for Get host secrets for a function app. @@ -5013,7 +5089,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHostKeysSlotOptionalParams + options?: WebAppsListHostKeysSlotOptionalParams, ): Promise; /** * Description for This is to allow calling via powershell and ARM template. @@ -5026,7 +5102,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSyncStatusSlotOptionalParams + options?: WebAppsListSyncStatusSlotOptionalParams, ): Promise; /** * Description for Syncs function trigger metadata to the management database @@ -5039,7 +5115,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsSyncFunctionsSlotOptionalParams + options?: WebAppsSyncFunctionsSlotOptionalParams, ): Promise; /** * Description for Add or update a host level secret. @@ -5058,7 +5134,7 @@ export interface WebApps { keyName: string, slot: string, key: KeyInfo, - options?: WebAppsCreateOrUpdateHostSecretSlotOptionalParams + options?: WebAppsCreateOrUpdateHostSecretSlotOptionalParams, ): Promise; /** * Description for Delete a host level secret. @@ -5075,7 +5151,7 @@ export interface WebApps { keyType: string, keyName: string, slot: string, - options?: WebAppsDeleteHostSecretSlotOptionalParams + options?: WebAppsDeleteHostSecretSlotOptionalParams, ): Promise; /** * Description for Get the named hostname binding for an app (or deployment slot, if specified). @@ -5091,7 +5167,7 @@ export interface WebApps { name: string, slot: string, hostName: string, - options?: WebAppsGetHostNameBindingSlotOptionalParams + options?: WebAppsGetHostNameBindingSlotOptionalParams, ): Promise; /** * Description for Creates a hostname binding for an app. @@ -5109,7 +5185,7 @@ export interface WebApps { hostName: string, slot: string, hostNameBinding: HostNameBinding, - options?: WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams + options?: WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams, ): Promise; /** * Description for Deletes a hostname binding for an app. @@ -5125,7 +5201,7 @@ export interface WebApps { name: string, slot: string, hostName: string, - options?: WebAppsDeleteHostNameBindingSlotOptionalParams + options?: WebAppsDeleteHostNameBindingSlotOptionalParams, ): Promise; /** * Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. @@ -5142,7 +5218,7 @@ export interface WebApps { namespaceName: string, relayName: string, slot: string, - options?: WebAppsGetHybridConnectionSlotOptionalParams + options?: WebAppsGetHybridConnectionSlotOptionalParams, ): Promise; /** * Description for Creates a new Hybrid Connection using a Service Bus relay. @@ -5161,7 +5237,7 @@ export interface WebApps { relayName: string, slot: string, connectionEnvelope: HybridConnection, - options?: WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams + options?: WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams, ): Promise; /** * Description for Removes a Hybrid Connection from this site. @@ -5178,7 +5254,7 @@ export interface WebApps { namespaceName: string, relayName: string, slot: string, - options?: WebAppsDeleteHybridConnectionSlotOptionalParams + options?: WebAppsDeleteHybridConnectionSlotOptionalParams, ): Promise; /** * Description for Creates a new Hybrid Connection using a Service Bus relay. @@ -5197,7 +5273,7 @@ export interface WebApps { relayName: string, slot: string, connectionEnvelope: HybridConnection, - options?: WebAppsUpdateHybridConnectionSlotOptionalParams + options?: WebAppsUpdateHybridConnectionSlotOptionalParams, ): Promise; /** * Description for Retrieves all Service Bus Hybrid Connections used by this Web App. @@ -5210,7 +5286,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListHybridConnectionsSlotOptionalParams + options?: WebAppsListHybridConnectionsSlotOptionalParams, ): Promise; /** * Description for Gets hybrid connections configured for an app (or deployment slot, if specified). @@ -5224,7 +5300,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListRelayServiceConnectionsSlotOptionalParams + options?: WebAppsListRelayServiceConnectionsSlotOptionalParams, ): Promise; /** * Description for Gets a hybrid connection configuration by its name. @@ -5240,7 +5316,7 @@ export interface WebApps { name: string, entityName: string, slot: string, - options?: WebAppsGetRelayServiceConnectionSlotOptionalParams + options?: WebAppsGetRelayServiceConnectionSlotOptionalParams, ): Promise; /** * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one @@ -5259,7 +5335,7 @@ export interface WebApps { entityName: string, slot: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams + options?: WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams, ): Promise; /** * Description for Deletes a relay service connection by its name. @@ -5275,7 +5351,7 @@ export interface WebApps { name: string, entityName: string, slot: string, - options?: WebAppsDeleteRelayServiceConnectionSlotOptionalParams + options?: WebAppsDeleteRelayServiceConnectionSlotOptionalParams, ): Promise; /** * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one @@ -5294,7 +5370,7 @@ export interface WebApps { entityName: string, slot: string, connectionEnvelope: RelayServiceConnectionEntity, - options?: WebAppsUpdateRelayServiceConnectionSlotOptionalParams + options?: WebAppsUpdateRelayServiceConnectionSlotOptionalParams, ): Promise; /** * Description for Gets all scale-out instances of an app. @@ -5310,7 +5386,7 @@ export interface WebApps { name: string, instanceId: string, slot: string, - options?: WebAppsGetInstanceInfoSlotOptionalParams + options?: WebAppsGetInstanceInfoSlotOptionalParams, ): Promise; /** * Description for Get the status of the last MSDeploy operation. @@ -5325,7 +5401,7 @@ export interface WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceMsDeployStatusSlotOptionalParams + options?: WebAppsGetInstanceMsDeployStatusSlotOptionalParams, ): Promise; /** * Description for Invoke the MSDeploy web app extension. @@ -5342,7 +5418,7 @@ export interface WebApps { slot: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -5364,7 +5440,7 @@ export interface WebApps { slot: string, instanceId: string, mSDeploy: MSDeploy, - options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams + options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams, ): Promise; /** * Description for Get the MSDeploy Log for the last MSDeploy operation. @@ -5379,7 +5455,7 @@ export interface WebApps { name: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceMSDeployLogSlotOptionalParams + options?: WebAppsGetInstanceMSDeployLogSlotOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -5398,7 +5474,7 @@ export interface WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceProcessSlotOptionalParams + options?: WebAppsGetInstanceProcessSlotOptionalParams, ): Promise; /** * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific @@ -5418,7 +5494,7 @@ export interface WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsDeleteInstanceProcessSlotOptionalParams + options?: WebAppsDeleteInstanceProcessSlotOptionalParams, ): Promise; /** * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web @@ -5438,7 +5514,7 @@ export interface WebApps { processId: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceProcessDumpSlotOptionalParams + options?: WebAppsGetInstanceProcessDumpSlotOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -5459,7 +5535,7 @@ export interface WebApps { baseAddress: string, slot: string, instanceId: string, - options?: WebAppsGetInstanceProcessModuleSlotOptionalParams + options?: WebAppsGetInstanceProcessModuleSlotOptionalParams, ): Promise; /** * Description for Shows whether an app can be cloned to another resource group or subscription. @@ -5473,7 +5549,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsIsCloneableSlotOptionalParams + options?: WebAppsIsCloneableSlotOptionalParams, ): Promise; /** * Description for This is to allow calling via powershell and ARM template. @@ -5486,7 +5562,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListSyncFunctionTriggersSlotOptionalParams + options?: WebAppsListSyncFunctionTriggersSlotOptionalParams, ): Promise; /** * Description for Returns the status of MySql in app migration, if one is active, and whether or not @@ -5500,7 +5576,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetMigrateMySqlStatusSlotOptionalParams + options?: WebAppsGetMigrateMySqlStatusSlotOptionalParams, ): Promise; /** * Description for Gets a Swift Virtual Network connection. @@ -5514,7 +5590,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams + options?: WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams, ): Promise; /** * Description for Integrates this Web App with a Virtual Network. This requires that 1) @@ -5533,10 +5609,8 @@ export interface WebApps { name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams - ): Promise< - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotResponse - >; + options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams, + ): Promise; /** * Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -5549,7 +5623,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams + options?: WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams, ): Promise; /** * Description for Integrates this Web App with a Virtual Network. This requires that 1) @@ -5568,7 +5642,7 @@ export interface WebApps { name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, - options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams + options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams, ): Promise; /** * Description for Gets all network features used by the app (or deployment slot, if specified). @@ -5584,7 +5658,7 @@ export interface WebApps { name: string, view: string, slot: string, - options?: WebAppsListNetworkFeaturesSlotOptionalParams + options?: WebAppsListNetworkFeaturesSlotOptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -5601,7 +5675,7 @@ export interface WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTraceOperationSlotOptionalParams + options?: WebAppsGetNetworkTraceOperationSlotOptionalParams, ): Promise; /** * Description for Start capturing network packets for the site (To be deprecated). @@ -5614,7 +5688,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartWebSiteNetworkTraceSlotOptionalParams + options?: WebAppsStartWebSiteNetworkTraceSlotOptionalParams, ): Promise; /** * Description for Start capturing network packets for the site. @@ -5627,7 +5701,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -5645,7 +5719,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams + options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams, ): Promise; /** * Description for Stop ongoing capturing network packets for the site. @@ -5658,7 +5732,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStopWebSiteNetworkTraceSlotOptionalParams + options?: WebAppsStopWebSiteNetworkTraceSlotOptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -5675,7 +5749,7 @@ export interface WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTracesSlotOptionalParams + options?: WebAppsGetNetworkTracesSlotOptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -5692,7 +5766,7 @@ export interface WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTraceOperationSlotV2OptionalParams + options?: WebAppsGetNetworkTraceOperationSlotV2OptionalParams, ): Promise; /** * Description for Gets a named operation for a network trace capturing (or deployment slot, if @@ -5709,7 +5783,7 @@ export interface WebApps { name: string, operationId: string, slot: string, - options?: WebAppsGetNetworkTracesSlotV2OptionalParams + options?: WebAppsGetNetworkTracesSlotV2OptionalParams, ): Promise; /** * Description for Generates a new publishing password for an app (or deployment slot, if specified). @@ -5723,7 +5797,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams + options?: WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams, ): Promise; /** * Description for Gets web app's event logs. @@ -5736,7 +5810,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSitePhpErrorLogFlagSlotOptionalParams + options?: WebAppsGetSitePhpErrorLogFlagSlotOptionalParams, ): Promise; /** * Description for Gets the premier add-ons of an app. @@ -5750,7 +5824,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListPremierAddOnsSlotOptionalParams + options?: WebAppsListPremierAddOnsSlotOptionalParams, ): Promise; /** * Description for Gets a named add-on of an app. @@ -5766,7 +5840,7 @@ export interface WebApps { name: string, premierAddOnName: string, slot: string, - options?: WebAppsGetPremierAddOnSlotOptionalParams + options?: WebAppsGetPremierAddOnSlotOptionalParams, ): Promise; /** * Description for Updates a named add-on of an app. @@ -5784,7 +5858,7 @@ export interface WebApps { premierAddOnName: string, slot: string, premierAddOn: PremierAddOn, - options?: WebAppsAddPremierAddOnSlotOptionalParams + options?: WebAppsAddPremierAddOnSlotOptionalParams, ): Promise; /** * Description for Delete a premier add-on from an app. @@ -5800,7 +5874,7 @@ export interface WebApps { name: string, premierAddOnName: string, slot: string, - options?: WebAppsDeletePremierAddOnSlotOptionalParams + options?: WebAppsDeletePremierAddOnSlotOptionalParams, ): Promise; /** * Description for Updates a named add-on of an app. @@ -5818,7 +5892,7 @@ export interface WebApps { premierAddOnName: string, slot: string, premierAddOn: PremierAddOnPatchResource, - options?: WebAppsUpdatePremierAddOnSlotOptionalParams + options?: WebAppsUpdatePremierAddOnSlotOptionalParams, ): Promise; /** * Description for Gets data around private site access enablement and authorized Virtual Networks that @@ -5832,7 +5906,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateAccessSlotOptionalParams + options?: WebAppsGetPrivateAccessSlotOptionalParams, ): Promise; /** * Description for Sets data around private site access enablement and authorized Virtual Networks that @@ -5848,7 +5922,7 @@ export interface WebApps { name: string, slot: string, access: PrivateAccess, - options?: WebAppsPutPrivateAccessVnetSlotOptionalParams + options?: WebAppsPutPrivateAccessVnetSlotOptionalParams, ): Promise; /** * Description for Gets a private endpoint connection @@ -5863,7 +5937,7 @@ export interface WebApps { name: string, privateEndpointConnectionName: string, slot: string, - options?: WebAppsGetPrivateEndpointConnectionSlotOptionalParams + options?: WebAppsGetPrivateEndpointConnectionSlotOptionalParams, ): Promise; /** * Description for Approves or rejects a private endpoint connection @@ -5871,7 +5945,7 @@ export interface WebApps { * @param name Name of the site. * @param privateEndpointConnectionName * @param slot - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ beginApproveOrRejectPrivateEndpointConnectionSlot( @@ -5879,13 +5953,11 @@ export interface WebApps { name: string, privateEndpointConnectionName: string, slot: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams, ): Promise< SimplePollerLike< - OperationState< - WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse - >, + OperationState, WebAppsApproveOrRejectPrivateEndpointConnectionSlotResponse > >; @@ -5895,7 +5967,7 @@ export interface WebApps { * @param name Name of the site. * @param privateEndpointConnectionName * @param slot - * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param privateEndpointWrapper Remote Private Endpoint Connection ARM resource. * @param options The options parameters. */ beginApproveOrRejectPrivateEndpointConnectionSlotAndWait( @@ -5903,8 +5975,8 @@ export interface WebApps { name: string, privateEndpointConnectionName: string, slot: string, - privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, - options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, + options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams, ): Promise; /** * Description for Deletes a private endpoint connection @@ -5919,7 +5991,7 @@ export interface WebApps { name: string, privateEndpointConnectionName: string, slot: string, - options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -5939,7 +6011,7 @@ export interface WebApps { name: string, privateEndpointConnectionName: string, slot: string, - options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams + options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams, ): Promise; /** * Description for Gets the private link resources @@ -5952,7 +6024,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetPrivateLinkResourcesSlotOptionalParams + options?: WebAppsGetPrivateLinkResourcesSlotOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -5968,7 +6040,7 @@ export interface WebApps { name: string, processId: string, slot: string, - options?: WebAppsGetProcessSlotOptionalParams + options?: WebAppsGetProcessSlotOptionalParams, ): Promise; /** * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific @@ -5985,7 +6057,7 @@ export interface WebApps { name: string, processId: string, slot: string, - options?: WebAppsDeleteProcessSlotOptionalParams + options?: WebAppsDeleteProcessSlotOptionalParams, ): Promise; /** * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web @@ -6002,7 +6074,7 @@ export interface WebApps { name: string, processId: string, slot: string, - options?: WebAppsGetProcessDumpSlotOptionalParams + options?: WebAppsGetProcessDumpSlotOptionalParams, ): Promise; /** * Description for Get process information by its ID for a specific scaled-out instance in a web site. @@ -6020,7 +6092,7 @@ export interface WebApps { processId: string, baseAddress: string, slot: string, - options?: WebAppsGetProcessModuleSlotOptionalParams + options?: WebAppsGetProcessModuleSlotOptionalParams, ): Promise; /** * Description for Get the named public certificate for an app (or deployment slot, if specified). @@ -6036,7 +6108,7 @@ export interface WebApps { name: string, slot: string, publicCertificateName: string, - options?: WebAppsGetPublicCertificateSlotOptionalParams + options?: WebAppsGetPublicCertificateSlotOptionalParams, ): Promise; /** * Description for Creates a hostname binding for an app. @@ -6055,7 +6127,7 @@ export interface WebApps { publicCertificateName: string, slot: string, publicCertificate: PublicCertificate, - options?: WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams + options?: WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams, ): Promise; /** * Description for Deletes a hostname binding for an app. @@ -6071,7 +6143,7 @@ export interface WebApps { name: string, slot: string, publicCertificateName: string, - options?: WebAppsDeletePublicCertificateSlotOptionalParams + options?: WebAppsDeletePublicCertificateSlotOptionalParams, ): Promise; /** * Description for Gets the publishing profile for an app (or deployment slot, if specified). @@ -6088,7 +6160,7 @@ export interface WebApps { name: string, slot: string, publishingProfileOptions: CsmPublishingProfileOptions, - options?: WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams + options?: WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams, ): Promise; /** * Description for Resets the configuration settings of the current slot if they were previously @@ -6103,7 +6175,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsResetSlotConfigurationSlotOptionalParams + options?: WebAppsResetSlotConfigurationSlotOptionalParams, ): Promise; /** * Description for Restarts an app (or deployment slot, if specified). @@ -6117,7 +6189,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsRestartSlotOptionalParams + options?: WebAppsRestartSlotOptionalParams, ): Promise; /** * Description for Restores an app from a backup blob in Azure Storage. @@ -6133,7 +6205,7 @@ export interface WebApps { name: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobSlotOptionalParams + options?: WebAppsRestoreFromBackupBlobSlotOptionalParams, ): Promise, void>>; /** * Description for Restores an app from a backup blob in Azure Storage. @@ -6149,7 +6221,7 @@ export interface WebApps { name: string, slot: string, request: RestoreRequest, - options?: WebAppsRestoreFromBackupBlobSlotOptionalParams + options?: WebAppsRestoreFromBackupBlobSlotOptionalParams, ): Promise; /** * Description for Restores a deleted web app to this web app. @@ -6164,7 +6236,7 @@ export interface WebApps { name: string, slot: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppSlotOptionalParams + options?: WebAppsRestoreFromDeletedAppSlotOptionalParams, ): Promise, void>>; /** * Description for Restores a deleted web app to this web app. @@ -6179,7 +6251,7 @@ export interface WebApps { name: string, slot: string, restoreRequest: DeletedAppRestoreRequest, - options?: WebAppsRestoreFromDeletedAppSlotOptionalParams + options?: WebAppsRestoreFromDeletedAppSlotOptionalParams, ): Promise; /** * Description for Restores a web app from a snapshot. @@ -6195,7 +6267,7 @@ export interface WebApps { name: string, slot: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotSlotOptionalParams + options?: WebAppsRestoreSnapshotSlotOptionalParams, ): Promise, void>>; /** * Description for Restores a web app from a snapshot. @@ -6211,7 +6283,57 @@ export interface WebApps { name: string, slot: string, restoreRequest: SnapshotRestoreRequest, - options?: WebAppsRestoreSnapshotSlotOptionalParams + options?: WebAppsRestoreSnapshotSlotOptionalParams, + ): Promise; + /** + * Gets a site container of a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the Site + * Container for the production slot. + * @param containerName Site Container Name + * @param options The options parameters. + */ + getSiteContainerSlot( + resourceGroupName: string, + name: string, + slot: string, + containerName: string, + options?: WebAppsGetSiteContainerSlotOptionalParams, + ): Promise; + /** + * Creates or Updates a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create the + * container for the production slot. + * @param containerName Site Container Name + * @param request Container Entity + * @param options The options parameters. + */ + createOrUpdateSiteContainerSlot( + resourceGroupName: string, + name: string, + slot: string, + containerName: string, + request: SiteContainer, + options?: WebAppsCreateOrUpdateSiteContainerSlotOptionalParams, + ): Promise; + /** + * Deletes a site container for a site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the + * container for the production slot. + * @param containerName Site Container Name + * @param options The options parameters. + */ + deleteSiteContainerSlot( + resourceGroupName: string, + name: string, + slot: string, + containerName: string, + options?: WebAppsDeleteSiteContainerSlotOptionalParams, ): Promise; /** * Description for Get site extension information by its ID for a web site, or a deployment slot. @@ -6227,7 +6349,7 @@ export interface WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsGetSiteExtensionSlotOptionalParams + options?: WebAppsGetSiteExtensionSlotOptionalParams, ): Promise; /** * Description for Install site extension on a web site, or a deployment slot. @@ -6243,7 +6365,7 @@ export interface WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsInstallSiteExtensionSlotOptionalParams + options?: WebAppsInstallSiteExtensionSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -6264,7 +6386,7 @@ export interface WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsInstallSiteExtensionSlotOptionalParams + options?: WebAppsInstallSiteExtensionSlotOptionalParams, ): Promise; /** * Description for Remove a site extension from a web site, or a deployment slot. @@ -6280,7 +6402,7 @@ export interface WebApps { name: string, siteExtensionId: string, slot: string, - options?: WebAppsDeleteSiteExtensionSlotOptionalParams + options?: WebAppsDeleteSiteExtensionSlotOptionalParams, ): Promise; /** * Description for Swaps two deployment slots of an app. @@ -6296,7 +6418,7 @@ export interface WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotOptionalParams + options?: WebAppsSwapSlotOptionalParams, ): Promise, void>>; /** * Description for Swaps two deployment slots of an app. @@ -6312,7 +6434,7 @@ export interface WebApps { name: string, slot: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotOptionalParams + options?: WebAppsSwapSlotOptionalParams, ): Promise; /** * Description for Gets the source control configuration of an app. @@ -6326,7 +6448,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsGetSourceControlSlotOptionalParams + options?: WebAppsGetSourceControlSlotOptionalParams, ): Promise; /** * Description for Updates the source control configuration of an app. @@ -6342,7 +6464,7 @@ export interface WebApps { name: string, slot: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams + options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -6363,7 +6485,7 @@ export interface WebApps { name: string, slot: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams + options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams, ): Promise; /** * Description for Deletes the source control configuration of an app. @@ -6377,7 +6499,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeleteSourceControlSlotOptionalParams + options?: WebAppsDeleteSourceControlSlotOptionalParams, ): Promise; /** * Description for Updates the source control configuration of an app. @@ -6393,7 +6515,7 @@ export interface WebApps { name: string, slot: string, siteSourceControl: SiteSourceControl, - options?: WebAppsUpdateSourceControlSlotOptionalParams + options?: WebAppsUpdateSourceControlSlotOptionalParams, ): Promise; /** * Description for Starts an app (or deployment slot, if specified). @@ -6407,7 +6529,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartSlotOptionalParams + options?: WebAppsStartSlotOptionalParams, ): Promise; /** * Description for Start capturing network packets for the site. @@ -6420,7 +6542,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartNetworkTraceSlotOptionalParams + options?: WebAppsStartNetworkTraceSlotOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -6438,7 +6560,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStartNetworkTraceSlotOptionalParams + options?: WebAppsStartNetworkTraceSlotOptionalParams, ): Promise; /** * Description for Stops an app (or deployment slot, if specified). @@ -6452,7 +6574,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStopSlotOptionalParams + options?: WebAppsStopSlotOptionalParams, ): Promise; /** * Description for Stop ongoing capturing network packets for the site. @@ -6465,7 +6587,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsStopNetworkTraceSlotOptionalParams + options?: WebAppsStopNetworkTraceSlotOptionalParams, ): Promise; /** * Description for Sync web app repository. @@ -6478,7 +6600,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsSyncRepositorySlotOptionalParams + options?: WebAppsSyncRepositorySlotOptionalParams, ): Promise; /** * Description for Syncs function trigger metadata to the management database @@ -6491,7 +6613,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsSyncFunctionTriggersSlotOptionalParams + options?: WebAppsSyncFunctionTriggersSlotOptionalParams, ): Promise; /** * Description for Gets a triggered web job by its ID for an app, or a deployment slot. @@ -6507,7 +6629,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsGetTriggeredWebJobSlotOptionalParams + options?: WebAppsGetTriggeredWebJobSlotOptionalParams, ): Promise; /** * Description for Delete a triggered web job by its ID for an app, or a deployment slot. @@ -6523,7 +6645,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsDeleteTriggeredWebJobSlotOptionalParams + options?: WebAppsDeleteTriggeredWebJobSlotOptionalParams, ): Promise; /** * Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. @@ -6541,7 +6663,7 @@ export interface WebApps { webJobName: string, id: string, slot: string, - options?: WebAppsGetTriggeredWebJobHistorySlotOptionalParams + options?: WebAppsGetTriggeredWebJobHistorySlotOptionalParams, ): Promise; /** * Description for Run a triggered web job for an app, or a deployment slot. @@ -6557,7 +6679,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsRunTriggeredWebJobSlotOptionalParams + options?: WebAppsRunTriggeredWebJobSlotOptionalParams, ): Promise; /** * Description for Gets the virtual networks the app (or deployment slot) is connected to. @@ -6571,7 +6693,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListVnetConnectionsSlotOptionalParams + options?: WebAppsListVnetConnectionsSlotOptionalParams, ): Promise; /** * Description for Gets a virtual network the app (or deployment slot) is connected to by name. @@ -6587,7 +6709,7 @@ export interface WebApps { name: string, vnetName: string, slot: string, - options?: WebAppsGetVnetConnectionSlotOptionalParams + options?: WebAppsGetVnetConnectionSlotOptionalParams, ): Promise; /** * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection @@ -6606,7 +6728,7 @@ export interface WebApps { vnetName: string, slot: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams, ): Promise; /** * Description for Deletes a connection from an app (or deployment slot to a named virtual network. @@ -6622,7 +6744,7 @@ export interface WebApps { name: string, vnetName: string, slot: string, - options?: WebAppsDeleteVnetConnectionSlotOptionalParams + options?: WebAppsDeleteVnetConnectionSlotOptionalParams, ): Promise; /** * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection @@ -6641,7 +6763,7 @@ export interface WebApps { vnetName: string, slot: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsUpdateVnetConnectionSlotOptionalParams + options?: WebAppsUpdateVnetConnectionSlotOptionalParams, ): Promise; /** * Description for Gets an app's Virtual Network gateway. @@ -6659,7 +6781,7 @@ export interface WebApps { vnetName: string, gatewayName: string, slot: string, - options?: WebAppsGetVnetConnectionGatewaySlotOptionalParams + options?: WebAppsGetVnetConnectionGatewaySlotOptionalParams, ): Promise; /** * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). @@ -6679,7 +6801,7 @@ export interface WebApps { gatewayName: string, slot: string, connectionEnvelope: VnetGateway, - options?: WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams, ): Promise; /** * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). @@ -6699,7 +6821,7 @@ export interface WebApps { gatewayName: string, slot: string, connectionEnvelope: VnetGateway, - options?: WebAppsUpdateVnetConnectionGatewaySlotOptionalParams + options?: WebAppsUpdateVnetConnectionGatewaySlotOptionalParams, ): Promise; /** * Description for Get webjob information for an app, or a deployment slot. @@ -6715,7 +6837,7 @@ export interface WebApps { name: string, webJobName: string, slot: string, - options?: WebAppsGetWebJobSlotOptionalParams + options?: WebAppsGetWebJobSlotOptionalParams, ): Promise; /** * Description for Swaps two deployment slots of an app. @@ -6728,7 +6850,7 @@ export interface WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotWithProductionOptionalParams + options?: WebAppsSwapSlotWithProductionOptionalParams, ): Promise, void>>; /** * Description for Swaps two deployment slots of an app. @@ -6741,7 +6863,7 @@ export interface WebApps { resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, - options?: WebAppsSwapSlotWithProductionOptionalParams + options?: WebAppsSwapSlotWithProductionOptionalParams, ): Promise; /** * Description for Gets the source control configuration of an app. @@ -6752,7 +6874,7 @@ export interface WebApps { getSourceControl( resourceGroupName: string, name: string, - options?: WebAppsGetSourceControlOptionalParams + options?: WebAppsGetSourceControlOptionalParams, ): Promise; /** * Description for Updates the source control configuration of an app. @@ -6765,7 +6887,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlOptionalParams + options?: WebAppsCreateOrUpdateSourceControlOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -6783,7 +6905,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, - options?: WebAppsCreateOrUpdateSourceControlOptionalParams + options?: WebAppsCreateOrUpdateSourceControlOptionalParams, ): Promise; /** * Description for Deletes the source control configuration of an app. @@ -6794,7 +6916,7 @@ export interface WebApps { deleteSourceControl( resourceGroupName: string, name: string, - options?: WebAppsDeleteSourceControlOptionalParams + options?: WebAppsDeleteSourceControlOptionalParams, ): Promise; /** * Description for Updates the source control configuration of an app. @@ -6807,7 +6929,7 @@ export interface WebApps { resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, - options?: WebAppsUpdateSourceControlOptionalParams + options?: WebAppsUpdateSourceControlOptionalParams, ): Promise; /** * Description for Starts an app (or deployment slot, if specified). @@ -6818,7 +6940,7 @@ export interface WebApps { start( resourceGroupName: string, name: string, - options?: WebAppsStartOptionalParams + options?: WebAppsStartOptionalParams, ): Promise; /** * Description for Start capturing network packets for the site. @@ -6829,7 +6951,7 @@ export interface WebApps { beginStartNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStartNetworkTraceOptionalParams + options?: WebAppsStartNetworkTraceOptionalParams, ): Promise< SimplePollerLike< OperationState, @@ -6845,7 +6967,7 @@ export interface WebApps { beginStartNetworkTraceAndWait( resourceGroupName: string, name: string, - options?: WebAppsStartNetworkTraceOptionalParams + options?: WebAppsStartNetworkTraceOptionalParams, ): Promise; /** * Description for Stops an app (or deployment slot, if specified). @@ -6856,7 +6978,7 @@ export interface WebApps { stop( resourceGroupName: string, name: string, - options?: WebAppsStopOptionalParams + options?: WebAppsStopOptionalParams, ): Promise; /** * Description for Stop ongoing capturing network packets for the site. @@ -6867,7 +6989,7 @@ export interface WebApps { stopNetworkTrace( resourceGroupName: string, name: string, - options?: WebAppsStopNetworkTraceOptionalParams + options?: WebAppsStopNetworkTraceOptionalParams, ): Promise; /** * Description for Sync web app repository. @@ -6878,7 +7000,7 @@ export interface WebApps { syncRepository( resourceGroupName: string, name: string, - options?: WebAppsSyncRepositoryOptionalParams + options?: WebAppsSyncRepositoryOptionalParams, ): Promise; /** * Description for Syncs function trigger metadata to the management database @@ -6889,7 +7011,7 @@ export interface WebApps { syncFunctionTriggers( resourceGroupName: string, name: string, - options?: WebAppsSyncFunctionTriggersOptionalParams + options?: WebAppsSyncFunctionTriggersOptionalParams, ): Promise; /** * Description for Gets a triggered web job by its ID for an app, or a deployment slot. @@ -6902,7 +7024,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsGetTriggeredWebJobOptionalParams + options?: WebAppsGetTriggeredWebJobOptionalParams, ): Promise; /** * Description for Delete a triggered web job by its ID for an app, or a deployment slot. @@ -6915,7 +7037,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsDeleteTriggeredWebJobOptionalParams + options?: WebAppsDeleteTriggeredWebJobOptionalParams, ): Promise; /** * Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. @@ -6930,7 +7052,7 @@ export interface WebApps { name: string, webJobName: string, id: string, - options?: WebAppsGetTriggeredWebJobHistoryOptionalParams + options?: WebAppsGetTriggeredWebJobHistoryOptionalParams, ): Promise; /** * Description for Run a triggered web job for an app, or a deployment slot. @@ -6943,7 +7065,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsRunTriggeredWebJobOptionalParams + options?: WebAppsRunTriggeredWebJobOptionalParams, ): Promise; /** * Description for Gets the virtual networks the app (or deployment slot) is connected to. @@ -6954,7 +7076,7 @@ export interface WebApps { listVnetConnections( resourceGroupName: string, name: string, - options?: WebAppsListVnetConnectionsOptionalParams + options?: WebAppsListVnetConnectionsOptionalParams, ): Promise; /** * Description for Gets a virtual network the app (or deployment slot) is connected to by name. @@ -6967,7 +7089,7 @@ export interface WebApps { resourceGroupName: string, name: string, vnetName: string, - options?: WebAppsGetVnetConnectionOptionalParams + options?: WebAppsGetVnetConnectionOptionalParams, ): Promise; /** * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection @@ -6983,7 +7105,7 @@ export interface WebApps { name: string, vnetName: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsCreateOrUpdateVnetConnectionOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionOptionalParams, ): Promise; /** * Description for Deletes a connection from an app (or deployment slot to a named virtual network. @@ -6996,7 +7118,7 @@ export interface WebApps { resourceGroupName: string, name: string, vnetName: string, - options?: WebAppsDeleteVnetConnectionOptionalParams + options?: WebAppsDeleteVnetConnectionOptionalParams, ): Promise; /** * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection @@ -7012,7 +7134,7 @@ export interface WebApps { name: string, vnetName: string, connectionEnvelope: VnetInfoResource, - options?: WebAppsUpdateVnetConnectionOptionalParams + options?: WebAppsUpdateVnetConnectionOptionalParams, ): Promise; /** * Description for Gets an app's Virtual Network gateway. @@ -7027,7 +7149,7 @@ export interface WebApps { name: string, vnetName: string, gatewayName: string, - options?: WebAppsGetVnetConnectionGatewayOptionalParams + options?: WebAppsGetVnetConnectionGatewayOptionalParams, ): Promise; /** * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). @@ -7044,7 +7166,7 @@ export interface WebApps { vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, - options?: WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams + options?: WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams, ): Promise; /** * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). @@ -7061,7 +7183,7 @@ export interface WebApps { vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, - options?: WebAppsUpdateVnetConnectionGatewayOptionalParams + options?: WebAppsUpdateVnetConnectionGatewayOptionalParams, ): Promise; /** * Description for Get webjob information for an app, or a deployment slot. @@ -7074,7 +7196,7 @@ export interface WebApps { resourceGroupName: string, name: string, webJobName: string, - options?: WebAppsGetWebJobOptionalParams + options?: WebAppsGetWebJobOptionalParams, ): Promise; /** * Description for Creates the artifacts for web site, or a deployment slot. @@ -7085,7 +7207,7 @@ export interface WebApps { deployWorkflowArtifacts( resourceGroupName: string, name: string, - options?: WebAppsDeployWorkflowArtifactsOptionalParams + options?: WebAppsDeployWorkflowArtifactsOptionalParams, ): Promise; /** * Description for Creates the artifacts for web site, or a deployment slot. @@ -7098,7 +7220,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsDeployWorkflowArtifactsSlotOptionalParams + options?: WebAppsDeployWorkflowArtifactsSlotOptionalParams, ): Promise; /** * Get workflow information by its ID for web site, or a deployment slot. @@ -7113,7 +7235,7 @@ export interface WebApps { name: string, slot: string, workflowName: string, - options?: WebAppsGetInstanceWorkflowSlotOptionalParams + options?: WebAppsGetInstanceWorkflowSlotOptionalParams, ): Promise; /** * Lists logic app's connections for web site, or a deployment slot. @@ -7126,7 +7248,7 @@ export interface WebApps { resourceGroupName: string, name: string, slot: string, - options?: WebAppsListWorkflowsConnectionsSlotOptionalParams + options?: WebAppsListWorkflowsConnectionsSlotOptionalParams, ): Promise; /** * Get workflow information by its ID for web site, or a deployment slot. @@ -7139,7 +7261,7 @@ export interface WebApps { resourceGroupName: string, name: string, workflowName: string, - options?: WebAppsGetWorkflowOptionalParams + options?: WebAppsGetWorkflowOptionalParams, ): Promise; /** * Lists logic app's connections for web site, or a deployment slot. @@ -7150,6 +7272,6 @@ export interface WebApps { listWorkflowsConnections( resourceGroupName: string, name: string, - options?: WebAppsListWorkflowsConnectionsOptionalParams + options?: WebAppsListWorkflowsConnectionsOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitions.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitions.ts index df3daf6957fd..a97546bbb83f 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitions.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitions.ts @@ -13,7 +13,7 @@ import { ExpressionRoot, WorkflowRunActionRepetitionsListExpressionTracesOptionalParams, WorkflowRunActionRepetitionsGetOptionalParams, - WorkflowRunActionRepetitionsGetResponse + WorkflowRunActionRepetitionsGetResponse, } from "../models"; /// @@ -34,7 +34,7 @@ export interface WorkflowRunActionRepetitions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionRepetitionsListOptionalParams + options?: WorkflowRunActionRepetitionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Lists a workflow run expression trace. @@ -53,7 +53,7 @@ export interface WorkflowRunActionRepetitions { runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams + options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams, ): PagedAsyncIterableIterator; /** * Get a workflow run action repetition. @@ -72,6 +72,6 @@ export interface WorkflowRunActionRepetitions { runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsGetOptionalParams + options?: WorkflowRunActionRepetitionsGetOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitionsRequestHistories.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitionsRequestHistories.ts index 153ed3c1c214..d5514bfaf772 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitionsRequestHistories.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionRepetitionsRequestHistories.ts @@ -11,7 +11,7 @@ import { RequestHistory, WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams, WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams, - WorkflowRunActionRepetitionsRequestHistoriesGetResponse + WorkflowRunActionRepetitionsRequestHistoriesGetResponse, } from "../models"; /// @@ -34,7 +34,7 @@ export interface WorkflowRunActionRepetitionsRequestHistories { runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams + options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a workflow run repetition request history. @@ -55,6 +55,6 @@ export interface WorkflowRunActionRepetitionsRequestHistories { actionName: string, repetitionName: string, requestHistoryName: string, - options?: WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams + options?: WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionScopeRepetitions.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionScopeRepetitions.ts index cef491eca998..60713fd8abd6 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionScopeRepetitions.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActionScopeRepetitions.ts @@ -11,7 +11,7 @@ import { WorkflowRunActionRepetitionDefinition, WorkflowRunActionScopeRepetitionsListOptionalParams, WorkflowRunActionScopeRepetitionsGetOptionalParams, - WorkflowRunActionScopeRepetitionsGetResponse + WorkflowRunActionScopeRepetitionsGetResponse, } from "../models"; /// @@ -32,7 +32,7 @@ export interface WorkflowRunActionScopeRepetitions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionScopeRepetitionsListOptionalParams + options?: WorkflowRunActionScopeRepetitionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Get a workflow run action scoped repetition. @@ -51,6 +51,6 @@ export interface WorkflowRunActionScopeRepetitions { runName: string, actionName: string, repetitionName: string, - options?: WorkflowRunActionScopeRepetitionsGetOptionalParams + options?: WorkflowRunActionScopeRepetitionsGetOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActions.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActions.ts index 8f0c2d29f257..adc8bdc05369 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActions.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRunActions.ts @@ -13,7 +13,7 @@ import { ExpressionRoot, WorkflowRunActionsListExpressionTracesOptionalParams, WorkflowRunActionsGetOptionalParams, - WorkflowRunActionsGetResponse + WorkflowRunActionsGetResponse, } from "../models"; /// @@ -32,7 +32,7 @@ export interface WorkflowRunActions { name: string, workflowName: string, runName: string, - options?: WorkflowRunActionsListOptionalParams + options?: WorkflowRunActionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Lists a workflow run expression trace. @@ -49,7 +49,7 @@ export interface WorkflowRunActions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionsListExpressionTracesOptionalParams + options?: WorkflowRunActionsListExpressionTracesOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a workflow run action. @@ -66,6 +66,6 @@ export interface WorkflowRunActions { workflowName: string, runName: string, actionName: string, - options?: WorkflowRunActionsGetOptionalParams + options?: WorkflowRunActionsGetOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRuns.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRuns.ts index 8a92f8721979..316e11f1e7df 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRuns.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowRuns.ts @@ -12,7 +12,7 @@ import { WorkflowRunsListOptionalParams, WorkflowRunsGetOptionalParams, WorkflowRunsGetResponse, - WorkflowRunsCancelOptionalParams + WorkflowRunsCancelOptionalParams, } from "../models"; /// @@ -29,7 +29,7 @@ export interface WorkflowRuns { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowRunsListOptionalParams + options?: WorkflowRunsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a workflow run. @@ -44,7 +44,7 @@ export interface WorkflowRuns { name: string, workflowName: string, runName: string, - options?: WorkflowRunsGetOptionalParams + options?: WorkflowRunsGetOptionalParams, ): Promise; /** * Cancels a workflow run. @@ -59,6 +59,6 @@ export interface WorkflowRuns { name: string, workflowName: string, runName: string, - options?: WorkflowRunsCancelOptionalParams + options?: WorkflowRunsCancelOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggerHistories.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggerHistories.ts index 363e2f92d763..92f8f0907ee1 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggerHistories.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggerHistories.ts @@ -13,7 +13,7 @@ import { WorkflowTriggerHistoriesListOptionalParams, WorkflowTriggerHistoriesGetOptionalParams, WorkflowTriggerHistoriesGetResponse, - WorkflowTriggerHistoriesResubmitOptionalParams + WorkflowTriggerHistoriesResubmitOptionalParams, } from "../models"; /// @@ -32,7 +32,7 @@ export interface WorkflowTriggerHistories { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggerHistoriesListOptionalParams + options?: WorkflowTriggerHistoriesListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a workflow trigger history. @@ -50,7 +50,7 @@ export interface WorkflowTriggerHistories { workflowName: string, triggerName: string, historyName: string, - options?: WorkflowTriggerHistoriesGetOptionalParams + options?: WorkflowTriggerHistoriesGetOptionalParams, ): Promise; /** * Resubmits a workflow run based on the trigger history. @@ -68,7 +68,7 @@ export interface WorkflowTriggerHistories { workflowName: string, triggerName: string, historyName: string, - options?: WorkflowTriggerHistoriesResubmitOptionalParams + options?: WorkflowTriggerHistoriesResubmitOptionalParams, ): Promise, void>>; /** * Resubmits a workflow run based on the trigger history. @@ -86,6 +86,6 @@ export interface WorkflowTriggerHistories { workflowName: string, triggerName: string, historyName: string, - options?: WorkflowTriggerHistoriesResubmitOptionalParams + options?: WorkflowTriggerHistoriesResubmitOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggers.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggers.ts index 415a9e360fbc..837a85c114ce 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggers.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowTriggers.ts @@ -17,7 +17,7 @@ import { WorkflowTriggersListCallbackUrlResponse, WorkflowTriggersRunOptionalParams, WorkflowTriggersGetSchemaJsonOptionalParams, - WorkflowTriggersGetSchemaJsonResponse + WorkflowTriggersGetSchemaJsonResponse, } from "../models"; /// @@ -34,7 +34,7 @@ export interface WorkflowTriggers { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowTriggersListOptionalParams + options?: WorkflowTriggersListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a workflow trigger. @@ -49,7 +49,7 @@ export interface WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersGetOptionalParams + options?: WorkflowTriggersGetOptionalParams, ): Promise; /** * Get the callback URL for a workflow trigger. @@ -64,7 +64,7 @@ export interface WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersListCallbackUrlOptionalParams + options?: WorkflowTriggersListCallbackUrlOptionalParams, ): Promise; /** * Runs a workflow trigger. @@ -79,7 +79,7 @@ export interface WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersRunOptionalParams + options?: WorkflowTriggersRunOptionalParams, ): Promise, void>>; /** * Runs a workflow trigger. @@ -94,7 +94,7 @@ export interface WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersRunOptionalParams + options?: WorkflowTriggersRunOptionalParams, ): Promise; /** * Get the trigger schema as JSON. @@ -109,6 +109,6 @@ export interface WorkflowTriggers { name: string, workflowName: string, triggerName: string, - options?: WorkflowTriggersGetSchemaJsonOptionalParams + options?: WorkflowTriggersGetSchemaJsonOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowVersions.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowVersions.ts index 5135ece9dc5a..7d7d9a4bcb36 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowVersions.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflowVersions.ts @@ -11,7 +11,7 @@ import { WorkflowVersion, WorkflowVersionsListOptionalParams, WorkflowVersionsGetOptionalParams, - WorkflowVersionsGetResponse + WorkflowVersionsGetResponse, } from "../models"; /// @@ -28,7 +28,7 @@ export interface WorkflowVersions { resourceGroupName: string, name: string, workflowName: string, - options?: WorkflowVersionsListOptionalParams + options?: WorkflowVersionsListOptionalParams, ): PagedAsyncIterableIterator; /** * Gets a workflow version. @@ -43,6 +43,6 @@ export interface WorkflowVersions { name: string, workflowName: string, versionId: string, - options?: WorkflowVersionsGetOptionalParams + options?: WorkflowVersionsGetOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflows.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflows.ts index b2c8d8bc4e9f..ad6c7065d3a4 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/workflows.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/workflows.ts @@ -10,7 +10,7 @@ import { RegenerateActionParameter, WorkflowsRegenerateAccessKeyOptionalParams, Workflow, - WorkflowsValidateOptionalParams + WorkflowsValidateOptionalParams, } from "../models"; /** Interface representing a Workflows. */ @@ -28,7 +28,7 @@ export interface Workflows { name: string, workflowName: string, keyType: RegenerateActionParameter, - options?: WorkflowsRegenerateAccessKeyOptionalParams + options?: WorkflowsRegenerateAccessKeyOptionalParams, ): Promise; /** * Validates the workflow definition. @@ -43,6 +43,6 @@ export interface Workflows { name: string, workflowName: string, validate: Workflow, - options?: WorkflowsValidateOptionalParams + options?: WorkflowsValidateOptionalParams, ): Promise; } diff --git a/sdk/appservice/arm-appservice/src/pagingHelper.ts b/sdk/appservice/arm-appservice/src/pagingHelper.ts index 269a2b9814b5..205cccc26592 100644 --- a/sdk/appservice/arm-appservice/src/pagingHelper.ts +++ b/sdk/appservice/arm-appservice/src/pagingHelper.ts @@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined { export function setContinuationToken( page: unknown, - continuationToken: string | undefined + continuationToken: string | undefined, ): void { if (typeof page !== "object" || page === null || !continuationToken) { return; diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts index 6765e639c9e9..61a429c6931c 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts @@ -11,7 +11,7 @@ import * as coreRestPipeline from "@azure/core-rest-pipeline"; import { PipelineRequest, PipelineResponse, - SendRequest + SendRequest, } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; @@ -20,9 +20,9 @@ import { AppServiceCertificateOrdersImpl, CertificateOrdersDiagnosticsImpl, CertificateRegistrationProviderImpl, + DomainRegistrationProviderImpl, DomainsImpl, TopLevelDomainsImpl, - DomainRegistrationProviderImpl, AppServiceEnvironmentsImpl, AppServicePlansImpl, CertificatesImpl, @@ -46,15 +46,15 @@ import { WorkflowRunActionScopeRepetitionsImpl, WorkflowTriggersImpl, WorkflowTriggerHistoriesImpl, - WorkflowVersionsImpl + WorkflowVersionsImpl, } from "./operations"; import { AppServiceCertificateOrders, CertificateOrdersDiagnostics, CertificateRegistrationProvider, + DomainRegistrationProvider, Domains, TopLevelDomains, - DomainRegistrationProvider, AppServiceEnvironments, AppServicePlans, Certificates, @@ -78,7 +78,7 @@ import { WorkflowRunActionScopeRepetitions, WorkflowTriggers, WorkflowTriggerHistories, - WorkflowVersions + WorkflowVersions, } from "./operationsInterfaces"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; @@ -144,7 +144,7 @@ import { ListAseRegionsNextResponse, ListGeoRegionsNextResponse, ListSiteIdentifiersAssignedToHostNameNextResponse, - ListPremierAddOnOffersNextResponse + ListPremierAddOnOffersNextResponse, } from "./models"; /// @@ -163,16 +163,16 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: WebSiteManagementClientOptionalParams + options?: WebSiteManagementClientOptionalParams, ); constructor( credentials: coreAuth.TokenCredential, - options?: WebSiteManagementClientOptionalParams + options?: WebSiteManagementClientOptionalParams, ); constructor( credentials: coreAuth.TokenCredential, subscriptionIdOrOptions?: WebSiteManagementClientOptionalParams | string, - options?: WebSiteManagementClientOptionalParams + options?: WebSiteManagementClientOptionalParams, ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); @@ -192,10 +192,10 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { } const defaults: WebSiteManagementClientOptionalParams = { requestContentType: "application/json; charset=utf-8", - credential: credentials + credential: credentials, }; - const packageDetails = `azsdk-js-arm-appservice/14.1.1`; + const packageDetails = `azsdk-js-arm-appservice/15.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -205,20 +205,21 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { ...defaults, ...options, userAgentOptions: { - userAgentPrefix + userAgentPrefix, }, endpoint: - options.endpoint ?? options.baseUri ?? "https://management.azure.com" + options.endpoint ?? options.baseUri ?? "https://management.azure.com", }; super(optionsWithDefaults); let bearerTokenAuthenticationPolicyFound: boolean = false; if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { - const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = + options.pipeline.getOrderedPolicies(); bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => pipelinePolicy.name === - coreRestPipeline.bearerTokenAuthenticationPolicyName + coreRestPipeline.bearerTokenAuthenticationPolicyName, ); } if ( @@ -228,7 +229,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { !bearerTokenAuthenticationPolicyFound ) { this.pipeline.removePolicy({ - name: coreRestPipeline.bearerTokenAuthenticationPolicyName + name: coreRestPipeline.bearerTokenAuthenticationPolicyName, }); this.pipeline.addPolicy( coreRestPipeline.bearerTokenAuthenticationPolicy({ @@ -238,9 +239,9 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { `${optionsWithDefaults.endpoint}/.default`, challengeCallbacks: { authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge - } - }) + coreClient.authorizeRequestOnClaimChallenge, + }, + }), ); } // Parameter assignments @@ -248,19 +249,18 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2023-01-01"; + this.apiVersion = options.apiVersion || "2024-04-01"; this.appServiceCertificateOrders = new AppServiceCertificateOrdersImpl( - this + this, ); this.certificateOrdersDiagnostics = new CertificateOrdersDiagnosticsImpl( - this - ); - this.certificateRegistrationProvider = new CertificateRegistrationProviderImpl( - this + this, ); + this.certificateRegistrationProvider = + new CertificateRegistrationProviderImpl(this); + this.domainRegistrationProvider = new DomainRegistrationProviderImpl(this); this.domains = new DomainsImpl(this); this.topLevelDomains = new TopLevelDomainsImpl(this); - this.domainRegistrationProvider = new DomainRegistrationProviderImpl(this); this.appServiceEnvironments = new AppServiceEnvironmentsImpl(this); this.appServicePlans = new AppServicePlansImpl(this); this.certificates = new CertificatesImpl(this); @@ -272,9 +272,8 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { this.kubeEnvironments = new KubeEnvironmentsImpl(this); this.provider = new ProviderImpl(this); this.recommendations = new RecommendationsImpl(this); - this.resourceHealthMetadataOperations = new ResourceHealthMetadataOperationsImpl( - this - ); + this.resourceHealthMetadataOperations = + new ResourceHealthMetadataOperationsImpl(this); this.getUsagesInLocation = new GetUsagesInLocationImpl(this); this.staticSites = new StaticSitesImpl(this); this.webApps = new WebAppsImpl(this); @@ -282,14 +281,12 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { this.workflowRuns = new WorkflowRunsImpl(this); this.workflowRunActions = new WorkflowRunActionsImpl(this); this.workflowRunActionRepetitions = new WorkflowRunActionRepetitionsImpl( - this - ); - this.workflowRunActionRepetitionsRequestHistories = new WorkflowRunActionRepetitionsRequestHistoriesImpl( - this - ); - this.workflowRunActionScopeRepetitions = new WorkflowRunActionScopeRepetitionsImpl( - this + this, ); + this.workflowRunActionRepetitionsRequestHistories = + new WorkflowRunActionRepetitionsRequestHistoriesImpl(this); + this.workflowRunActionScopeRepetitions = + new WorkflowRunActionScopeRepetitionsImpl(this); this.workflowTriggers = new WorkflowTriggersImpl(this); this.workflowTriggerHistories = new WorkflowTriggerHistoriesImpl(this); this.workflowVersions = new WorkflowVersionsImpl(this); @@ -305,7 +302,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { name: "CustomApiVersionPolicy", async sendRequest( request: PipelineRequest, - next: SendRequest + next: SendRequest, ): Promise { const param = request.url.split("?"); if (param.length > 1) { @@ -319,7 +316,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { request.url = param[0] + "?" + newParams.join("&"); } return next(request); - } + }, }; this.pipeline.addPolicy(apiVersionPolicy); } @@ -329,7 +326,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ public listSourceControls( - options?: ListSourceControlsOptionalParams + options?: ListSourceControlsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSourceControlsPagingAll(options); return { @@ -344,13 +341,13 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { throw new Error("maxPageSize is not supported by this operation."); } return this.listSourceControlsPagingPage(options, settings); - } + }, }; } private async *listSourceControlsPagingPage( options?: ListSourceControlsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ListSourceControlsResponse; let continuationToken = settings?.continuationToken; @@ -371,7 +368,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { } private async *listSourceControlsPagingAll( - options?: ListSourceControlsOptionalParams + options?: ListSourceControlsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSourceControlsPagingPage(options)) { yield* page; @@ -383,7 +380,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ public listBillingMeters( - options?: ListBillingMetersOptionalParams + options?: ListBillingMetersOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listBillingMetersPagingAll(options); return { @@ -398,13 +395,13 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { throw new Error("maxPageSize is not supported by this operation."); } return this.listBillingMetersPagingPage(options, settings); - } + }, }; } private async *listBillingMetersPagingPage( options?: ListBillingMetersOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ListBillingMetersResponse; let continuationToken = settings?.continuationToken; @@ -425,7 +422,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { } private async *listBillingMetersPagingAll( - options?: ListBillingMetersOptionalParams + options?: ListBillingMetersOptionalParams, ): AsyncIterableIterator { for await (const page of this.listBillingMetersPagingPage(options)) { yield* page; @@ -437,7 +434,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ public listCustomHostNameSites( - options?: ListCustomHostNameSitesOptionalParams + options?: ListCustomHostNameSitesOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listCustomHostNameSitesPagingAll(options); return { @@ -452,13 +449,13 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { throw new Error("maxPageSize is not supported by this operation."); } return this.listCustomHostNameSitesPagingPage(options, settings); - } + }, }; } private async *listCustomHostNameSitesPagingPage( options?: ListCustomHostNameSitesOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ListCustomHostNameSitesResponse; let continuationToken = settings?.continuationToken; @@ -472,7 +469,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { while (continuationToken) { result = await this._listCustomHostNameSitesNext( continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -482,7 +479,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { } private async *listCustomHostNameSitesPagingAll( - options?: ListCustomHostNameSitesOptionalParams + options?: ListCustomHostNameSitesOptionalParams, ): AsyncIterableIterator { for await (const page of this.listCustomHostNameSitesPagingPage(options)) { yield* page; @@ -494,7 +491,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ public listAseRegions( - options?: ListAseRegionsOptionalParams + options?: ListAseRegionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listAseRegionsPagingAll(options); return { @@ -509,13 +506,13 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { throw new Error("maxPageSize is not supported by this operation."); } return this.listAseRegionsPagingPage(options, settings); - } + }, }; } private async *listAseRegionsPagingPage( options?: ListAseRegionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ListAseRegionsResponse; let continuationToken = settings?.continuationToken; @@ -536,7 +533,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { } private async *listAseRegionsPagingAll( - options?: ListAseRegionsOptionalParams + options?: ListAseRegionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listAseRegionsPagingPage(options)) { yield* page; @@ -548,7 +545,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ public listGeoRegions( - options?: ListGeoRegionsOptionalParams + options?: ListGeoRegionsOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listGeoRegionsPagingAll(options); return { @@ -563,13 +560,13 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { throw new Error("maxPageSize is not supported by this operation."); } return this.listGeoRegionsPagingPage(options, settings); - } + }, }; } private async *listGeoRegionsPagingPage( options?: ListGeoRegionsOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ListGeoRegionsResponse; let continuationToken = settings?.continuationToken; @@ -590,7 +587,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { } private async *listGeoRegionsPagingAll( - options?: ListGeoRegionsOptionalParams + options?: ListGeoRegionsOptionalParams, ): AsyncIterableIterator { for await (const page of this.listGeoRegionsPagingPage(options)) { yield* page; @@ -604,11 +601,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ public listSiteIdentifiersAssignedToHostName( nameIdentifier: NameIdentifier, - options?: ListSiteIdentifiersAssignedToHostNameOptionalParams + options?: ListSiteIdentifiersAssignedToHostNameOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listSiteIdentifiersAssignedToHostNamePagingAll( nameIdentifier, - options + options, ); return { next() { @@ -624,23 +621,23 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { return this.listSiteIdentifiersAssignedToHostNamePagingPage( nameIdentifier, options, - settings + settings, ); - } + }, }; } private async *listSiteIdentifiersAssignedToHostNamePagingPage( nameIdentifier: NameIdentifier, options?: ListSiteIdentifiersAssignedToHostNameOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ListSiteIdentifiersAssignedToHostNameResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { result = await this._listSiteIdentifiersAssignedToHostName( nameIdentifier, - options + options, ); let page = result.value || []; continuationToken = result.nextLink; @@ -651,7 +648,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { result = await this._listSiteIdentifiersAssignedToHostNameNext( nameIdentifier, continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -662,11 +659,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { private async *listSiteIdentifiersAssignedToHostNamePagingAll( nameIdentifier: NameIdentifier, - options?: ListSiteIdentifiersAssignedToHostNameOptionalParams + options?: ListSiteIdentifiersAssignedToHostNameOptionalParams, ): AsyncIterableIterator { for await (const page of this.listSiteIdentifiersAssignedToHostNamePagingPage( nameIdentifier, - options + options, )) { yield* page; } @@ -677,7 +674,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ public listPremierAddOnOffers( - options?: ListPremierAddOnOffersOptionalParams + options?: ListPremierAddOnOffersOptionalParams, ): PagedAsyncIterableIterator { const iter = this.listPremierAddOnOffersPagingAll(options); return { @@ -692,13 +689,13 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { throw new Error("maxPageSize is not supported by this operation."); } return this.listPremierAddOnOffersPagingPage(options, settings); - } + }, }; } private async *listPremierAddOnOffersPagingPage( options?: ListPremierAddOnOffersOptionalParams, - settings?: PageSettings + settings?: PageSettings, ): AsyncIterableIterator { let result: ListPremierAddOnOffersResponse; let continuationToken = settings?.continuationToken; @@ -712,7 +709,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { while (continuationToken) { result = await this._listPremierAddOnOffersNext( continuationToken, - options + options, ); continuationToken = result.nextLink; let page = result.value || []; @@ -722,7 +719,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { } private async *listPremierAddOnOffersPagingAll( - options?: ListPremierAddOnOffersOptionalParams + options?: ListPremierAddOnOffersOptionalParams, ): AsyncIterableIterator { for await (const page of this.listPremierAddOnOffersPagingPage(options)) { yield* page; @@ -734,11 +731,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ getPublishingUser( - options?: GetPublishingUserOptionalParams + options?: GetPublishingUserOptionalParams, ): Promise { return this.sendOperationRequest( { options }, - getPublishingUserOperationSpec + getPublishingUserOperationSpec, ); } @@ -749,11 +746,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ updatePublishingUser( userDetails: User, - options?: UpdatePublishingUserOptionalParams + options?: UpdatePublishingUserOptionalParams, ): Promise { return this.sendOperationRequest( { userDetails, options }, - updatePublishingUserOperationSpec + updatePublishingUserOperationSpec, ); } @@ -762,11 +759,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ private _listSourceControls( - options?: ListSourceControlsOptionalParams + options?: ListSourceControlsOptionalParams, ): Promise { return this.sendOperationRequest( { options }, - listSourceControlsOperationSpec + listSourceControlsOperationSpec, ); } @@ -777,11 +774,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ getSourceControl( sourceControlType: string, - options?: GetSourceControlOptionalParams + options?: GetSourceControlOptionalParams, ): Promise { return this.sendOperationRequest( { sourceControlType, options }, - getSourceControlOperationSpec + getSourceControlOperationSpec, ); } @@ -794,11 +791,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { updateSourceControl( sourceControlType: string, requestMessage: SourceControl, - options?: UpdateSourceControlOptionalParams + options?: UpdateSourceControlOptionalParams, ): Promise { return this.sendOperationRequest( { sourceControlType, requestMessage, options }, - updateSourceControlOperationSpec + updateSourceControlOperationSpec, ); } @@ -807,11 +804,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ private _listBillingMeters( - options?: ListBillingMetersOptionalParams + options?: ListBillingMetersOptionalParams, ): Promise { return this.sendOperationRequest( { options }, - listBillingMetersOperationSpec + listBillingMetersOperationSpec, ); } @@ -824,11 +821,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { checkNameAvailability( name: string, typeParam: CheckNameResourceTypes, - options?: CheckNameAvailabilityOptionalParams + options?: CheckNameAvailabilityOptionalParams, ): Promise { return this.sendOperationRequest( { name, typeParam, options }, - checkNameAvailabilityOperationSpec + checkNameAvailabilityOperationSpec, ); } @@ -837,11 +834,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ private _listCustomHostNameSites( - options?: ListCustomHostNameSitesOptionalParams + options?: ListCustomHostNameSitesOptionalParams, ): Promise { return this.sendOperationRequest( { options }, - listCustomHostNameSitesOperationSpec + listCustomHostNameSitesOperationSpec, ); } @@ -850,11 +847,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ getSubscriptionDeploymentLocations( - options?: GetSubscriptionDeploymentLocationsOptionalParams + options?: GetSubscriptionDeploymentLocationsOptionalParams, ): Promise { return this.sendOperationRequest( { options }, - getSubscriptionDeploymentLocationsOperationSpec + getSubscriptionDeploymentLocationsOperationSpec, ); } @@ -863,7 +860,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ private _listAseRegions( - options?: ListAseRegionsOptionalParams + options?: ListAseRegionsOptionalParams, ): Promise { return this.sendOperationRequest({ options }, listAseRegionsOperationSpec); } @@ -873,7 +870,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ private _listGeoRegions( - options?: ListGeoRegionsOptionalParams + options?: ListGeoRegionsOptionalParams, ): Promise { return this.sendOperationRequest({ options }, listGeoRegionsOperationSpec); } @@ -885,11 +882,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ private _listSiteIdentifiersAssignedToHostName( nameIdentifier: NameIdentifier, - options?: ListSiteIdentifiersAssignedToHostNameOptionalParams + options?: ListSiteIdentifiersAssignedToHostNameOptionalParams, ): Promise { return this.sendOperationRequest( { nameIdentifier, options }, - listSiteIdentifiersAssignedToHostNameOperationSpec + listSiteIdentifiersAssignedToHostNameOperationSpec, ); } @@ -898,11 +895,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { * @param options The options parameters. */ private _listPremierAddOnOffers( - options?: ListPremierAddOnOffersOptionalParams + options?: ListPremierAddOnOffersOptionalParams, ): Promise { return this.sendOperationRequest( { options }, - listPremierAddOnOffersOperationSpec + listPremierAddOnOffersOperationSpec, ); } @@ -922,11 +919,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ verifyHostingEnvironmentVnet( parameters: VnetParameters, - options?: VerifyHostingEnvironmentVnetOptionalParams + options?: VerifyHostingEnvironmentVnetOptionalParams, ): Promise { return this.sendOperationRequest( { parameters, options }, - verifyHostingEnvironmentVnetOperationSpec + verifyHostingEnvironmentVnetOperationSpec, ); } @@ -939,11 +936,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { move( resourceGroupName: string, moveResourceEnvelope: CsmMoveResourceEnvelope, - options?: MoveOptionalParams + options?: MoveOptionalParams, ): Promise { return this.sendOperationRequest( { resourceGroupName, moveResourceEnvelope, options }, - moveOperationSpec + moveOperationSpec, ); } @@ -956,11 +953,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { validate( resourceGroupName: string, validateRequest: ValidateRequest, - options?: ValidateOptionalParams + options?: ValidateOptionalParams, ): Promise { return this.sendOperationRequest( { resourceGroupName, validateRequest, options }, - validateOperationSpec + validateOperationSpec, ); } @@ -973,11 +970,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { validateMove( resourceGroupName: string, moveResourceEnvelope: CsmMoveResourceEnvelope, - options?: ValidateMoveOptionalParams + options?: ValidateMoveOptionalParams, ): Promise { return this.sendOperationRequest( { resourceGroupName, moveResourceEnvelope, options }, - validateMoveOperationSpec + validateMoveOperationSpec, ); } @@ -988,11 +985,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ private _listSourceControlsNext( nextLink: string, - options?: ListSourceControlsNextOptionalParams + options?: ListSourceControlsNextOptionalParams, ): Promise { return this.sendOperationRequest( { nextLink, options }, - listSourceControlsNextOperationSpec + listSourceControlsNextOperationSpec, ); } @@ -1003,11 +1000,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ private _listBillingMetersNext( nextLink: string, - options?: ListBillingMetersNextOptionalParams + options?: ListBillingMetersNextOptionalParams, ): Promise { return this.sendOperationRequest( { nextLink, options }, - listBillingMetersNextOperationSpec + listBillingMetersNextOperationSpec, ); } @@ -1019,11 +1016,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ private _listCustomHostNameSitesNext( nextLink: string, - options?: ListCustomHostNameSitesNextOptionalParams + options?: ListCustomHostNameSitesNextOptionalParams, ): Promise { return this.sendOperationRequest( { nextLink, options }, - listCustomHostNameSitesNextOperationSpec + listCustomHostNameSitesNextOperationSpec, ); } @@ -1034,11 +1031,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ private _listAseRegionsNext( nextLink: string, - options?: ListAseRegionsNextOptionalParams + options?: ListAseRegionsNextOptionalParams, ): Promise { return this.sendOperationRequest( { nextLink, options }, - listAseRegionsNextOperationSpec + listAseRegionsNextOperationSpec, ); } @@ -1049,11 +1046,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ private _listGeoRegionsNext( nextLink: string, - options?: ListGeoRegionsNextOptionalParams + options?: ListGeoRegionsNextOptionalParams, ): Promise { return this.sendOperationRequest( { nextLink, options }, - listGeoRegionsNextOperationSpec + listGeoRegionsNextOperationSpec, ); } @@ -1067,11 +1064,11 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { private _listSiteIdentifiersAssignedToHostNameNext( nameIdentifier: NameIdentifier, nextLink: string, - options?: ListSiteIdentifiersAssignedToHostNameNextOptionalParams + options?: ListSiteIdentifiersAssignedToHostNameNextOptionalParams, ): Promise { return this.sendOperationRequest( { nameIdentifier, nextLink, options }, - listSiteIdentifiersAssignedToHostNameNextOperationSpec + listSiteIdentifiersAssignedToHostNameNextOperationSpec, ); } @@ -1082,20 +1079,20 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { */ private _listPremierAddOnOffersNext( nextLink: string, - options?: ListPremierAddOnOffersNextOptionalParams + options?: ListPremierAddOnOffersNextOptionalParams, ): Promise { return this.sendOperationRequest( { nextLink, options }, - listPremierAddOnOffersNextOperationSpec + listPremierAddOnOffersNextOperationSpec, ); } appServiceCertificateOrders: AppServiceCertificateOrders; certificateOrdersDiagnostics: CertificateOrdersDiagnostics; certificateRegistrationProvider: CertificateRegistrationProvider; + domainRegistrationProvider: DomainRegistrationProvider; domains: Domains; topLevelDomains: TopLevelDomains; - domainRegistrationProvider: DomainRegistrationProvider; appServiceEnvironments: AppServiceEnvironments; appServicePlans: AppServicePlans; certificates: Certificates; @@ -1129,467 +1126,461 @@ const getPublishingUserOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const updatePublishingUserOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/publishingUsers/web", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.User + bodyMapper: Mappers.User, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.userDetails, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSourceControlsOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/sourcecontrols", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SourceControlCollection + bodyMapper: Mappers.SourceControlCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], - serializer + serializer, }; const getSourceControlOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SourceControl + bodyMapper: Mappers.SourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.sourceControlType], headerParameters: [Parameters.accept], - serializer + serializer, }; const updateSourceControlOperationSpec: coreClient.OperationSpec = { path: "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}", httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.SourceControl + bodyMapper: Mappers.SourceControl, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.requestMessage, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.sourceControlType], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listBillingMetersOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BillingMeterCollection + bodyMapper: Mappers.BillingMeterCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.billingLocation, - Parameters.osType + Parameters.osType, ], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ResourceNameAvailability + bodyMapper: Mappers.ResourceNameAvailability, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: { parameterPath: { name: ["name"], typeParam: ["typeParam"], isFqdn: ["options", "isFqdn"], - environmentId: ["options", "environmentId"] + environmentId: ["options", "environmentId"], }, - mapper: { ...Mappers.ResourceNameAvailabilityRequest, required: true } + mapper: { ...Mappers.ResourceNameAvailabilityRequest, required: true }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listCustomHostNameSitesOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CustomHostnameSitesCollection + bodyMapper: Mappers.CustomHostnameSitesCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion, Parameters.hostname], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; -const getSubscriptionDeploymentLocationsOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.DeploymentLocations +const getSubscriptionDeploymentLocationsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DeploymentLocations, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer -}; + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer, + }; const listAseRegionsOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/aseRegions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AseRegionCollection + bodyMapper: Mappers.AseRegionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listGeoRegionsOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.GeoRegionCollection + bodyMapper: Mappers.GeoRegionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [ Parameters.apiVersion, Parameters.sku, Parameters.linuxWorkersEnabled, Parameters.xenonWorkersEnabled, - Parameters.linuxDynamicWorkersEnabled + Parameters.linuxDynamicWorkersEnabled, ], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSiteIdentifiersAssignedToHostNameOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.IdentifierCollection +const listSiteIdentifiersAssignedToHostNameOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.IdentifierCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - requestBody: Parameters.nameIdentifier, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + requestBody: Parameters.nameIdentifier, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const listPremierAddOnOffersOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PremierAddOnOfferCollection + bodyMapper: Mappers.PremierAddOnOfferCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const listSkusOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SkuInfos + bodyMapper: Mappers.SkuInfos, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], - serializer + serializer, }; const verifyHostingEnvironmentVnetOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet", + path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.VnetValidationFailureDetails + bodyMapper: Mappers.VnetValidationFailureDetails, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const moveOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.moveResourceEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const validateOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ValidateResponse + bodyMapper: Mappers.ValidateResponse, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.validateRequest, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const validateMoveOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources", + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources", httpMethod: "POST", responses: { 204: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, requestBody: Parameters.moveResourceEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", - serializer + serializer, }; const listSourceControlsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.SourceControlCollection + bodyMapper: Mappers.SourceControlCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], - serializer + serializer, }; const listBillingMetersNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.BillingMeterCollection + bodyMapper: Mappers.BillingMeterCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listCustomHostNameSitesNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.CustomHostnameSitesCollection + bodyMapper: Mappers.CustomHostnameSitesCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listAseRegionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.AseRegionCollection + bodyMapper: Mappers.AseRegionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; const listGeoRegionsNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.GeoRegionCollection + bodyMapper: Mappers.GeoRegionCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; -const listSiteIdentifiersAssignedToHostNameNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.IdentifierCollection +const listSiteIdentifiersAssignedToHostNameNextOperationSpec: coreClient.OperationSpec = + { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.IdentifierCollection, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.nextLink - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, + }; const listPremierAddOnOffersNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.PremierAddOnOfferCollection + bodyMapper: Mappers.PremierAddOnOfferCollection, }, default: { - bodyMapper: Mappers.DefaultErrorResponse - } + bodyMapper: Mappers.DefaultErrorResponse, + }, }, urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink + Parameters.nextLink, ], headerParameters: [Parameters.accept], - serializer + serializer, }; diff --git a/sdk/appservice/arm-appservice/test/sampleTest.ts b/sdk/appservice/arm-appservice/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/appservice/arm-appservice/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/appservice/arm-appservice/tsconfig.json b/sdk/appservice/arm-appservice/tsconfig.json index c0481691633c..3e6ae96443f3 100644 --- a/sdk/appservice/arm-appservice/tsconfig.json +++ b/sdk/appservice/arm-appservice/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-appservice": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"