Sha256: 1f98e0ae9f9036094e6c3cc3dc98cf7c76cb9ee2114b85cc29daded8c9c18dd8

Contents?: true

Size: 1.64 KB

Versions: 19

Compression:

Stored size: 1.64 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::V2016_04_30_preview
  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

19 entries across 19 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.21.1 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.20.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.3 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.2 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.1 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.19.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.7 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.6 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.5 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.4 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.3 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.2 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.1 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.18.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.17.1 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.17.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.16.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
azure_mgmt_compute-0.15.2 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb