Sha256: 01cb3a896b2c37f73ef0afe111a99ac5b60f32300f6d829a381830ff81a6b6fb

Contents?: true

Size: 1.71 KB

Versions: 2

Compression:

Stored size: 1.71 KB

Contents

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

module Azure::ARM::Logic
  module Models
    #
    # The reference to the key vault key.
    #
    class KeyVaultKeyReference

      include MsRestAzure

      include MsRest::JSONable
      # @return [KeyVaultKeyReferenceKeyVault] The key vault reference.
      attr_accessor :key_vault

      # @return [String] The private key name in key vault.
      attr_accessor :key_name

      # @return [String] The private key version in key vault.
      attr_accessor :key_version


      #
      # 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_vault: {
                required: true,
                serialized_name: 'keyVault',
                type: {
                  name: 'Composite',
                  class_name: 'KeyVaultKeyReferenceKeyVault'
                }
              },
              key_name: {
                required: true,
                serialized_name: 'keyName',
                type: {
                  name: 'String'
                }
              },
              key_version: {
                required: false,
                serialized_name: 'keyVersion',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_logic-0.12.0 lib/generated/azure_mgmt_logic/models/key_vault_key_reference.rb
azure_mgmt_logic-0.11.0 lib/generated/azure_mgmt_logic/models/key_vault_key_reference.rb