Sha256: 8e36d01c63c52a4f2fcc758f9a86261a58dcf6971240d8a4a6a1cd9ed5e578c2

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 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
    #
    # Describes a reference to Key Vault Key
    #
    class KeyVaultKeyReference

      include MsRestAzure

      # @return [String] The URL referencing a key in a 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()
        {
          required: false,
          serialized_name: 'KeyVaultKeyReference',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultKeyReference',
            model_properties: {
              key_url: {
                required: true,
                serialized_name: 'keyUrl',
                type: {
                  name: 'String'
                }
              },
              source_vault: {
                required: true,
                serialized_name: 'sourceVault',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.15.1 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb
azure_mgmt_compute-0.15.0 lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb