class Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku

The billing information of the resource.(e.g. basic vs. standard)

Attributes

capacity[RW]

@return [Integer] Optional, 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.

family[RW]

@return [String] Optional, string. If the service has different generations of hardware, for the same SKU, then that can be captured here.

name[RW]

@return [String] The name of the SKU. This is typically a letter + number code, such as A0 or P3. Required (if sku is specified)

size[RW]

@return [String] Optional, string. When the name field is the combination of tier and some other value, this would be the standalone code.

tier[RW]

@return [SignalRSkuTier] Optional tier of this particular SKU. `Basic` is deprecated, use `Standard` instead for Basic tier. Possible values include: 'Free', 'Basic', 'Standard', 'Premium'

Public Class Methods

mapper() click to toggle source

Mapper for ResourceSku class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource_sku.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceSku',
    type: {
      name: 'Composite',
      class_name: 'ResourceSku',
      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: 'String'
          }
        },
        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