class Azure::CDN::Mgmt::V2020_04_15::Models::KeyVaultCertificateSourceParameters

Describes the parameters for using a user's KeyVault certificate for securing custom domain.

Attributes

delete_rule[RW]

@return [String] Describes the action that shall be taken when the certificate is removed from Key Vault. Default value: 'NoAction' .

odatatype[RW]

@return [String] . Default value: '#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters' .

resource_group_name[RW]

@return [String] Resource group of the user's Key Vault containing the SSL certificate

secret_name[RW]

@return [String] The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.

secret_version[RW]

@return [String] The version(GUID) of Key Vault Secret in Key Vault.

subscription_id[RW]

@return [String] Subscription Id of the user's Key Vault containing the SSL certificate

update_rule[RW]

@return [String] Describes the action that shall be taken when the certificate is updated in Key Vault. Default value: 'NoAction' .

vault_name[RW]

@return [String] The name of the user's Key Vault containing the SSL certificate

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-04-15/generated/azure_mgmt_cdn/models/key_vault_certificate_source_parameters.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyVaultCertificateSourceParameters',
    type: {
      name: 'Composite',
      class_name: 'KeyVaultCertificateSourceParameters',
      model_properties: {
        odatatype: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: '@odata\\.type',
          default_value: '#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters',
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'subscriptionId',
          type: {
            name: 'String'
          }
        },
        resource_group_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'resourceGroupName',
          type: {
            name: 'String'
          }
        },
        vault_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'vaultName',
          type: {
            name: 'String'
          }
        },
        secret_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'secretName',
          type: {
            name: 'String'
          }
        },
        secret_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'secretVersion',
          type: {
            name: 'String'
          }
        },
        update_rule: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'updateRule',
          default_value: 'NoAction',
          type: {
            name: 'String'
          }
        },
        delete_rule: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'deleteRule',
          default_value: 'NoAction',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end