Sha256: 1ecb1b0fca78d6c82ecad9907ddc67347f08faacaa1740b84bcd7699f963cb63

Contents?: true

Size: 1.88 KB

Versions: 33

Compression:

Stored size: 1.88 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::Network::Mgmt::V2017_11_01
  module Models
    #
    # Response for CheckIPAddressAvailability API service call
    #
    class IPAddressAvailabilityResult

      include MsRestAzure

      # @return [Boolean] Private IP address availability.
      attr_accessor :available

      # @return [Array<String>] Contains other available private IP addresses
      # if the asked for address is taken.
      attr_accessor :available_ipaddresses


      #
      # Mapper for IPAddressAvailabilityResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IPAddressAvailabilityResult',
          type: {
            name: 'Composite',
            class_name: 'IPAddressAvailabilityResult',
            model_properties: {
              available: {
                client_side_validation: true,
                required: false,
                serialized_name: 'available',
                type: {
                  name: 'Boolean'
                }
              },
              available_ipaddresses: {
                client_side_validation: true,
                required: false,
                serialized_name: 'availableIPAddresses',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.5 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.4 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.3 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.2 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.1 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.0 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.17.4 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.17.3 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.17.2 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.17.1 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.17.0 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.16.0 lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb