Description
Type of issue
Missing information
Feedback
New-AzApplicationGatewayBackendAddressPool
-Name
[-BackendIPAddresses <String[]>]
[-BackendFqdns <String[]>]
[-DefaultProfile ]
[-WhatIf]
[-Confirm]
[]
Description
The New-AzApplicationGatewayBackendAddressPool cmdlet creates a back-end address pool for an Azure application gateway. A back-end address can be specified as an IP address, a fully-qualified domain name (FQDN) or an IP configuration ID.
We have BackendAddressPools defined in production that include .BackendIpConfigurationsText that detail a VM's IP configuration ID.
How do we use New-AzApplicationGatewayBackendAddressPool to reference the VM's NetworkInterfaceIPConfig ID? The option appears to be missing from the cmtlet, New-AzApplicationGatewayBackendAddressPool, and no examples are provided.
(Get-AzNetworkInterfaceIpConfig -NetworkInterface (Get-AzNetworkInterface -ResourceId (Get-AzVm -Name 'myvm').NetworkProfile.NetworkInterfaces.Id)).Id
Thank you.
Page URL
Content source URL
Author
No response
Document Id
No response