Class: Azure::Batch::Mgmt::V2017_01_01::Models::KeyVaultReference

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb

Overview

Identifies the Azure key vault associated with a Batch account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

the Batch account.

Returns:

  • (String)

    The resource ID of the Azure key vault associated with



17
18
19
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb', line 17

def id
  @id
end

#urlString

Batch account.

Returns:

  • (String)

    The Url of the Azure key vault associated with the



21
22
23
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb', line 21

def url
  @url
end

Class Method Details

.mapperObject

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



28
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
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyVaultReference',
    type: {
      name: 'Composite',
      class_name: 'KeyVaultReference',
      model_properties: {
        id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'url',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end