Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountCredential

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

Overview

The storage account credential.

Instance Attribute Summary collapse

Attributes inherited from ARMBaseModel

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#account_keyAsymmetricEncryptedSecret



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

def 
  @account_key
end

#account_typeAccountType

Possible values include: ‘GeneralPurposeStorage’, ‘BlobStorage’



37
38
39
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential.rb', line 37

def 
  @account_type
end

#alias_propertyString



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

def alias_property
  @alias_property
end

#blob_domain_nameString



33
34
35
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential.rb', line 33

def blob_domain_name
  @blob_domain_name
end

#connection_stringString

string if username and account key are not specified.



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

def connection_string
  @connection_string
end

#ssl_statusSSLStatus

Possible values include: ‘Enabled’, ‘Disabled’



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

def ssl_status
  @ssl_status
end

#storage_account_idString



40
41
42
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential.rb', line 40

def 
  
end

#user_nameString



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential.rb', line 19

def user_name
  @user_name
end

Class Method Details

.mapperObject

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



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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccountCredential',
    type: {
      name: 'Composite',
      class_name: 'StorageAccountCredential',
      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'
          }
        },
        alias_property: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.alias',
          type: {
            name: 'String'
          }
        },
        user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.userName',
          type: {
            name: 'String'
          }
        },
        account_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accountKey',
          type: {
            name: 'Composite',
            class_name: 'AsymmetricEncryptedSecret'
          }
        },
        connection_string: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.connectionString',
          type: {
            name: 'String'
          }
        },
        ssl_status: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sslStatus',
          type: {
            name: 'String'
          }
        },
        blob_domain_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.blobDomainName',
          type: {
            name: 'String'
          }
        },
        account_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.accountType',
          type: {
            name: 'String'
          }
        },
        storage_account_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end