Sha256: c00004f9e7826c21e546da52806f6ba24b2632fb8f8e623fa75567de2bd76d70

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 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::V2017_03_30
  module Models
    #
    # Describes a reference to Key Vault Secret
    #
    class KeyVaultSecretReference

      include MsRestAzure

      # @return [String] The URL referencing a secret in a Key Vault.
      attr_accessor :secret_url

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


      #
      # Mapper for KeyVaultSecretReference class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'KeyVaultSecretReference',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultSecretReference',
            model_properties: {
              secret_url: {
                required: true,
                serialized_name: 'secretUrl',
                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/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb
azure_mgmt_compute-0.15.0 lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb