Sha256: ac95213c5074fae067735268616b39e20ea0f1cf7d54fbe49c149382b8f60e27

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.7.0 lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb
azure_mgmt_compute-0.6.0 lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb
azure_mgmt_compute-0.5.0 lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb
azure_mgmt_compute-0.4.0 lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb