Sha256: 254511deb675390b632a90b0f43ad433e29df601ed4460be92f853d324e96772

Contents?: true

Size: 1.88 KB

Versions: 34

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

34 entries across 34 versions & 2 rubygems

Version Path
azure_mgmt_network2-0.27.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network2-0.26.1 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.26.1 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.26.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.25.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.24.1 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.24.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.23.4 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.23.3 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.23.2 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.23.1 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.23.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.22.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.21.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.20.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.19.1 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.19.0 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.9 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.8 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb
azure_mgmt_network-0.18.7 lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb