From d49962fac02feb738fb2c1869ba57430ede0a078 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 2 Mar 2019 03:13:36 +0000 Subject: [PATCH] Generated from 61d39f048374e3c8dd07112e7d9e8554e8664ea5 Fix casing --- packages/@azure/arm-appservice/LICENSE.txt | 2 +- packages/@azure/arm-appservice/README.md | 192 +- .../appServiceCertificateOrdersMappers.ts | 1 + .../models/appServiceEnvironmentsMappers.ts | 5 + .../lib/models/appServicePlansMappers.ts | 1 + .../lib/models/certificatesMappers.ts | 1 + .../lib/models/deletedWebAppsMappers.ts | 1 + .../lib/models/diagnosticsMappers.ts | 1 + .../lib/models/domainsMappers.ts | 1 + .../@azure/arm-appservice/lib/models/index.ts | 851 +++++-- .../arm-appservice/lib/models/mappers.ts | 369 +++- .../arm-appservice/lib/models/parameters.ts | 36 +- .../lib/models/recommendationsMappers.ts | 1 + ...resourceHealthMetadataOperationsMappers.ts | 1 + .../lib/models/topLevelDomainsMappers.ts | 1 + .../lib/models/webAppsMappers.ts | 3 +- .../operations/appServiceCertificateOrders.ts | 50 +- .../lib/operations/appServiceEnvironments.ts | 218 +- .../lib/operations/appServicePlans.ts | 81 +- .../certificateRegistrationProvider.ts | 2 +- .../lib/operations/certificates.ts | 12 +- .../lib/operations/deletedWebApps.ts | 2 +- .../lib/operations/diagnostics.ts | 44 +- .../operations/domainRegistrationProvider.ts | 2 +- .../arm-appservice/lib/operations/domains.ts | 30 +- .../arm-appservice/lib/operations/provider.ts | 6 +- .../lib/operations/recommendations.ts | 491 ++++- .../resourceHealthMetadataOperations.ts | 12 +- .../lib/operations/topLevelDomains.ts | 6 +- .../arm-appservice/lib/operations/webApps.ts | 1964 ++++++++--------- .../lib/webSiteManagementClient.ts | 101 +- .../lib/webSiteManagementClientContext.ts | 2 - packages/@azure/arm-appservice/package.json | 8 +- .../@azure/arm-appservice/rollup.config.js | 22 +- 34 files changed, 3037 insertions(+), 1483 deletions(-) diff --git a/packages/@azure/arm-appservice/LICENSE.txt b/packages/@azure/arm-appservice/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-appservice/LICENSE.txt +++ b/packages/@azure/arm-appservice/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 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/packages/@azure/arm-appservice/README.md b/packages/@azure/arm-appservice/README.md index 58b6f1127cec..d83190e29842 100644 --- a/packages/@azure/arm-appservice/README.md +++ b/packages/@azure/arm-appservice/README.md @@ -1,96 +1,96 @@ -## Azure WebSiteManagementClient SDK for JavaScript - -This package contains an isomorphic SDK for WebSiteManagementClient. - -### Currently supported environments - -- Node.js version 6.x.x or higher -- Browser JavaScript - -### How to Install - -``` -npm install @azure/arm-appservice -``` - -### How to use - -#### nodejs - Authentication, client creation and list appServiceCertificateOrders as an example written in TypeScript. - -##### Install @azure/ms-rest-nodeauth - -``` -npm install @azure/ms-rest-nodeauth -``` - -##### Sample code - -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { WebSiteManagementClient, WebSiteManagementModels, WebSiteManagementMappers } from "@azure/arm-appservice"; -const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; - -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new WebSiteManagementClient(creds, subscriptionId); - client.appServiceCertificateOrders.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.error(err); -}); -``` - -#### browser - Authentication, client creation and list appServiceCertificateOrders as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` - -##### Sample code - -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - -- index.html -```html - - - - @azure/arm-appservice sample - - - - - - - - -``` - -## Related projects - -- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +## Azure WebSiteManagementClient SDK for JavaScript + +This package contains an isomorphic SDK for WebSiteManagementClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install + +```bash +npm install @azure/arm-appservice +``` + +### How to use + +#### nodejs - Authentication, client creation and list appServiceCertificateOrders as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +```bash +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code + +```typescript +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; +import { WebSiteManagementClient, WebSiteManagementModels, WebSiteManagementMappers } from "@azure/arm-appservice"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new WebSiteManagementClient(creds, subscriptionId); + client.appServiceCertificateOrders.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +#### browser - Authentication, client creation and list appServiceCertificateOrders as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +```bash +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-appservice sample + + + + + + + + +``` + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-appservice/lib/models/appServiceCertificateOrdersMappers.ts b/packages/@azure/arm-appservice/lib/models/appServiceCertificateOrdersMappers.ts index 4259e87164d7..860ab5f33eb7 100644 --- a/packages/@azure/arm-appservice/lib/models/appServiceCertificateOrdersMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/appServiceCertificateOrdersMappers.ts @@ -69,6 +69,7 @@ export { HostingEnvironmentProfile, CloningInfo, SlotSwapStatus, + GeoDistribution, ManagedServiceIdentity, AppServicePlan, SkuDescription, diff --git a/packages/@azure/arm-appservice/lib/models/appServiceEnvironmentsMappers.ts b/packages/@azure/arm-appservice/lib/models/appServiceEnvironmentsMappers.ts index 2ed046d7bab1..e91a252b5f02 100644 --- a/packages/@azure/arm-appservice/lib/models/appServiceEnvironmentsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/appServiceEnvironmentsMappers.ts @@ -54,8 +54,10 @@ export { HostingEnvironmentProfile, CloningInfo, SlotSwapStatus, + GeoDistribution, ManagedServiceIdentity, HostingEnvironmentDiagnostics, + InboundEnvironmentEndpoint, MetricDefinition, MetricAvailabilily, ResourceMetricCollection, @@ -77,6 +79,9 @@ export { Usage, Operation, ErrorEntity, + OutboundEnvironmentEndpoint, + EndpointDependency, + EndpointDetail, AppServicePlanCollection, AppServicePlan, CsmUsageQuotaCollection, diff --git a/packages/@azure/arm-appservice/lib/models/appServicePlansMappers.ts b/packages/@azure/arm-appservice/lib/models/appServicePlansMappers.ts index fdf07a0995e6..37a5e1c96387 100644 --- a/packages/@azure/arm-appservice/lib/models/appServicePlansMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/appServicePlansMappers.ts @@ -63,6 +63,7 @@ export { IpSecurityRestriction, CloningInfo, SlotSwapStatus, + GeoDistribution, ManagedServiceIdentity, CsmUsageQuotaCollection, CsmUsageQuota, diff --git a/packages/@azure/arm-appservice/lib/models/certificatesMappers.ts b/packages/@azure/arm-appservice/lib/models/certificatesMappers.ts index dc54d0db9642..49d13b368b4a 100644 --- a/packages/@azure/arm-appservice/lib/models/certificatesMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/certificatesMappers.ts @@ -67,6 +67,7 @@ export { IpSecurityRestriction, CloningInfo, SlotSwapStatus, + GeoDistribution, ManagedServiceIdentity, AppServicePlan, SkuDescription, diff --git a/packages/@azure/arm-appservice/lib/models/deletedWebAppsMappers.ts b/packages/@azure/arm-appservice/lib/models/deletedWebAppsMappers.ts index d36b03fb1cbc..717f93334ace 100644 --- a/packages/@azure/arm-appservice/lib/models/deletedWebAppsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/deletedWebAppsMappers.ts @@ -147,6 +147,7 @@ export { SiteConfig, CloningInfo, SlotSwapStatus, + GeoDistribution, SitePhpErrorLogFlag, SiteSourceControl, SlotConfigNamesResource, diff --git a/packages/@azure/arm-appservice/lib/models/diagnosticsMappers.ts b/packages/@azure/arm-appservice/lib/models/diagnosticsMappers.ts index b1c78aaa8573..1ca93b1b080b 100644 --- a/packages/@azure/arm-appservice/lib/models/diagnosticsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/diagnosticsMappers.ts @@ -150,6 +150,7 @@ export { SiteConfig, CloningInfo, SlotSwapStatus, + GeoDistribution, SitePhpErrorLogFlag, SiteSourceControl, SlotConfigNamesResource, diff --git a/packages/@azure/arm-appservice/lib/models/domainsMappers.ts b/packages/@azure/arm-appservice/lib/models/domainsMappers.ts index 620c86b22956..c72945e9ad60 100644 --- a/packages/@azure/arm-appservice/lib/models/domainsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/domainsMappers.ts @@ -78,6 +78,7 @@ export { HostingEnvironmentProfile, CloningInfo, SlotSwapStatus, + GeoDistribution, ManagedServiceIdentity, AppServicePlan, SkuDescription, diff --git a/packages/@azure/arm-appservice/lib/models/index.ts b/packages/@azure/arm-appservice/lib/models/index.ts index 18fb3f04d3b6..27f51b3b60fb 100644 --- a/packages/@azure/arm-appservice/lib/models/index.ts +++ b/packages/@azure/arm-appservice/lib/models/index.ts @@ -695,6 +695,11 @@ export interface VnetInfo extends ProxyOnlyResource { * Network. This should be a comma-separated list of IP addresses. */ dnsServers?: string; + /** + * @member {boolean} [isSwift] Flag that is used to denote if this is VNET + * injection + */ + isSwift?: boolean; } /** @@ -720,7 +725,7 @@ export interface VnetGateway extends ProxyOnlyResource { /** * @interface * An interface representing User. - * User crendentials used for publishing activity. + * User credentials used for publishing activity. * * @extends ProxyOnlyResource */ @@ -1038,10 +1043,27 @@ export interface ManagedServiceIdentity { identityIds?: string[]; } +/** + * @interface + * An interface representing GeoDistribution. + * A global distribution definition. + * + */ +export interface GeoDistribution { + /** + * @member {string} [location] Location. + */ + location?: string; + /** + * @member {number} [numberOfWorkers] NumberOfWorkers. + */ + numberOfWorkers?: number; +} + /** * @interface * An interface representing SlotSwapStatus. - * The status of the last successfull slot swap operation. + * The status of the last successful slot swap operation. * */ export interface SlotSwapStatus { @@ -1170,18 +1192,30 @@ export interface HostingEnvironmentProfile { */ export interface IpSecurityRestriction { /** - * @member {string} ipAddress IP address the security restriction is valid + * @member {string} [ipAddress] IP address the security restriction is valid * for. * It can be in form of pure ipv4 address (required SubnetMask property) or * CIDR notation such as ipv4/mask (leading bit match). For CIDR, * SubnetMask property must not be specified. */ - ipAddress: string; + ipAddress?: string; /** * @member {string} [subnetMask] Subnet mask for the range of IP addresses * the restriction is valid for. */ subnetMask?: string; + /** + * @member {string} [vnetSubnetResourceId] Virtual network resource id + */ + vnetSubnetResourceId?: string; + /** + * @member {number} [vnetTrafficTag] (internal) Vnet traffic tag + */ + vnetTrafficTag?: number; + /** + * @member {number} [subnetTrafficTag] (internal) Subnet traffic tag + */ + subnetTrafficTag?: number; /** * @member {string} [action] Allow or Deny access for this IP range. */ @@ -1232,6 +1266,13 @@ export interface CorsSettings { * calls (for example: http://example.com:12345). Use "*" to allow all. */ allowedOrigins?: string[]; + /** + * @member {boolean} [supportCredentials] Gets or sets whether CORS requests + * with credentials are allowed. See + * https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials + * for more details. + */ + supportCredentials?: boolean; } /** @@ -1430,16 +1471,16 @@ export interface RampUpRule { reroutePercentage?: number; /** * @member {number} [changeStep] In auto ramp up scenario this is the step to - * to add/remove from ReroutePercentage until it reaches + * add/remove from ReroutePercentage until it reaches * MinReroutePercentage or MaxReroutePercentage. - * Site metrics are checked every N minutes specificed in + * Site metrics are checked every N minutes specified in * ChangeIntervalInMinutes. * Custom decision algorithm can be provided in TiPCallback site extension * which URL can be specified in ChangeDecisionCallbackUrl. */ changeStep?: number; /** - * @member {number} [changeIntervalInMinutes] Specifies interval in mimuntes + * @member {number} [changeIntervalInMinutes] Specifies interval in minutes * to reevaluate ReroutePercentage. */ changeIntervalInMinutes?: number; @@ -1814,7 +1855,7 @@ export interface SiteConfig { */ loadBalancing?: SiteLoadBalancing; /** - * @member {Experiments} [experiments] This is work around for polymophic + * @member {Experiments} [experiments] This is work around for polymorphic * types. */ experiments?: Experiments; @@ -1873,9 +1914,19 @@ export interface SiteConfig { xManagedServiceIdentityId?: number; /** * @member {IpSecurityRestriction[]} [ipSecurityRestrictions] IP security - * restrictions. + * restrictions for main. */ ipSecurityRestrictions?: IpSecurityRestriction[]; + /** + * @member {IpSecurityRestriction[]} [scmIpSecurityRestrictions] IP security + * restrictions for scm. + */ + scmIpSecurityRestrictions?: IpSecurityRestriction[]; + /** + * @member {boolean} [scmIpSecurityRestrictionsUseMain] IP security + * restrictions for scm to use main. + */ + scmIpSecurityRestrictionsUseMain?: boolean; /** * @member {boolean} [http20Enabled] Http20Enabled: configures a web site to * allow clients to connect over http2.0. Default value: true . @@ -2066,6 +2117,11 @@ export interface Site extends Resource { * false. Default is false. */ clientCertEnabled?: boolean; + /** + * @member {string} [clientCertExclusionPaths] client certificate + * authentication comma-separated exclusion paths + */ + clientCertExclusionPaths?: string; /** * @member {boolean} [hostNamesDisabled] true to disable the * public hostnames of the app; otherwise, false. @@ -2150,6 +2206,24 @@ export interface Site extends Resource { * http requests */ httpsOnly?: boolean; + /** + * @member {RedundancyMode} [redundancyMode] Site redundancy mode. Possible + * values include: 'None', 'Manual', 'Failover', 'ActiveActive', + * 'GeoRedundant' + */ + redundancyMode?: RedundancyMode; + /** + * @member {string} [inProgressOperationId] Specifies an operation id if this + * site has a pending operation. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inProgressOperationId?: string; + /** + * @member {GeoDistribution[]} [geoDistributions] GeoDistributions for this + * site + */ + geoDistributions?: GeoDistribution[]; /** * @member {ManagedServiceIdentity} [identity] */ @@ -2276,10 +2350,6 @@ export interface AppServicePlan extends Resource { * the server.** */ readonly subscription?: string; - /** - * @member {string} [adminSiteName] App Service plan administration site. - */ - adminSiteName?: string; /** * @member {HostingEnvironmentProfile} [hostingEnvironmentProfile] * Specification for the App Service Environment to use for the App Service @@ -2966,7 +3036,7 @@ export interface Domain extends Resource { /** * @interface * An interface representing DomainAvailablilityCheckResult. - * Domain availablility check result. + * Domain availability check result. * */ export interface DomainAvailablilityCheckResult { @@ -3291,7 +3361,7 @@ export interface Certificate extends Resource { */ readonly issueDate?: Date; /** - * @member {Date} [expirationDate] Certificate expriration date. + * @member {Date} [expirationDate] Certificate expiration date. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ @@ -3412,7 +3482,7 @@ export interface CertificatePatchResource extends ProxyOnlyResource { */ readonly issueDate?: Date; /** - * @member {Date} [expirationDate] Certificate expriration date. + * @member {Date} [expirationDate] Certificate expiration date. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ @@ -3922,7 +3992,7 @@ export interface LocalizableString { */ export interface CsmUsageQuota { /** - * @member {string} [unit] Units of measurement for the quota resourse. + * @member {string} [unit] Units of measurement for the quota resource. */ unit?: string; /** @@ -4220,11 +4290,11 @@ export interface Solution { */ export interface DetectorAbnormalTimePeriod { /** - * @member {Date} [startTime] Start time of the corelated event + * @member {Date} [startTime] Start time of the correlated event */ startTime?: Date; /** - * @member {Date} [endTime] End time of the corelated event + * @member {Date} [endTime] End time of the correlated event */ endTime?: Date; /** @@ -4404,7 +4474,7 @@ export interface DiagnosticMetricSet { */ export interface DataSource { /** - * @member {string[]} [instructions] Instrunctions if any for the data source + * @member {string[]} [instructions] Instructions if any for the data source */ instructions?: string[]; /** @@ -4656,7 +4726,7 @@ export interface DiagnosticCategory extends ProxyOnlyResource { /** * @interface * An interface representing DiagnosticDetectorResponse. - * Class representing Reponse from Diagnostic Detectors + * Class representing Response from Diagnostic Detectors * * @extends ProxyOnlyResource */ @@ -4719,6 +4789,11 @@ export interface StackMinorVersion { * minor version; otherwise, false. */ isDefault?: boolean; + /** + * @member {boolean} [isRemoteDebuggingEnabled] true if this + * supports Remote Debugging, otherwise false. + */ + isRemoteDebuggingEnabled?: boolean; } /** @@ -4748,6 +4823,11 @@ export interface StackMajorVersion { * with the major version. */ minorVersions?: StackMinorVersion[]; + /** + * @member {boolean} [applicationInsights] true if this supports + * Application Insights; otherwise, false. + */ + applicationInsights?: boolean; } /** @@ -4852,7 +4932,7 @@ export interface Recommendation extends ProxyOnlyResource { enabled?: number; /** * @member {string[]} [states] The list of states of this recommendation. If - * it's null then it shoud be considered "Active". + * it's null then it should be considered "Active". */ states?: string[]; /** @@ -5194,7 +5274,7 @@ export interface PremierAddOnOffer extends ProxyOnlyResource { /** * @interface * An interface representing ResourceNameAvailability. - * Information regarding availbility of a resource name. + * Information regarding availability of a resource name. * */ export interface ResourceNameAvailability { @@ -5290,6 +5370,39 @@ export interface SourceControl extends ProxyOnlyResource { expirationTime?: Date; } +/** + * @interface + * An interface representing ValidateContainerSettingsRequest. + * Container settings validation request context + * + */ +export interface ValidateContainerSettingsRequest { + /** + * @member {string} [baseUrl] Base URL of the container registry + */ + baseUrl?: string; + /** + * @member {string} [username] Username for to access the container registry + */ + username?: string; + /** + * @member {string} [password] Password for to access the container registry + */ + password?: string; + /** + * @member {string} [repository] Repository name (image name) + */ + repository?: string; + /** + * @member {string} [tag] Image tag + */ + tag?: string; + /** + * @member {string} [platform] Platform (windows or linux) + */ + platform?: string; +} + /** * @interface * An interface representing ValidateRequest. @@ -5332,7 +5445,7 @@ export interface ValidateRequest { isSpot?: boolean; /** * @member {number} [capacity] Target capacity of the App Service plan - * (number of VM's). + * (number of VMs). */ capacity?: number; /** @@ -5947,7 +6060,7 @@ export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { readonly hasConflictOnScaleUnit?: boolean; /** * @member {boolean} [hasConflictAcrossSubscription] true if - * htere is a conflict across subscriptions; otherwise, false. + * there is a conflict across subscriptions; otherwise, false. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ @@ -6021,7 +6134,7 @@ export interface DeletedAppRestoreRequest extends ProxyOnlyResource { /** * @interface * An interface representing Deployment. - * User crendentials used for publishing activity. + * User credentials used for publishing activity. * * @extends ProxyOnlyResource */ @@ -6780,7 +6893,7 @@ export interface ProcessThreadInfo extends ProxyOnlyResource { */ userProcessorTime?: string; /** - * @member {string} [priviledgedProcessorTime] Priviledged processor time. + * @member {string} [priviledgedProcessorTime] Privileged processor time. */ priviledgedProcessorTime?: string; /** @@ -7183,6 +7296,13 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * http://openid.net/specs/openid-connect-core-1_0.html */ clientSecret?: string; + /** + * @member {string} [clientSecretCertificateThumbprint] An alternative to the + * client secret, that is the thumbprint of a certificate used for signing + * purposes. This property acts as + * a replacement for the Client Secret. It is also optional. + */ + clientSecretCertificateThumbprint?: string; /** * @member {string} [issuer] The OpenID Connect Issuer URI that represents * the entity which issues access tokens for this application. @@ -7509,7 +7629,7 @@ export interface SiteConfigResource extends ProxyOnlyResource { */ loadBalancing?: SiteLoadBalancing; /** - * @member {Experiments} [experiments] This is work around for polymophic + * @member {Experiments} [experiments] This is work around for polymorphic * types. */ experiments?: Experiments; @@ -7568,9 +7688,19 @@ export interface SiteConfigResource extends ProxyOnlyResource { xManagedServiceIdentityId?: number; /** * @member {IpSecurityRestriction[]} [ipSecurityRestrictions] IP security - * restrictions. + * restrictions for main. */ ipSecurityRestrictions?: IpSecurityRestriction[]; + /** + * @member {IpSecurityRestriction[]} [scmIpSecurityRestrictions] IP security + * restrictions for scm. + */ + scmIpSecurityRestrictions?: IpSecurityRestriction[]; + /** + * @member {boolean} [scmIpSecurityRestrictionsUseMain] IP security + * restrictions for scm to use main. + */ + scmIpSecurityRestrictionsUseMain?: boolean; /** * @member {boolean} [http20Enabled] Http20Enabled: configures a web site to * allow clients to connect over http2.0. Default value: true . @@ -7884,6 +8014,11 @@ export interface SitePatchResource extends ProxyOnlyResource { * false. Default is false. */ clientCertEnabled?: boolean; + /** + * @member {string} [clientCertExclusionPaths] client certificate + * authentication comma-separated exclusion paths + */ + clientCertExclusionPaths?: string; /** * @member {boolean} [hostNamesDisabled] true to disable the * public hostnames of the app; otherwise, false. @@ -7968,6 +8103,24 @@ export interface SitePatchResource extends ProxyOnlyResource { * http requests */ httpsOnly?: boolean; + /** + * @member {RedundancyMode} [redundancyMode] Site redundancy mode. Possible + * values include: 'None', 'Manual', 'Failover', 'ActiveActive', + * 'GeoRedundant' + */ + redundancyMode?: RedundancyMode; + /** + * @member {string} [inProgressOperationId] Specifies an operation id if this + * site has a pending operation. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inProgressOperationId?: string; + /** + * @member {GeoDistribution[]} [geoDistributions] GeoDistributions for this + * site + */ + geoDistributions?: GeoDistribution[]; } /** @@ -8692,7 +8845,7 @@ export interface AppServiceEnvironmentResource extends Resource { /** * @interface * An interface representing AppServiceEnvironmentPatchResource. - * ARM resource for a app service enviroment. + * ARM resource for a app service environment. * * @extends ProxyOnlyResource */ @@ -8930,6 +9083,56 @@ export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { sslCertKeyVaultSecretName?: string; } +/** + * @interface + * An interface representing EndpointDetail. + * Current TCP connectivity information from the App Service Environment to a + * single endpoint. + * + */ +export interface EndpointDetail { + /** + * @member {string} [ipAddress] An IP Address that Domain Name currently + * resolves to. + */ + ipAddress?: string; + /** + * @member {number} [port] The port an endpoint is connected to. + */ + port?: number; + /** + * @member {number} [latency] The time in milliseconds it takes for a TCP + * connection to be created from the App Service Environment to this + * IpAddress at this Port. + */ + latency?: number; + /** + * @member {boolean} [isAccessable] Whether it is possible to create a TCP + * connection from the App Service Environment to this IpAddress at this + * Port. + */ + isAccessable?: boolean; +} + +/** + * @interface + * An interface representing EndpointDependency. + * A domain name that a service is reached at, including details of the current + * connection status. + * + */ +export interface EndpointDependency { + /** + * @member {string} [domainName] The domain name of the dependency. + */ + domainName?: string; + /** + * @member {EndpointDetail[]} [endpointDetails] The IP Addresses and Ports + * used when connecting to DomainName. + */ + endpointDetails?: EndpointDetail[]; +} + /** * @interface * An interface representing HostingEnvironmentDiagnostics. @@ -8947,6 +9150,31 @@ export interface HostingEnvironmentDiagnostics { diagnosicsOutput?: string; } +/** + * @interface + * An interface representing InboundEnvironmentEndpoint. + * The IP Addresses and Ports that require inbound network access to and within + * the subnet of the App Service Environment. + * + */ +export interface InboundEnvironmentEndpoint { + /** + * @member {string} [description] Short text describing the purpose of the + * network traffic. + */ + description?: string; + /** + * @member {string[]} [endpoints] The IP addresses that network traffic will + * originate from in cidr notation. + */ + endpoints?: string[]; + /** + * @member {string[]} [ports] The ports that network traffic will arrive to + * the App Service Environment at. + */ + ports?: string[]; +} + /** * @interface * An interface representing MetricAvailabilily. @@ -8999,6 +9227,27 @@ export interface MetricDefinition extends ProxyOnlyResource { readonly displayName?: string; } +/** + * @interface + * An interface representing OutboundEnvironmentEndpoint. + * Endpoints accessed for a common purpose that the App Service Environment + * requires outbound network access to. + * + */ +export interface OutboundEnvironmentEndpoint { + /** + * @member {string} [category] The type of service accessed by the App + * Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure + * Active Directory. + */ + category?: string; + /** + * @member {EndpointDependency[]} [endpoints] The endpoints that the App + * Service Environment reaches the service at. + */ + endpoints?: EndpointDependency[]; +} + /** * @interface * An interface representing SkuInfo. @@ -9145,10 +9394,6 @@ export interface AppServicePlanPatchResource extends ProxyOnlyResource { * the server.** */ readonly subscription?: string; - /** - * @member {string} [adminSiteName] App Service plan administration site. - */ - adminSiteName?: string; /** * @member {HostingEnvironmentProfile} [hostingEnvironmentProfile] * Specification for the App Service Environment to use for the App Service @@ -9538,6 +9783,72 @@ export interface RecommendationsListOptionalParams extends msRest.RequestOptions filter?: string; } +/** + * @interface + * An interface representing RecommendationsListHistoryForHostingEnvironmentOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface RecommendationsListHistoryForHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {boolean} [expiredOnly] Specify false to return all + * recommendations. The default is true, which returns only + * expired recommendations. + */ + expiredOnly?: boolean; + /** + * @member {string} [filter] Filter is specified by using OData syntax. + * Example: $filter=channel eq 'Api' or channel eq 'Notification' and + * startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and + * timeGrain eq duration'[PT1H|PT1M|P1D] + */ + filter?: string; +} + +/** + * @interface + * An interface representing RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {boolean} [featured] Specify true to return only the + * most critical recommendations. The default is false, which + * returns all recommendations. + */ + featured?: boolean; + /** + * @member {string} [filter] Return only channels specified in the filter. + * Filter is specified by using OData syntax. Example: $filter=channel eq + * 'Api' or channel eq 'Notification' + */ + filter?: string; +} + +/** + * @interface + * An interface representing RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {boolean} [updateSeen] Specify true to update the + * last-seen timestamp of the recommendation object. + */ + updateSeen?: boolean; + /** + * @member {string} [recommendationId] The GUID of the recommendation object + * if you query an expired one. You don't need to specify it to query an + * active entry. + */ + recommendationId?: string; +} + /** * @interface * An interface representing RecommendationsListHistoryForWebAppOptionalParams. @@ -9597,7 +9908,7 @@ export interface RecommendationsGetRuleDetailsByWebAppOptionalParams extends msR */ updateSeen?: boolean; /** - * @member {string} [recommendationId] The GUID of the recommedation object + * @member {string} [recommendationId] The GUID of the recommendation object * if you query an expired one. You don't need to specify it to query an * active entry. */ @@ -10397,7 +10708,7 @@ export interface AppServicePlansListMetricsOptionalParams extends msRest.Request */ export interface AppServicePlansRestartWebAppsOptionalParams extends msRest.RequestOptionsBase { /** - * @member {boolean} [softRestart] Specify true to performa a + * @member {boolean} [softRestart] Specify true to perform a * soft restart, applies the configuration settings and restarts the apps if * necessary. The default is false, which always restarts and * reprovisions the apps @@ -10463,7 +10774,7 @@ export interface WebSiteManagementClientOptions extends AzureServiceClientOption /** * @interface * An interface representing the AppServiceCertificateOrderCollection. - * Collection of certitificate orders. + * Collection of certificate orders. * * @extends Array */ @@ -10479,7 +10790,7 @@ export interface AppServiceCertificateOrderCollection extends Array */ @@ -11488,6 +11799,14 @@ export type UsageState = 'Normal' | 'Exceeded'; */ export type SiteAvailabilityState = 'Normal' | 'Limited' | 'DisasterRecoveryMode'; +/** + * Defines values for RedundancyMode. + * Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant' + * @readonly + * @enum {string} + */ +export type RedundancyMode = 'None' | 'Manual' | 'Failover' | 'ActiveActive' | 'GeoRedundant'; + /** * Defines values for StatusOptions. * Possible values include: 'Ready', 'Pending', 'Creating' @@ -13597,9 +13916,9 @@ export type RecommendationsListResponse = RecommendationCollection & { }; /** - * Contains response data for the listHistoryForWebApp operation. + * Contains response data for the listHistoryForHostingEnvironment operation. */ -export type RecommendationsListHistoryForWebAppResponse = RecommendationCollection & { +export type RecommendationsListHistoryForHostingEnvironmentResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13616,9 +13935,9 @@ export type RecommendationsListHistoryForWebAppResponse = RecommendationCollecti }; /** - * Contains response data for the listRecommendedRulesForWebApp operation. + * Contains response data for the listRecommendedRulesForHostingEnvironment operation. */ -export type RecommendationsListRecommendedRulesForWebAppResponse = RecommendationCollection & { +export type RecommendationsListRecommendedRulesForHostingEnvironmentResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13635,9 +13954,9 @@ export type RecommendationsListRecommendedRulesForWebAppResponse = Recommendatio }; /** - * Contains response data for the getRuleDetailsByWebApp operation. + * Contains response data for the getRuleDetailsByHostingEnvironment operation. */ -export type RecommendationsGetRuleDetailsByWebAppResponse = RecommendationRule & { +export type RecommendationsGetRuleDetailsByHostingEnvironmentResponse = RecommendationRule & { /** * The underlying HTTP response. */ @@ -13654,9 +13973,9 @@ export type RecommendationsGetRuleDetailsByWebAppResponse = RecommendationRule & }; /** - * Contains response data for the listNext operation. + * Contains response data for the listHistoryForWebApp operation. */ -export type RecommendationsListNextResponse = RecommendationCollection & { +export type RecommendationsListHistoryForWebAppResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13673,9 +13992,9 @@ export type RecommendationsListNextResponse = RecommendationCollection & { }; /** - * Contains response data for the listHistoryForWebAppNext operation. + * Contains response data for the listRecommendedRulesForWebApp operation. */ -export type RecommendationsListHistoryForWebAppNextResponse = RecommendationCollection & { +export type RecommendationsListRecommendedRulesForWebAppResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13692,9 +14011,9 @@ export type RecommendationsListHistoryForWebAppNextResponse = RecommendationColl }; /** - * Contains response data for the listRecommendedRulesForWebAppNext operation. + * Contains response data for the getRuleDetailsByWebApp operation. */ -export type RecommendationsListRecommendedRulesForWebAppNextResponse = RecommendationCollection & { +export type RecommendationsGetRuleDetailsByWebAppResponse = RecommendationRule & { /** * The underlying HTTP response. */ @@ -13706,14 +14025,14 @@ export type RecommendationsListRecommendedRulesForWebAppNextResponse = Recommend /** * The response body as parsed JSON or XML */ - parsedBody: RecommendationCollection; + parsedBody: RecommendationRule; }; }; /** - * Contains response data for the getPublishingUser operation. + * Contains response data for the listNext operation. */ -export type GetPublishingUserResponse = User & { +export type RecommendationsListNextResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13725,14 +14044,14 @@ export type GetPublishingUserResponse = User & { /** * The response body as parsed JSON or XML */ - parsedBody: User; + parsedBody: RecommendationCollection; }; }; /** - * Contains response data for the updatePublishingUser operation. + * Contains response data for the listHistoryForHostingEnvironmentNext operation. */ -export type UpdatePublishingUserResponse = User & { +export type RecommendationsListHistoryForHostingEnvironmentNextResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13744,14 +14063,14 @@ export type UpdatePublishingUserResponse = User & { /** * The response body as parsed JSON or XML */ - parsedBody: User; + parsedBody: RecommendationCollection; }; }; /** - * Contains response data for the listSourceControls operation. + * Contains response data for the listRecommendedRulesForHostingEnvironmentNext operation. */ -export type ListSourceControlsResponse = SourceControlCollection & { +export type RecommendationsListRecommendedRulesForHostingEnvironmentNextResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13763,14 +14082,14 @@ export type ListSourceControlsResponse = SourceControlCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlCollection; + parsedBody: RecommendationCollection; }; }; /** - * Contains response data for the getSourceControl operation. + * Contains response data for the listHistoryForWebAppNext operation. */ -export type GetSourceControlResponse = SourceControl & { +export type RecommendationsListHistoryForWebAppNextResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13782,14 +14101,14 @@ export type GetSourceControlResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: RecommendationCollection; }; }; /** - * Contains response data for the updateSourceControl operation. + * Contains response data for the listRecommendedRulesForWebAppNext operation. */ -export type UpdateSourceControlResponse = SourceControl & { +export type RecommendationsListRecommendedRulesForWebAppNextResponse = RecommendationCollection & { /** * The underlying HTTP response. */ @@ -13801,14 +14120,14 @@ export type UpdateSourceControlResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: RecommendationCollection; }; }; /** - * Contains response data for the listBillingMeters operation. + * Contains response data for the getPublishingUser operation. */ -export type ListBillingMetersResponse = BillingMeterCollection & { +export type GetPublishingUserResponse = User & { /** * The underlying HTTP response. */ @@ -13820,14 +14139,14 @@ export type ListBillingMetersResponse = BillingMeterCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: BillingMeterCollection; + parsedBody: User; }; }; /** - * Contains response data for the checkNameAvailability operation. + * Contains response data for the updatePublishingUser operation. */ -export type CheckNameAvailabilityResponse = ResourceNameAvailability & { +export type UpdatePublishingUserResponse = User & { /** * The underlying HTTP response. */ @@ -13839,14 +14158,109 @@ export type CheckNameAvailabilityResponse = ResourceNameAvailability & { /** * The response body as parsed JSON or XML */ - parsedBody: ResourceNameAvailability; + parsedBody: User; }; }; /** - * Contains response data for the getSubscriptionDeploymentLocations operation. + * Contains response data for the listSourceControls operation. */ -export type GetSubscriptionDeploymentLocationsResponse = DeploymentLocations & { +export type ListSourceControlsResponse = SourceControlCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SourceControlCollection; + }; +}; + +/** + * Contains response data for the getSourceControl operation. + */ +export type GetSourceControlResponse = SourceControl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SourceControl; + }; +}; + +/** + * Contains response data for the updateSourceControl operation. + */ +export type UpdateSourceControlResponse = SourceControl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SourceControl; + }; +}; + +/** + * Contains response data for the listBillingMeters operation. + */ +export type ListBillingMetersResponse = BillingMeterCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BillingMeterCollection; + }; +}; + +/** + * Contains response data for the checkNameAvailability operation. + */ +export type CheckNameAvailabilityResponse = ResourceNameAvailability & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ResourceNameAvailability; + }; +}; + +/** + * Contains response data for the getSubscriptionDeploymentLocations operation. + */ +export type GetSubscriptionDeploymentLocationsResponse = DeploymentLocations & { /** * The underlying HTTP response. */ @@ -13976,6 +14390,29 @@ export type ValidateResponse2 = ValidateResponse & { }; }; +/** + * Contains response data for the validateContainerSettings operation. + */ +export type ValidateContainerSettingsResponse = { + /** + * The parsed response body. + */ + body: any; + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; +}; + /** * Contains response data for the listSourceControlsNext operation. */ @@ -14641,63 +15078,6 @@ export type WebAppsUpdateSlotConfigurationNamesResponse = SlotConfigNamesResourc }; }; -/** - * Contains response data for the getSwiftVirtualNetworkConnection operation. - */ -export type WebAppsGetSwiftVirtualNetworkConnectionResponse = SwiftVirtualNetwork & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SwiftVirtualNetwork; - }; -}; - -/** - * Contains response data for the createOrUpdateSwiftVirtualNetworkConnection operation. - */ -export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionResponse = SwiftVirtualNetwork & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SwiftVirtualNetwork; - }; -}; - -/** - * Contains response data for the updateSwiftVirtualNetworkConnection operation. - */ -export type WebAppsUpdateSwiftVirtualNetworkConnectionResponse = SwiftVirtualNetwork & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SwiftVirtualNetwork; - }; -}; - /** * Contains response data for the getConfiguration operation. */ @@ -15781,6 +16161,63 @@ export type WebAppsGetMigrateMySqlStatusResponse = MigrateMySqlStatus & { }; }; +/** + * Contains response data for the getSwiftVirtualNetworkConnection operation. + */ +export type WebAppsGetSwiftVirtualNetworkConnectionResponse = SwiftVirtualNetwork & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SwiftVirtualNetwork; + }; +}; + +/** + * Contains response data for the createOrUpdateSwiftVirtualNetworkConnection operation. + */ +export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionResponse = SwiftVirtualNetwork & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SwiftVirtualNetwork; + }; +}; + +/** + * Contains response data for the updateSwiftVirtualNetworkConnection operation. + */ +export type WebAppsUpdateSwiftVirtualNetworkConnectionResponse = SwiftVirtualNetwork & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SwiftVirtualNetwork; + }; +}; + /** * Contains response data for the listNetworkFeatures operation. */ @@ -16859,63 +17296,6 @@ export type WebAppsListSitePushSettingsSlotResponse = PushSettings & { }; }; -/** - * Contains response data for the getSwiftVirtualNetworkConnectionSlot operation. - */ -export type WebAppsGetSwiftVirtualNetworkConnectionSlotResponse = SwiftVirtualNetwork & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SwiftVirtualNetwork; - }; -}; - -/** - * Contains response data for the createOrUpdateSwiftVirtualNetworkConnectionSlot operation. - */ -export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionSlotResponse = SwiftVirtualNetwork & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SwiftVirtualNetwork; - }; -}; - -/** - * Contains response data for the updateSwiftVirtualNetworkConnectionSlot operation. - */ -export type WebAppsUpdateSwiftVirtualNetworkConnectionSlotResponse = SwiftVirtualNetwork & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SwiftVirtualNetwork; - }; -}; - /** * Contains response data for the getConfigurationSlot operation. */ @@ -17961,6 +18341,63 @@ export type WebAppsGetMigrateMySqlStatusSlotResponse = MigrateMySqlStatus & { }; }; +/** + * Contains response data for the getSwiftVirtualNetworkConnectionSlot operation. + */ +export type WebAppsGetSwiftVirtualNetworkConnectionSlotResponse = SwiftVirtualNetwork & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SwiftVirtualNetwork; + }; +}; + +/** + * Contains response data for the createOrUpdateSwiftVirtualNetworkConnectionSlot operation. + */ +export type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionSlotResponse = SwiftVirtualNetwork & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SwiftVirtualNetwork; + }; +}; + +/** + * Contains response data for the updateSwiftVirtualNetworkConnectionSlot operation. + */ +export type WebAppsUpdateSwiftVirtualNetworkConnectionSlotResponse = SwiftVirtualNetwork & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SwiftVirtualNetwork; + }; +}; + /** * Contains response data for the listNetworkFeaturesSlot operation. */ @@ -20977,6 +21414,25 @@ export type AppServiceEnvironmentsGetDiagnosticsItemResponse = HostingEnvironmen }; }; +/** + * Contains response data for the getInboundNetworkDependenciesEndpoints operation. + */ +export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: InboundEnvironmentEndpoint[]; + }; +}; + /** * Contains response data for the listMetricDefinitions operation. */ @@ -21224,6 +21680,25 @@ export type AppServiceEnvironmentsListOperationsResponse = Array & { }; }; +/** + * Contains response data for the getOutboundNetworkDependenciesEndpoints operation. + */ +export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse = Array & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OutboundEnvironmentEndpoint[]; + }; +}; + /** * Contains response data for the resume operation. */ diff --git a/packages/@azure/arm-appservice/lib/models/mappers.ts b/packages/@azure/arm-appservice/lib/models/mappers.ts index e0c921ebb902..98fc9d9ab9e0 100644 --- a/packages/@azure/arm-appservice/lib/models/mappers.ts +++ b/packages/@azure/arm-appservice/lib/models/mappers.ts @@ -918,6 +918,12 @@ export const VnetInfo: msRest.CompositeMapper = { type: { name: "String" } + }, + isSwift: { + serializedName: "properties.isSwift", + type: { + name: "Boolean" + } } } } @@ -1333,6 +1339,28 @@ export const ManagedServiceIdentity: msRest.CompositeMapper = { } }; +export const GeoDistribution: msRest.CompositeMapper = { + serializedName: "GeoDistribution", + type: { + name: "Composite", + className: "GeoDistribution", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + type: { + name: "Number" + } + } + } + } +}; + export const SlotSwapStatus: msRest.CompositeMapper = { serializedName: "SlotSwapStatus", type: { @@ -1477,7 +1505,6 @@ export const IpSecurityRestriction: msRest.CompositeMapper = { className: "IpSecurityRestriction", modelProperties: { ipAddress: { - required: true, serializedName: "ipAddress", type: { name: "String" @@ -1489,6 +1516,24 @@ export const IpSecurityRestriction: msRest.CompositeMapper = { name: "String" } }, + vnetSubnetResourceId: { + serializedName: "vnetSubnetResourceId", + type: { + name: "String" + } + }, + vnetTrafficTag: { + serializedName: "vnetTrafficTag", + type: { + name: "Number" + } + }, + subnetTrafficTag: { + serializedName: "subnetTrafficTag", + type: { + name: "Number" + } + }, action: { serializedName: "action", type: { @@ -1559,6 +1604,12 @@ export const CorsSettings: msRest.CompositeMapper = { } } } + }, + supportCredentials: { + serializedName: "supportCredentials", + type: { + name: "Boolean" + } } } } @@ -2477,6 +2528,24 @@ export const SiteConfig: msRest.CompositeMapper = { } } }, + scmIpSecurityRestrictions: { + serializedName: "scmIpSecurityRestrictions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpSecurityRestriction" + } + } + } + }, + scmIpSecurityRestrictionsUseMain: { + serializedName: "scmIpSecurityRestrictionsUseMain", + type: { + name: "Boolean" + } + }, http20Enabled: { serializedName: "http20Enabled", defaultValue: true, @@ -2737,6 +2806,12 @@ export const Site: msRest.CompositeMapper = { name: "Boolean" } }, + clientCertExclusionPaths: { + serializedName: "properties.clientCertExclusionPaths", + type: { + name: "String" + } + }, hostNamesDisabled: { serializedName: "properties.hostNamesDisabled", type: { @@ -2825,6 +2900,38 @@ export const Site: msRest.CompositeMapper = { name: "Boolean" } }, + redundancyMode: { + serializedName: "properties.redundancyMode", + type: { + name: "Enum", + allowedValues: [ + "None", + "Manual", + "Failover", + "ActiveActive", + "GeoRedundant" + ] + } + }, + inProgressOperationId: { + readOnly: true, + serializedName: "properties.inProgressOperationId", + type: { + name: "Uuid" + } + }, + geoDistributions: { + serializedName: "properties.geoDistributions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GeoDistribution" + } + } + } + }, identity: { serializedName: "identity", type: { @@ -3000,12 +3107,6 @@ export const AppServicePlan: msRest.CompositeMapper = { name: "String" } }, - adminSiteName: { - serializedName: "properties.adminSiteName", - type: { - name: "String" - } - }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", type: { @@ -6494,6 +6595,12 @@ export const StackMinorVersion: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + isRemoteDebuggingEnabled: { + serializedName: "isRemoteDebuggingEnabled", + type: { + name: "Boolean" + } } } } @@ -6534,6 +6641,12 @@ export const StackMajorVersion: msRest.CompositeMapper = { } } } + }, + applicationInsights: { + serializedName: "applicationInsights", + type: { + name: "Boolean" + } } } } @@ -7308,6 +7421,52 @@ export const SourceControl: msRest.CompositeMapper = { } }; +export const ValidateContainerSettingsRequest: msRest.CompositeMapper = { + serializedName: "ValidateContainerSettingsRequest", + type: { + name: "Composite", + className: "ValidateContainerSettingsRequest", + modelProperties: { + baseUrl: { + serializedName: "baseUrl", + type: { + name: "String" + } + }, + username: { + serializedName: "username", + type: { + name: "String" + } + }, + password: { + serializedName: "password", + type: { + name: "String" + } + }, + repository: { + serializedName: "repository", + type: { + name: "String" + } + }, + tag: { + serializedName: "tag", + type: { + name: "String" + } + }, + platform: { + serializedName: "platform", + type: { + name: "String" + } + } + } + } +}; + export const ValidateRequest: msRest.CompositeMapper = { serializedName: "ValidateRequest", type: { @@ -9883,6 +10042,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = { name: "String" } }, + clientSecretCertificateThumbprint: { + serializedName: "properties.clientSecretCertificateThumbprint", + type: { + name: "String" + } + }, issuer: { serializedName: "properties.issuer", type: { @@ -10432,6 +10597,24 @@ export const SiteConfigResource: msRest.CompositeMapper = { } } }, + scmIpSecurityRestrictions: { + serializedName: "properties.scmIpSecurityRestrictions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpSecurityRestriction" + } + } + } + }, + scmIpSecurityRestrictionsUseMain: { + serializedName: "properties.scmIpSecurityRestrictionsUseMain", + type: { + name: "Boolean" + } + }, http20Enabled: { serializedName: "properties.http20Enabled", defaultValue: true, @@ -10859,6 +11042,12 @@ export const SitePatchResource: msRest.CompositeMapper = { name: "Boolean" } }, + clientCertExclusionPaths: { + serializedName: "properties.clientCertExclusionPaths", + type: { + name: "String" + } + }, hostNamesDisabled: { serializedName: "properties.hostNamesDisabled", type: { @@ -10946,6 +11135,38 @@ export const SitePatchResource: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + redundancyMode: { + serializedName: "properties.redundancyMode", + type: { + name: "Enum", + allowedValues: [ + "None", + "Manual", + "Failover", + "ActiveActive", + "GeoRedundant" + ] + } + }, + inProgressOperationId: { + readOnly: true, + serializedName: "properties.inProgressOperationId", + type: { + name: "Uuid" + } + }, + geoDistributions: { + serializedName: "properties.geoDistributions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GeoDistribution" + } + } + } } } } @@ -12237,6 +12458,68 @@ export const AppServiceEnvironmentPatchResource: msRest.CompositeMapper = { } }; +export const EndpointDetail: msRest.CompositeMapper = { + serializedName: "EndpointDetail", + type: { + name: "Composite", + className: "EndpointDetail", + modelProperties: { + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + port: { + serializedName: "port", + type: { + name: "Number" + } + }, + latency: { + serializedName: "latency", + type: { + name: "Number" + } + }, + isAccessable: { + serializedName: "isAccessable", + type: { + name: "Boolean" + } + } + } + } +}; + +export const EndpointDependency: msRest.CompositeMapper = { + serializedName: "EndpointDependency", + type: { + name: "Composite", + className: "EndpointDependency", + modelProperties: { + domainName: { + serializedName: "domainName", + type: { + name: "String" + } + }, + endpointDetails: { + serializedName: "endpointDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDetail" + } + } + } + } + } + } +}; + export const HostingEnvironmentDiagnostics: msRest.CompositeMapper = { serializedName: "HostingEnvironmentDiagnostics", type: { @@ -12259,6 +12542,44 @@ export const HostingEnvironmentDiagnostics: msRest.CompositeMapper = { } }; +export const InboundEnvironmentEndpoint: msRest.CompositeMapper = { + serializedName: "InboundEnvironmentEndpoint", + type: { + name: "Composite", + className: "InboundEnvironmentEndpoint", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + ports: { + serializedName: "ports", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const MetricAvailabilily: msRest.CompositeMapper = { serializedName: "MetricAvailabilily", type: { @@ -12326,6 +12647,34 @@ export const MetricDefinition: msRest.CompositeMapper = { } }; +export const OutboundEnvironmentEndpoint: msRest.CompositeMapper = { + serializedName: "OutboundEnvironmentEndpoint", + type: { + name: "Composite", + className: "OutboundEnvironmentEndpoint", + modelProperties: { + category: { + serializedName: "category", + type: { + name: "String" + } + }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDependency" + } + } + } + } + } + } +}; + export const SkuInfo: msRest.CompositeMapper = { serializedName: "SkuInfo", type: { @@ -12519,12 +12868,6 @@ export const AppServicePlanPatchResource: msRest.CompositeMapper = { name: "String" } }, - adminSiteName: { - serializedName: "properties.adminSiteName", - type: { - name: "String" - } - }, hostingEnvironmentProfile: { serializedName: "properties.hostingEnvironmentProfile", type: { diff --git a/packages/@azure/arm-appservice/lib/models/parameters.ts b/packages/@azure/arm-appservice/lib/models/parameters.ts index 7b5adf0135d2..e993fa37d039 100644 --- a/packages/@azure/arm-appservice/lib/models/parameters.ts +++ b/packages/@azure/arm-appservice/lib/models/parameters.ts @@ -30,11 +30,25 @@ export const analysisName: msRest.OperationURLParameter = { } } }; -export const apiVersion: msRest.OperationQueryParameter = { +export const apiVersion0: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, + isConstant: true, serializedName: "api-version", + defaultValue: '2018-02-01', + type: { + name: "String" + } + } +}; +export const apiVersion1: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2018-11-01', type: { name: "String" } @@ -239,6 +253,16 @@ export const entityName: msRest.OperationURLParameter = { } } }; +export const environmentName: msRest.OperationQueryParameter = { + parameterPath: "environmentName", + mapper: { + required: true, + serializedName: "environmentName", + type: { + name: "String" + } + } +}; export const expiredOnly: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -320,6 +344,16 @@ export const gatewayName: msRest.OperationURLParameter = { } } }; +export const hostingEnvironmentName: msRest.OperationURLParameter = { + parameterPath: "hostingEnvironmentName", + mapper: { + required: true, + serializedName: "hostingEnvironmentName", + type: { + name: "String" + } + } +}; export const hostName0: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/packages/@azure/arm-appservice/lib/models/recommendationsMappers.ts b/packages/@azure/arm-appservice/lib/models/recommendationsMappers.ts index ac07a32771f9..a132df52e500 100644 --- a/packages/@azure/arm-appservice/lib/models/recommendationsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/recommendationsMappers.ts @@ -148,6 +148,7 @@ export { SiteConfig, CloningInfo, SlotSwapStatus, + GeoDistribution, SitePhpErrorLogFlag, SiteSourceControl, SlotConfigNamesResource, diff --git a/packages/@azure/arm-appservice/lib/models/resourceHealthMetadataOperationsMappers.ts b/packages/@azure/arm-appservice/lib/models/resourceHealthMetadataOperationsMappers.ts index a9f5a0fc2c7a..bb9741c72010 100644 --- a/packages/@azure/arm-appservice/lib/models/resourceHealthMetadataOperationsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/resourceHealthMetadataOperationsMappers.ts @@ -148,6 +148,7 @@ export { SiteConfig, CloningInfo, SlotSwapStatus, + GeoDistribution, SitePhpErrorLogFlag, SiteSourceControl, SlotConfigNamesResource, diff --git a/packages/@azure/arm-appservice/lib/models/topLevelDomainsMappers.ts b/packages/@azure/arm-appservice/lib/models/topLevelDomainsMappers.ts index 93e1ea3fcdb3..db96df778f98 100644 --- a/packages/@azure/arm-appservice/lib/models/topLevelDomainsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/topLevelDomainsMappers.ts @@ -150,6 +150,7 @@ export { SiteConfig, CloningInfo, SlotSwapStatus, + GeoDistribution, SitePhpErrorLogFlag, SiteSourceControl, SlotConfigNamesResource, diff --git a/packages/@azure/arm-appservice/lib/models/webAppsMappers.ts b/packages/@azure/arm-appservice/lib/models/webAppsMappers.ts index 440413d19429..615a5b83137e 100644 --- a/packages/@azure/arm-appservice/lib/models/webAppsMappers.ts +++ b/packages/@azure/arm-appservice/lib/models/webAppsMappers.ts @@ -40,6 +40,7 @@ export { HostingEnvironmentProfile, CloningInfo, SlotSwapStatus, + GeoDistribution, ManagedServiceIdentity, DefaultErrorResponse, DefaultErrorResponseError, @@ -73,7 +74,6 @@ export { EnabledConfig, User, SlotConfigNamesResource, - SwiftVirtualNetwork, SiteConfigurationSnapshotInfoCollection, SiteConfigurationSnapshotInfo, ContinuousWebJobCollection, @@ -117,6 +117,7 @@ export { MigrateMySqlRequest, Operation, MigrateMySqlStatus, + SwiftVirtualNetwork, NetworkFeatures, VnetInfo, VnetRoute, diff --git a/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts b/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts index 3d61dc35b767..e9a7367da772 100644 --- a/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts +++ b/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts @@ -148,7 +148,7 @@ export class AppServiceCertificateOrders { * @summary Create or update a certificate purchase order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param [options] The optional parameters * @returns Promise */ @@ -195,7 +195,7 @@ export class AppServiceCertificateOrders { * @summary Create or update a certificate purchase order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param [options] The optional parameters * @returns Promise */ @@ -203,14 +203,14 @@ export class AppServiceCertificateOrders { /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param callback The callback */ update(resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: Models.AppServiceCertificateOrderPatchResource, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param options The optional parameters * @param callback The callback */ @@ -671,7 +671,7 @@ export class AppServiceCertificateOrders { * @summary Create or update a certificate purchase order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param [options] The optional parameters * @returns Promise */ @@ -807,7 +807,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -830,7 +830,7 @@ const validatePurchaseInformationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -859,7 +859,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -884,7 +884,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -909,7 +909,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -933,7 +933,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -968,7 +968,7 @@ const listCertificatesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -994,7 +994,7 @@ const getCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1020,7 +1020,7 @@ const deleteCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1045,7 +1045,7 @@ const updateCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1080,7 +1080,7 @@ const reissueOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1110,7 +1110,7 @@ const renewOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1140,7 +1140,7 @@ const resendEmailOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1163,7 +1163,7 @@ const resendRequestEmailsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1198,7 +1198,7 @@ const retrieveSiteSealOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1230,7 +1230,7 @@ const verifyDomainOwnershipOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1253,7 +1253,7 @@ const retrieveCertificateActionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1289,7 +1289,7 @@ const retrieveCertificateEmailHistoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1325,7 +1325,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1361,7 +1361,7 @@ const beginCreateOrUpdateCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts b/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts index 6ef2e6b3466b..35f845839d57 100644 --- a/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts +++ b/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts @@ -328,6 +328,39 @@ export class AppServiceEnvironments { callback) as Promise; } + /** + * Get the network endpoints of all inbound dependencies of an App Service Environment. + * @summary Get the network endpoints of all inbound dependencies of an App Service Environment. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the App Service Environment. + * @param [options] The optional parameters + * @returns Promise + */ + getInboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the App Service Environment. + * @param callback The callback + */ + getInboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the App Service Environment. + * @param options The optional parameters + * @param callback The callback + */ + getInboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getInboundNetworkDependenciesEndpointsOperationSpec, + callback) as Promise; + } + /** * Get global metric definitions of an App Service Environment. * @summary Get global metric definitions of an App Service Environment. @@ -753,6 +786,39 @@ export class AppServiceEnvironments { callback) as Promise; } + /** + * Get the network endpoints of all outbound dependencies of an App Service Environment. + * @summary Get the network endpoints of all outbound dependencies of an App Service Environment. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the App Service Environment. + * @param [options] The optional parameters + * @returns Promise + */ + getOutboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the App Service Environment. + * @param callback The callback + */ + getOutboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the App Service Environment. + * @param options The optional parameters + * @param callback The callback + */ + getOutboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getOutboundNetworkDependenciesEndpoints(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getOutboundNetworkDependenciesEndpointsOperationSpec, + callback) as Promise; + } + /** * Reboot all machines in an App Service Environment. * @summary Reboot all machines in an App Service Environment. @@ -2122,7 +2188,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2146,7 +2212,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2171,7 +2237,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2196,7 +2262,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2234,7 +2300,7 @@ const listCapacitiesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2259,7 +2325,7 @@ const listVipsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2284,7 +2350,7 @@ const listDiagnosticsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2321,7 +2387,7 @@ const getDiagnosticsItemOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2337,6 +2403,42 @@ const getDiagnosticsItemOperationSpec: msRest.OperationSpec = { serializer }; +const getInboundNetworkDependenciesEndpointsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InboundEnvironmentEndpoint" + } + } + } + } + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions", @@ -2346,7 +2448,7 @@ const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2373,7 +2475,7 @@ const listMetricsOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.details, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2398,7 +2500,7 @@ const listMultiRolePoolsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2423,7 +2525,7 @@ const getMultiRolePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2448,7 +2550,7 @@ const updateMultiRolePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2487,7 +2589,7 @@ const listMultiRolePoolInstanceMetricDefinitionsOperationSpec: msRest.OperationS Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2514,7 +2616,7 @@ const listMultiRolePoolInstanceMetricsOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.details, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2539,7 +2641,7 @@ const listMultiRoleMetricDefinitionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2569,7 +2671,7 @@ const listMultiRoleMetricsOperationSpec: msRest.OperationSpec = { Parameters.timeGrain1, Parameters.details, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2594,7 +2696,7 @@ const listMultiRolePoolSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2619,7 +2721,7 @@ const listMultiRoleUsagesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2644,7 +2746,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2671,6 +2773,42 @@ const listOperationsOperationSpec: msRest.OperationSpec = { serializer }; +const getOutboundNetworkDependenciesEndpointsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundEnvironmentEndpoint" + } + } + } + } + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const rebootOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot", @@ -2680,7 +2818,7 @@ const rebootOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2706,7 +2844,7 @@ const listAppServicePlansOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2732,7 +2870,7 @@ const listWebAppsOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.propertiesToInclude, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2758,7 +2896,7 @@ const listUsagesOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2783,7 +2921,7 @@ const listWorkerPoolsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2809,7 +2947,7 @@ const getWorkerPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2835,7 +2973,7 @@ const updateWorkerPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2875,7 +3013,7 @@ const listWorkerPoolInstanceMetricDefinitionsOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2904,7 +3042,7 @@ const listWorkerPoolInstanceMetricsOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.details, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2930,7 +3068,7 @@ const listWebWorkerMetricDefinitionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2958,7 +3096,7 @@ const listWebWorkerMetricsOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.details, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2984,7 +3122,7 @@ const listWorkerPoolSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3010,7 +3148,7 @@ const listWebWorkerUsagesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3035,7 +3173,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3074,7 +3212,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.forceDelete, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3101,7 +3239,7 @@ const beginChangeVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3136,7 +3274,7 @@ const beginCreateOrUpdateMultiRolePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3174,7 +3312,7 @@ const beginResumeOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3202,7 +3340,7 @@ const beginSuspendOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -3231,7 +3369,7 @@ const beginCreateOrUpdateWorkerPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/appServicePlans.ts b/packages/@azure/arm-appservice/lib/operations/appServicePlans.ts index cadb33d90582..d0f96fbc2a56 100644 --- a/packages/@azure/arm-appservice/lib/operations/appServicePlans.ts +++ b/packages/@azure/arm-appservice/lib/operations/appServicePlans.ts @@ -28,8 +28,8 @@ export class AppServicePlans { } /** - * Get all App Service plans for a subcription. - * @summary Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * @summary Get all App Service plans for a subscription. * @param [options] The optional parameters * @returns Promise */ @@ -495,8 +495,8 @@ export class AppServicePlans { } /** - * Get metrics for an App Serice plan. - * @summary Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * @summary Get metrics for an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. * @param [options] The optional parameters @@ -594,8 +594,8 @@ export class AppServicePlans { } /** - * Gets all selectable sku's for a given App Service Plan - * @summary Gets all selectable sku's for a given App Service Plan + * Gets all selectable SKUs for a given App Service Plan + * @summary Gets all selectable SKUs for a given App Service Plan * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan * @param [options] The optional parameters @@ -1083,8 +1083,8 @@ export class AppServicePlans { } /** - * Get all App Service plans for a subcription. - * @summary Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * @summary Get all App Service plans for a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -1228,8 +1228,8 @@ export class AppServicePlans { } /** - * Get metrics for an App Serice plan. - * @summary Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * @summary Get metrics for an App Service plan. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -1325,7 +1325,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.detailed, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1349,7 +1349,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1374,7 +1374,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1400,7 +1400,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1424,7 +1424,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1459,7 +1459,7 @@ const listCapabilitiesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1497,7 +1497,7 @@ const getHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1524,7 +1524,7 @@ const deleteHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1550,7 +1550,7 @@ const listHybridConnectionKeysOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1577,7 +1577,7 @@ const listWebAppsByHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1602,7 +1602,7 @@ const getHybridConnectionPlanLimitOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1627,7 +1627,7 @@ const listHybridConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1652,7 +1652,7 @@ const listMetricDefintionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1679,7 +1679,7 @@ const listMetricsOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.details, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1705,7 +1705,7 @@ const restartWebAppsOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.softRestart, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1731,7 +1731,7 @@ const listWebAppsOperationSpec: msRest.OperationSpec = { Parameters.skipToken, Parameters.filter, Parameters.top, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1756,7 +1756,7 @@ const getServerFarmSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1787,7 +1787,7 @@ const listUsagesOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1812,7 +1812,7 @@ const listVnetsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1849,7 +1849,7 @@ const getVnetFromServerFarmOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1877,7 +1877,7 @@ const getVnetGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1904,7 +1904,7 @@ const updateVnetGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1937,7 +1937,7 @@ const listRoutesForVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1975,7 +1975,7 @@ const getRouteForVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2014,7 +2014,7 @@ const createOrUpdateVnetRouteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2050,7 +2050,7 @@ const deleteVnetRouteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2076,7 +2076,7 @@ const updateVnetRouteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2111,7 +2111,7 @@ const rebootWorkerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2134,7 +2134,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -2150,6 +2150,9 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.AppServicePlan }, + 201: { + bodyMapper: Mappers.AppServicePlan + }, 202: { bodyMapper: Mappers.AppServicePlan }, diff --git a/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.ts b/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.ts index cdd2530fab05..28ca85e9cd8f 100644 --- a/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.ts +++ b/packages/@azure/arm-appservice/lib/operations/certificateRegistrationProvider.ts @@ -91,7 +91,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.CertificateRegistration/operations", queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/certificates.ts b/packages/@azure/arm-appservice/lib/operations/certificates.ts index 91bf1c0b54c5..3d0775ead591 100644 --- a/packages/@azure/arm-appservice/lib/operations/certificates.ts +++ b/packages/@azure/arm-appservice/lib/operations/certificates.ts @@ -288,7 +288,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -312,7 +312,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -337,7 +337,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -362,7 +362,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -394,7 +394,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -418,7 +418,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/deletedWebApps.ts b/packages/@azure/arm-appservice/lib/operations/deletedWebApps.ts index 777a9794c949..99a0ada5d91c 100644 --- a/packages/@azure/arm-appservice/lib/operations/deletedWebApps.ts +++ b/packages/@azure/arm-appservice/lib/operations/deletedWebApps.ts @@ -90,7 +90,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/diagnostics.ts b/packages/@azure/arm-appservice/lib/operations/diagnostics.ts index b71d497c0403..ee77c5b57f9a 100644 --- a/packages/@azure/arm-appservice/lib/operations/diagnostics.ts +++ b/packages/@azure/arm-appservice/lib/operations/diagnostics.ts @@ -1223,7 +1223,7 @@ const listHostingEnvironmentDetectorResponsesOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1252,7 +1252,7 @@ const getHostingEnvironmentDetectorResponseOperationSpec: msRest.OperationSpec = Parameters.startTime0, Parameters.endTime0, Parameters.timeGrain0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1277,7 +1277,7 @@ const listSiteDetectorResponsesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1306,7 +1306,7 @@ const getSiteDetectorResponseOperationSpec: msRest.OperationSpec = { Parameters.startTime0, Parameters.endTime0, Parameters.timeGrain0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1331,7 +1331,7 @@ const listSiteDiagnosticCategoriesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1357,7 +1357,7 @@ const getSiteDiagnosticCategoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1383,7 +1383,7 @@ const listSiteAnalysesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1410,7 +1410,7 @@ const getSiteAnalysisOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1440,7 +1440,7 @@ const executeSiteAnalysisOperationSpec: msRest.OperationSpec = { Parameters.startTime0, Parameters.endTime0, Parameters.timeGrain0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1466,7 +1466,7 @@ const listSiteDetectorsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1493,7 +1493,7 @@ const getSiteDetectorOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1523,7 +1523,7 @@ const executeSiteDetectorOperationSpec: msRest.OperationSpec = { Parameters.startTime0, Parameters.endTime0, Parameters.timeGrain0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1549,7 +1549,7 @@ const listSiteDetectorResponsesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1579,7 +1579,7 @@ const getSiteDetectorResponseSlotOperationSpec: msRest.OperationSpec = { Parameters.startTime0, Parameters.endTime0, Parameters.timeGrain0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1605,7 +1605,7 @@ const listSiteDiagnosticCategoriesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1632,7 +1632,7 @@ const getSiteDiagnosticCategorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1659,7 +1659,7 @@ const listSiteAnalysesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1687,7 +1687,7 @@ const getSiteAnalysisSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1718,7 +1718,7 @@ const executeSiteAnalysisSlotOperationSpec: msRest.OperationSpec = { Parameters.startTime0, Parameters.endTime0, Parameters.timeGrain0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1745,7 +1745,7 @@ const listSiteDetectorsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1773,7 +1773,7 @@ const getSiteDetectorSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1804,7 +1804,7 @@ const executeSiteDetectorSlotOperationSpec: msRest.OperationSpec = { Parameters.startTime0, Parameters.endTime0, Parameters.timeGrain0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.ts b/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.ts index 188617096177..fc1b5433983c 100644 --- a/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.ts +++ b/packages/@azure/arm-appservice/lib/operations/domainRegistrationProvider.ts @@ -91,7 +91,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.DomainRegistration/operations", queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/domains.ts b/packages/@azure/arm-appservice/lib/operations/domains.ts index 161e0de6b541..77b03f13b655 100644 --- a/packages/@azure/arm-appservice/lib/operations/domains.ts +++ b/packages/@azure/arm-appservice/lib/operations/domains.ts @@ -650,7 +650,7 @@ const checkAvailabilityOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -685,7 +685,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -708,7 +708,7 @@ const getControlCenterSsoRequestOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -731,7 +731,7 @@ const listRecommendationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -762,7 +762,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -787,7 +787,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -813,7 +813,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.forceHardDeleteDomain, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -837,7 +837,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -872,7 +872,7 @@ const listOwnershipIdentifiersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -898,7 +898,7 @@ const getOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -924,7 +924,7 @@ const createOrUpdateOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -957,7 +957,7 @@ const deleteOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -982,7 +982,7 @@ const updateOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1014,7 +1014,7 @@ const renewOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1041,7 +1041,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/provider.ts b/packages/@azure/arm-appservice/lib/operations/provider.ts index 9d215720c1b2..267de5aeb2c5 100644 --- a/packages/@azure/arm-appservice/lib/operations/provider.ts +++ b/packages/@azure/arm-appservice/lib/operations/provider.ts @@ -200,7 +200,7 @@ const getAvailableStacksOperationSpec: msRest.OperationSpec = { path: "providers/Microsoft.Web/availableStacks", queryParameters: [ Parameters.osTypeSelected, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -220,7 +220,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/operations", queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const getAvailableStacksOnPremOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.osTypeSelected, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/recommendations.ts b/packages/@azure/arm-appservice/lib/operations/recommendations.ts index c9ae65cc04d4..7279c96d263e 100644 --- a/packages/@azure/arm-appservice/lib/operations/recommendations.ts +++ b/packages/@azure/arm-appservice/lib/operations/recommendations.ts @@ -105,6 +105,224 @@ export class Recommendations { callback); } + /** + * Get past recommendations for an app, optionally specified by the time range. + * @summary Get past recommendations for an app, optionally specified by the time range. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the hosting environment. + * @param [options] The optional parameters + * @returns Promise + */ + listHistoryForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options?: Models.RecommendationsListHistoryForHostingEnvironmentOptionalParams): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the hosting environment. + * @param callback The callback + */ + listHistoryForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the hosting environment. + * @param options The optional parameters + * @param callback The callback + */ + listHistoryForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options: Models.RecommendationsListHistoryForHostingEnvironmentOptionalParams, callback: msRest.ServiceCallback): void; + listHistoryForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options?: Models.RecommendationsListHistoryForHostingEnvironmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostingEnvironmentName, + options + }, + listHistoryForHostingEnvironmentOperationSpec, + callback) as Promise; + } + + /** + * Get all recommendations for an app. + * @summary Get all recommendations for an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the app. + * @param [options] The optional parameters + * @returns Promise + */ + listRecommendedRulesForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options?: Models.RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the app. + * @param callback The callback + */ + listRecommendedRulesForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the app. + * @param options The optional parameters + * @param callback The callback + */ + listRecommendedRulesForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options: Models.RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams, callback: msRest.ServiceCallback): void; + listRecommendedRulesForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options?: Models.RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostingEnvironmentName, + options + }, + listRecommendedRulesForHostingEnvironmentOperationSpec, + callback) as Promise; + } + + /** + * Disable all recommendations for an app. + * @summary Disable all recommendations for an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Name of the app. + * @param hostingEnvironmentName + * @param [options] The optional parameters + * @returns Promise + */ + disableAllForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Name of the app. + * @param hostingEnvironmentName + * @param callback The callback + */ + disableAllForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Name of the app. + * @param hostingEnvironmentName + * @param options The optional parameters + * @param callback The callback + */ + disableAllForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + disableAllForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + environmentName, + hostingEnvironmentName, + options + }, + disableAllForHostingEnvironmentOperationSpec, + callback); + } + + /** + * Reset all recommendation opt-out settings for an app. + * @summary Reset all recommendation opt-out settings for an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Name of the app. + * @param hostingEnvironmentName + * @param [options] The optional parameters + * @returns Promise + */ + resetAllFiltersForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Name of the app. + * @param hostingEnvironmentName + * @param callback The callback + */ + resetAllFiltersForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Name of the app. + * @param hostingEnvironmentName + * @param options The optional parameters + * @param callback The callback + */ + resetAllFiltersForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + resetAllFiltersForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + environmentName, + hostingEnvironmentName, + options + }, + resetAllFiltersForHostingEnvironmentOperationSpec, + callback); + } + + /** + * Get a recommendation rule for an app. + * @summary Get a recommendation rule for an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the hosting environment. + * @param name Name of the recommendation. + * @param [options] The optional parameters + * @returns Promise + */ + getRuleDetailsByHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, name: string, options?: Models.RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the hosting environment. + * @param name Name of the recommendation. + * @param callback The callback + */ + getRuleDetailsByHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param hostingEnvironmentName Name of the hosting environment. + * @param name Name of the recommendation. + * @param options The optional parameters + * @param callback The callback + */ + getRuleDetailsByHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, name: string, options: Models.RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams, callback: msRest.ServiceCallback): void; + getRuleDetailsByHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, name: string, options?: Models.RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + hostingEnvironmentName, + name, + options + }, + getRuleDetailsByHostingEnvironmentOperationSpec, + callback) as Promise; + } + + /** + * Disables the specific rule for a web site permanently. + * @summary Disables the specific rule for a web site permanently. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Site name + * @param name Rule name + * @param hostingEnvironmentName + * @param [options] The optional parameters + * @returns Promise + */ + disableRecommendationForHostingEnvironment(resourceGroupName: string, environmentName: string, name: string, hostingEnvironmentName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Site name + * @param name Rule name + * @param hostingEnvironmentName + * @param callback The callback + */ + disableRecommendationForHostingEnvironment(resourceGroupName: string, environmentName: string, name: string, hostingEnvironmentName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param environmentName Site name + * @param name Rule name + * @param hostingEnvironmentName + * @param options The optional parameters + * @param callback The callback + */ + disableRecommendationForHostingEnvironment(resourceGroupName: string, environmentName: string, name: string, hostingEnvironmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + disableRecommendationForHostingEnvironment(resourceGroupName: string, environmentName: string, name: string, hostingEnvironmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + environmentName, + name, + hostingEnvironmentName, + options + }, + disableRecommendationForHostingEnvironmentOperationSpec, + callback); + } + /** * Get past recommendations for an app, optionally specified by the time range. * @summary Get past recommendations for an app, optionally specified by the time range. @@ -340,6 +558,64 @@ export class Recommendations { callback) as Promise; } + /** + * Get past recommendations for an app, optionally specified by the time range. + * @summary Get past recommendations for an app, optionally specified by the time range. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listHistoryForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listHistoryForHostingEnvironmentNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listHistoryForHostingEnvironmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listHistoryForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listHistoryForHostingEnvironmentNextOperationSpec, + callback) as Promise; + } + + /** + * Get all recommendations for an app. + * @summary Get all recommendations for an app. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listRecommendedRulesForHostingEnvironmentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listRecommendedRulesForHostingEnvironmentNextOperationSpec, + callback) as Promise; + } + /** * Get past recommendations for an app, optionally specified by the time range. * @summary Get past recommendations for an app, optionally specified by the time range. @@ -410,7 +686,7 @@ const listOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.featured, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -433,7 +709,7 @@ const resetAllFiltersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -455,7 +731,162 @@ const disableRecommendationForSubscriptionOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listHistoryForHostingEnvironmentOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.expiredOnly, + Parameters.filter, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listRecommendedRulesForHostingEnvironmentOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.featured, + Parameters.filter, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const disableAllForHostingEnvironmentOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.environmentName, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const resetAllFiltersForHostingEnvironmentOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.environmentName, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getRuleDetailsByHostingEnvironmentOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.hostingEnvironmentName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.updateSeen, + Parameters.recommendationId, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecommendationRule + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const disableRecommendationForHostingEnvironmentOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.hostingEnvironmentName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.environmentName, + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -480,7 +911,7 @@ const listHistoryForWebAppOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.expiredOnly, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -507,7 +938,7 @@ const listRecommendedRulesForWebAppOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.featured, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -532,7 +963,7 @@ const disableAllForWebAppOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -555,7 +986,7 @@ const resetAllFiltersForWebAppOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -581,7 +1012,7 @@ const getRuleDetailsByWebAppOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.updateSeen, Parameters.recommendationId, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -607,7 +1038,7 @@ const disableRecommendationForSiteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -642,6 +1073,48 @@ const listNextOperationSpec: msRest.OperationSpec = { serializer }; +const listHistoryForHostingEnvironmentNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listRecommendedRulesForHostingEnvironmentNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecommendationCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listHistoryForWebAppNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.ts b/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.ts index 292bf06a99c0..71895368464a 100644 --- a/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.ts +++ b/packages/@azure/arm-appservice/lib/operations/resourceHealthMetadataOperations.ts @@ -348,7 +348,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -372,7 +372,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -397,7 +397,7 @@ const listBySiteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -422,7 +422,7 @@ const getBySiteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -448,7 +448,7 @@ const listBySiteSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -474,7 +474,7 @@ const getBySiteSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/topLevelDomains.ts b/packages/@azure/arm-appservice/lib/operations/topLevelDomains.ts index e2c0500203f8..06d4a3432f88 100644 --- a/packages/@azure/arm-appservice/lib/operations/topLevelDomains.ts +++ b/packages/@azure/arm-appservice/lib/operations/topLevelDomains.ts @@ -181,7 +181,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -205,7 +205,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const listAgreementsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/operations/webApps.ts b/packages/@azure/arm-appservice/lib/operations/webApps.ts index 5d6acb44a9c2..837473f1e573 100644 --- a/packages/@azure/arm-appservice/lib/operations/webApps.ts +++ b/packages/@azure/arm-appservice/lib/operations/webApps.ts @@ -1196,158 +1196,6 @@ export class WebApps { callback) as Promise; } - /** - * Gets a Swift Virtual Network connection. - * @summary Gets a Swift Virtual Network connection. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param [options] The optional parameters - * @returns Promise - */ - getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param callback The callback - */ - getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param options The optional parameters - * @param callback The callback - */ - getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - getSwiftVirtualNetworkConnectionOperationSpec, - callback) as Promise; - } - - /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. - * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" - * is true when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param callback The callback - */ - createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - connectionEnvelope, - options - }, - createOrUpdateSwiftVirtualNetworkConnectionOperationSpec, - callback) as Promise; - } - - /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). - * @summary Deletes a Swift Virtual Network connection from an app (or deployment slot). - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param [options] The optional parameters - * @returns Promise - */ - deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param callback The callback - */ - deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param options The optional parameters - * @param callback The callback - */ - deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - deleteSwiftVirtualNetworkOperationSpec, - callback); - } - - /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. - * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" - * is true when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param [options] The optional parameters - * @returns Promise - */ - updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param callback The callback - */ - updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param options The optional parameters - * @param callback The callback - */ - updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - connectionEnvelope, - options - }, - updateSwiftVirtualNetworkConnectionOperationSpec, - callback) as Promise; - } - /** * Gets the configuration of an app, such as platform version and bitness, default documents, * virtual applications, Always On, etc. @@ -3778,6 +3626,158 @@ export class WebApps { callback) as Promise; } + /** + * Gets a Swift Virtual Network connection. + * @summary Gets a Swift Virtual Network connection. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param [options] The optional parameters + * @returns Promise + */ + getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param callback The callback + */ + getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The optional parameters + * @param callback The callback + */ + getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getSwiftVirtualNetworkConnectionOperationSpec, + callback) as Promise; + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true + * when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. + * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" + * is true when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param callback The callback + */ + createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + connectionEnvelope, + options + }, + createOrUpdateSwiftVirtualNetworkConnectionOperationSpec, + callback) as Promise; + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * @summary Deletes a Swift Virtual Network connection from an app (or deployment slot). + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param [options] The optional parameters + * @returns Promise + */ + deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param callback The callback + */ + deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The optional parameters + * @param callback The callback + */ + deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + deleteSwiftVirtualNetworkOperationSpec, + callback); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true + * when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. + * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" + * is true when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param [options] The optional parameters + * @returns Promise + */ + updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param callback The callback + */ + updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param options The optional parameters + * @param callback The callback + */ + updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + connectionEnvelope, + options + }, + updateSwiftVirtualNetworkConnectionOperationSpec, + callback) as Promise; + } + /** * Gets all network features used by the app (or deployment slot, if specified). * @summary Gets all network features used by the app (or deployment slot, if specified). @@ -6310,274 +6310,94 @@ export class WebApps { /** * Gets the Git/FTP publishing credentials of an app. * @summary Gets the Git/FTP publishing credentials of an app. - * @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 - * publishing credentials for the production slot. - * @param [options] The optional parameters - * @returns Promise - */ - listPublishingCredentialsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginListPublishingCredentialsSlot(resourceGroupName,name,slot,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Updates the Push settings associated with web app. - * @summary Updates the Push settings associated with web app. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param pushSettings Push settings associated with web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param [options] The optional parameters - * @returns Promise - */ - updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param pushSettings Push settings associated with web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param callback The callback - */ - updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param pushSettings Push settings associated with web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param options The optional parameters - * @param callback The callback - */ - updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - pushSettings, - slot, - options - }, - updateSitePushSettingsSlotOperationSpec, - callback) as Promise; - } - - /** - * Gets the Push settings associated with web app. - * @summary Gets the Push settings associated with web app. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param [options] The optional parameters - * @returns Promise - */ - listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param callback The callback - */ - listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param options The optional parameters - * @param callback The callback - */ - listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - slot, - options - }, - listSitePushSettingsSlotOperationSpec, - callback) as Promise; - } - - /** - * Gets a Swift Virtual Network connection. - * @summary Gets a Swift Virtual Network connection. - * @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 gateway - * for the production slot's Virtual Network. - * @param [options] The optional parameters - * @returns Promise - */ - getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @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 gateway - * for the production slot's Virtual Network. - * @param callback The callback - */ - getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; - /** - * @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 gateway - * for the production slot's Virtual Network. - * @param options The optional parameters - * @param callback The callback - */ - getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - slot, - options - }, - getSwiftVirtualNetworkConnectionSlotOperationSpec, - callback) as Promise; - } - - /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. - * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" - * is true when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update - * connections for the production slot. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update - * connections for the production slot. - * @param callback The callback - */ - createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update - * connections for the production slot. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - connectionEnvelope, - slot, - options - }, - createOrUpdateSwiftVirtualNetworkConnectionSlotOperationSpec, - callback) as Promise; + * @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 + * publishing credentials for the production slot. + * @param [options] The optional parameters + * @returns Promise + */ + listPublishingCredentialsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginListPublishingCredentialsSlot(resourceGroupName,name,slot,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). - * @summary Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Updates the Push settings associated with web app. + * @summary Updates the Push settings associated with web app. * @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 - * connection for the production slot. + * @param name Name of web app. + * @param pushSettings Push settings associated with web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options?: msRest.RequestOptionsBase): Promise; /** * @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 - * connection for the production slot. + * @param name Name of web app. + * @param pushSettings Push settings associated with web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @param callback The callback */ - deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, callback: msRest.ServiceCallback): void; /** * @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 - * connection for the production slot. + * @param name Name of web app. + * @param pushSettings Push settings associated with web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @param options The optional parameters * @param callback The callback */ - deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateSitePushSettingsSlot(resourceGroupName: string, name: string, pushSettings: Models.PushSettings, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, + pushSettings, slot, options }, - deleteSwiftVirtualNetworkSlotOperationSpec, - callback); + updateSitePushSettingsSlotOperationSpec, + callback) as Promise; } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. - * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" - * is true when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not - * in use by another App Service Plan other than the one this App is in. + * Gets the Push settings associated with web app. + * @summary Gets the Push settings associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update - * connections for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase): Promise; + listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update - * connections for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @param callback The callback */ - updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, callback: msRest.ServiceCallback): void; + listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. - * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update - * connections for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @param options The optional parameters * @param callback The callback */ - updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, - connectionEnvelope, slot, options }, - updateSwiftVirtualNetworkConnectionSlotOperationSpec, - callback) as Promise; + listSitePushSettingsSlotOperationSpec, + callback) as Promise; } /** @@ -9325,8 +9145,177 @@ export class WebApps { * @param options The optional parameters * @param callback The callback */ - listMetricsSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsListMetricsSlotOptionalParams, callback: msRest.ServiceCallback): void; - listMetricsSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListMetricsSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listMetricsSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsListMetricsSlotOptionalParams, callback: msRest.ServiceCallback): void; + listMetricsSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListMetricsSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + listMetricsSlotOperationSpec, + callback) as Promise; + } + + /** + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app + * is enabled + * @summary Returns the status of MySql in app migration, if one is active, and whether or not + * MySql in app is enabled + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + getMigrateMySqlStatusSlotOperationSpec, + callback) as Promise; + } + + /** + * Gets a Swift Virtual Network connection. + * @summary Gets a Swift Virtual Network connection. + * @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 gateway + * for the production slot's Virtual Network. + * @param [options] The optional parameters + * @returns Promise + */ + getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 gateway + * for the production slot's Virtual Network. + * @param callback The callback + */ + getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @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 gateway + * for the production slot's Virtual Network. + * @param options The optional parameters + * @param callback The callback + */ + getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + getSwiftVirtualNetworkConnectionSlotOperationSpec, + callback) as Promise; + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true + * when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. + * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" + * is true when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update + * connections for the production slot. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update + * connections for the production slot. + * @param callback The callback + */ + createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update + * connections for the production slot. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + connectionEnvelope, + slot, + options + }, + createOrUpdateSwiftVirtualNetworkConnectionSlotOperationSpec, + callback) as Promise; + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * @summary Deletes a Swift Virtual Network connection from an app (or 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 + * connection for the production slot. + * @param [options] The optional parameters + * @returns Promise + */ + deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 + * connection for the production slot. + * @param callback The callback + */ + deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * connection for the production slot. + * @param options The optional parameters + * @param callback The callback + */ + deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9334,47 +9323,58 @@ export class WebApps { slot, options }, - listMetricsSlotOperationSpec, - callback) as Promise; + deleteSwiftVirtualNetworkSlotOperationSpec, + callback); } /** - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app - * is enabled - * @summary Returns the status of MySql in app migration, if one is active, and whether or not - * MySql in app is enabled + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true + * when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. + * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" + * is true when doing a GET against this resource, and 2) that the target Subnet has already been + * delegated, and is not + * in use by another App Service Plan other than the one this App is in. * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of the deployment slot. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update + * connections for the production slot. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of the deployment slot. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update + * connections for the production slot. * @param callback The callback */ - getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of the deployment slot. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update + * connections for the production slot. * @param options The optional parameters * @param callback The callback */ - getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, connectionEnvelope: Models.SwiftVirtualNetwork, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, + connectionEnvelope, slot, options }, - getMigrateMySqlStatusSlotOperationSpec, - callback) as Promise; + updateSwiftVirtualNetworkConnectionSlotOperationSpec, + callback) as Promise; } /** @@ -15646,7 +15646,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15671,7 +15671,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.includeSlots, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15696,7 +15696,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15724,7 +15724,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.deleteMetrics, Parameters.deleteEmptyServerFarm, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15749,7 +15749,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15785,7 +15785,7 @@ const analyzeCustomHostnameOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.hostName0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15810,7 +15810,7 @@ const applySlotConfigToProductionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15840,7 +15840,7 @@ const backupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15872,7 +15872,7 @@ const listBackupsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15898,7 +15898,7 @@ const getBackupStatusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15924,7 +15924,7 @@ const deleteBackupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15949,7 +15949,7 @@ const listBackupStatusSecretsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -15981,7 +15981,7 @@ const listConfigurationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16006,7 +16006,7 @@ const updateApplicationSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16038,7 +16038,7 @@ const listApplicationSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16063,7 +16063,7 @@ const updateAuthSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16095,7 +16095,7 @@ const getAuthSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16120,7 +16120,7 @@ const updateAzureStorageAccountsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16152,7 +16152,7 @@ const listAzureStorageAccountsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16177,7 +16177,7 @@ const updateBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16209,7 +16209,7 @@ const deleteBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16232,7 +16232,7 @@ const getBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16257,7 +16257,7 @@ const updateConnectionStringsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16289,7 +16289,7 @@ const listConnectionStringsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16314,7 +16314,7 @@ const getDiagnosticLogsConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16339,7 +16339,7 @@ const updateDiagnosticLogsConfigOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16371,7 +16371,7 @@ const updateMetadataOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16403,7 +16403,7 @@ const listMetadataOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16428,7 +16428,7 @@ const updateSitePushSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16460,7 +16460,7 @@ const listSitePushSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16485,7 +16485,7 @@ const listSlotConfigurationNamesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16510,7 +16510,7 @@ const updateSlotConfigurationNamesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16533,119 +16533,6 @@ const updateSlotConfigurationNamesOperationSpec: msRest.OperationSpec = { serializer }; -const getSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const createOrUpdateSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "connectionEnvelope", - mapper: { - ...Mappers.SwiftVirtualNetwork, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const deleteSwiftVirtualNetworkOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 404: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const updateSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "connectionEnvelope", - mapper: { - ...Mappers.SwiftVirtualNetwork, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const getConfigurationOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web", @@ -16655,7 +16542,7 @@ const getConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16680,7 +16567,7 @@ const createOrUpdateConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16712,7 +16599,7 @@ const updateConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16744,7 +16631,7 @@ const listConfigurationSnapshotInfoOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16770,7 +16657,7 @@ const getConfigurationSnapshotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16796,7 +16683,7 @@ const recoverSiteConfigurationSnapshotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16819,7 +16706,7 @@ const getWebSiteContainerLogsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16850,7 +16737,7 @@ const getContainerLogsZipOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16881,7 +16768,7 @@ const listContinuousWebJobsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16907,7 +16794,7 @@ const getContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16934,7 +16821,7 @@ const deleteContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16959,7 +16846,7 @@ const startContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -16984,7 +16871,7 @@ const stopContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17008,7 +16895,7 @@ const listDeploymentsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17034,7 +16921,7 @@ const getDeploymentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17060,7 +16947,7 @@ const createDeploymentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17093,7 +16980,7 @@ const deleteDeploymentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17118,7 +17005,7 @@ const listDeploymentLogOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17143,7 +17030,7 @@ const discoverBackupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17175,7 +17062,7 @@ const listDomainOwnershipIdentifiersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17201,7 +17088,7 @@ const getDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17227,7 +17114,7 @@ const createOrUpdateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17260,7 +17147,7 @@ const deleteDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17285,7 +17172,7 @@ const updateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17317,7 +17204,7 @@ const getMSDeployStatusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17342,7 +17229,7 @@ const getMSDeployLogOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17368,7 +17255,7 @@ const listFunctionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17394,7 +17281,7 @@ const getFunctionsAdminTokenOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17425,7 +17312,7 @@ const getFunctionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17452,7 +17339,7 @@ const deleteFunctionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17477,7 +17364,7 @@ const listFunctionSecretsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17502,7 +17389,7 @@ const listHostNameBindingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17528,7 +17415,7 @@ const getHostNameBindingOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17554,7 +17441,7 @@ const createOrUpdateHostNameBindingOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17587,7 +17474,7 @@ const deleteHostNameBindingOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17613,7 +17500,7 @@ const getHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17640,7 +17527,7 @@ const createOrUpdateHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17674,7 +17561,7 @@ const deleteHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17700,7 +17587,7 @@ const updateHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17734,7 +17621,7 @@ const listHybridConnectionKeysOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17759,7 +17646,7 @@ const listHybridConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17784,7 +17671,7 @@ const listRelayServiceConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17810,7 +17697,7 @@ const getRelayServiceConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17836,7 +17723,7 @@ const createOrUpdateRelayServiceConnectionOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17869,7 +17756,7 @@ const deleteRelayServiceConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17894,7 +17781,7 @@ const updateRelayServiceConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17926,7 +17813,7 @@ const listInstanceIdentifiersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17952,7 +17839,7 @@ const getInstanceMsDeployStatusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -17978,7 +17865,7 @@ const getInstanceMSDeployLogOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18005,7 +17892,7 @@ const listInstanceProcessesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18033,7 +17920,7 @@ const getInstanceProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18061,7 +17948,7 @@ const deleteInstanceProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18087,7 +17974,7 @@ const getInstanceProcessDumpOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18120,7 +18007,7 @@ const listInstanceProcessModulesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18149,7 +18036,7 @@ const getInstanceProcessModuleOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18177,7 +18064,7 @@ const listInstanceProcessThreadsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18206,7 +18093,7 @@ const getInstanceProcessThreadOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18232,7 +18119,7 @@ const isCloneableOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18257,7 +18144,7 @@ const listSyncFunctionTriggersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18282,14 +18169,123 @@ const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricDefinitionCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listMetricsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.details, + Parameters.filter, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ResourceMetricCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getMigrateMySqlStatusOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrateMySqlStatus + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const createOrUpdateSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "connectionEnvelope", + mapper: { + ...Mappers.SwiftVirtualNetwork, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection + bodyMapper: Mappers.SwiftVirtualNetwork }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -18298,50 +18294,54 @@ const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { serializer }; -const listMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics", +const deleteSwiftVirtualNetworkOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", urlParameters: [ Parameters.resourceGroupName, Parameters.name, Parameters.subscriptionId ], queryParameters: [ - Parameters.details, - Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, + 200: {}, + 404: {}, default: { - bodyMapper: Mappers.DefaultErrorResponse + bodyMapper: Mappers.CloudError } }, serializer }; -const getMigrateMySqlStatusOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status", +const updateSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", urlParameters: [ Parameters.resourceGroupName, Parameters.name, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "connectionEnvelope", + mapper: { + ...Mappers.SwiftVirtualNetwork, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.MigrateMySqlStatus + bodyMapper: Mappers.SwiftVirtualNetwork }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -18360,7 +18360,7 @@ const listNetworkFeaturesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18387,7 +18387,7 @@ const getNetworkTraceOperationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18440,7 +18440,7 @@ const startWebSiteNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18470,7 +18470,7 @@ const stopWebSiteNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18495,7 +18495,7 @@ const getNetworkTracesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18532,7 +18532,7 @@ const getNetworkTraceOperationV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18583,7 +18583,7 @@ const getNetworkTracesV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18619,7 +18619,7 @@ const generateNewSitePublishingPasswordOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18644,7 +18644,7 @@ const listPerfMonCountersOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18669,7 +18669,7 @@ const getSitePhpErrorLogFlagOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18694,7 +18694,7 @@ const listPremierAddOnsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18720,7 +18720,7 @@ const getPremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18746,7 +18746,7 @@ const addPremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18779,7 +18779,7 @@ const deletePremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18803,7 +18803,7 @@ const updatePremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18835,7 +18835,7 @@ const getPrivateAccessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18860,7 +18860,7 @@ const putPrivateAccessVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18892,7 +18892,7 @@ const listProcessesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18919,7 +18919,7 @@ const getProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18946,7 +18946,7 @@ const deleteProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -18971,7 +18971,7 @@ const getProcessDumpOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19003,7 +19003,7 @@ const listProcessModulesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19031,7 +19031,7 @@ const getProcessModuleOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19058,7 +19058,7 @@ const listProcessThreadsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19086,7 +19086,7 @@ const getProcessThreadOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19112,7 +19112,7 @@ const listPublicCertificatesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19138,7 +19138,7 @@ const getPublicCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19164,7 +19164,7 @@ const createOrUpdatePublicCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19197,7 +19197,7 @@ const deletePublicCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19221,7 +19221,7 @@ const listPublishingProfileXmlWithSecretsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19258,7 +19258,7 @@ const resetProductionSlotConfigOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19283,7 +19283,7 @@ const restartOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.softRestart, Parameters.synchronous, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19306,7 +19306,7 @@ const listSiteExtensionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19333,7 +19333,7 @@ const getSiteExtensionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19360,7 +19360,7 @@ const deleteSiteExtensionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19384,7 +19384,7 @@ const listSlotsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19410,7 +19410,7 @@ const getSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19439,7 +19439,7 @@ const deleteSlotOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.deleteMetrics, Parameters.deleteEmptyServerFarm, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19465,7 +19465,7 @@ const updateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19502,7 +19502,7 @@ const analyzeCustomHostnameSlotOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.hostName0, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19528,7 +19528,7 @@ const applySlotConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19559,7 +19559,7 @@ const backupSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19592,7 +19592,7 @@ const listBackupsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19619,7 +19619,7 @@ const getBackupStatusSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19646,7 +19646,7 @@ const deleteBackupSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19672,7 +19672,7 @@ const listBackupStatusSecretsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19705,7 +19705,7 @@ const listConfigurationsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19731,7 +19731,7 @@ const updateApplicationSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19764,7 +19764,7 @@ const listApplicationSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19790,7 +19790,7 @@ const updateAuthSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19823,7 +19823,7 @@ const getAuthSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19849,7 +19849,7 @@ const updateAzureStorageAccountsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19882,7 +19882,7 @@ const listAzureStorageAccountsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19908,7 +19908,7 @@ const updateBackupConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19941,7 +19941,7 @@ const deleteBackupConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19965,7 +19965,7 @@ const getBackupConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -19991,7 +19991,7 @@ const updateConnectionStringsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20024,7 +20024,7 @@ const listConnectionStringsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20050,7 +20050,7 @@ const getDiagnosticLogsConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20076,7 +20076,7 @@ const updateDiagnosticLogsConfigSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20109,7 +20109,7 @@ const updateMetadataSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20142,7 +20142,7 @@ const listMetadataSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20168,7 +20168,7 @@ const updateSitePushSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20201,7 +20201,7 @@ const listSitePushSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20217,123 +20217,6 @@ const listSitePushSettingsSlotOperationSpec: msRest.OperationSpec = { serializer }; -const getSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const createOrUpdateSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "connectionEnvelope", - mapper: { - ...Mappers.SwiftVirtualNetwork, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const deleteSwiftVirtualNetworkSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 404: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const updateSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "connectionEnvelope", - mapper: { - ...Mappers.SwiftVirtualNetwork, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.SwiftVirtualNetwork - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const getConfigurationSlotOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web", @@ -20344,7 +20227,7 @@ const getConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20370,7 +20253,7 @@ const createOrUpdateConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20403,7 +20286,7 @@ const updateConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20436,7 +20319,7 @@ const listConfigurationSnapshotInfoSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20463,7 +20346,7 @@ const getConfigurationSnapshotSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20490,7 +20373,7 @@ const recoverSiteConfigurationSnapshotSlotOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20514,7 +20397,7 @@ const getWebSiteContainerLogsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20546,7 +20429,7 @@ const getContainerLogsZipSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20578,7 +20461,7 @@ const listContinuousWebJobsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20605,7 +20488,7 @@ const getContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20633,7 +20516,7 @@ const deleteContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20659,7 +20542,7 @@ const startContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20685,7 +20568,7 @@ const stopContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20710,7 +20593,7 @@ const listDeploymentsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20737,7 +20620,7 @@ const getDeploymentSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20764,7 +20647,7 @@ const createDeploymentSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20798,7 +20681,7 @@ const deleteDeploymentSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20824,7 +20707,7 @@ const listDeploymentLogSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20850,7 +20733,7 @@ const discoverBackupSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20883,7 +20766,7 @@ const listDomainOwnershipIdentifiersSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20910,7 +20793,7 @@ const getDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20937,7 +20820,7 @@ const createOrUpdateDomainOwnershipIdentifierSlotOperationSpec: msRest.Operation Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20971,7 +20854,7 @@ const deleteDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -20997,7 +20880,7 @@ const updateDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21030,7 +20913,7 @@ const getMSDeployStatusSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21056,7 +20939,7 @@ const getMSDeployLogSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21083,7 +20966,7 @@ const listInstanceFunctionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21110,7 +20993,7 @@ const getFunctionsAdminTokenSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21142,7 +21025,7 @@ const getInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21170,7 +21053,7 @@ const deleteInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21196,7 +21079,7 @@ const listFunctionSecretsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21222,7 +21105,7 @@ const listHostNameBindingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21249,7 +21132,7 @@ const getHostNameBindingSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21276,7 +21159,7 @@ const createOrUpdateHostNameBindingSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21310,7 +21193,7 @@ const deleteHostNameBindingSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21337,7 +21220,7 @@ const getHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21365,7 +21248,7 @@ const createOrUpdateHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21400,7 +21283,7 @@ const deleteHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21427,7 +21310,7 @@ const updateHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21462,7 +21345,7 @@ const listHybridConnectionKeysSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21488,7 +21371,7 @@ const listHybridConnectionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21514,7 +21397,7 @@ const listRelayServiceConnectionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21541,7 +21424,7 @@ const getRelayServiceConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21568,7 +21451,7 @@ const createOrUpdateRelayServiceConnectionSlotOperationSpec: msRest.OperationSpe Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21602,7 +21485,7 @@ const deleteRelayServiceConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21628,7 +21511,7 @@ const updateRelayServiceConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21661,7 +21544,7 @@ const listInstanceIdentifiersSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21688,7 +21571,7 @@ const getInstanceMsDeployStatusSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21715,7 +21598,7 @@ const getInstanceMSDeployLogSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21743,7 +21626,7 @@ const listInstanceProcessesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21772,7 +21655,7 @@ const getInstanceProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21801,7 +21684,7 @@ const deleteInstanceProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21828,7 +21711,7 @@ const getInstanceProcessDumpSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21862,7 +21745,7 @@ const listInstanceProcessModulesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21892,7 +21775,7 @@ const getInstanceProcessModuleSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21921,7 +21804,7 @@ const listInstanceProcessThreadsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21951,7 +21834,7 @@ const getInstanceProcessThreadSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -21978,7 +21861,7 @@ const isCloneableSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22004,7 +21887,7 @@ const listSyncFunctionTriggersSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22030,7 +21913,7 @@ const listMetricDefinitionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22058,7 +21941,7 @@ const listMetricsSlotOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.details, Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22084,7 +21967,7 @@ const getMigrateMySqlStatusSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22100,6 +21983,123 @@ const getMigrateMySqlStatusSlotOperationSpec: msRest.OperationSpec = { serializer }; +const getSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const createOrUpdateSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "connectionEnvelope", + mapper: { + ...Mappers.SwiftVirtualNetwork, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const deleteSwiftVirtualNetworkSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 404: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "connectionEnvelope", + mapper: { + ...Mappers.SwiftVirtualNetwork, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SwiftVirtualNetwork + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listNetworkFeaturesSlotOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}", @@ -22111,7 +22111,7 @@ const listNetworkFeaturesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22139,7 +22139,7 @@ const getNetworkTraceOperationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22193,7 +22193,7 @@ const startWebSiteNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22224,7 +22224,7 @@ const stopWebSiteNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22250,7 +22250,7 @@ const getNetworkTracesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22288,7 +22288,7 @@ const getNetworkTraceOperationSlotV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22340,7 +22340,7 @@ const getNetworkTracesSlotV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22377,7 +22377,7 @@ const generateNewSitePublishingPasswordSlotOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22403,7 +22403,7 @@ const listPerfMonCountersSlotOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22429,7 +22429,7 @@ const getSitePhpErrorLogFlagSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22455,7 +22455,7 @@ const listPremierAddOnsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22482,7 +22482,7 @@ const getPremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22509,7 +22509,7 @@ const addPremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22543,7 +22543,7 @@ const deletePremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22568,7 +22568,7 @@ const updatePremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22601,7 +22601,7 @@ const getPrivateAccessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22627,7 +22627,7 @@ const putPrivateAccessVnetSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22660,7 +22660,7 @@ const listProcessesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22688,7 +22688,7 @@ const getProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22716,7 +22716,7 @@ const deleteProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22742,7 +22742,7 @@ const getProcessDumpSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22775,7 +22775,7 @@ const listProcessModulesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22804,7 +22804,7 @@ const getProcessModuleSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22832,7 +22832,7 @@ const listProcessThreadsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22861,7 +22861,7 @@ const getProcessThreadSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22888,7 +22888,7 @@ const listPublicCertificatesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22915,7 +22915,7 @@ const getPublicCertificateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22942,7 +22942,7 @@ const createOrUpdatePublicCertificateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -22976,7 +22976,7 @@ const deletePublicCertificateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23001,7 +23001,7 @@ const listPublishingProfileXmlWithSecretsSlotOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23039,7 +23039,7 @@ const resetSlotConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23065,7 +23065,7 @@ const restartSlotOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.softRestart, Parameters.synchronous, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23089,7 +23089,7 @@ const listSiteExtensionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23117,7 +23117,7 @@ const getSiteExtensionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23145,7 +23145,7 @@ const deleteSiteExtensionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23170,7 +23170,7 @@ const listSlotDifferencesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23203,7 +23203,7 @@ const listSnapshotsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23229,7 +23229,7 @@ const listSnapshotsFromDRSecondarySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23255,7 +23255,7 @@ const getSourceControlSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23287,7 +23287,7 @@ const deleteSourceControlSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23313,7 +23313,7 @@ const updateSourceControlSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23352,7 +23352,7 @@ const startSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23376,7 +23376,7 @@ const stopSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23400,7 +23400,7 @@ const stopNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23425,7 +23425,7 @@ const syncRepositorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23449,7 +23449,7 @@ const syncFunctionTriggersSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23473,7 +23473,7 @@ const listTriggeredWebJobsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23500,7 +23500,7 @@ const getTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23528,7 +23528,7 @@ const deleteTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23554,7 +23554,7 @@ const listTriggeredWebJobHistorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23583,7 +23583,7 @@ const getTriggeredWebJobHistorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23611,7 +23611,7 @@ const runTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23637,7 +23637,7 @@ const listUsagesSlotOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23663,7 +23663,7 @@ const listVnetConnectionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23701,7 +23701,7 @@ const getVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23728,7 +23728,7 @@ const createOrUpdateVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23762,7 +23762,7 @@ const deleteVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23788,7 +23788,7 @@ const updateVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23823,7 +23823,7 @@ const getVnetConnectionGatewaySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23852,7 +23852,7 @@ const createOrUpdateVnetConnectionGatewaySlotOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23887,7 +23887,7 @@ const updateVnetConnectionGatewaySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23920,7 +23920,7 @@ const listWebJobsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23947,7 +23947,7 @@ const getWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -23972,7 +23972,7 @@ const listSlotDifferencesFromProductionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24004,7 +24004,7 @@ const listSnapshotsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24029,7 +24029,7 @@ const listSnapshotsFromDRSecondaryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24054,7 +24054,7 @@ const getSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24085,7 +24085,7 @@ const deleteSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24110,7 +24110,7 @@ const updateSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24148,7 +24148,7 @@ const startOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24171,7 +24171,7 @@ const stopOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24194,7 +24194,7 @@ const stopNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24218,7 +24218,7 @@ const syncRepositoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24241,7 +24241,7 @@ const syncFunctionTriggersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24264,7 +24264,7 @@ const listTriggeredWebJobsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24290,7 +24290,7 @@ const getTriggeredWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24317,7 +24317,7 @@ const deleteTriggeredWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24342,7 +24342,7 @@ const listTriggeredWebJobHistoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24370,7 +24370,7 @@ const getTriggeredWebJobHistoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24397,7 +24397,7 @@ const runTriggeredWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24422,7 +24422,7 @@ const listUsagesOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24447,7 +24447,7 @@ const listVnetConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24484,7 +24484,7 @@ const getVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24510,7 +24510,7 @@ const createOrUpdateVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24543,7 +24543,7 @@ const deleteVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24568,7 +24568,7 @@ const updateVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24602,7 +24602,7 @@ const getVnetConnectionGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24630,7 +24630,7 @@ const createOrUpdateVnetConnectionGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24664,7 +24664,7 @@ const updateVnetConnectionGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24696,7 +24696,7 @@ const listWebJobsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24722,7 +24722,7 @@ const getWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24747,7 +24747,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24783,7 +24783,7 @@ const beginRestoreOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24814,7 +24814,7 @@ const beginListPublishingCredentialsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24839,7 +24839,7 @@ const beginCreateMSDeployOperationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24873,7 +24873,7 @@ const beginCreateFunctionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24906,7 +24906,7 @@ const beginCreateInstanceMSDeployOperationOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24940,7 +24940,7 @@ const beginMigrateStorageOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.subscriptionName, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -24972,7 +24972,7 @@ const beginMigrateMySqlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25007,7 +25007,7 @@ const beginStartWebSiteNetworkTraceOperationOperationSpec: msRest.OperationSpec Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25057,7 +25057,7 @@ const beginRestoreFromBackupBlobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25088,7 +25088,7 @@ const beginRestoreFromDeletedAppOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25119,7 +25119,7 @@ const beginRestoreSnapshotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25151,7 +25151,7 @@ const beginInstallSiteExtensionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25181,7 +25181,7 @@ const beginCreateOrUpdateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25218,7 +25218,7 @@ const beginRestoreSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25250,7 +25250,7 @@ const beginListPublishingCredentialsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25276,7 +25276,7 @@ const beginCreateMSDeployOperationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25311,7 +25311,7 @@ const beginCreateInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25345,7 +25345,7 @@ const beginCreateInstanceMSDeployOperationSlotOperationSpec: msRest.OperationSpe Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25382,7 +25382,7 @@ const beginStartWebSiteNetworkTraceOperationSlotOperationSpec: msRest.OperationS Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25433,7 +25433,7 @@ const beginRestoreFromBackupBlobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25465,7 +25465,7 @@ const beginRestoreFromDeletedAppSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25497,7 +25497,7 @@ const beginRestoreSnapshotSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25530,7 +25530,7 @@ const beginInstallSiteExtensionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25560,7 +25560,7 @@ const beginSwapSlotSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25592,7 +25592,7 @@ const beginCreateOrUpdateSourceControlSlotOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25634,7 +25634,7 @@ const beginStartNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25684,7 +25684,7 @@ const beginSwapSlotWithProductionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25715,7 +25715,7 @@ const beginCreateOrUpdateSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -25756,7 +25756,7 @@ const beginStartNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/webSiteManagementClient.ts b/packages/@azure/arm-appservice/lib/webSiteManagementClient.ts index fff75e64389e..ecf9e302a4a2 100644 --- a/packages/@azure/arm-appservice/lib/webSiteManagementClient.ts +++ b/packages/@azure/arm-appservice/lib/webSiteManagementClient.ts @@ -485,6 +485,39 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { callback) as Promise; } + /** + * Validate if the container settings are correct. + * @summary Validate if the container settings are correct. + * @param validateContainerSettingsRequest + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param [options] The optional parameters + * @returns Promise + */ + validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param validateContainerSettingsRequest + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param callback The callback + */ + validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param validateContainerSettingsRequest + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param options The optional parameters + * @param callback The callback + */ + validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.sendOperationRequest( + { + validateContainerSettingsRequest, + resourceGroupName, + options + }, + validateContainerSettingsOperationSpec, + callback) as Promise; + } + /** * Validate whether a resource can be moved. * @summary Validate whether a resource can be moved. @@ -670,7 +703,7 @@ const getPublishingUserOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/publishingUsers/web", queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -690,7 +723,7 @@ const updatePublishingUserOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "providers/Microsoft.Web/publishingUsers/web", queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -717,7 +750,7 @@ const listSourceControlsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/sourcecontrols", queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -740,7 +773,7 @@ const getSourceControlOperationSpec: msRest.OperationSpec = { Parameters.sourceControlType ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -763,7 +796,7 @@ const updateSourceControlOperationSpec: msRest.OperationSpec = { Parameters.sourceControlType ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -795,7 +828,7 @@ const listBillingMetersOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.billingLocation, Parameters.osType, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -818,7 +851,7 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -855,7 +888,7 @@ const getSubscriptionDeploymentLocationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -882,7 +915,7 @@ const listGeoRegionsOperationSpec: msRest.OperationSpec = { Parameters.linuxWorkersEnabled, Parameters.xenonWorkersEnabled, Parameters.linuxDynamicWorkersEnabled, - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -905,7 +938,7 @@ const listSiteIdentifiersAssignedToHostNameOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -940,7 +973,7 @@ const listPremierAddOnOffersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -963,7 +996,7 @@ const listSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -986,7 +1019,7 @@ const verifyHostingEnvironmentVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1017,7 +1050,7 @@ const moveOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1046,7 +1079,7 @@ const validateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -1069,6 +1102,42 @@ const validateOperationSpec: msRest.OperationSpec = { serializer }; +const validateContainerSettingsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validateContainerSettings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "validateContainerSettingsRequest", + mapper: { + ...Mappers.ValidateContainerSettingsRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Object" + } + } + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const validateMoveOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources", @@ -1077,7 +1146,7 @@ const validateMoveOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.ts b/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.ts index cdf6e7bfafbe..c15d4025b601 100644 --- a/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.ts +++ b/packages/@azure/arm-appservice/lib/webSiteManagementClientContext.ts @@ -18,7 +18,6 @@ const packageVersion = "5.7.0"; export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; subscriptionId: string; - apiVersion?: string; /** * Initializes a new instance of the WebSiteManagementClient class. @@ -45,7 +44,6 @@ export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClie super(credentials, options); - this.apiVersion = '2018-02-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/packages/@azure/arm-appservice/package.json b/packages/@azure/arm-appservice/package.json index c65d52147a3f..99a42b79fe3c 100644 --- a/packages/@azure/arm-appservice/package.json +++ b/packages/@azure/arm-appservice/package.json @@ -4,8 +4,8 @@ "description": "WebSiteManagementClient Library with typescript type definitions for node.js and browser.", "version": "5.7.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -23,6 +23,7 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/arm-appservice", @@ -51,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-appservice.js.map'\" -o ./dist/arm-appservice.min.js ./dist/arm-appservice.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "authPublish": true + "sideEffects": false } diff --git a/packages/@azure/arm-appservice/rollup.config.js b/packages/@azure/arm-appservice/rollup.config.js index e6db84e58048..c0c606fdb8d8 100644 --- a/packages/@azure/arm-appservice/rollup.config.js +++ b/packages/@azure/arm-appservice/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/webSiteManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/webSiteManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-appservice.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config;