# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Storage::Mgmt::V2019_06_01 module Models # # Storage SKU and its properties # class SkuInformation include MsRestAzure # @return [SkuName] Possible values include: 'Standard_LRS', # 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS', # 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS' attr_accessor :name # @return [SkuTier] Possible values include: 'Standard', 'Premium' attr_accessor :tier # @return [String] The type of the resource, usually it is # 'storageAccounts'. attr_accessor :resource_type # @return [Kind] Indicates the type of storage account. Possible values # include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', # 'BlockBlobStorage' attr_accessor :kind # @return [Array] 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.). attr_accessor :locations # @return [Array] The capability information in the # specified SKU, including file encryption, network ACLs, change # notification, etc. attr_accessor :capabilities # @return [Array] The restrictions because of which SKU # cannot be used. This is empty if there are no restrictions. attr_accessor :restrictions # # Mapper for SkuInformation class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SkuInformation', type: { name: 'Composite', class_name: 'SkuInformation', 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' } }, 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: 'String' } }, 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 end end end