diff --git a/packages/@azure/arm-appservice/LICENSE.txt b/packages/@azure/arm-appservice/LICENSE.txt
index a70e8cf66038..5431ba98b936 100644
--- a/packages/@azure/arm-appservice/LICENSE.txt
+++ b/packages/@azure/arm-appservice/LICENSE.txt
@@ -1,21 +1,21 @@
-The MIT License (MIT)
-
-Copyright (c) 2018 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
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
+The MIT License (MIT)
+
+Copyright (c) 2018 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
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/packages/@azure/arm-appservice/README.md b/packages/@azure/arm-appservice/README.md
index ce999a4418ef..6683d779c058 100644
--- a/packages/@azure/arm-appservice/README.md
+++ b/packages/@azure/arm-appservice/README.md
@@ -1,77 +1,77 @@
-# 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.
-
-```ts
-import * as msRest from "ms-rest-js";
-import * as msRestAzure from "ms-rest-azure-js";
-import * as msRestNodeAuth from "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.
-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
+```
+npm install @azure/arm-appservice
+```
+
+
+## How to use
+
+### nodejs - Authentication, client creation and list appServiceCertificateOrders as an example written in TypeScript.
+
+```ts
+import * as msRest from "ms-rest-js";
+import * as msRestAzure from "ms-rest-azure-js";
+import * as msRestNodeAuth from "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.
+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/index.ts b/packages/@azure/arm-appservice/lib/models/index.ts
index 3727781b2f87..09e1937807b4 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;
}
/**
@@ -1226,6 +1231,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;
}
/**
@@ -1867,9 +1879,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 .
@@ -4742,6 +4764,11 @@ export interface StackMajorVersion {
* with the major version.
*/
minorVersions?: StackMinorVersion[];
+ /**
+ * @member {boolean} [applicationInsights] true if this supports
+ * Application Insights; otherwise, false.
+ */
+ applicationInsights?: boolean;
}
/**
@@ -6005,6 +6032,11 @@ export interface DeletedAppRestoreRequest extends ProxyOnlyResource {
* If unspecified, default value is the time that the app was deleted.
*/
snapshotTime?: string;
+ /**
+ * @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from
+ * DRSecondary endpoint.
+ */
+ useDRSecondary?: boolean;
}
/**
@@ -7172,6 +7204,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 certifite 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.
@@ -7557,9 +7596,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 .
@@ -8159,6 +8208,11 @@ export interface SnapshotRestoreRequest extends ProxyOnlyResource {
* This setting is only necessary when RecoverConfiguration is enabled.
*/
ignoreConflictingHostNames?: boolean;
+ /**
+ * @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from
+ * DRSecondary endpoint.
+ */
+ useDRSecondary?: boolean;
}
/**
@@ -11296,134 +11350,66 @@ export interface ResourceHealthMetadataCollection extends Array"someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum RouteType {
- DEFAULT = 'DEFAULT',
- INHERITED = 'INHERITED',
- STATIC = 'STATIC',
-}
+export type RouteType = 'DEFAULT' | 'INHERITED' | 'STATIC';
/**
* Defines values for ManagedServiceIdentityType.
* Possible values include: 'SystemAssigned', 'UserAssigned'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: ManagedServiceIdentityType =
- * "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum ManagedServiceIdentityType {
- SystemAssigned = 'SystemAssigned',
- UserAssigned = 'UserAssigned',
-}
+export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned';
/**
* Defines values for IpFilterTag.
@@ -11431,10 +11417,7 @@ export enum ManagedServiceIdentityType {
* @readonly
* @enum {string}
*/
-export enum IpFilterTag {
- Default = 'Default',
- XffProxy = 'XffProxy',
-}
+export type IpFilterTag = 'Default' | 'XffProxy';
/**
* Defines values for AutoHealActionType.
@@ -11442,33 +11425,16 @@ export enum IpFilterTag {
* @readonly
* @enum {string}
*/
-export enum AutoHealActionType {
- Recycle = 'Recycle',
- LogEvent = 'LogEvent',
- CustomAction = 'CustomAction',
-}
+export type AutoHealActionType = 'Recycle' | 'LogEvent' | 'CustomAction';
/**
* Defines values for ConnectionStringType.
- * Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom',
- * 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb',
- * 'RedisCache', 'PostgreSQL'
+ * Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub',
+ * 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'
* @readonly
* @enum {string}
*/
-export enum ConnectionStringType {
- MySql = 'MySql',
- SQLServer = 'SQLServer',
- SQLAzure = 'SQLAzure',
- Custom = 'Custom',
- NotificationHub = 'NotificationHub',
- ServiceBus = 'ServiceBus',
- EventHub = 'EventHub',
- ApiHub = 'ApiHub',
- DocDb = 'DocDb',
- RedisCache = 'RedisCache',
- PostgreSQL = 'PostgreSQL',
-}
+export type ConnectionStringType = 'MySql' | 'SQLServer' | 'SQLAzure' | 'Custom' | 'NotificationHub' | 'ServiceBus' | 'EventHub' | 'ApiHub' | 'DocDb' | 'RedisCache' | 'PostgreSQL';
/**
* Defines values for AzureStorageType.
@@ -11476,10 +11442,7 @@ export enum ConnectionStringType {
* @readonly
* @enum {string}
*/
-export enum AzureStorageType {
- AzureFiles = 'AzureFiles',
- AzureBlob = 'AzureBlob',
-}
+export type AzureStorageType = 'AzureFiles' | 'AzureBlob';
/**
* Defines values for AzureStorageState.
@@ -11487,39 +11450,16 @@ export enum AzureStorageType {
* @readonly
* @enum {string}
*/
-export enum AzureStorageState {
- Ok = 'Ok',
- InvalidCredentials = 'InvalidCredentials',
- InvalidShare = 'InvalidShare',
-}
+export type AzureStorageState = 'Ok' | 'InvalidCredentials' | 'InvalidShare';
/**
* Defines values for ScmType.
- * Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub',
- * 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit',
- * 'ExternalHg', 'OneDrive', 'VSO'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: ScmType = "someUnknownValueThatWillStillBeValid";
+ * Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit',
+ * 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'
* @readonly
* @enum {string}
*/
-export enum ScmType {
- None = 'None',
- Dropbox = 'Dropbox',
- Tfs = 'Tfs',
- LocalGit = 'LocalGit',
- GitHub = 'GitHub',
- CodePlexGit = 'CodePlexGit',
- CodePlexHg = 'CodePlexHg',
- BitbucketGit = 'BitbucketGit',
- BitbucketHg = 'BitbucketHg',
- ExternalGit = 'ExternalGit',
- ExternalHg = 'ExternalHg',
- OneDrive = 'OneDrive',
- VSO = 'VSO',
-}
+export type ScmType = 'None' | 'Dropbox' | 'Tfs' | 'LocalGit' | 'GitHub' | 'CodePlexGit' | 'CodePlexHg' | 'BitbucketGit' | 'BitbucketHg' | 'ExternalGit' | 'ExternalHg' | 'OneDrive' | 'VSO';
/**
* Defines values for ManagedPipelineMode.
@@ -11527,58 +11467,32 @@ export enum ScmType {
* @readonly
* @enum {string}
*/
-export enum ManagedPipelineMode {
- Integrated = 'Integrated',
- Classic = 'Classic',
-}
+export type ManagedPipelineMode = 'Integrated' | 'Classic';
/**
* Defines values for SiteLoadBalancing.
- * Possible values include: 'WeightedRoundRobin', 'LeastRequests',
- * 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'
+ * Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime',
+ * 'WeightedTotalTraffic', 'RequestHash'
* @readonly
* @enum {string}
*/
-export enum SiteLoadBalancing {
- WeightedRoundRobin = 'WeightedRoundRobin',
- LeastRequests = 'LeastRequests',
- LeastResponseTime = 'LeastResponseTime',
- WeightedTotalTraffic = 'WeightedTotalTraffic',
- RequestHash = 'RequestHash',
-}
+export type SiteLoadBalancing = 'WeightedRoundRobin' | 'LeastRequests' | 'LeastResponseTime' | 'WeightedTotalTraffic' | 'RequestHash';
/**
* Defines values for SupportedTlsVersions.
* Possible values include: '1.0', '1.1', '1.2'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: SupportedTlsVersions =
- * "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum SupportedTlsVersions {
- OneFullStopZero = '1.0',
- OneFullStopOne = '1.1',
- OneFullStopTwo = '1.2',
-}
+export type SupportedTlsVersions = '1.0' | '1.1' | '1.2';
/**
* Defines values for FtpsState.
* Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: FtpsState = "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum FtpsState {
- AllAllowed = 'AllAllowed',
- FtpsOnly = 'FtpsOnly',
- Disabled = 'Disabled',
-}
+export type FtpsState = 'AllAllowed' | 'FtpsOnly' | 'Disabled';
/**
* Defines values for SslState.
@@ -11586,11 +11500,7 @@ export enum FtpsState {
* @readonly
* @enum {string}
*/
-export enum SslState {
- Disabled = 'Disabled',
- SniEnabled = 'SniEnabled',
- IpBasedEnabled = 'IpBasedEnabled',
-}
+export type SslState = 'Disabled' | 'SniEnabled' | 'IpBasedEnabled';
/**
* Defines values for HostType.
@@ -11598,10 +11508,7 @@ export enum SslState {
* @readonly
* @enum {string}
*/
-export enum HostType {
- Standard = 'Standard',
- Repository = 'Repository',
-}
+export type HostType = 'Standard' | 'Repository';
/**
* Defines values for UsageState.
@@ -11609,10 +11516,7 @@ export enum HostType {
* @readonly
* @enum {string}
*/
-export enum UsageState {
- Normal = 'Normal',
- Exceeded = 'Exceeded',
-}
+export type UsageState = 'Normal' | 'Exceeded';
/**
* Defines values for SiteAvailabilityState.
@@ -11620,11 +11524,7 @@ export enum UsageState {
* @readonly
* @enum {string}
*/
-export enum SiteAvailabilityState {
- Normal = 'Normal',
- Limited = 'Limited',
- DisasterRecoveryMode = 'DisasterRecoveryMode',
-}
+export type SiteAvailabilityState = 'Normal' | 'Limited' | 'DisasterRecoveryMode';
/**
* Defines values for StatusOptions.
@@ -11632,44 +11532,17 @@ export enum SiteAvailabilityState {
* @readonly
* @enum {string}
*/
-export enum StatusOptions {
- Ready = 'Ready',
- Pending = 'Pending',
- Creating = 'Creating',
-}
+export type StatusOptions = 'Ready' | 'Pending' | 'Creating';
/**
* Defines values for DomainStatus.
- * Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated',
- * 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked',
- * 'Pending', 'Reserved', 'Reverted', 'Suspended', 'Transferred', 'Unknown',
- * 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed'
+ * Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled',
+ * 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted',
+ * 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed'
* @readonly
* @enum {string}
*/
-export enum DomainStatus {
- Active = 'Active',
- Awaiting = 'Awaiting',
- Cancelled = 'Cancelled',
- Confiscated = 'Confiscated',
- Disabled = 'Disabled',
- Excluded = 'Excluded',
- Expired = 'Expired',
- Failed = 'Failed',
- Held = 'Held',
- Locked = 'Locked',
- Parked = 'Parked',
- Pending = 'Pending',
- Reserved = 'Reserved',
- Reverted = 'Reverted',
- Suspended = 'Suspended',
- Transferred = 'Transferred',
- Unknown = 'Unknown',
- Unlocked = 'Unlocked',
- Unparked = 'Unparked',
- Updated = 'Updated',
- JsonConverterFailed = 'JsonConverterFailed',
-}
+export type DomainStatus = 'Active' | 'Awaiting' | 'Cancelled' | 'Confiscated' | 'Disabled' | 'Excluded' | 'Expired' | 'Failed' | 'Held' | 'Locked' | 'Parked' | 'Pending' | 'Reserved' | 'Reverted' | 'Suspended' | 'Transferred' | 'Unknown' | 'Unlocked' | 'Unparked' | 'Updated' | 'JsonConverterFailed';
/**
* Defines values for AzureResourceType.
@@ -11677,10 +11550,7 @@ export enum DomainStatus {
* @readonly
* @enum {string}
*/
-export enum AzureResourceType {
- Website = 'Website',
- TrafficManager = 'TrafficManager',
-}
+export type AzureResourceType = 'Website' | 'TrafficManager';
/**
* Defines values for CustomHostNameDnsRecordType.
@@ -11688,10 +11558,7 @@ export enum AzureResourceType {
* @readonly
* @enum {string}
*/
-export enum CustomHostNameDnsRecordType {
- CName = 'CName',
- A = 'A',
-}
+export type CustomHostNameDnsRecordType = 'CName' | 'A';
/**
* Defines values for HostNameType.
@@ -11699,10 +11566,7 @@ export enum CustomHostNameDnsRecordType {
* @readonly
* @enum {string}
*/
-export enum HostNameType {
- Verified = 'Verified',
- Managed = 'Managed',
-}
+export type HostNameType = 'Verified' | 'Managed';
/**
* Defines values for DnsType.
@@ -11710,10 +11574,7 @@ export enum HostNameType {
* @readonly
* @enum {string}
*/
-export enum DnsType {
- AzureDns = 'AzureDns',
- DefaultDomainRegistrarDns = 'DefaultDomainRegistrarDns',
-}
+export type DnsType = 'AzureDns' | 'DefaultDomainRegistrarDns';
/**
* Defines values for DomainType.
@@ -11721,10 +11582,7 @@ export enum DnsType {
* @readonly
* @enum {string}
*/
-export enum DomainType {
- Regular = 'Regular',
- SoftDeleted = 'SoftDeleted',
-}
+export type DomainType = 'Regular' | 'SoftDeleted';
/**
* Defines values for HostingEnvironmentStatus.
@@ -11732,12 +11590,7 @@ export enum DomainType {
* @readonly
* @enum {string}
*/
-export enum HostingEnvironmentStatus {
- Preparing = 'Preparing',
- Ready = 'Ready',
- Scaling = 'Scaling',
- Deleting = 'Deleting',
-}
+export type HostingEnvironmentStatus = 'Preparing' | 'Ready' | 'Scaling' | 'Deleting';
/**
* Defines values for InternalLoadBalancingMode.
@@ -11745,11 +11598,7 @@ export enum HostingEnvironmentStatus {
* @readonly
* @enum {string}
*/
-export enum InternalLoadBalancingMode {
- None = 'None',
- Web = 'Web',
- Publishing = 'Publishing',
-}
+export type InternalLoadBalancingMode = 'None' | 'Web' | 'Publishing';
/**
* Defines values for ComputeModeOptions.
@@ -11757,28 +11606,15 @@ export enum InternalLoadBalancingMode {
* @readonly
* @enum {string}
*/
-export enum ComputeModeOptions {
- Shared = 'Shared',
- Dedicated = 'Dedicated',
- Dynamic = 'Dynamic',
-}
+export type ComputeModeOptions = 'Shared' | 'Dedicated' | 'Dynamic';
/**
* Defines values for WorkerSizeOptions.
- * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3',
- * 'Default'
+ * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'Default'
* @readonly
* @enum {string}
*/
-export enum WorkerSizeOptions {
- Small = 'Small',
- Medium = 'Medium',
- Large = 'Large',
- D1 = 'D1',
- D2 = 'D2',
- D3 = 'D3',
- Default = 'Default',
-}
+export type WorkerSizeOptions = 'Small' | 'Medium' | 'Large' | 'D1' | 'D2' | 'D3' | 'Default';
/**
* Defines values for AccessControlEntryAction.
@@ -11786,102 +11622,56 @@ export enum WorkerSizeOptions {
* @readonly
* @enum {string}
*/
-export enum AccessControlEntryAction {
- Permit = 'Permit',
- Deny = 'Deny',
-}
+export type AccessControlEntryAction = 'Permit' | 'Deny';
/**
* Defines values for OperationStatus.
- * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut',
- * 'Created'
+ * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'
* @readonly
* @enum {string}
*/
-export enum OperationStatus {
- InProgress = 'InProgress',
- Failed = 'Failed',
- Succeeded = 'Succeeded',
- TimedOut = 'TimedOut',
- Created = 'Created',
-}
+export type OperationStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created';
/**
* Defines values for IssueType.
- * Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash',
- * 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue',
- * 'Other'
+ * Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected',
+ * 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'
* @readonly
* @enum {string}
*/
-export enum IssueType {
- ServiceIncident = 'ServiceIncident',
- AppDeployment = 'AppDeployment',
- AppCrash = 'AppCrash',
- RuntimeIssueDetected = 'RuntimeIssueDetected',
- AseDeployment = 'AseDeployment',
- UserIssue = 'UserIssue',
- PlatformIssue = 'PlatformIssue',
- Other = 'Other',
-}
+export type IssueType = 'ServiceIncident' | 'AppDeployment' | 'AppCrash' | 'RuntimeIssueDetected' | 'AseDeployment' | 'UserIssue' | 'PlatformIssue' | 'Other';
/**
* Defines values for SolutionType.
- * Possible values include: 'QuickSolution', 'DeepInvestigation',
- * 'BestPractices'
+ * Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'
* @readonly
* @enum {string}
*/
-export enum SolutionType {
- QuickSolution = 'QuickSolution',
- DeepInvestigation = 'DeepInvestigation',
- BestPractices = 'BestPractices',
-}
+export type SolutionType = 'QuickSolution' | 'DeepInvestigation' | 'BestPractices';
/**
* Defines values for RenderingType.
- * Possible values include: 'NoGraph', 'Table', 'TimeSeries',
- * 'TimeSeriesPerInstance'
+ * Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance'
* @readonly
* @enum {string}
*/
-export enum RenderingType {
- NoGraph = 'NoGraph',
- Table = 'Table',
- TimeSeries = 'TimeSeries',
- TimeSeriesPerInstance = 'TimeSeriesPerInstance',
-}
+export type RenderingType = 'NoGraph' | 'Table' | 'TimeSeries' | 'TimeSeriesPerInstance';
/**
* Defines values for ResourceScopeType.
* Possible values include: 'ServerFarm', 'Subscription', 'WebSite'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: ResourceScopeType =
- * "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum ResourceScopeType {
- ServerFarm = 'ServerFarm',
- Subscription = 'Subscription',
- WebSite = 'WebSite',
-}
+export type ResourceScopeType = 'ServerFarm' | 'Subscription' | 'WebSite';
/**
* Defines values for NotificationLevel.
- * Possible values include: 'Critical', 'Warning', 'Information',
- * 'NonUrgentSuggestion'
+ * Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'
* @readonly
* @enum {string}
*/
-export enum NotificationLevel {
- Critical = 'Critical',
- Warning = 'Warning',
- Information = 'Information',
- NonUrgentSuggestion = 'NonUrgentSuggestion',
-}
+export type NotificationLevel = 'Critical' | 'Warning' | 'Information' | 'NonUrgentSuggestion';
/**
* Defines values for Channels.
@@ -11889,85 +11679,41 @@ export enum NotificationLevel {
* @readonly
* @enum {string}
*/
-export enum Channels {
- Notification = 'Notification',
- Api = 'Api',
- Email = 'Email',
- Webhook = 'Webhook',
- All = 'All',
-}
+export type Channels = 'Notification' | 'Api' | 'Email' | 'Webhook' | 'All';
/**
* Defines values for AppServicePlanRestrictions.
- * Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard',
- * 'Premium'
+ * Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', 'Premium'
* @readonly
* @enum {string}
*/
-export enum AppServicePlanRestrictions {
- None = 'None',
- Free = 'Free',
- Shared = 'Shared',
- Basic = 'Basic',
- Standard = 'Standard',
- Premium = 'Premium',
-}
+export type AppServicePlanRestrictions = 'None' | 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium';
/**
* Defines values for InAvailabilityReasonType.
* Possible values include: 'Invalid', 'AlreadyExists'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: InAvailabilityReasonType =
- * "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum InAvailabilityReasonType {
- Invalid = 'Invalid',
- AlreadyExists = 'AlreadyExists',
-}
+export type InAvailabilityReasonType = 'Invalid' | 'AlreadyExists';
/**
* Defines values for CheckNameResourceTypes.
- * Possible values include: 'Site', 'Slot', 'HostingEnvironment',
- * 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots',
- * 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: CheckNameResourceTypes =
- * "someUnknownValueThatWillStillBeValid";
+ * Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser',
+ * 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments',
+ * 'Microsoft.Web/publishingUsers'
* @readonly
* @enum {string}
*/
-export enum CheckNameResourceTypes {
- Site = 'Site',
- Slot = 'Slot',
- HostingEnvironment = 'HostingEnvironment',
- PublishingUser = 'PublishingUser',
- MicrosoftWebsites = 'Microsoft.Web/sites',
- MicrosoftWebsitesslots = 'Microsoft.Web/sites/slots',
- MicrosoftWebhostingEnvironments = 'Microsoft.Web/hostingEnvironments',
- MicrosoftWebpublishingUsers = 'Microsoft.Web/publishingUsers',
-}
+export type CheckNameResourceTypes = 'Site' | 'Slot' | 'HostingEnvironment' | 'PublishingUser' | 'Microsoft.Web/sites' | 'Microsoft.Web/sites/slots' | 'Microsoft.Web/hostingEnvironments' | 'Microsoft.Web/publishingUsers';
/**
* Defines values for ValidateResourceTypes.
* Possible values include: 'ServerFarm', 'Site'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: ValidateResourceTypes =
- * "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum ValidateResourceTypes {
- ServerFarm = 'ServerFarm',
- Site = 'Site',
-}
+export type ValidateResourceTypes = 'ServerFarm' | 'Site';
/**
* Defines values for LogLevel.
@@ -11975,52 +11721,24 @@ export enum ValidateResourceTypes {
* @readonly
* @enum {string}
*/
-export enum LogLevel {
- Off = 'Off',
- Verbose = 'Verbose',
- Information = 'Information',
- Warning = 'Warning',
- Error = 'Error',
-}
+export type LogLevel = 'Off' | 'Verbose' | 'Information' | 'Warning' | 'Error';
/**
* Defines values for BackupItemStatus.
- * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut',
- * 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress',
- * 'DeleteFailed', 'Deleted'
+ * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped',
+ * 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted'
* @readonly
* @enum {string}
*/
-export enum BackupItemStatus {
- InProgress = 'InProgress',
- Failed = 'Failed',
- Succeeded = 'Succeeded',
- TimedOut = 'TimedOut',
- Created = 'Created',
- Skipped = 'Skipped',
- PartiallySucceeded = 'PartiallySucceeded',
- DeleteInProgress = 'DeleteInProgress',
- DeleteFailed = 'DeleteFailed',
- Deleted = 'Deleted',
-}
+export type BackupItemStatus = 'InProgress' | 'Failed' | 'Succeeded' | 'TimedOut' | 'Created' | 'Skipped' | 'PartiallySucceeded' | 'DeleteInProgress' | 'DeleteFailed' | 'Deleted';
/**
* Defines values for DatabaseType.
* Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: DatabaseType =
- * "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum DatabaseType {
- SqlAzure = 'SqlAzure',
- MySql = 'MySql',
- LocalMySql = 'LocalMySql',
- PostgreSql = 'PostgreSql',
-}
+export type DatabaseType = 'SqlAzure' | 'MySql' | 'LocalMySql' | 'PostgreSql';
/**
* Defines values for FrequencyUnit.
@@ -12028,25 +11746,15 @@ export enum DatabaseType {
* @readonly
* @enum {string}
*/
-export enum FrequencyUnit {
- Day = 'Day',
- Hour = 'Hour',
-}
+export type FrequencyUnit = 'Day' | 'Hour';
/**
* Defines values for ContinuousWebJobStatus.
- * Possible values include: 'Initializing', 'Starting', 'Running',
- * 'PendingRestart', 'Stopped'
+ * Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped'
* @readonly
* @enum {string}
*/
-export enum ContinuousWebJobStatus {
- Initializing = 'Initializing',
- Starting = 'Starting',
- Running = 'Running',
- PendingRestart = 'PendingRestart',
- Stopped = 'Stopped',
-}
+export type ContinuousWebJobStatus = 'Initializing' | 'Starting' | 'Running' | 'PendingRestart' | 'Stopped';
/**
* Defines values for WebJobType.
@@ -12054,27 +11762,15 @@ export enum ContinuousWebJobStatus {
* @readonly
* @enum {string}
*/
-export enum WebJobType {
- Continuous = 'Continuous',
- Triggered = 'Triggered',
-}
+export type WebJobType = 'Continuous' | 'Triggered';
/**
* Defines values for PublishingProfileFormat.
* Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: PublishingProfileFormat =
- * "someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
-export enum PublishingProfileFormat {
- FileZilla3 = 'FileZilla3',
- WebDeploy = 'WebDeploy',
- Ftp = 'Ftp',
-}
+export type PublishingProfileFormat = 'FileZilla3' | 'WebDeploy' | 'Ftp';
/**
* Defines values for DnsVerificationTestResult.
@@ -12082,11 +11778,7 @@ export enum PublishingProfileFormat {
* @readonly
* @enum {string}
*/
-export enum DnsVerificationTestResult {
- Passed = 'Passed',
- Failed = 'Failed',
- Skipped = 'Skipped',
-}
+export type DnsVerificationTestResult = 'Passed' | 'Failed' | 'Skipped';
/**
* Defines values for MSDeployLogEntryType.
@@ -12094,26 +11786,15 @@ export enum DnsVerificationTestResult {
* @readonly
* @enum {string}
*/
-export enum MSDeployLogEntryType {
- Message = 'Message',
- Warning = 'Warning',
- Error = 'Error',
-}
+export type MSDeployLogEntryType = 'Message' | 'Warning' | 'Error';
/**
* Defines values for MSDeployProvisioningState.
- * Possible values include: 'accepted', 'running', 'succeeded', 'failed',
- * 'canceled'
+ * Possible values include: 'accepted', 'running', 'succeeded', 'failed', 'canceled'
* @readonly
* @enum {string}
*/
-export enum MSDeployProvisioningState {
- Accepted = 'accepted',
- Running = 'running',
- Succeeded = 'succeeded',
- Failed = 'failed',
- Canceled = 'canceled',
-}
+export type MSDeployProvisioningState = 'accepted' | 'running' | 'succeeded' | 'failed' | 'canceled';
/**
* Defines values for MySqlMigrationType.
@@ -12121,10 +11802,7 @@ export enum MSDeployProvisioningState {
* @readonly
* @enum {string}
*/
-export enum MySqlMigrationType {
- LocalToRemote = 'LocalToRemote',
- RemoteToLocal = 'RemoteToLocal',
-}
+export type MySqlMigrationType = 'LocalToRemote' | 'RemoteToLocal';
/**
* Defines values for PublicCertificateLocation.
@@ -12132,26 +11810,15 @@ export enum MySqlMigrationType {
* @readonly
* @enum {string}
*/
-export enum PublicCertificateLocation {
- CurrentUserMy = 'CurrentUserMy',
- LocalMachineMy = 'LocalMachineMy',
- Unknown = 'Unknown',
-}
+export type PublicCertificateLocation = 'CurrentUserMy' | 'LocalMachineMy' | 'Unknown';
/**
* Defines values for BackupRestoreOperationType.
- * Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot',
- * 'CloudFS'
+ * Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS'
* @readonly
* @enum {string}
*/
-export enum BackupRestoreOperationType {
- Default = 'Default',
- Clone = 'Clone',
- Relocation = 'Relocation',
- Snapshot = 'Snapshot',
- CloudFS = 'CloudFS',
-}
+export type BackupRestoreOperationType = 'Default' | 'Clone' | 'Relocation' | 'Snapshot' | 'CloudFS';
/**
* Defines values for UnauthenticatedClientAction.
@@ -12159,25 +11826,16 @@ export enum BackupRestoreOperationType {
* @readonly
* @enum {string}
*/
-export enum UnauthenticatedClientAction {
- RedirectToLoginPage = 'RedirectToLoginPage',
- AllowAnonymous = 'AllowAnonymous',
-}
+export type UnauthenticatedClientAction = 'RedirectToLoginPage' | 'AllowAnonymous';
/**
* Defines values for BuiltInAuthenticationProvider.
- * Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google',
- * 'MicrosoftAccount', 'Twitter'
+ * Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount',
+ * 'Twitter'
* @readonly
* @enum {string}
*/
-export enum BuiltInAuthenticationProvider {
- AzureActiveDirectory = 'AzureActiveDirectory',
- Facebook = 'Facebook',
- Google = 'Google',
- MicrosoftAccount = 'MicrosoftAccount',
- Twitter = 'Twitter',
-}
+export type BuiltInAuthenticationProvider = 'AzureActiveDirectory' | 'Facebook' | 'Google' | 'MicrosoftAccount' | 'Twitter';
/**
* Defines values for CloneAbilityResult.
@@ -12185,11 +11843,7 @@ export enum BuiltInAuthenticationProvider {
* @readonly
* @enum {string}
*/
-export enum CloneAbilityResult {
- Cloneable = 'Cloneable',
- PartiallyCloneable = 'PartiallyCloneable',
- NotCloneable = 'NotCloneable',
-}
+export type CloneAbilityResult = 'Cloneable' | 'PartiallyCloneable' | 'NotCloneable';
/**
* Defines values for SiteExtensionType.
@@ -12197,10 +11851,7 @@ export enum CloneAbilityResult {
* @readonly
* @enum {string}
*/
-export enum SiteExtensionType {
- Gallery = 'Gallery',
- WebRoot = 'WebRoot',
-}
+export type SiteExtensionType = 'Gallery' | 'WebRoot';
/**
* Defines values for TriggeredWebJobStatus.
@@ -12208,73 +11859,32 @@ export enum SiteExtensionType {
* @readonly
* @enum {string}
*/
-export enum TriggeredWebJobStatus {
- Success = 'Success',
- Failed = 'Failed',
- Error = 'Error',
-}
+export type TriggeredWebJobStatus = 'Success' | 'Failed' | 'Error';
/**
* Defines values for SkuName.
- * Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium',
- * 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: SkuName = "someUnknownValueThatWillStillBeValid";
+ * Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic',
+ * 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated'
* @readonly
* @enum {string}
*/
-export enum SkuName {
- Free = 'Free',
- Shared = 'Shared',
- Basic = 'Basic',
- Standard = 'Standard',
- Premium = 'Premium',
- Dynamic = 'Dynamic',
- Isolated = 'Isolated',
- PremiumV2 = 'PremiumV2',
- ElasticPremium = 'ElasticPremium',
- ElasticIsolated = 'ElasticIsolated',
-}
+export type SkuName = 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium' | 'Dynamic' | 'Isolated' | 'PremiumV2' | 'ElasticPremium' | 'ElasticIsolated';
/**
* Defines values for OsTypeSelected.
- * Possible values include: 'Windows', 'Linux', 'WindowsFunctions',
- * 'LinuxFunctions'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: OsTypeSelected =
- * "someUnknownValueThatWillStillBeValid";
+ * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions'
* @readonly
* @enum {string}
*/
-export enum OsTypeSelected {
- Windows = 'Windows',
- Linux = 'Linux',
- WindowsFunctions = 'WindowsFunctions',
- LinuxFunctions = 'LinuxFunctions',
-}
+export type OsTypeSelected = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions';
/**
* Defines values for OsTypeSelected1.
- * Possible values include: 'Windows', 'Linux', 'WindowsFunctions',
- * 'LinuxFunctions'
- * There could be more values for this enum apart from the ones defined here.If
- * you want to set a value that is not from the known values then you can do
- * the following:
- * let param: OsTypeSelected1 =
- * "someUnknownValueThatWillStillBeValid";
+ * Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions'
* @readonly
* @enum {string}
*/
-export enum OsTypeSelected1 {
- Windows = 'Windows',
- Linux = 'Linux',
- WindowsFunctions = 'WindowsFunctions',
- LinuxFunctions = 'LinuxFunctions',
-}
+export type OsTypeSelected1 = 'Windows' | 'Linux' | 'WindowsFunctions' | 'LinuxFunctions';
/**
* Contains response data for the list operation.
@@ -18992,6 +18602,25 @@ export type WebAppsListSnapshotsSlotResponse = SnapshotCollection & {
};
};
+/**
+ * Contains response data for the listSnapshotsFromDRSecondarySlot operation.
+ */
+export type WebAppsListSnapshotsFromDRSecondarySlotResponse = SnapshotCollection & {
+ /**
+ * 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: SnapshotCollection;
+ };
+};
+
/**
* Contains response data for the getSourceControlSlot operation.
*/
@@ -19372,6 +19001,25 @@ export type WebAppsListSnapshotsResponse = SnapshotCollection & {
};
};
+/**
+ * Contains response data for the listSnapshotsFromDRSecondary operation.
+ */
+export type WebAppsListSnapshotsFromDRSecondaryResponse = SnapshotCollection & {
+ /**
+ * 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: SnapshotCollection;
+ };
+};
+
/**
* Contains response data for the getSourceControl operation.
*/
@@ -20949,6 +20597,25 @@ export type WebAppsListSnapshotsSlotNextResponse = SnapshotCollection & {
};
};
+/**
+ * Contains response data for the listSnapshotsFromDRSecondarySlotNext operation.
+ */
+export type WebAppsListSnapshotsFromDRSecondarySlotNextResponse = SnapshotCollection & {
+ /**
+ * 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: SnapshotCollection;
+ };
+};
+
/**
* Contains response data for the listTriggeredWebJobsSlotNext operation.
*/
@@ -21063,6 +20730,25 @@ export type WebAppsListSnapshotsNextResponse = SnapshotCollection & {
};
};
+/**
+ * Contains response data for the listSnapshotsFromDRSecondaryNext operation.
+ */
+export type WebAppsListSnapshotsFromDRSecondaryNextResponse = SnapshotCollection & {
+ /**
+ * 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: SnapshotCollection;
+ };
+};
+
/**
* Contains response data for the listTriggeredWebJobsNext operation.
*/
diff --git a/packages/@azure/arm-appservice/lib/models/mappers.ts b/packages/@azure/arm-appservice/lib/models/mappers.ts
index c0e9640a9ff5..5d914d46d79a 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"
+ }
}
}
}
@@ -1552,6 +1558,12 @@ export const CorsSettings: msRest.CompositeMapper = {
}
}
}
+ },
+ supportCredentials: {
+ serializedName: "supportCredentials",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -2470,6 +2482,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,
@@ -6527,6 +6557,12 @@ export const StackMajorVersion: msRest.CompositeMapper = {
}
}
}
+ },
+ applicationInsights: {
+ serializedName: "applicationInsights",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -8275,6 +8311,12 @@ export const DeletedAppRestoreRequest: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ useDRSecondary: {
+ serializedName: "properties.useDRSecondary",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -9870,6 +9912,12 @@ export const SiteAuthSettings: msRest.CompositeMapper = {
name: "String"
}
},
+ clientSecretCertificateThumbprint: {
+ serializedName: "properties.clientSecretCertificateThumbprint",
+ type: {
+ name: "String"
+ }
+ },
issuer: {
serializedName: "properties.issuer",
type: {
@@ -10419,6 +10467,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,
@@ -11178,6 +11244,12 @@ export const SnapshotRestoreRequest: msRest.CompositeMapper = {
type: {
name: "Boolean"
}
+ },
+ useDRSecondary: {
+ serializedName: "properties.useDRSecondary",
+ type: {
+ name: "Boolean"
+ }
}
}
}
diff --git a/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts b/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts
index c73266858b50..b13b36cb8bfa 100644
--- a/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts
+++ b/packages/@azure/arm-appservice/lib/operations/appServiceCertificateOrders.ts
@@ -43,7 +43,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
options
@@ -71,7 +71,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
validatePurchaseInformation(appServiceCertificateOrder: Models.AppServiceCertificateOrder, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- validatePurchaseInformation(appServiceCertificateOrder: Models.AppServiceCertificateOrder, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ validatePurchaseInformation(appServiceCertificateOrder: Models.AppServiceCertificateOrder, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
appServiceCertificateOrder,
@@ -100,7 +100,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -132,7 +132,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
get(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ get(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -179,7 +179,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
deleteMethod(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- deleteMethod(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ deleteMethod(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -215,7 +215,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
update(resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: Models.AppServiceCertificateOrderPatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- update(resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: Models.AppServiceCertificateOrderPatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ update(resourceGroupName: string, certificateOrderName: string, certificateDistinguishedName: Models.AppServiceCertificateOrderPatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -249,7 +249,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
listCertificates(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listCertificates(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listCertificates(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -285,7 +285,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
getCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- getCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ getCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -337,7 +337,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
deleteCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- deleteCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ deleteCertificate(resourceGroupName: string, certificateOrderName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -377,7 +377,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
updateCertificate(resourceGroupName: string, certificateOrderName: string, name: string, keyVaultCertificate: Models.AppServiceCertificatePatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- updateCertificate(resourceGroupName: string, certificateOrderName: string, name: string, keyVaultCertificate: Models.AppServiceCertificatePatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ updateCertificate(resourceGroupName: string, certificateOrderName: string, name: string, keyVaultCertificate: Models.AppServiceCertificatePatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -415,7 +415,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
reissue(resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: Models.ReissueCertificateOrderRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- reissue(resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: Models.ReissueCertificateOrderRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ reissue(resourceGroupName: string, certificateOrderName: string, reissueCertificateOrderRequest: Models.ReissueCertificateOrderRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -452,7 +452,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
renew(resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: Models.RenewCertificateOrderRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- renew(resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: Models.RenewCertificateOrderRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ renew(resourceGroupName: string, certificateOrderName: string, renewCertificateOrderRequest: Models.RenewCertificateOrderRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -486,7 +486,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
resendEmail(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- resendEmail(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ resendEmail(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -519,7 +519,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
resendRequestEmails(resourceGroupName: string, certificateOrderName: string, options: Models.AppServiceCertificateOrdersResendRequestEmailsOptionalParams, callback: msRest.ServiceCallback): void;
- resendRequestEmails(resourceGroupName: string, certificateOrderName: string, options?: Models.AppServiceCertificateOrdersResendRequestEmailsOptionalParams, callback?: msRest.ServiceCallback): Promise {
+ resendRequestEmails(resourceGroupName: string, certificateOrderName: string, options?: Models.AppServiceCertificateOrdersResendRequestEmailsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -555,7 +555,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
retrieveSiteSeal(resourceGroupName: string, certificateOrderName: string, siteSealRequest: Models.SiteSealRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- retrieveSiteSeal(resourceGroupName: string, certificateOrderName: string, siteSealRequest: Models.SiteSealRequest, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ retrieveSiteSeal(resourceGroupName: string, certificateOrderName: string, siteSealRequest: Models.SiteSealRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -589,7 +589,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
verifyDomainOwnership(resourceGroupName: string, certificateOrderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- verifyDomainOwnership(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ verifyDomainOwnership(resourceGroupName: string, certificateOrderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -622,7 +622,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
retrieveCertificateActions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- retrieveCertificateActions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ retrieveCertificateActions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -655,7 +655,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
retrieveCertificateEmailHistory(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- retrieveCertificateEmailHistory(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ retrieveCertificateEmailHistory(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -729,7 +729,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
nextPageLink,
@@ -758,7 +758,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
nextPageLink,
@@ -787,7 +787,7 @@ export class AppServiceCertificateOrders {
* @param callback The callback
*/
listCertificatesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listCertificatesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
nextPageLink,
diff --git a/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts b/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts
index cdecacb90b12..b4cc37ff4b07 100644
--- a/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts
+++ b/packages/@azure/arm-appservice/lib/operations/appServiceEnvironments.ts
@@ -43,7 +43,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- list(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
options
@@ -71,7 +71,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -103,7 +103,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
get(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ get(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -166,7 +166,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
update(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: Models.AppServiceEnvironmentPatchResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- update(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: Models.AppServiceEnvironmentPatchResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ update(resourceGroupName: string, name: string, hostingEnvironmentEnvelope: Models.AppServiceEnvironmentPatchResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -200,7 +200,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listCapacities(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listCapacities(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listCapacities(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -233,7 +233,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listVips(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listVips(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listVips(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -280,7 +280,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listDiagnostics(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listDiagnostics(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listDiagnostics(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -316,7 +316,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
getDiagnosticsItem(resourceGroupName: string, name: string, diagnosticsName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- getDiagnosticsItem(resourceGroupName: string, name: string, diagnosticsName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ getDiagnosticsItem(resourceGroupName: string, name: string, diagnosticsName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -350,7 +350,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMetricDefinitions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -383,7 +383,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMetrics(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListMetricsOptionalParams, callback: msRest.ServiceCallback): void;
- listMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise {
+ listMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -416,7 +416,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMultiRolePools(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listMultiRolePools(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listMultiRolePools(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -449,7 +449,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
getMultiRolePool(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- getMultiRolePool(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ getMultiRolePool(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -499,7 +499,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
updateMultiRolePool(resourceGroupName: string, name: string, multiRolePoolEnvelope: Models.WorkerPoolResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- updateMultiRolePool(resourceGroupName: string, name: string, multiRolePoolEnvelope: Models.WorkerPoolResource, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ updateMultiRolePool(resourceGroupName: string, name: string, multiRolePoolEnvelope: Models.WorkerPoolResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -539,7 +539,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMultiRolePoolInstanceMetricDefinitions(resourceGroupName: string, name: string, instance: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listMultiRolePoolInstanceMetricDefinitions(resourceGroupName: string, name: string, instance: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listMultiRolePoolInstanceMetricDefinitions(resourceGroupName: string, name: string, instance: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -576,7 +576,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams, callback: msRest.ServiceCallback): void;
- listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options?: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise {
+ listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options?: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -610,7 +610,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMultiRoleMetricDefinitions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listMultiRoleMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listMultiRoleMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -643,7 +643,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMultiRoleMetrics(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams, callback: msRest.ServiceCallback): void;
- listMultiRoleMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams, callback?: msRest.ServiceCallback): Promise {
+ listMultiRoleMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -676,7 +676,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMultiRolePoolSkus(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listMultiRolePoolSkus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listMultiRolePoolSkus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -709,7 +709,7 @@ export class AppServiceEnvironments {
* @param callback The callback
*/
listMultiRoleUsages(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listMultiRoleUsages(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise {
+ listMultiRoleUsages(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise