class Azure::Appconfiguration::Mgmt::V2020_06_01::Models::CheckNameAvailabilityParameters

Parameters used for checking whether a resource name is available.

Attributes

name[RW]

@return [String] The name to check for availability.

type[RW]

@return [String] The resource type to check for name availability. Default value: 'Microsoft.AppConfiguration/configurationStores' .

Private Class Methods

mapper() click to toggle source

Mapper for CheckNameAvailabilityParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb, line 27
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.AppConfiguration/configurationStores',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end