Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AzureContainerInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_info.rb

Overview

Azure container mapping of the endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#container_nameString

this represents the name of Azure Files/Page blob/Block blob).

Returns:

  • (String)

    Container name (Based on the data format specified,



21
22
23
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_info.rb', line 21

def container_name
  @container_name
end

#data_formatAzureContainerDataFormat

represented by the share. Possible values include: ‘BlockBlob’, ‘PageBlob’, ‘AzureFile’

Returns:



26
27
28
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_info.rb', line 26

def data_format
  @data_format
end

#storage_account_credential_idString

storage.

Returns:

  • (String)

    ID of the storage account credential used to access



17
18
19
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_info.rb', line 17

def 
  @storage_account_credential_id
end

Class Method Details

.mapperObject

Mapper for AzureContainerInfo class as Ruby Hash. This will be used for serialization/deserialization.



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
61
62
63
64
65
66
67
68
69
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_info.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureContainerInfo',
    type: {
      name: 'Composite',
      class_name: 'AzureContainerInfo',
      model_properties: {
        storage_account_credential_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'storageAccountCredentialId',
          type: {
            name: 'String'
          }
        },
        container_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'containerName',
          type: {
            name: 'String'
          }
        },
        data_format: {
          client_side_validation: true,
          required: true,
          serialized_name: 'dataFormat',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end