New-AzFirewallHubIpAddress

Ip addresses assoicated to the firewall on virtual hub

Syntax

New-AzFirewallHubIpAddress
   [-PrivateIPAddress <String>]
   [-PublicIP <PSAzureFirewallHubPublicIpAddresses>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

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

Examples

Example 1

$fwpips = New-AzFirewallHubPublicIpAddress -Count 2
New-AzFirewallHubIpAddress -PublicIP $fwpips

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

Parameters

-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

-PrivateIPAddress

The private Ip Address of the Firewall attached to a Hub

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

-PublicIP

The IP Addresses of the Firewall attached to a hub

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

Inputs

None

Outputs

PSAzureFirewallHubIpAddresses