Sha256: a090e72ff2aa5035c056e81565b69855b4822aca3e4af4ca20443ba181cf0e80

Contents?: true

Size: 1.55 KB

Versions: 5

Compression:

Stored size: 1.55 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2019_12_01
  module Models
    #
    # Describes a reference to Key Vault Key
    #
    class KeyVaultKeyReference

      include MsRestAzure

      # @return [String] The URL referencing a key encryption key in Key Vault.
      attr_accessor :key_url

      # @return [SubResource] The relative URL of the Key Vault containing the
      # key.
      attr_accessor :source_vault


      #
      # Mapper for KeyVaultKeyReference class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'KeyVaultKeyReference',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultKeyReference',
            model_properties: {
              key_url: {
                client_side_validation: true,
                required: true,
                serialized_name: 'keyUrl',
                type: {
                  name: 'String'
                }
              },
              source_vault: {
                client_side_validation: true,
                required: true,
                serialized_name: 'sourceVault',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb
azure_mgmt_compute-0.21.1 lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb
azure_mgmt_compute-0.20.0 lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb
azure_mgmt_compute-0.19.3 lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb
azure_mgmt_compute-0.19.2 lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb