Common::AddressPort

Introduced : BIG-IP_v9.0
A struct that describes an address object name/port pair.
Member Type Description
address String The address object name, .e.g., virtual address or node address.
port long The port number.

See Also

Powershell Example:
Function Create-AddressStruct {
<#
.NOTES

    Author:   Colyn Via
    Date:      04/07/2015

#>
    Param
    (
         [Parameter(mandatory=$true)]
         [string]
         $Address,

         [Parameter(mandatory=$true)]
         [int]
         $Port
    )

    $Object = New-Object -TypeName iControl.CommonAddressPort
    $Object.address = $Address
    $Object.port = $Port

    Return $Object
}

Create-AddressStruct -Address "192.168.25.25" -Port "443"

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.