Sha256: 3b63c0052bdf3d6416a4a63503f76d5d0ae74ff2c028fda310ee2c954f9a0949

Contents?: true

Size: 1.67 KB

Versions: 2

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::V2019_04_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

2 entries across 2 versions & 1 rubygems

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