Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#idString

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.

Returns:

  • (String)

    The ID of the storage account resource. Media Services



20
21
22
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb', line 20

def id
  @id
end

#typeStorageAccountType

values include: ‘Primary’, ‘Secondary’

Returns:



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

.mapperObject

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