From 59f091357c06f9eb76ca307d917bff181494bb90 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 18 Aug 2018 07:22:38 +0000 Subject: [PATCH 1/2] Generated from 45a695f12bca8bf8b3532a4d1c8f02571f83bf51 Add HyperV property for AppServicePlan and Site model and deprecating IsXenon property --- .../lib/models/appServicePlan.js | 13 +++- .../lib/models/appServicePlanPatchResource.js | 13 +++- .../websiteManagement2/lib/models/index.d.ts | 20 ++++- .../websiteManagement2/lib/models/site.js | 12 ++- .../lib/models/sitePatchResource.js | 12 ++- .../lib/operations/appServicePlans.js | 45 ++++++++--- .../lib/operations/index.d.ts | 78 ++++++++++++++----- .../lib/operations/webApps.js | 72 ++++++++++++----- 8 files changed, 212 insertions(+), 53 deletions(-) diff --git a/lib/services/websiteManagement2/lib/models/appServicePlan.js b/lib/services/websiteManagement2/lib/models/appServicePlan.js index 79f4b30d7d..6c77c375b2 100644 --- a/lib/services/websiteManagement2/lib/models/appServicePlan.js +++ b/lib/services/websiteManagement2/lib/models/appServicePlan.js @@ -53,7 +53,10 @@ class AppServicePlan extends models['Resource'] { * @member {string} [resourceGroup] Resource group of the App Service plan. * @member {boolean} [reserved] If Linux app service plan true, * false otherwise. Default value: false . - * @member {boolean} [isXenon] If Hyper-V container app service plan + * @member {boolean} [isXenon] Obsolete: If Hyper-V container app service + * plan true, false otherwise. Default value: false + * . + * @member {boolean} [hyperV] If Hyper-V container app service plan * true, false otherwise. Default value: false . * @member {number} [targetWorkerCount] Scaling worker count. * @member {number} [targetWorkerSizeId] Scaling worker size ID. @@ -267,6 +270,14 @@ class AppServicePlan extends models['Resource'] { name: 'Boolean' } }, + hyperV: { + required: false, + serializedName: 'properties.hyperV', + defaultValue: false, + type: { + name: 'Boolean' + } + }, targetWorkerCount: { required: false, serializedName: 'properties.targetWorkerCount', diff --git a/lib/services/websiteManagement2/lib/models/appServicePlanPatchResource.js b/lib/services/websiteManagement2/lib/models/appServicePlanPatchResource.js index bbeaed4a8f..fadfdd4068 100644 --- a/lib/services/websiteManagement2/lib/models/appServicePlanPatchResource.js +++ b/lib/services/websiteManagement2/lib/models/appServicePlanPatchResource.js @@ -53,7 +53,10 @@ class AppServicePlanPatchResource extends models['ProxyOnlyResource'] { * @member {string} [resourceGroup] Resource group of the App Service plan. * @member {boolean} [reserved] If Linux app service plan true, * false otherwise. Default value: false . - * @member {boolean} [isXenon] If Hyper-V container app service plan + * @member {boolean} [isXenon] Obsolete: If Hyper-V container app service + * plan true, false otherwise. Default value: false + * . + * @member {boolean} [hyperV] If Hyper-V container app service plan * true, false otherwise. Default value: false . * @member {number} [targetWorkerCount] Scaling worker count. * @member {number} [targetWorkerSizeId] Scaling worker size ID. @@ -226,6 +229,14 @@ class AppServicePlanPatchResource extends models['ProxyOnlyResource'] { name: 'Boolean' } }, + hyperV: { + required: false, + serializedName: 'properties.hyperV', + defaultValue: false, + type: { + name: 'Boolean' + } + }, targetWorkerCount: { required: false, serializedName: 'properties.targetWorkerCount', diff --git a/lib/services/websiteManagement2/lib/models/index.d.ts b/lib/services/websiteManagement2/lib/models/index.d.ts index 9d883034d8..4fdd6f3ea6 100644 --- a/lib/services/websiteManagement2/lib/models/index.d.ts +++ b/lib/services/websiteManagement2/lib/models/index.d.ts @@ -1398,7 +1398,9 @@ export interface HostNameSslState { * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * @member {boolean} [reserved] true if reserved; otherwise, * false. Default value: false . - * @member {boolean} [isXenon] Hyper-V sandbox. Default value: false . + * @member {boolean} [isXenon] Obsolete: Hyper-V sandbox. Default value: false + * . + * @member {boolean} [hyperV] Hyper-V sandbox. Default value: false . * @member {date} [lastModifiedTimeUtc] Last time the app was modified, in UTC. * Read-only. * @member {object} [siteConfig] Configuration of the app. @@ -1657,6 +1659,7 @@ export interface Site extends Resource { serverFarmId?: string; reserved?: boolean; isXenon?: boolean; + hyperV?: boolean; readonly lastModifiedTimeUtc?: Date; siteConfig?: SiteConfig; readonly trafficManagerHostNames?: string[]; @@ -1794,7 +1797,9 @@ export interface SkuDescription { * @member {string} [resourceGroup] Resource group of the App Service plan. * @member {boolean} [reserved] If Linux app service plan true, * false otherwise. Default value: false . - * @member {boolean} [isXenon] If Hyper-V container app service plan + * @member {boolean} [isXenon] Obsolete: If Hyper-V container app service plan + * true, false otherwise. Default value: false . + * @member {boolean} [hyperV] If Hyper-V container app service plan * true, false otherwise. Default value: false . * @member {number} [targetWorkerCount] Scaling worker count. * @member {number} [targetWorkerSizeId] Scaling worker size ID. @@ -1838,6 +1843,7 @@ export interface AppServicePlan extends Resource { readonly resourceGroup?: string; reserved?: boolean; isXenon?: boolean; + hyperV?: boolean; targetWorkerCount?: number; targetWorkerSizeId?: number; readonly provisioningState?: string; @@ -5806,7 +5812,9 @@ export interface SiteLogsConfig extends ProxyOnlyResource { * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * @member {boolean} [reserved] true if reserved; otherwise, * false. Default value: false . - * @member {boolean} [isXenon] Hyper-V sandbox. Default value: false . + * @member {boolean} [isXenon] Obsolete: Hyper-V sandbox. Default value: false + * . + * @member {boolean} [hyperV] Hyper-V sandbox. Default value: false . * @member {date} [lastModifiedTimeUtc] Last time the app was modified, in UTC. * Read-only. * @member {object} [siteConfig] Configuration of the app. @@ -6057,6 +6065,7 @@ export interface SitePatchResource extends ProxyOnlyResource { serverFarmId?: string; reserved?: boolean; isXenon?: boolean; + hyperV?: boolean; readonly lastModifiedTimeUtc?: Date; siteConfig?: SiteConfig; readonly trafficManagerHostNames?: string[]; @@ -6886,7 +6895,9 @@ export interface WorkerPoolResource extends ProxyOnlyResource { * @member {string} [resourceGroup] Resource group of the App Service plan. * @member {boolean} [reserved] If Linux app service plan true, * false otherwise. Default value: false . - * @member {boolean} [isXenon] If Hyper-V container app service plan + * @member {boolean} [isXenon] Obsolete: If Hyper-V container app service plan + * true, false otherwise. Default value: false . + * @member {boolean} [hyperV] If Hyper-V container app service plan * true, false otherwise. Default value: false . * @member {number} [targetWorkerCount] Scaling worker count. * @member {number} [targetWorkerSizeId] Scaling worker size ID. @@ -6910,6 +6921,7 @@ export interface AppServicePlanPatchResource extends ProxyOnlyResource { readonly resourceGroup?: string; reserved?: boolean; isXenon?: boolean; + hyperV?: boolean; targetWorkerCount?: number; targetWorkerSizeId?: number; readonly provisioningState?: string; diff --git a/lib/services/websiteManagement2/lib/models/site.js b/lib/services/websiteManagement2/lib/models/site.js index bad3fa8eaa..10ef4cbd6d 100644 --- a/lib/services/websiteManagement2/lib/models/site.js +++ b/lib/services/websiteManagement2/lib/models/site.js @@ -42,7 +42,9 @@ class Site extends models['Resource'] { * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * @member {boolean} [reserved] true if reserved; otherwise, * false. Default value: false . - * @member {boolean} [isXenon] Hyper-V sandbox. Default value: false . + * @member {boolean} [isXenon] Obsolete: Hyper-V sandbox. Default value: + * false . + * @member {boolean} [hyperV] Hyper-V sandbox. Default value: false . * @member {date} [lastModifiedTimeUtc] Last time the app was modified, in * UTC. Read-only. * @member {object} [siteConfig] Configuration of the app. @@ -475,6 +477,14 @@ class Site extends models['Resource'] { name: 'Boolean' } }, + hyperV: { + required: false, + serializedName: 'properties.hyperV', + defaultValue: false, + type: { + name: 'Boolean' + } + }, lastModifiedTimeUtc: { required: false, readOnly: true, diff --git a/lib/services/websiteManagement2/lib/models/sitePatchResource.js b/lib/services/websiteManagement2/lib/models/sitePatchResource.js index 31ff62ab3c..39de10c15e 100644 --- a/lib/services/websiteManagement2/lib/models/sitePatchResource.js +++ b/lib/services/websiteManagement2/lib/models/sitePatchResource.js @@ -42,7 +42,9 @@ class SitePatchResource extends models['ProxyOnlyResource'] { * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * @member {boolean} [reserved] true if reserved; otherwise, * false. Default value: false . - * @member {boolean} [isXenon] Hyper-V sandbox. Default value: false . + * @member {boolean} [isXenon] Obsolete: Hyper-V sandbox. Default value: + * false . + * @member {boolean} [hyperV] Hyper-V sandbox. Default value: false . * @member {date} [lastModifiedTimeUtc] Last time the app was modified, in * UTC. Read-only. * @member {object} [siteConfig] Configuration of the app. @@ -446,6 +448,14 @@ class SitePatchResource extends models['ProxyOnlyResource'] { name: 'Boolean' } }, + hyperV: { + required: false, + serializedName: 'properties.hyperV', + defaultValue: false, + type: { + name: 'Boolean' + } + }, lastModifiedTimeUtc: { required: false, readOnly: true, diff --git a/lib/services/websiteManagement2/lib/operations/appServicePlans.js b/lib/services/websiteManagement2/lib/operations/appServicePlans.js index 6c1c7d8852..0f4bac9ca1 100644 --- a/lib/services/websiteManagement2/lib/operations/appServicePlans.js +++ b/lib/services/websiteManagement2/lib/operations/appServicePlans.js @@ -525,7 +525,10 @@ function _get(resourceGroupName, name, options, callback) { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -827,7 +830,10 @@ function _deleteMethod(resourceGroupName, name, options, callback) { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -5119,7 +5125,10 @@ function _rebootWorker(resourceGroupName, name, workerName, options, callback) { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -6764,7 +6773,10 @@ class AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -6877,7 +6889,10 @@ class AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -7103,7 +7118,10 @@ class AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -7178,7 +7196,10 @@ class AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -9651,7 +9672,10 @@ class AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -9764,7 +9788,10 @@ class AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. diff --git a/lib/services/websiteManagement2/lib/operations/index.d.ts b/lib/services/websiteManagement2/lib/operations/index.d.ts index 30b3193adf..959e5b304b 100644 --- a/lib/services/websiteManagement2/lib/operations/index.d.ts +++ b/lib/services/websiteManagement2/lib/operations/index.d.ts @@ -8974,7 +8974,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -9357,7 +9359,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -9839,7 +9843,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -10210,7 +10216,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -22912,7 +22920,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -23298,7 +23308,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -23789,7 +23801,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -24163,7 +24177,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -41669,7 +41685,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -42052,7 +42070,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -43662,7 +43682,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -44048,7 +44070,9 @@ export interface WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -55751,7 +55775,10 @@ export interface AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -55852,7 +55879,10 @@ export interface AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -56036,7 +56066,10 @@ export interface AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -56099,7 +56132,10 @@ export interface AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -57936,7 +57972,10 @@ export interface AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. @@ -58037,7 +58076,10 @@ export interface AppServicePlans { * @param {boolean} [appServicePlan.reserved] If Linux app service plan * true, false otherwise. * - * @param {boolean} [appServicePlan.isXenon] If Hyper-V container app service + * @param {boolean} [appServicePlan.isXenon] Obsolete: If Hyper-V container app + * service plan true, false otherwise. + * + * @param {boolean} [appServicePlan.hyperV] If Hyper-V container app service * plan true, false otherwise. * * @param {number} [appServicePlan.targetWorkerCount] Scaling worker count. diff --git a/lib/services/websiteManagement2/lib/operations/webApps.js b/lib/services/websiteManagement2/lib/operations/webApps.js index 7f26643d2e..d4f20d3000 100644 --- a/lib/services/websiteManagement2/lib/operations/webApps.js +++ b/lib/services/websiteManagement2/lib/operations/webApps.js @@ -511,7 +511,9 @@ function _get(resourceGroupName, name, options, callback) { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -1117,7 +1119,9 @@ function _deleteMethod(resourceGroupName, name, options, callback) { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -25130,7 +25134,9 @@ function _getSlot(resourceGroupName, name, slot, options, callback) { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -25746,7 +25752,9 @@ function _deleteSlot(resourceGroupName, name, slot, options, callback) { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -59285,7 +59293,9 @@ function _getWebJob(resourceGroupName, name, webJobName, options, callback) { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -61995,7 +62005,9 @@ function _beginInstallSiteExtension(resourceGroupName, name, siteExtensionId, op * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -73111,7 +73123,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -73506,7 +73520,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -74030,7 +74046,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -74413,7 +74431,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -90829,7 +90849,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -91227,7 +91249,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -91760,7 +91784,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -92146,7 +92172,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -114716,7 +114744,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -115111,7 +115141,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -117033,7 +117065,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * @@ -117431,7 +117465,9 @@ class WebApps { * @param {boolean} [siteEnvelope.reserved] true if reserved; * otherwise, false. * - * @param {boolean} [siteEnvelope.isXenon] Hyper-V sandbox. + * @param {boolean} [siteEnvelope.isXenon] Obsolete: Hyper-V sandbox. + * + * @param {boolean} [siteEnvelope.hyperV] Hyper-V sandbox. * * @param {object} [siteEnvelope.siteConfig] Configuration of the app. * From e2dcafa1a61127d011bc8dc404d733a3b2dcdcca Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 21 Aug 2018 23:16:48 +0000 Subject: [PATCH 2/2] Generated from 5a76ead1e9a3559ab3bce148ec8f282f068d18d1 Merge remote-tracking branch 'upstream/master' --- .../lib/models/backupRequest.js | 8 +++++ .../websiteManagement2/lib/models/index.d.ts | 2 ++ .../lib/operations/index.d.ts | 24 +++++++++++++ .../lib/operations/webApps.js | 36 +++++++++++++++++++ 4 files changed, 70 insertions(+) diff --git a/lib/services/websiteManagement2/lib/models/backupRequest.js b/lib/services/websiteManagement2/lib/models/backupRequest.js index c7b5da3f97..d2d1195789 100644 --- a/lib/services/websiteManagement2/lib/models/backupRequest.js +++ b/lib/services/websiteManagement2/lib/models/backupRequest.js @@ -20,6 +20,7 @@ const models = require('./index'); class BackupRequest extends models['ProxyOnlyResource'] { /** * Create a BackupRequest. + * @member {string} [backupName] Name of the backup. * @member {boolean} [enabled] True if the backup schedule is enabled (must * be included in that case), false if the backup schedule should be * disabled. @@ -93,6 +94,13 @@ class BackupRequest extends models['ProxyOnlyResource'] { name: 'String' } }, + backupName: { + required: false, + serializedName: 'properties.backupName', + type: { + name: 'String' + } + }, enabled: { required: false, serializedName: 'properties.enabled', diff --git a/lib/services/websiteManagement2/lib/models/index.d.ts b/lib/services/websiteManagement2/lib/models/index.d.ts index 4fdd6f3ea6..e89a87a9e4 100644 --- a/lib/services/websiteManagement2/lib/models/index.d.ts +++ b/lib/services/websiteManagement2/lib/models/index.d.ts @@ -4341,6 +4341,7 @@ export interface BackupSchedule { * @constructor * Description of a backup which will be performed. * + * @member {string} [backupName] Name of the backup. * @member {boolean} [enabled] True if the backup schedule is enabled (must be * included in that case), false if the backup schedule should be disabled. * @member {string} storageAccountUrl SAS URL to the container. @@ -4365,6 +4366,7 @@ export interface BackupSchedule { * @member {array} [databases] Databases included in the backup. */ export interface BackupRequest extends ProxyOnlyResource { + backupName?: string; enabled?: boolean; storageAccountUrl: string; backupSchedule?: BackupSchedule; diff --git a/lib/services/websiteManagement2/lib/operations/index.d.ts b/lib/services/websiteManagement2/lib/operations/index.d.ts index 959e5b304b..8dc83cd895 100644 --- a/lib/services/websiteManagement2/lib/operations/index.d.ts +++ b/lib/services/websiteManagement2/lib/operations/index.d.ts @@ -10747,6 +10747,8 @@ export interface WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -10805,6 +10807,8 @@ export interface WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -11091,6 +11095,8 @@ export interface WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -11156,6 +11162,8 @@ export interface WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -12158,6 +12166,8 @@ export interface WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -12215,6 +12225,8 @@ export interface WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -24723,6 +24735,8 @@ export interface WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -24784,6 +24798,8 @@ export interface WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -25091,6 +25107,8 @@ export interface WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -25159,6 +25177,8 @@ export interface WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -26220,6 +26240,8 @@ export interface WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -26281,6 +26303,8 @@ export interface WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. diff --git a/lib/services/websiteManagement2/lib/operations/webApps.js b/lib/services/websiteManagement2/lib/operations/webApps.js index d4f20d3000..c133ccf4c8 100644 --- a/lib/services/websiteManagement2/lib/operations/webApps.js +++ b/lib/services/websiteManagement2/lib/operations/webApps.js @@ -1994,6 +1994,8 @@ function _applySlotConfigToProduction(resourceGroupName, name, slotSwapEntity, o * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -2698,6 +2700,8 @@ function _deleteBackup(resourceGroupName, name, backupId, options, callback) { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -4379,6 +4383,8 @@ function _listAzureStorageAccounts(resourceGroupName, name, options, callback) { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -26648,6 +26654,8 @@ function _applySlotConfigurationSlot(resourceGroupName, name, slotSwapEntity, sl * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -27380,6 +27388,8 @@ function _deleteBackupSlot(resourceGroupName, name, backupId, slot, options, cal * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -29124,6 +29134,8 @@ function _listAzureStorageAccountsSlot(resourceGroupName, name, slot, options, c * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -75031,6 +75043,8 @@ class WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -75101,6 +75115,8 @@ class WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -75483,6 +75499,8 @@ class WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -75560,6 +75578,8 @@ class WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -76793,6 +76813,8 @@ class WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -76862,6 +76884,8 @@ class WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -92787,6 +92811,8 @@ class WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -92860,6 +92886,8 @@ class WebApps { * @param {object} request Backup configuration. You can use the JSON response * from the POST action as input here. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -93263,6 +93291,8 @@ class WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -93343,6 +93373,8 @@ class WebApps { * * @param {object} request Information on backup request. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -94635,6 +94667,8 @@ class WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled. @@ -94708,6 +94742,8 @@ class WebApps { * * @param {object} request Edited backup configuration. * + * @param {string} [request.backupName] Name of the backup. + * * @param {boolean} [request.enabled] True if the backup schedule is enabled * (must be included in that case), false if the backup schedule should be * disabled.