class Azure::Batch::Mgmt::V2019_04_01::Models::BatchAccountKeys

A set of Azure Batch account keys.

Attributes

account_name[RW]

@return [String] The Batch account name.

primary[RW]

@return [String] The primary key associated with the account.

secondary[RW]

@return [String] The secondary key associated with the account.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-04-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