Class: Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource
- Inherits:
-
ProxyOnlyResource
- Object
- ProxyOnlyResource
- Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb
Overview
ARM resource for a site.
Instance Attribute Summary collapse
-
#availability_state ⇒ SiteAvailabilityState
state for the app.
-
#client_affinity_enabled ⇒ Boolean
falseto stop sending session affinity cookies, which route client requests in the same session to the same instance. -
#client_cert_enabled ⇒ Boolean
authentication (TLS mutual authentication); otherwise,
false. -
#cloning_info ⇒ CloningInfo
cloned from a source app.
-
#container_size ⇒ Integer
Size of the function container.
-
#daily_memory_time_quota ⇒ Integer
on dynamic apps only).
-
#default_host_name ⇒ String
Default hostname of the app.
-
#enabled ⇒ Boolean
false. -
#enabled_host_names ⇒ Array<String>
be assigned (see HostNames) AND enabled.
-
#host_name_ssl_states ⇒ Array<HostNameSslState>
manage the SSL bindings for app’s hostnames.
-
#host_names ⇒ Array<String>
Hostnames associated with the app.
-
#host_names_disabled ⇒ Boolean
the app; otherwise,
false. -
#hosting_environment_profile ⇒ HostingEnvironmentProfile
the app.
-
#https_only ⇒ Boolean
requests.
-
#is_default_container ⇒ Boolean
otherwise,
false. -
#last_modified_time_utc ⇒ DateTime
Last time the app was modified, in UTC.
-
#max_number_of_workers ⇒ Integer
This only applies to Functions container.
-
#outbound_ip_addresses ⇒ String
connections (e.g. database access).
-
#possible_outbound_ip_addresses ⇒ String
connections (e.g. database access).
-
#repository_site_name ⇒ String
Name of the repository site.
-
#reserved ⇒ Boolean
false. -
#resource_group ⇒ String
Read-only.
-
#scm_site_also_stopped ⇒ Boolean
app is stopped; otherwise,
false. -
#server_farm_id ⇒ String
formatted as: “/subscriptions/subscriptionID/resourceGroups/groupName/providers/Microsoft.Web/serverfarms/appServicePlanName”.
-
#site_config ⇒ SiteConfig
Configuration of the app.
-
#slot_swap_status ⇒ SlotSwapStatus
operation.
-
#snapshot_info ⇒ SnapshotRecoveryRequest
app is created from a previous snapshot.
-
#state ⇒ String
Current state of the app.
-
#suspended_till ⇒ DateTime
exceeded.
-
#target_swap_slot ⇒ String
into.
-
#traffic_manager_host_names ⇒ Array<String>
the app.
-
#usage_state ⇒ UsageState
quota usage.
Attributes inherited from ProxyOnlyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SitePatchResource class as Ruby Hash.
Instance Attribute Details
#availability_state ⇒ SiteAvailabilityState
state for the app. Possible values include: ‘Normal’, ‘Limited’, ‘DisasterRecoveryMode’
41 42 43 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 41 def availability_state @availability_state end |
#client_affinity_enabled ⇒ Boolean
false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.
83 84 85 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 83 def client_affinity_enabled @client_affinity_enabled end |
#client_cert_enabled ⇒ Boolean
authentication (TLS mutual authentication); otherwise, false. Default is false.
88 89 90 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 88 def client_cert_enabled @client_cert_enabled end |
#cloning_info ⇒ CloningInfo
cloned from a source app.
123 124 125 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 123 def cloning_info @cloning_info end |
#container_size ⇒ Integer
Returns Size of the function container.
107 108 109 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 107 def container_size @container_size end |
#daily_memory_time_quota ⇒ Integer
on dynamic apps only).
111 112 113 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 111 def daily_memory_time_quota @daily_memory_time_quota end |
#default_host_name ⇒ String
Returns Default hostname of the app. Read-only.
138 139 140 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 138 def default_host_name @default_host_name end |
#enabled ⇒ Boolean
false. Setting this value to false disables the app (takes the app offline).
31 32 33 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 31 def enabled @enabled end |
#enabled_host_names ⇒ Array<String>
be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.
36 37 38 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 36 def enabled_host_names @enabled_host_names end |
#host_name_ssl_states ⇒ Array<HostNameSslState>
manage the SSL bindings for app’s hostnames.
45 46 47 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 45 def host_name_ssl_states @host_name_ssl_states end |
#host_names ⇒ Array<String>
Returns Hostnames associated with the app.
19 20 21 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 19 def host_names @host_names end |
#host_names_disabled ⇒ Boolean
the app; otherwise, false. If true, the app is only accessible via API management process.
94 95 96 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 94 def host_names_disabled @host_names_disabled end |
#hosting_environment_profile ⇒ HostingEnvironmentProfile
the app.
77 78 79 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 77 def hosting_environment_profile @hosting_environment_profile end |
#https_only ⇒ Boolean
requests. Issues redirect for http requests
147 148 149 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 147 def https_only @https_only end |
#is_default_container ⇒ Boolean
otherwise, false.
135 136 137 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 135 def is_default_container @is_default_container end |
#last_modified_time_utc ⇒ DateTime
Returns Last time the app was modified, in UTC. Read-only.
57 58 59 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 57 def last_modified_time_utc @last_modified_time_utc end |
#max_number_of_workers ⇒ Integer
This only applies to Functions container.
119 120 121 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 119 def max_number_of_workers @max_number_of_workers end |
#outbound_ip_addresses ⇒ String
connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.
99 100 101 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 99 def outbound_ip_addresses @outbound_ip_addresses end |
#possible_outbound_ip_addresses ⇒ String
connections (e.g. database access). Includes VIPs from all tenants. Read-only.
104 105 106 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 104 def possible_outbound_ip_addresses @possible_outbound_ip_addresses end |
#repository_site_name ⇒ String
Returns Name of the repository site.
22 23 24 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 22 def repository_site_name @repository_site_name end |
#reserved ⇒ Boolean
false. Default value: false .
54 55 56 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 54 def reserved @reserved end |
#resource_group ⇒ String
Read-only.
131 132 133 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 131 def resource_group @resource_group end |
#scm_site_also_stopped ⇒ Boolean
app is stopped; otherwise, false. The default is false. Default value: false .
69 70 71 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 69 def scm_site_also_stopped @scm_site_also_stopped end |
#server_farm_id ⇒ String
formatted as: “/subscriptions/subscriptionID/resourceGroups/groupName/providers/Microsoft.Web/serverfarms/appServicePlanName”.
50 51 52 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 50 def server_farm_id @server_farm_id end |
#site_config ⇒ SiteConfig
Returns Configuration of the app.
60 61 62 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 60 def site_config @site_config end |
#slot_swap_status ⇒ SlotSwapStatus
operation.
142 143 144 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 142 def slot_swap_status @slot_swap_status end |
#snapshot_info ⇒ SnapshotRecoveryRequest
app is created from a previous snapshot.
127 128 129 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 127 def snapshot_info @snapshot_info end |
#state ⇒ String
Returns Current state of the app.
16 17 18 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 16 def state @state end |
#suspended_till ⇒ DateTime
exceeded.
115 116 117 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 115 def suspended_till @suspended_till end |
#target_swap_slot ⇒ String
into. Read-only.
73 74 75 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 73 def target_swap_slot @target_swap_slot end |
#traffic_manager_host_names ⇒ Array<String>
the app. Read-only.
64 65 66 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 64 def traffic_manager_host_names @traffic_manager_host_names end |
#usage_state ⇒ UsageState
quota usage. Read-only. Possible values include: ‘Normal’, ‘Exceeded’
26 27 28 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 26 def usage_state @usage_state end |
Class Method Details
.mapper ⇒ Object
Mapper for SitePatchResource class as Ruby Hash. This will be used for serialization/deserialization.
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 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb', line 154 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SitePatchResource', type: { name: 'Composite', class_name: 'SitePatchResource', 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' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', type: { name: 'String' } }, host_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, repository_site_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.repositorySiteName', type: { name: 'String' } }, usage_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageState', type: { name: 'Enum', module: 'UsageState' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'properties.enabled', type: { name: 'Boolean' } }, enabled_host_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.enabledHostNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, availability_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.availabilityState', type: { name: 'Enum', module: 'SiteAvailabilityState' } }, host_name_ssl_states: { client_side_validation: true, required: false, serialized_name: 'properties.hostNameSslStates', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HostNameSslStateElementType', type: { name: 'Composite', class_name: 'HostNameSslState' } } } }, server_farm_id: { client_side_validation: true, required: false, serialized_name: 'properties.serverFarmId', type: { name: 'String' } }, reserved: { client_side_validation: true, required: false, serialized_name: 'properties.reserved', default_value: false, type: { name: 'Boolean' } }, last_modified_time_utc: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTimeUtc', type: { name: 'DateTime' } }, site_config: { client_side_validation: true, required: false, serialized_name: 'properties.siteConfig', type: { name: 'Composite', class_name: 'SiteConfig' } }, traffic_manager_host_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.trafficManagerHostNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, scm_site_also_stopped: { client_side_validation: true, required: false, serialized_name: 'properties.scmSiteAlsoStopped', default_value: false, type: { name: 'Boolean' } }, target_swap_slot: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.targetSwapSlot', type: { name: 'String' } }, hosting_environment_profile: { client_side_validation: true, required: false, serialized_name: 'properties.hostingEnvironmentProfile', type: { name: 'Composite', class_name: 'HostingEnvironmentProfile' } }, client_affinity_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.clientAffinityEnabled', type: { name: 'Boolean' } }, client_cert_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.clientCertEnabled', type: { name: 'Boolean' } }, host_names_disabled: { client_side_validation: true, required: false, serialized_name: 'properties.hostNamesDisabled', type: { name: 'Boolean' } }, outbound_ip_addresses: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundIpAddresses', type: { name: 'String' } }, possible_outbound_ip_addresses: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.possibleOutboundIpAddresses', type: { name: 'String' } }, container_size: { client_side_validation: true, required: false, serialized_name: 'properties.containerSize', type: { name: 'Number' } }, daily_memory_time_quota: { client_side_validation: true, required: false, serialized_name: 'properties.dailyMemoryTimeQuota', type: { name: 'Number' } }, suspended_till: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.suspendedTill', type: { name: 'DateTime' } }, max_number_of_workers: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxNumberOfWorkers', type: { name: 'Number' } }, cloning_info: { client_side_validation: true, required: false, serialized_name: 'properties.cloningInfo', type: { name: 'Composite', class_name: 'CloningInfo' } }, snapshot_info: { client_side_validation: true, required: false, serialized_name: 'properties.snapshotInfo', type: { name: 'Composite', class_name: 'SnapshotRecoveryRequest' } }, resource_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroup', type: { name: 'String' } }, is_default_container: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isDefaultContainer', type: { name: 'Boolean' } }, default_host_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultHostName', type: { name: 'String' } }, slot_swap_status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.slotSwapStatus', type: { name: 'Composite', class_name: 'SlotSwapStatus' } }, https_only: { client_side_validation: true, required: false, serialized_name: 'properties.httpsOnly', type: { name: 'Boolean' } } } } } end |