class Azure::Redis::Mgmt::V2017_02_01::Models::Sku
SKU parameters supplied to the create Redis
operation.
Attributes
capacity[RW]
@return [Integer] The size of the Redis
cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
family[RW]
@return [SkuFamily] The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). Possible values include: 'C', 'P'
name[RW]
@return [SkuName] The type of Redis
cache to deploy. Valid values: (Basic, Standard, Premium). Possible values include: 'Basic', 'Standard', 'Premium'
Public Class Methods
mapper()
click to toggle source
Mapper for Sku
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-02-01/generated/azure_mgmt_redis/models/sku.rb, line 34 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' } }, family: { client_side_validation: true, required: true, serialized_name: 'family', type: { name: 'String' } }, capacity: { client_side_validation: true, required: true, serialized_name: 'capacity', type: { name: 'Number' } } } } } end