Sha256: 4757234b8b5cc2da10dc211e84f00d023b0accc43479c36cae4ceaa65110a251

Contents?: true

Size: 1.59 KB

Versions: 6

Compression:

Stored size: 1.59 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::V2019_11_01
  module Models
    #
    # Key Vault Secret Url and vault id of the encryption key
    #
    class KeyVaultAndSecretReference

      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 :secret_url


      #
      # Mapper for KeyVaultAndSecretReference class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'KeyVaultAndSecretReference',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultAndSecretReference',
            model_properties: {
              source_vault: {
                client_side_validation: true,
                required: true,
                serialized_name: 'sourceVault',
                type: {
                  name: 'Composite',
                  class_name: 'SourceVault'
                }
              },
              secret_url: {
                client_side_validation: true,
                required: true,
                serialized_name: 'secretUrl',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb
azure_mgmt_compute-0.21.1 lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb
azure_mgmt_compute-0.20.0 lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb
azure_mgmt_compute-0.19.3 lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb
azure_mgmt_compute-0.19.2 lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb
azure_mgmt_compute-0.19.1 lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb