Class: Azure::Batch::Mgmt::V2018_12_01::Models::BatchAccountKeys

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb

Overview

A set of Azure Batch account keys.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#account_nameString

Returns The Batch account name.

Returns:

  • (String)

    The Batch account name.



16
17
18
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb', line 16

def 
  @account_name
end

#primaryString

Returns The primary key associated with the account.

Returns:

  • (String)

    The primary key associated with the account.



19
20
21
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb', line 19

def primary
  @primary
end

#secondaryString

Returns The secondary key associated with the account.

Returns:

  • (String)

    The secondary key associated with the account.



22
23
24
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb', line 22

def secondary
  @secondary
end

Class Method Details

.mapperObject

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



29
30
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
68
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BatchAccountKeys',
    type: {
      name: 'Composite',
      class_name: 'BatchAccountKeys',
      model_properties: {
        account_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'accountName',
          type: {
            name: 'String'
          }
        },
        primary: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'primary',
          type: {
            name: 'String'
          }
        },
        secondary: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'secondary',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end