class Azure::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetworkGatewayIpConfiguration

IpConfiguration for Virtual network gateway

Attributes

etag[RW]

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

name[RW]

@return [String] Gets name of the resource that is unique within a resource group. This name can be used to access the resource

private_ipaddress[RW]

@return [String] Gets or sets the privateIPAddress of the Network Interface IP Configuration

private_ipallocation_method[RW]

@return [IpAllocationMethod] Gets or sets PrivateIP allocation method (Static/Dynamic). Possible values include: 'Static', 'Dynamic'

provisioning_state[RW]

@return [String] Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed

public_ipaddress[RW]

@return [SubResource] Gets or sets the reference of the PublicIP resource

subnet[RW]

@return [SubResource] Gets or sets the reference of the subnet resource

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb, line 46
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualNetworkGatewayIpConfiguration',
    type: {
      name: 'Composite',
      class_name: 'VirtualNetworkGatewayIpConfiguration',
      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: 'SubResource'
          }
        },
        public_ipaddress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicIPAddress',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          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,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end