Class: Azure::ARM::Compute::Models::VaultCertificate

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_compute/models/vault_certificate.rb

Overview

Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#certificate_storeString

certificate to on Windows, leave empty on Linux.

Returns:

  • (String)

    The Certificate store in LocalMachine to add the



22
23
24
# File 'lib/generated/azure_mgmt_compute/models/vault_certificate.rb', line 22

def certificate_store
  @certificate_store
end

#certificate_urlString

contains a properly formatted certificate.

Returns:

  • (String)

    The URL referencing a secret in a Key Vault which



18
19
20
# File 'lib/generated/azure_mgmt_compute/models/vault_certificate.rb', line 18

def certificate_url
  @certificate_url
end

Class Method Details

.mapperObject

Mapper for VaultCertificate 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
# File 'lib/generated/azure_mgmt_compute/models/vault_certificate.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'VaultCertificate',
    type: {
      name: 'Composite',
      class_name: 'VaultCertificate',
      model_properties: {
        certificate_url: {
          required: false,
          serialized_name: 'certificateUrl',
          type: {
            name: 'String'
          }
        },
        certificate_store: {
          required: false,
          serialized_name: 'certificateStore',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end