Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccount

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

Overview

Represents a Storage Account on the Data Box Edge/Gateway device.

Instance Attribute Summary collapse

Attributes inherited from ARMBaseModel

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#blob_endpointString

Returns BlobEndpoint of Storage Account.

Returns:

  • (String)

    BlobEndpoint of Storage Account



31
32
33
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 31

def blob_endpoint
  @blob_endpoint
end

#container_countInteger

Accounts with DataPolicy set to Cloud.

Returns:

  • (Integer)

    The Container Count. Present only for Storage



35
36
37
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 35

def container_count
  @container_count
end

#data_policyDataPolicy

values include: ‘Cloud’, ‘Local’

Returns:

  • (DataPolicy)

    Data policy of the storage Account. Possible



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

def data_policy
  @data_policy
end

#descriptionString

Returns Description for the storage Account.

Returns:

  • (String)

    Description for the storage Account.



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

def description
  @description
end

#storage_account_credential_idString

Returns Storage Account Credential Id.

Returns:

  • (String)

    Storage Account Credential Id



28
29
30
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 28

def 
  @storage_account_credential_id
end

#storage_account_statusStorageAccountStatus

Possible values include: ‘OK’, ‘Offline’, ‘Unknown’, ‘Updating’, ‘NeedsAttention’

Returns:



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

def 
  @storage_account_status
end

Class Method Details

.mapperObject

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



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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 42

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,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        storage_account_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountStatus',
          type: {
            name: 'String'
          }
        },
        data_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataPolicy',
          type: {
            name: 'String'
          }
        },
        storage_account_credential_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountCredentialId',
          type: {
            name: 'String'
          }
        },
        blob_endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.blobEndpoint',
          type: {
            name: 'String'
          }
        },
        container_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.containerCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end