Class: Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource
- Inherits:
-
ProxyOnlyResource
- Object
- ProxyOnlyResource
- Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb
Overview
ARM resource for a app service plan.
Instance Attribute Summary collapse
-
#admin_site_name ⇒ String
App Service plan administration site.
-
#app_service_plan_patch_resource_name ⇒ String
Name for the App Service plan.
-
#geo_region ⇒ String
Geographical location for the App Service plan.
-
#hosting_environment_profile ⇒ HostingEnvironmentProfile
Environment to use for the App Service plan.
-
#is_spot ⇒ Boolean
instances.
-
#maximum_number_of_workers ⇒ Integer
this App Service plan.
-
#number_of_sites ⇒ Integer
Number of apps assigned to this App Service plan.
-
#per_site_scaling ⇒ Boolean
Service plan can be scaled independently.
-
#provisioning_state ⇒ ProvisioningState
Environment.
-
#reserved ⇒ Boolean
falseotherwise. -
#resource_group ⇒ String
Resource group of the App Service plan.
-
#spot_expiration_time ⇒ DateTime
it is a spot server farm.
-
#status ⇒ StatusOptions
include: ‘Ready’, ‘Pending’, ‘Creating’.
-
#subscription ⇒ String
App Service plan subscription.
-
#target_worker_count ⇒ Integer
Scaling worker count.
-
#target_worker_size_id ⇒ Integer
Scaling worker size ID.
-
#worker_tier_name ⇒ String
Target worker tier assigned to the App Service plan.
Attributes inherited from ProxyOnlyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AppServicePlanPatchResource class as Ruby Hash.
Instance Attribute Details
#admin_site_name ⇒ String
Returns App Service plan administration site.
29 30 31 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 29 def admin_site_name @admin_site_name end |
#app_service_plan_patch_resource_name ⇒ String
Returns Name for the App Service plan.
16 17 18 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 16 def app_service_plan_patch_resource_name @app_service_plan_patch_resource_name end |
#geo_region ⇒ String
Returns Geographical location for the App Service plan.
40 41 42 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 40 def geo_region @geo_region end |
#hosting_environment_profile ⇒ HostingEnvironmentProfile
Environment to use for the App Service plan.
33 34 35 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 33 def hosting_environment_profile @hosting_environment_profile end |
#is_spot ⇒ Boolean
instances.
53 54 55 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 53 def is_spot @is_spot end |
#maximum_number_of_workers ⇒ Integer
this App Service plan.
37 38 39 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 37 def maximum_number_of_workers @maximum_number_of_workers end |
#number_of_sites ⇒ Integer
Returns Number of apps assigned to this App Service plan.
49 50 51 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 49 def number_of_sites @number_of_sites end |
#per_site_scaling ⇒ Boolean
Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan. Default value: false .
46 47 48 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 46 def per_site_scaling @per_site_scaling end |
#provisioning_state ⇒ ProvisioningState
Environment. Possible values include: ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘InProgress’, ‘Deleting’
75 76 77 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 75 def provisioning_state @provisioning_state end |
#reserved ⇒ Boolean
false otherwise. Default value: false .
64 65 66 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 64 def reserved @reserved end |
#resource_group ⇒ String
Returns Resource group of the App Service plan.
60 61 62 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 60 def resource_group @resource_group end |
#spot_expiration_time ⇒ DateTime
it is a spot server farm.
57 58 59 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 57 def spot_expiration_time @spot_expiration_time end |
#status ⇒ StatusOptions
include: ‘Ready’, ‘Pending’, ‘Creating’
23 24 25 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 23 def status @status end |
#subscription ⇒ String
Returns App Service plan subscription.
26 27 28 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 26 def subscription @subscription end |
#target_worker_count ⇒ Integer
Returns Scaling worker count.
67 68 69 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 67 def target_worker_count @target_worker_count end |
#target_worker_size_id ⇒ Integer
Returns Scaling worker size ID.
70 71 72 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 70 def target_worker_size_id @target_worker_size_id end |
#worker_tier_name ⇒ String
Returns Target worker tier assigned to the App Service plan.
19 20 21 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 19 def worker_tier_name @worker_tier_name end |
Class Method Details
.mapper ⇒ Object
Mapper for AppServicePlanPatchResource class as Ruby Hash. This will be used for serialization/deserialization.
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb', line 82 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AppServicePlanPatchResource', type: { name: 'Composite', class_name: 'AppServicePlanPatchResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, app_service_plan_patch_resource_name: { client_side_validation: true, required: false, serialized_name: 'properties.name', type: { name: 'String' } }, worker_tier_name: { client_side_validation: true, required: false, serialized_name: 'properties.workerTierName', type: { name: 'String' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', type: { name: 'Enum', module: 'StatusOptions' } }, subscription: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscription', type: { name: 'String' } }, admin_site_name: { client_side_validation: true, required: false, serialized_name: 'properties.adminSiteName', type: { name: 'String' } }, hosting_environment_profile: { client_side_validation: true, required: false, serialized_name: 'properties.hostingEnvironmentProfile', type: { name: 'Composite', class_name: 'HostingEnvironmentProfile' } }, maximum_number_of_workers: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maximumNumberOfWorkers', type: { name: 'Number' } }, geo_region: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.geoRegion', type: { name: 'String' } }, per_site_scaling: { client_side_validation: true, required: false, serialized_name: 'properties.perSiteScaling', default_value: false, type: { name: 'Boolean' } }, number_of_sites: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.numberOfSites', type: { name: 'Number' } }, is_spot: { client_side_validation: true, required: false, serialized_name: 'properties.isSpot', type: { name: 'Boolean' } }, spot_expiration_time: { client_side_validation: true, required: false, serialized_name: 'properties.spotExpirationTime', type: { name: 'DateTime' } }, resource_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroup', type: { name: 'String' } }, reserved: { client_side_validation: true, required: false, serialized_name: 'properties.reserved', default_value: false, type: { name: 'Boolean' } }, target_worker_count: { client_side_validation: true, required: false, serialized_name: 'properties.targetWorkerCount', type: { name: 'Number' } }, target_worker_size_id: { client_side_validation: true, required: false, serialized_name: 'properties.targetWorkerSizeId', type: { name: 'Number' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'ProvisioningState' } } } } } end |