Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
Overview
The storage account details.
Instance Attribute Summary collapse
-
#id ⇒ String
relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage).
-
#type ⇒ StorageAccountType
values include: ‘Primary’, ‘Secondary’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageAccount class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb', line 20 def id @id end |
#type ⇒ StorageAccountType
values include: ‘Primary’, ‘Secondary’
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb', line 24 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccount class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { name: 'Composite', class_name: 'StorageAccount', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } } } } } end |