Class: Azure::Storage::Mgmt::V2021_01_01::Models::SkuInformation
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::SkuInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb
Overview
Storage SKU and its properties
Instance Attribute Summary collapse
-
#capabilities ⇒ Array<SKUCapability>
specified SKU, including file encryption, network ACLs, change notification, etc.
-
#kind ⇒ Kind
include: ‘Storage’, ‘StorageV2’, ‘BlobStorage’, ‘FileStorage’, ‘BlockBlobStorage’.
-
#locations ⇒ Array<String>
This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
-
#name ⇒ SkuName
‘Standard_GRS’, ‘Standard_RAGRS’, ‘Standard_ZRS’, ‘Premium_LRS’, ‘Premium_ZRS’, ‘Standard_GZRS’, ‘Standard_RAGZRS’.
-
#resource_type ⇒ String
‘storageAccounts’.
-
#restrictions ⇒ Array<Restriction>
cannot be used.
-
#tier ⇒ SkuTier
Possible values include: ‘Standard’, ‘Premium’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SkuInformation class as Ruby Hash.
Instance Attribute Details
#capabilities ⇒ Array<SKUCapability>
specified SKU, including file encryption, network ACLs, change notification, etc.
40 41 42 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 40 def capabilities @capabilities end |
#kind ⇒ Kind
include: ‘Storage’, ‘StorageV2’, ‘BlobStorage’, ‘FileStorage’, ‘BlockBlobStorage’
30 31 32 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 30 def kind @kind end |
#locations ⇒ Array<String>
This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
35 36 37 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 35 def locations @locations end |
#name ⇒ SkuName
‘Standard_GRS’, ‘Standard_RAGRS’, ‘Standard_ZRS’, ‘Premium_LRS’, ‘Premium_ZRS’, ‘Standard_GZRS’, ‘Standard_RAGZRS’
18 19 20 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 18 def name @name end |
#resource_type ⇒ String
‘storageAccounts’.
25 26 27 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 25 def resource_type @resource_type end |
#restrictions ⇒ Array<Restriction>
cannot be used. This is empty if there are no restrictions.
44 45 46 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 44 def restrictions @restrictions end |
#tier ⇒ SkuTier
Returns Possible values include: ‘Standard’, ‘Premium’.
21 22 23 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 21 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for SkuInformation class as Ruby Hash. This will be used for serialization/deserialization.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/sku_information.rb', line 51 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 |