class Azure::Network::Mgmt::V2020_06_01::Models::HubIpConfiguration

IpConfigurations.

Attributes

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

name[RW]

@return [String] Name of the Ip Configuration.

private_ipaddress[RW]

@return [String] The private IP address of the IP configuration.

private_ipallocation_method[RW]

@return [IPAllocationMethod] The private IP address allocation method. Possible values include: 'Static', 'Dynamic'

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

public_ipaddress[RW]

@return [PublicIPAddress] The reference to the public IP resource.

subnet[RW]

@return [Subnet] The reference to the subnet resource.

type[RW]

@return [String] Ipconfiguration type.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01/generated/azure_mgmt_network/models/hub_ip_configuration.rb, line 48
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HubIpConfiguration',
    type: {
      name: 'Composite',
      class_name: 'HubIpConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        private_ipaddress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privateIPAddress',
          type: {
            name: 'String'
          }
        },
        private_ipallocation_method: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privateIPAllocationMethod',
          type: {
            name: 'String'
          }
        },
        subnet: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subnet',
          type: {
            name: 'Composite',
            class_name: 'Subnet'
          }
        },
        public_ipaddress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicIPAddress',
          type: {
            name: 'Composite',
            class_name: 'PublicIPAddress'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end