class Azure::Storage::Mgmt::V2018_07_01::Models::Sku
The SKU of the storage account.
Attributes
@return [Array<SKUCapability>] The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
@return [Kind] Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
@return [Array<String>] The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
@return [SkuName] Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS', 'Premium_ZRS'
@return [String] The type of the resource, usually it is 'storageAccounts'.
@return [Array<Restriction>] The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
@return [SkuTier] Gets the SKU tier. This is based on the SKU name. Possible values include: 'Standard', 'Premium'
Public Class Methods
Mapper for Sku class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-07-01/generated/azure_mgmt_storage/models/sku.rb, line 53 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: 'Enum', module: 'SkuName' } }, tier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', type: { name: 'Enum', module: 'SkuTier' } }, resource_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', type: { name: 'Enum', module: 'Kind' } }, locations: { client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, capabilities: { client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SKUCapabilityElementType', type: { name: 'Composite', class_name: 'SKUCapability' } } } }, restrictions: { client_side_validation: true, required: false, serialized_name: 'restrictions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RestrictionElementType', type: { name: 'Composite', class_name: 'Restriction' } } } } } } } end