Class: Azure::Web::Mgmt::V2016_03_01::Models::WorkerPool
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2016_03_01::Models::WorkerPool
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb
Overview
Worker pool of an App Service Environment.
Instance Attribute Summary collapse
-
#compute_mode ⇒ ComputeModeOptions
values include: ‘Shared’, ‘Dedicated’, ‘Dynamic’.
-
#instance_names ⇒ Array<String>
only).
-
#worker_count ⇒ Integer
Number of instances in the worker pool.
-
#worker_size ⇒ String
VM size of the worker pool instances.
-
#worker_size_id ⇒ Integer
Worker size ID for referencing this worker pool.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WorkerPool class as Ruby Hash.
Instance Attribute Details
#compute_mode ⇒ ComputeModeOptions
values include: ‘Shared’, ‘Dedicated’, ‘Dynamic’
20 21 22 |
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb', line 20 def compute_mode @compute_mode end |
#instance_names ⇒ Array<String>
only).
30 31 32 |
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb', line 30 def instance_names @instance_names end |
#worker_count ⇒ Integer
Returns Number of instances in the worker pool.
26 27 28 |
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb', line 26 def worker_count @worker_count end |
#worker_size ⇒ String
Returns VM size of the worker pool instances.
23 24 25 |
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb', line 23 def worker_size @worker_size end |
#worker_size_id ⇒ Integer
Returns Worker size ID for referencing this worker pool.
16 17 18 |
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb', line 16 def worker_size_id @worker_size_id end |
Class Method Details
.mapper ⇒ Object
Mapper for WorkerPool class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WorkerPool', type: { name: 'Composite', class_name: 'WorkerPool', model_properties: { worker_size_id: { client_side_validation: true, required: false, serialized_name: 'workerSizeId', type: { name: 'Number' } }, compute_mode: { client_side_validation: true, required: false, serialized_name: 'computeMode', type: { name: 'Enum', module: 'ComputeModeOptions' } }, worker_size: { client_side_validation: true, required: false, serialized_name: 'workerSize', type: { name: 'String' } }, worker_count: { client_side_validation: true, required: false, serialized_name: 'workerCount', type: { name: 'Number' } }, instance_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |