Sha256: 42461e9bd37e5c96de3031d989e2ace10e8f0aaf3f7d3c37bbfad127107e6cfc

Contents?: true

Size: 1.62 KB

Versions: 11

Compression:

Stored size: 1.62 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::CDN::Mgmt::V2017_10_12
  module Models
    #
    # Input of CheckNameAvailability API.
    #
    class CheckNameAvailabilityInput

      include MsRestAzure

      # @return [String] The resource name to validate.
      attr_accessor :name

      # @return [String] The type of the resource whose name is to be
      # validated. Default value: 'Microsoft.Cdn/Profiles/Endpoints' .
      attr_accessor :type


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.18.1 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.7 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.6 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.5 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.4 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.3 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.2 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.1 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.17.0 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb
azure_mgmt_cdn-0.16.0 lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb