class Azure::HybridCompute::Mgmt::V2019_12_12::Models::Sku
The resource model definition representing SKU
Attributes
@return [Integer] If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
@return [String] If the service has different generations of hardware, for the same SKU, then that can be captured here.
@return [String] The name of the SKU. Ex - P3. It is typically a letter+number code
@return [String] The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
@return [SkuTier] This field is required to be implemented by the Resource
Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
Public Class Methods
Mapper for Sku
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/sku.rb, line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Sku', type: { name: 'Composite', class_name: 'Sku', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, serialized_name: 'tier', type: { name: 'Enum', module: 'SkuTier' } }, size: { client_side_validation: true, required: false, serialized_name: 'size', type: { name: 'String' } }, family: { client_side_validation: true, required: false, serialized_name: 'family', type: { name: 'String' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'capacity', type: { name: 'Number' } } } } } end