Sha256: ba12b8dacabde5a20f10894b0707e1877738456f5205652a9ee4206792fab056

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

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

      include MsRestAzure

      include MsRest::JSONable
      # @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()
        {
          required: false,
          serialized_name: 'CheckNameAvailabilityParameters',
          type: {
            name: 'Composite',
            class_name: 'CheckNameAvailabilityParameters',
            model_properties: {
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                required: true,
                is_constant: true,
                serialized_name: 'type',
                default_value: 'Microsoft.Batch/batchAccounts',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.12.0 lib/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb