Sha256: 3c1f55aced7e047bd2f0285e42f3dd3fc29459c83a959c23378447a0deaf38da

Contents?: true

Size: 1.51 KB

Versions: 2

Compression:

Stored size: 1.51 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::Batch::Mgmt::V2019_04_01
  module Models
    #
    # Identifies the Azure key vault associated with a Batch account.
    #
    class KeyVaultReference

      include MsRestAzure

      # @return [String] The resource ID of the Azure key vault associated with
      # the Batch account.
      attr_accessor :id

      # @return [String] The URL of the Azure key vault associated with the
      # Batch account.
      attr_accessor :url


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2019-04-01/generated/azure_mgmt_batch/models/key_vault_reference.rb
azure_mgmt_batch-0.18.0 lib/2019-04-01/generated/azure_mgmt_batch/models/key_vault_reference.rb