Class: Azure::ARM::Web::Models::StampCapacity
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::StampCapacity
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/stamp_capacity.rb
Overview
Stamp capacity information.
Instance Attribute Summary collapse
-
#available_capacity ⇒ Integer
etc…).
-
#compute_mode ⇒ ComputeModeOptions
include: ‘Shared’, ‘Dedicated’, ‘Dynamic’.
-
#exclude_from_capacity_allocation ⇒ Boolean
Basic apps are not used for capacity allocation.
-
#is_applicable_for_all_compute_modes ⇒ Boolean
apps; otherwise,
false
. -
#name ⇒ String
Name of the stamp.
-
#site_mode ⇒ String
Shared or Dedicated.
-
#total_capacity ⇒ Integer
etc…).
-
#unit ⇒ String
Name of the unit.
-
#worker_size ⇒ WorkerSizeOptions
include: ‘Default’, ‘Small’, ‘Medium’, ‘Large’.
-
#worker_size_id ⇒ Integer
0 - Small 1 - Medium 2 - Large.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StampCapacity class as Ruby Hash.
Instance Attribute Details
#available_capacity ⇒ Integer
etc…).
21 22 23 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 21 def available_capacity @available_capacity end |
#compute_mode ⇒ ComputeModeOptions
include: ‘Shared’, ‘Dedicated’, ‘Dynamic’
32 33 34 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 32 def compute_mode @compute_mode end |
#exclude_from_capacity_allocation ⇒ Boolean
Basic apps are not used for capacity allocation.
46 47 48 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 46 def exclude_from_capacity_allocation @exclude_from_capacity_allocation end |
#is_applicable_for_all_compute_modes ⇒ Boolean
apps; otherwise, false
.
50 51 52 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 50 def is_applicable_for_all_compute_modes @is_applicable_for_all_compute_modes end |
#name ⇒ String
Returns Name of the stamp.
17 18 19 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 17 def name @name end |
#site_mode ⇒ String
Returns Shared or Dedicated.
53 54 55 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 53 def site_mode @site_mode end |
#total_capacity ⇒ Integer
etc…).
25 26 27 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 25 def total_capacity @total_capacity end |
#unit ⇒ String
Returns Name of the unit.
28 29 30 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 28 def unit @unit end |
#worker_size ⇒ WorkerSizeOptions
include: ‘Default’, ‘Small’, ‘Medium’, ‘Large’
36 37 38 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 36 def worker_size @worker_size end |
#worker_size_id ⇒ Integer
0 - Small 1 - Medium 2 - Large
42 43 44 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 42 def worker_size_id @worker_size_id end |
Class Method Details
.mapper ⇒ Object
Mapper for StampCapacity class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/generated/azure_mgmt_web/models/stamp_capacity.rb', line 60 def self.mapper() { required: false, serialized_name: 'StampCapacity', type: { name: 'Composite', class_name: 'StampCapacity', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, available_capacity: { required: false, serialized_name: 'availableCapacity', type: { name: 'Number' } }, total_capacity: { required: false, serialized_name: 'totalCapacity', type: { name: 'Number' } }, unit: { required: false, serialized_name: 'unit', type: { name: 'String' } }, compute_mode: { required: false, serialized_name: 'computeMode', type: { name: 'Enum', module: 'ComputeModeOptions' } }, worker_size: { required: false, serialized_name: 'workerSize', type: { name: 'Enum', module: 'WorkerSizeOptions' } }, worker_size_id: { required: false, serialized_name: 'workerSizeId', type: { name: 'Number' } }, exclude_from_capacity_allocation: { required: false, serialized_name: 'excludeFromCapacityAllocation', type: { name: 'Boolean' } }, is_applicable_for_all_compute_modes: { required: false, serialized_name: 'isApplicableForAllComputeModes', type: { name: 'Boolean' } }, site_mode: { required: false, serialized_name: 'siteMode', type: { name: 'String' } } } } } end |