Class: Azure::MediaServices::Mgmt::V2015_10_01::Models::StorageAccount
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2015_10_01::Models::StorageAccount
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb
Overview
The properties of a storage account associated with this resource.
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).
-
#is_primary ⇒ Boolean
account for the Media Service resource.
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 (isPrimary false).
20 21 22 |
# File 'lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb', line 20 def id @id end |
#is_primary ⇒ Boolean
account for the Media Service resource. Blob only storage must set this to false.
25 26 27 |
# File 'lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb', line 25 def is_primary @is_primary end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccount class as Ruby Hash. This will be used for serialization/deserialization.
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 60 |
# File 'lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb', line 32 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: true, serialized_name: 'id', type: { name: 'String' } }, is_primary: { client_side_validation: true, required: true, serialized_name: 'isPrimary', type: { name: 'Boolean' } } } } } end |