Class: Azure::ARM::CognitiveServices::Models::Sku
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::Sku
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_cognitive_services/models/sku.rb
Overview
The SKU of the cognitive services account.
Instance Attribute Summary collapse
-
#name ⇒ SkuName
creation, optional for update.
-
#tier ⇒ SkuTier
Possible values include: ‘Free’, ‘Standard’, ‘Premium’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash.
Instance Attribute Details
#name ⇒ SkuName
creation, optional for update. Possible values include: ‘F0’, ‘S0’, ‘S1’, ‘S2’, ‘S3’, ‘S4’
18 19 20 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/sku.rb', line 18 def name @name end |
#tier ⇒ SkuTier
Possible values include: ‘Free’, ‘Standard’, ‘Premium’
22 23 24 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/sku.rb', line 22 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash. This will be used for serialization/deserialization.
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/generated/azure_mgmt_cognitive_services/models/sku.rb', line 29 def self.mapper() { required: false, serialized_name: 'Sku', type: { name: 'Composite', class_name: 'Sku', model_properties: { name: { required: true, serialized_name: 'name', type: { name: 'Enum', module: 'SkuName' } }, tier: { required: false, read_only: true, serialized_name: 'tier', type: { name: 'Enum', module: 'SkuTier' } } } } } end |