你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzNetworkManagerAssociatedResourcesList

获取网络管理器 IPAM 池中关联资源的列表。

语法

ByName (默认值)

Get-AzNetworkManagerAssociatedResourcesList
    -IpamPoolName <String>
    -NetworkManagerName <String>
    -ResourceGroupName <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

ByResourceId

Get-AzNetworkManagerAssociatedResourcesList
    -ResourceId <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

说明

Get-AzNetworkManagerAssociatedResourcesList cmdlet 获取网络管理器 IPAM 池中关联资源的列表。

示例

示例 1

Get-AzNetworkManagerAssociatedResourcesList -IpamPoolName "TestPool" -NetworkManagerName "TestNetworkManager" -ResourceGroupName "TestResourceGroupName"
ResourceId                  : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/virtualNetworks/testvNet
PoolId                      : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool
Description                 :
AddressPrefixes             : {10.0.16.0/20}
ReservedAddressPrefixes     :
TotalNumberOfIPAddresses    : 4096
NumberOfReservedIPAddresses : 0
CreatedAt                   : 10/2/2024 6:29:55 PM
ReservationExpiresAt        :
AddressPrefixesText         : [
                                "10.0.16.0/20"
                              ]
ReservedAddressPrefixesText : null

ResourceId                  : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ipam-test-rg/providers/Microsoft.Network/virtualNetworks/paige-vn
                              et
PoolId                      : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool
Description                 :
AddressPrefixes             : {10.0.8.0/23}
ReservedAddressPrefixes     :
TotalNumberOfIPAddresses    : 512
NumberOfReservedIPAddresses : 0
CreatedAt                   : 10/2/2024 2:37:10 PM
ReservationExpiresAt        :
AddressPrefixesText         : [
                                "10.0.8.0/23"
                              ]
ReservedAddressPrefixesText : null

ResourceId                  : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool/staticCidrs/appleCidr1
PoolId                      : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool
Description                 :
AddressPrefixes             : {10.0.0.0/24}
ReservedAddressPrefixes     :
TotalNumberOfIPAddresses    : 256
NumberOfReservedIPAddresses : 0
CreatedAt                   : 9/9/2024 2:17:36 PM
ReservationExpiresAt        :
AddressPrefixesText         : [
                                "10.0.0.0/24"
                              ]
ReservedAddressPrefixesText : null

获取池中的资源。

参数

-DefaultProfile

用于与 Azure 通信的凭据、帐户、租户和订阅。

参数属性

类型:IAzureContextContainer
默认值:None
支持通配符:False
不显示:False
别名:AzContext, AzureRmContext, AzureCredential

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IpamPoolName

ipamPool 名称。

参数属性

类型:String
默认值:None
支持通配符:True
不显示:False

参数集

ByName
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):True
来自剩余参数的值:False

-NetworkManagerName

networkManager 名称。

参数属性

类型:String
默认值:None
支持通配符:True
不显示:False

参数集

ByName
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):True
来自剩余参数的值:False

-ResourceGroupName

资源组名称。

参数属性

类型:String
默认值:None
支持通配符:True
不显示:False

参数集

ByName
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):True
来自剩余参数的值:False

-ResourceId

Ipam 池资源 ID。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False
别名:IpamPoolId

参数集

ByResourceId
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):True
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

String

输出

List<T>