Sha256: b00efce54328305f0652a1e976b10b0d46b95c7bd8c5c62fabe6a82d1079b7ca

Contents?: true

Size: 1.66 KB

Versions: 3

Compression:

Stored size: 1.66 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::KeyVault::Mgmt::V2018_02_14_preview
  module Models
    #
    # The parameters used to check the availability of the vault name.
    #
    class VaultCheckNameAvailabilityParameters

      include MsRestAzure

      # @return [String] The vault name.
      attr_accessor :name

      # @return [String] The type of resource, Microsoft.KeyVault/vaults.
      # Default value: 'Microsoft.KeyVault/vaults' .
      attr_accessor :type


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_key_vault-0.17.7 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_check_name_availability_parameters.rb
azure_mgmt_key_vault-0.17.6 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_check_name_availability_parameters.rb
azure_mgmt_key_vault-0.17.5 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_check_name_availability_parameters.rb