Sha256: e679fbc5238e8ea1ba2ed891a917ba857cd26432aef37e9602eb37c016472cd0

Contents?: true

Size: 1.56 KB

Versions: 5

Compression:

Stored size: 1.56 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::Redis::Mgmt::V2018_03_01
  module Models
    #
    # Parameters body to pass for resource name availability check.
    #
    class CheckNameAvailabilityParameters

      include MsRestAzure

      # @return [String] Resource name.
      attr_accessor :name

      # @return [String] Resource type. The only legal value of this property
      # for checking redis cache name availability is 'Microsoft.Cache/redis'.
      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,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_redis-0.17.4 lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb
azure_mgmt_redis-0.17.3 lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb
azure_mgmt_redis-0.17.2 lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb
azure_mgmt_redis-0.17.1 lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb
azure_mgmt_redis-0.17.0 lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb