Class: Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountWithAccountParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb

Overview

The parameters used to add a new Azure Storage account while creating a new Data Lake Analytics account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_keyString

account that will be used to connect to it.

Returns:

  • (String)

    The access key associated with this Azure Storage



21
22
23
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb', line 21

def access_key
  @access_key
end

#nameString

Returns The unique name of the Azure Storage account to add.

Returns:

  • (String)

    The unique name of the Azure Storage account to add.



17
18
19
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb', line 17

def name
  @name
end

#suffixString

Returns The optional suffix for the storage account.

Returns:

  • (String)

    The optional suffix for the storage account.



24
25
26
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb', line 24

def suffix
  @suffix
end

Class Method Details

.mapperObject

Mapper for AddStorageAccountWithAccountParameters 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
60
61
62
63
64
65
66
67
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AddStorageAccountWithAccountParameters',
    type: {
      name: 'Composite',
      class_name: 'AddStorageAccountWithAccountParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        access_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.accessKey',
          type: {
            name: 'String'
          }
        },
        suffix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.suffix',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end