From 217d9749d49b40a6b96c82a53835f44d372885d0 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 29 Oct 2018 21:06:40 +0000 Subject: [PATCH 1/5] Generated from 02eda495643fbf77dfbff8d631e1ab91dbcb8a30 Add examples of 201 response to AppServicePlans_CreateOrUpdate. --- .../generated/azure_mgmt_web/app_service_plans.rb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb index a83e75d0c9..bdd1f33300 100644 --- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb @@ -3188,7 +3188,7 @@ def begin_create_or_update_async(resource_group_name, name, app_service_plan, cu http_response = result.response status_code = http_response.status response_content = http_response.body - unless status_code == 200 || status_code == 202 + unless status_code == 200 || status_code == 201 || status_code == 202 error_model = JSON.load(response_content) fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) end @@ -3205,6 +3205,16 @@ def begin_create_or_update_async(resource_group_name, name, app_service_plan, cu end end # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response if status_code == 202 begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) From 58be99d2a26d7f62c0d2c3c5dbc04700f25c8636 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 31 Oct 2018 23:00:23 +0000 Subject: [PATCH 2/5] Generated from 99c5161a59952ca647839f697c76c875d67b80f8 Update AppServicePlan model to match examples. --- azure_sdk/lib/azure_sdk.rb | 2 +- .../azure_mgmt_web/models/app_service_plan.rb | 55 +++++++++++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 55 +++++++++++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 55 +++++++++++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 55 +++++++++++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 55 +++++++++++++++++++ .../azure_mgmt_web/lib/azure_mgmt_web.rb | 4 +- 7 files changed, 278 insertions(+), 3 deletions(-) diff --git a/azure_sdk/lib/azure_sdk.rb b/azure_sdk/lib/azure_sdk.rb index 4de13c3d8b..3d3eabaa94 100644 --- a/azure_sdk/lib/azure_sdk.rb +++ b/azure_sdk/lib/azure_sdk.rb @@ -2,5 +2,5 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require 'latest/latest_profile_client' require 'v2017_03_09/v2017_03_09_profile_client' +require 'latest/latest_profile_client' diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb index e01ec3b1f6..52a1a3029c 100644 --- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,21 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :mdm_id + + # @return [Integer] + attr_accessor :current_number_of_workers + + # @return [String] + attr_accessor :current_worker_size + + # @return [Integer] + attr_accessor :number_of_workers + + # @return [Integer] + attr_accessor :worker_size + # @return [SkuDescription] attr_accessor :sku @@ -273,6 +288,46 @@ def self.mapper() module: 'ProvisioningState' } }, + mdm_id: { + required: false, + read_only: true, + serialized_name: 'properties.mdmId', + type: { + name: 'String' + } + }, + current_number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.currentNumberOfWorkers', + type: { + name: 'Number' + } + }, + current_worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.currentWorkerSize', + type: { + name: 'String' + } + }, + number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.numberOfWorkers', + type: { + name: 'Number' + } + }, + worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.workerSize', + type: { + name: 'Number' + } + }, sku: { required: false, serialized_name: 'sku', diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index e96c583c49..7e5c1439b9 100644 --- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,21 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :mdm_id + + # @return [Integer] + attr_accessor :current_number_of_workers + + # @return [String] + attr_accessor :current_worker_size + + # @return [Integer] + attr_accessor :number_of_workers + + # @return [Integer] + attr_accessor :worker_size + # @return [SkuDescription] attr_accessor :sku @@ -273,6 +288,46 @@ def self.mapper() module: 'ProvisioningState' } }, + mdm_id: { + required: false, + read_only: true, + serialized_name: 'properties.mdmId', + type: { + name: 'String' + } + }, + current_number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.currentNumberOfWorkers', + type: { + name: 'Number' + } + }, + current_worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.currentWorkerSize', + type: { + name: 'String' + } + }, + number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.numberOfWorkers', + type: { + name: 'Number' + } + }, + worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.workerSize', + type: { + name: 'Number' + } + }, sku: { required: false, serialized_name: 'sku', diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb index e29ca27929..f9d7f6b01b 100644 --- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,21 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :mdm_id + + # @return [Integer] + attr_accessor :current_number_of_workers + + # @return [String] + attr_accessor :current_worker_size + + # @return [Integer] + attr_accessor :number_of_workers + + # @return [Integer] + attr_accessor :worker_size + # @return [SkuDescription] attr_accessor :sku @@ -273,6 +288,46 @@ def self.mapper() module: 'ProvisioningState' } }, + mdm_id: { + required: false, + read_only: true, + serialized_name: 'properties.mdmId', + type: { + name: 'String' + } + }, + current_number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.currentNumberOfWorkers', + type: { + name: 'Number' + } + }, + current_worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.currentWorkerSize', + type: { + name: 'String' + } + }, + number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.numberOfWorkers', + type: { + name: 'Number' + } + }, + worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.workerSize', + type: { + name: 'Number' + } + }, sku: { required: false, serialized_name: 'sku', diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index e2b6f2a3ef..31abe8f682 100644 --- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,21 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :mdm_id + + # @return [Integer] + attr_accessor :current_number_of_workers + + # @return [String] + attr_accessor :current_worker_size + + # @return [Integer] + attr_accessor :number_of_workers + + # @return [Integer] + attr_accessor :worker_size + # @return [SkuDescription] attr_accessor :sku @@ -273,6 +288,46 @@ def self.mapper() module: 'ProvisioningState' } }, + mdm_id: { + required: false, + read_only: true, + serialized_name: 'properties.mdmId', + type: { + name: 'String' + } + }, + current_number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.currentNumberOfWorkers', + type: { + name: 'Number' + } + }, + current_worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.currentWorkerSize', + type: { + name: 'String' + } + }, + number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.numberOfWorkers', + type: { + name: 'Number' + } + }, + worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.workerSize', + type: { + name: 'Number' + } + }, sku: { required: false, serialized_name: 'sku', diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb index 12ca4bd850..5d2ccad8aa 100644 --- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,21 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :mdm_id + + # @return [Integer] + attr_accessor :current_number_of_workers + + # @return [String] + attr_accessor :current_worker_size + + # @return [Integer] + attr_accessor :number_of_workers + + # @return [Integer] + attr_accessor :worker_size + # @return [SkuDescription] attr_accessor :sku @@ -273,6 +288,46 @@ def self.mapper() module: 'ProvisioningState' } }, + mdm_id: { + required: false, + read_only: true, + serialized_name: 'properties.mdmId', + type: { + name: 'String' + } + }, + current_number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.currentNumberOfWorkers', + type: { + name: 'Number' + } + }, + current_worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.currentWorkerSize', + type: { + name: 'String' + } + }, + number_of_workers: { + required: false, + read_only: true, + serialized_name: 'properties.numberOfWorkers', + type: { + name: 'Number' + } + }, + worker_size: { + required: false, + read_only: true, + serialized_name: 'properties.workerSize', + type: { + name: 'Number' + } + }, sku: { required: false, serialized_name: 'sku', diff --git a/management/azure_mgmt_web/lib/azure_mgmt_web.rb b/management/azure_mgmt_web/lib/azure_mgmt_web.rb index 4f310b9673..7fac2a1041 100644 --- a/management/azure_mgmt_web/lib/azure_mgmt_web.rb +++ b/management/azure_mgmt_web/lib/azure_mgmt_web.rb @@ -3,8 +3,8 @@ # Licensed under the MIT License. See License.txt in the project root for license information. require '2016-08-01/generated/azure_mgmt_web' -require '2016-03-01/generated/azure_mgmt_web' -require '2015-08-01/generated/azure_mgmt_web' require '2016-09-01/generated/azure_mgmt_web' +require '2016-03-01/generated/azure_mgmt_web' require '2015-04-01/generated/azure_mgmt_web' +require '2015-08-01/generated/azure_mgmt_web' require 'profiles/latest/web_latest_profile_client' From 51efad73c65fe4686860c8f72284346927c5fc66 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 1 Nov 2018 00:03:00 +0000 Subject: [PATCH 3/5] Generated from 11534e58a52c34a3424d4f6771cef56f926e0e3d Update AppServicePlan model to match examples. --- .../generated/azure_mgmt_web/models/app_service_plan.rb | 4 ++-- .../generated/azure_mgmt_web/models/app_service_plan.rb | 4 ++-- .../generated/azure_mgmt_web/models/app_service_plan.rb | 4 ++-- .../generated/azure_mgmt_web/models/app_service_plan.rb | 4 ++-- .../generated/azure_mgmt_web/models/app_service_plan.rb | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb index 52a1a3029c..5238a7d665 100644 --- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -86,7 +86,7 @@ class AppServicePlan < Resource # @return [Integer] attr_accessor :number_of_workers - # @return [Integer] + # @return [String] attr_accessor :worker_size # @return [SkuDescription] @@ -325,7 +325,7 @@ def self.mapper() read_only: true, serialized_name: 'properties.workerSize', type: { - name: 'Number' + name: 'String' } }, sku: { diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index 7e5c1439b9..835e87d325 100644 --- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -86,7 +86,7 @@ class AppServicePlan < Resource # @return [Integer] attr_accessor :number_of_workers - # @return [Integer] + # @return [String] attr_accessor :worker_size # @return [SkuDescription] @@ -325,7 +325,7 @@ def self.mapper() read_only: true, serialized_name: 'properties.workerSize', type: { - name: 'Number' + name: 'String' } }, sku: { diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb index f9d7f6b01b..d14c59b8fa 100644 --- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -86,7 +86,7 @@ class AppServicePlan < Resource # @return [Integer] attr_accessor :number_of_workers - # @return [Integer] + # @return [String] attr_accessor :worker_size # @return [SkuDescription] @@ -325,7 +325,7 @@ def self.mapper() read_only: true, serialized_name: 'properties.workerSize', type: { - name: 'Number' + name: 'String' } }, sku: { diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index 31abe8f682..ea274e73f2 100644 --- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -86,7 +86,7 @@ class AppServicePlan < Resource # @return [Integer] attr_accessor :number_of_workers - # @return [Integer] + # @return [String] attr_accessor :worker_size # @return [SkuDescription] @@ -325,7 +325,7 @@ def self.mapper() read_only: true, serialized_name: 'properties.workerSize', type: { - name: 'Number' + name: 'String' } }, sku: { diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb index 5d2ccad8aa..9ede6f5b88 100644 --- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -86,7 +86,7 @@ class AppServicePlan < Resource # @return [Integer] attr_accessor :number_of_workers - # @return [Integer] + # @return [String] attr_accessor :worker_size # @return [SkuDescription] @@ -325,7 +325,7 @@ def self.mapper() read_only: true, serialized_name: 'properties.workerSize', type: { - name: 'Number' + name: 'String' } }, sku: { From 915298c1a9bf5bd65878dc951a01a23f82b1ee0c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 1 Nov 2018 00:24:45 +0000 Subject: [PATCH 4/5] Generated from 3b520fc9a8d982c9d7ca750ad7e697559a71da8e Update AppServicePlan model to match examples. --- .../azure_mgmt_web/models/app_service_plan.rb | 11 +++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 11 +++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 11 +++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 11 +++++++++++ .../azure_mgmt_web/models/app_service_plan.rb | 11 +++++++++++ 5 files changed, 55 insertions(+) diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb index 5238a7d665..88c36a8b64 100644 --- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,9 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :app_service_plan_kind + # @return [String] attr_accessor :mdm_id @@ -288,6 +291,14 @@ def self.mapper() module: 'ProvisioningState' } }, + app_service_plan_kind: { + required: false, + read_only: true, + serialized_name: 'properties.kind', + type: { + name: 'String' + } + }, mdm_id: { required: false, read_only: true, diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index 835e87d325..bf8a2f1108 100644 --- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,9 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :app_service_plan_kind + # @return [String] attr_accessor :mdm_id @@ -288,6 +291,14 @@ def self.mapper() module: 'ProvisioningState' } }, + app_service_plan_kind: { + required: false, + read_only: true, + serialized_name: 'properties.kind', + type: { + name: 'String' + } + }, mdm_id: { required: false, read_only: true, diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb index d14c59b8fa..2fde5054bb 100644 --- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,9 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :app_service_plan_kind + # @return [String] attr_accessor :mdm_id @@ -288,6 +291,14 @@ def self.mapper() module: 'ProvisioningState' } }, + app_service_plan_kind: { + required: false, + read_only: true, + serialized_name: 'properties.kind', + type: { + name: 'String' + } + }, mdm_id: { required: false, read_only: true, diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index ea274e73f2..b0848b7068 100644 --- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,9 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :app_service_plan_kind + # @return [String] attr_accessor :mdm_id @@ -288,6 +291,14 @@ def self.mapper() module: 'ProvisioningState' } }, + app_service_plan_kind: { + required: false, + read_only: true, + serialized_name: 'properties.kind', + type: { + name: 'String' + } + }, mdm_id: { required: false, read_only: true, diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb index 9ede6f5b88..20a577c0d2 100644 --- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,6 +74,9 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state + # @return [String] + attr_accessor :app_service_plan_kind + # @return [String] attr_accessor :mdm_id @@ -288,6 +291,14 @@ def self.mapper() module: 'ProvisioningState' } }, + app_service_plan_kind: { + required: false, + read_only: true, + serialized_name: 'properties.kind', + type: { + name: 'String' + } + }, mdm_id: { required: false, read_only: true, From 42f82c478eb5d26d23e340e266d94efaed5170f3 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 1 Nov 2018 20:27:59 +0000 Subject: [PATCH 5/5] Generated from 0c2a91f0a7de5c0484a4b638daebc7827bf098c3 Add descriptions to new AppServicePlan properties. --- .../azure_mgmt_web/models/app_service_plan.rb | 12 ++++++------ .../azure_mgmt_web/models/app_service_plan.rb | 12 ++++++------ .../azure_mgmt_web/models/app_service_plan.rb | 12 ++++++------ .../azure_mgmt_web/models/app_service_plan.rb | 12 ++++++------ .../azure_mgmt_web/models/app_service_plan.rb | 12 ++++++------ 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb index 88c36a8b64..b13387ce0d 100644 --- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,22 +74,22 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state - # @return [String] + # @return [String] Kind of resource. attr_accessor :app_service_plan_kind - # @return [String] + # @return [String] MDM ID of the App Service plan. attr_accessor :mdm_id - # @return [Integer] + # @return [Integer] Current worker count. attr_accessor :current_number_of_workers - # @return [String] + # @return [String] Current worker size. attr_accessor :current_worker_size - # @return [Integer] + # @return [Integer] Worker count. attr_accessor :number_of_workers - # @return [String] + # @return [String] Worker size. attr_accessor :worker_size # @return [SkuDescription] diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index bf8a2f1108..4377699a3a 100644 --- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,22 +74,22 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state - # @return [String] + # @return [String] Kind of resource. attr_accessor :app_service_plan_kind - # @return [String] + # @return [String] MDM ID of the App Service plan. attr_accessor :mdm_id - # @return [Integer] + # @return [Integer] Current worker count. attr_accessor :current_number_of_workers - # @return [String] + # @return [String] Current worker size. attr_accessor :current_worker_size - # @return [Integer] + # @return [Integer] Worker count. attr_accessor :number_of_workers - # @return [String] + # @return [String] Worker size. attr_accessor :worker_size # @return [SkuDescription] diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb index 2fde5054bb..0e6ac52043 100644 --- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,22 +74,22 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state - # @return [String] + # @return [String] Kind of resource. attr_accessor :app_service_plan_kind - # @return [String] + # @return [String] MDM ID of the App Service plan. attr_accessor :mdm_id - # @return [Integer] + # @return [Integer] Current worker count. attr_accessor :current_number_of_workers - # @return [String] + # @return [String] Current worker size. attr_accessor :current_worker_size - # @return [Integer] + # @return [Integer] Worker count. attr_accessor :number_of_workers - # @return [String] + # @return [String] Worker size. attr_accessor :worker_size # @return [SkuDescription] diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb index b0848b7068..e4503d2a38 100644 --- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,22 +74,22 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state - # @return [String] + # @return [String] Kind of resource. attr_accessor :app_service_plan_kind - # @return [String] + # @return [String] MDM ID of the App Service plan. attr_accessor :mdm_id - # @return [Integer] + # @return [Integer] Current worker count. attr_accessor :current_number_of_workers - # @return [String] + # @return [String] Current worker size. attr_accessor :current_worker_size - # @return [Integer] + # @return [Integer] Worker count. attr_accessor :number_of_workers - # @return [String] + # @return [String] Worker size. attr_accessor :worker_size # @return [SkuDescription] diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb index 20a577c0d2..5a393fe341 100644 --- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb +++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb @@ -74,22 +74,22 @@ class AppServicePlan < Resource # 'Canceled', 'InProgress', 'Deleting' attr_accessor :provisioning_state - # @return [String] + # @return [String] Kind of resource. attr_accessor :app_service_plan_kind - # @return [String] + # @return [String] MDM ID of the App Service plan. attr_accessor :mdm_id - # @return [Integer] + # @return [Integer] Current worker count. attr_accessor :current_number_of_workers - # @return [String] + # @return [String] Current worker size. attr_accessor :current_worker_size - # @return [Integer] + # @return [Integer] Worker count. attr_accessor :number_of_workers - # @return [String] + # @return [String] Worker size. attr_accessor :worker_size # @return [SkuDescription]