New-AzFirewallHubPublicIpAddress
Public Ip assoicated to the firewall on virtual hub
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
New-AzFirewallHubPublicIpAddress
[-Count <Int32>]
[-Addresses <PSAzureFirewallPublicIpAddress[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Public Ip assoicated to the firewall on virtual hub
Examples
Example 1
PS C:\> New-AzFirewallHubPublicIpAddress -Count 2
This will create 2 public ips on the firewall attached to the virtual hub. This will create the ip address in the backend.We cannot provide the ipaddresses explicitly for a new firewall.
Example 2
PS C:\> $publicIp1 = New-AzFirewallPublicIpAddress -Address 10.2.3.4
PS C:\> $publicIp2 = New-AzFirewallPublicIpAddress -Address 20.56.37.46
PS C:\> New-AzFirewallHubPublicIpAddress -Count 3 -Addresses $publicIp1, $publicIp2
This will create 1 new public ip on the firewall by retain $publicIp1, $publicIp2 which are already exist on the firewall.
Parameters
The Public IP Addresses of the Firewall attached to a hub
| Type: | PSAzureFirewallPublicIpAddress[] |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The count of public Ip addresses
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
None