Sha256: 293fe0fdc84b42f0d7dfc5385d0baa40f073e47c74e842c924db7e676fcff9b5

Contents?: true

Size: 1.63 KB

Versions: 7

Compression:

Stored size: 1.63 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_03_01
  module Models
    #
    # Key Vault Key Url and vault id of KeK, KeK is optional and when provided
    # is used to unwrap the encryptionKey
    #
    class KeyVaultAndKeyReference

      include MsRestAzure

      # @return [SourceVault] Resource id of the KeyVault containing the key or
      # secret
      attr_accessor :source_vault

      # @return [String] Url pointing to a key or secret in KeyVault
      attr_accessor :key_url


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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.21.1 lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.20.0 lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.3 lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.2 lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.1 lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.0 lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb