New-AzFirewallHubIpAddress

Ip addresses 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-AzFirewallHubIpAddress
   [-PrivateIPAddress <String>]
   [-PublicIPs <PSAzureFirewallHubPublicIpAddresses>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Ip addresses assoicated to the firewall on virtual hub. These can be public and private addresses

Examples

Example 1

PS C:\> $fwpips = New-AzFirewallHubPublicIpAddress -Count 2
PS C:\> New-AzFirewallHubIpAddress -PublicIPs $fwpips

This example creates a Hub Ip address object with a count of 2 public IPs. The HubIPAddress object is ssociated to the firewall on the virtual hub.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False
-PrivateIPAddress

The private Ip Address of the Firewall attached to a Hub

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PublicIPs

The IP Addresses of the Firewall attached to a hub

Type:PSAzureFirewallHubPublicIpAddresses
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSAzureFirewallHubIpAddresses