Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceRoleSku
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceRoleSku
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_sku.rb
Overview
Describes the cloud service role sku.
Instance Attribute Summary collapse
-
#capacity ⇒ Integer
service.
-
#name ⇒ String
the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
-
#tier ⇒ String
Values are <br /><br /> *Standard* <br /><br /> *Basic*.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CloudServiceRoleSku class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ Integer
service.
26 27 28 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_sku.rb', line 26 def capacity @capacity end |
#name ⇒ String
the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
18 19 20 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_sku.rb', line 18 def name @name end |
#tier ⇒ String
Values are <br /><br /> *Standard* <br /><br /> *Basic*
22 23 24 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_sku.rb', line 22 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for CloudServiceRoleSku class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 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 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_sku.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CloudServiceRoleSku', type: { name: 'Composite', class_name: 'CloudServiceRoleSku', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, serialized_name: 'tier', type: { name: 'String' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'capacity', type: { name: 'Number' } } } } } end |