New-AzFirewallHubPublicIpAddress
Public Ip assoicated to the firewall on virtual hub
Syntax
New-AzFirewallHubPublicIpAddress
[-Count <Int32>]
[-Address <PSAzureFirewallPublicIpAddress[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Public Ip assoicated to the firewall on virtual hub
Examples
Example 1
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
$publicIp1 = New-AzFirewallPublicIpAddress -Address 10.2.3.4
$publicIp2 = New-AzFirewallPublicIpAddress -Address 20.56.37.46
New-AzFirewallHubPublicIpAddress -Count 3 -Address $publicIp1, $publicIp2
This will create 1 new public ip on the firewall by retain $publicIp1, $publicIp2 which are already exist on the firewall.
Parameters
-Address
The Public IP Addresses of the Firewall attached to a hub
Type: | PSAzureFirewallPublicIpAddress[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Count
The count of public Ip addresses
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell