Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageAccount

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb

Overview

The storage Account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#containerString

specified for WASB storage accounts.

Returns:

  • (String)

    The container in the storage account, only to be



24
25
26
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 24

def container
  @container
end

#file_systemString

Lake Storage Gen 2.

Returns:

  • (String)

    The filesystem, only to be specified for Azure Data



28
29
30
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 28

def file_system
  @file_system
end

#fileshareString

Returns The file share name.

Returns:

  • (String)

    The file share name.



46
47
48
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 46

def fileshare
  @fileshare
end

#is_defaultBoolean

storage account.

Returns:

  • (Boolean)

    Whether or not the storage account is the default



20
21
22
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 20

def is_default
  @is_default
end

#keyString

Returns The storage account access key.

Returns:

  • (String)

    The storage account access key.



31
32
33
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 31

def key
  @key
end

#msi_resource_idString

the storage account, only to be specified for Azure Data Lake Storage Gen 2.

Returns:

  • (String)

    The managed identity (MSI) that is allowed to access



40
41
42
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 40

def msi_resource_id
  @msi_resource_id
end

#nameString

Returns The name of the storage account.

Returns:

  • (String)

    The name of the storage account.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 16

def name
  @name
end

#resource_idString

specified for Azure Data Lake Storage Gen 2.

Returns:

  • (String)

    The resource ID of storage account, only to be



35
36
37
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 35

def resource_id
  @resource_id
end

#saskeyString

Returns The shared access signature key.

Returns:

  • (String)

    The shared access signature key.



43
44
45
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 43

def saskey
  @saskey
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb', line 53

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccount',
    type: {
      name: 'Composite',
      class_name: 'StorageAccount',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        is_default: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isDefault',
          type: {
            name: 'Boolean'
          }
        },
        container: {
          client_side_validation: true,
          required: false,
          serialized_name: 'container',
          type: {
            name: 'String'
          }
        },
        file_system: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileSystem',
          type: {
            name: 'String'
          }
        },
        key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'key',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        msi_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'msiResourceId',
          type: {
            name: 'String'
          }
        },
        saskey: {
          client_side_validation: true,
          required: false,
          serialized_name: 'saskey',
          type: {
            name: 'String'
          }
        },
        fileshare: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileshare',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end