Class: Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccount
- Inherits:
-
Resource
- Object
- Resource
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccount
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb
Overview
The storage account.
Instance Attribute Summary collapse
-
#access_tier ⇒ AccessTier
BlobStorage.
-
#creation_time ⇒ DateTime
account in UTC.
-
#custom_domain ⇒ CustomDomain
storage account.
-
#enable_https_traffic_only ⇒ Boolean
to true.
-
#encryption ⇒ Encryption
unspecified, the account is unencrypted.
-
#identity ⇒ Identity
The identity of the resource.
-
#kind ⇒ Kind
‘BlobStorage’.
-
#last_geo_failover_time ⇒ DateTime
failover to the secondary location.
-
#network_rule_set ⇒ NetworkRuleSet
Network rule set.
-
#primary_endpoints ⇒ Endpoints
of a public blob, queue, or table object.
-
#primary_location ⇒ String
storage account.
-
#provisioning_state ⇒ ProvisioningState
the time the operation was called.
-
#secondary_endpoints ⇒ Endpoints
of a public blob, queue, or table object from the secondary location of the storage account.
-
#secondary_location ⇒ String
the storage account.
-
#sku ⇒ Sku
Gets the SKU.
-
#status_of_primary ⇒ AccountStatus
location of the storage account is available or unavailable.
-
#status_of_secondary ⇒ AccountStatus
secondary location of the storage account is available or unavailable.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageAccount class as Ruby Hash.
Instance Attribute Details
#access_tier ⇒ AccessTier
BlobStorage. The access tier used for billing. Possible values include: ‘Hot’, ‘Cool’
82 83 84 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 82 def access_tier @access_tier end |
#creation_time ⇒ DateTime
account in UTC.
64 65 66 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 64 def creation_time @creation_time end |
#custom_domain ⇒ CustomDomain
storage account.
68 69 70 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 68 def custom_domain @custom_domain end |
#enable_https_traffic_only ⇒ Boolean
to true. Default value: false .
86 87 88 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 86 def enable_https_traffic_only @enable_https_traffic_only end |
#encryption ⇒ Encryption
unspecified, the account is unencrypted.
77 78 79 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 77 def encryption @encryption end |
#identity ⇒ Identity
Returns The identity of the resource.
23 24 25 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 23 def identity @identity end |
#kind ⇒ Kind
‘BlobStorage’
20 21 22 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 20 def kind @kind end |
#last_geo_failover_time ⇒ DateTime
failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.
49 50 51 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 49 def last_geo_failover_time @last_geo_failover_time end |
#network_rule_set ⇒ NetworkRuleSet
Returns Network rule set.
89 90 91 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 89 def network_rule_set @network_rule_set end |
#primary_endpoints ⇒ Endpoints
of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
33 34 35 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 33 def primary_endpoints @primary_endpoints end |
#primary_location ⇒ String
storage account.
37 38 39 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 37 def primary_location @primary_location end |
#provisioning_state ⇒ ProvisioningState
the time the operation was called. Possible values include: ‘Creating’, ‘ResolvingDNS’, ‘Succeeded’
28 29 30 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 28 def provisioning_state @provisioning_state end |
#secondary_endpoints ⇒ Endpoints
of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.
73 74 75 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 73 def secondary_endpoints @secondary_endpoints end |
#secondary_location ⇒ String
the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
54 55 56 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 54 def secondary_location @secondary_location end |
#sku ⇒ Sku
Returns Gets the SKU.
16 17 18 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 16 def sku @sku end |
#status_of_primary ⇒ AccountStatus
location of the storage account is available or unavailable. Possible values include: ‘available’, ‘unavailable’
42 43 44 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 42 def status_of_primary @status_of_primary end |
#status_of_secondary ⇒ AccountStatus
secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible values include: ‘available’, ‘unavailable’
60 61 62 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 60 def status_of_secondary @status_of_secondary end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccount class as Ruby Hash. This will be used for serialization/deserialization.
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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb', line 96 def self.mapper() { required: false, serialized_name: 'StorageAccount', type: { name: 'Composite', class_name: 'StorageAccount', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, sku: { required: false, read_only: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, kind: { required: false, read_only: true, serialized_name: 'kind', type: { name: 'Enum', module: 'Kind' } }, identity: { required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'Identity' } }, provisioning_state: { required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'ProvisioningState' } }, primary_endpoints: { required: false, read_only: true, serialized_name: 'properties.primaryEndpoints', type: { name: 'Composite', class_name: 'Endpoints' } }, primary_location: { required: false, read_only: true, serialized_name: 'properties.primaryLocation', type: { name: 'String' } }, status_of_primary: { required: false, read_only: true, serialized_name: 'properties.statusOfPrimary', type: { name: 'Enum', module: 'AccountStatus' } }, last_geo_failover_time: { required: false, read_only: true, serialized_name: 'properties.lastGeoFailoverTime', type: { name: 'DateTime' } }, secondary_location: { required: false, read_only: true, serialized_name: 'properties.secondaryLocation', type: { name: 'String' } }, status_of_secondary: { required: false, read_only: true, serialized_name: 'properties.statusOfSecondary', type: { name: 'Enum', module: 'AccountStatus' } }, creation_time: { required: false, read_only: true, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, custom_domain: { required: false, read_only: true, serialized_name: 'properties.customDomain', type: { name: 'Composite', class_name: 'CustomDomain' } }, secondary_endpoints: { required: false, read_only: true, serialized_name: 'properties.secondaryEndpoints', type: { name: 'Composite', class_name: 'Endpoints' } }, encryption: { required: false, read_only: true, serialized_name: 'properties.encryption', type: { name: 'Composite', class_name: 'Encryption' } }, access_tier: { required: false, read_only: true, serialized_name: 'properties.accessTier', type: { name: 'Enum', module: 'AccessTier' } }, enable_https_traffic_only: { required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', default_value: false, type: { name: 'Boolean' } }, network_rule_set: { required: false, read_only: true, serialized_name: 'properties.networkAcls', type: { name: 'Composite', class_name: 'NetworkRuleSet' } } } } } end |