New-AzFirewallHubIpAddress
Ip addresses associated to the firewall on virtual hub
Syntax
Default (Default)
New-AzFirewallHubIpAddress
[-PrivateIPAddress <String>]
[-PublicIP <PSAzureFirewallHubPublicIpAddresses>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Ip addresses associated 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.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-PrivateIPAddress
The private Ip Address of the Firewall attached to a Hub
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-PublicIP
The IP Addresses of the Firewall attached to a hub
Parameter properties
| Type: | PSAzureFirewallHubPublicIpAddresses |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.