Sha256: aa7faa9b4e5e7b4e0ba11432dfd40cbfb9e32b29b70e28d3abd75ed2d129a837

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

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

module Azure::ARM::Compute
  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.9.0 lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb
azure_mgmt_compute-0.8.0 lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb