Class: Azure::BatchAI::Mgmt::V2018_05_01::Models::KeyVaultSecretReference

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-05-01/generated/azure_mgmt_batchai/models/key_vault_secret_reference.rb

Overview

Key Vault Secret reference.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#secret_urlString

Vault.

Returns:

  • (String)

    Secret URL. The URL referencing a secret in the Key



21
22
23
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/key_vault_secret_reference.rb', line 21

def secret_url
  @secret_url
end

#source_vaultResourceId

resource identifier of the Key Vault.

Returns:

  • (ResourceId)

    Key Vault resource identifier. Fully qualified



17
18
19
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/key_vault_secret_reference.rb', line 17

def source_vault
  @source_vault
end

Class Method Details

.mapperObject

Mapper for KeyVaultSecretReference 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
57
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/key_vault_secret_reference.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyVaultSecretReference',
    type: {
      name: 'Composite',
      class_name: 'KeyVaultSecretReference',
      model_properties: {
        source_vault: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sourceVault',
          type: {
            name: 'Composite',
            class_name: 'ResourceId'
          }
        },
        secret_url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'secretUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end