Sha256: 8ce34955218b4ded4b85cfe79f35d674657b0988920eb0ff64e675ead270d236

Contents?: true

Size: 1.67 KB

Versions: 6

Compression:

Stored size: 1.67 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::V2017_09_01
  module Models
    #
    # Parameters for a check name availability request.
    #
    class CheckNameAvailabilityParameters

      include MsRestAzure

      # @return [String] The name to check for availability
      attr_accessor :name

      # @return [String] The resource type. Must be set to
      # Microsoft.Batch/batchAccounts. Default value:
      # 'Microsoft.Batch/batchAccounts' .
      attr_accessor :type


      #
      # Mapper for CheckNameAvailabilityParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CheckNameAvailabilityParameters',
          type: {
            name: 'Composite',
            class_name: 'CheckNameAvailabilityParameters',
            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.Batch/batchAccounts',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb
azure_mgmt_batch-0.18.0 lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb
azure_mgmt_batch-0.17.2 lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb
azure_mgmt_batch-0.17.1 lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb
azure_mgmt_batch-0.17.0 lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb
azure_mgmt_batch-0.16.0 lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb