Class: Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceSkuProperties
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceSkuProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb
Overview
API Management service resource SKU properties.
Instance Attribute Summary collapse
-
#capacity ⇒ Integer
SKU).
-
#name ⇒ SkuType
‘Developer’, ‘Standard’, ‘Premium’, ‘Basic’, ‘Consumption’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApiManagementServiceSkuProperties class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ Integer
SKU). The default value is 1. Default value: 1 .
21 22 23 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb', line 21 def capacity @capacity end |
#name ⇒ SkuType
‘Developer’, ‘Standard’, ‘Premium’, ‘Basic’, ‘Consumption’
17 18 19 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb', line 17 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for ApiManagementServiceSkuProperties class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 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 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApiManagementServiceSkuProperties', type: { name: 'Composite', class_name: 'ApiManagementServiceSkuProperties', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'capacity', default_value: 1, type: { name: 'Number' } } } } } end |