Get-AzNetworkManagerIpamPoolStaticCidr
Hämtar static Cidr(er) i en IPAM-pool.
Syntax
Get-AzNetworkManagerIpamPoolStaticCidr
-NetworkManagerName <String>
-ResourceGroupName <String>
-IpamPoolName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerIpamPoolStaticCidr
[-Name <String>]
-NetworkManagerName <String>
-ResourceGroupName <String>
-IpamPoolName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerIpamPoolStaticCidr
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Om du får ett Static Cidr-namn hämtar cmdleten Get-AzNetworkManagerIpamPoolStaticCidr den statiska Cidr från den angivna IPAM-poolen. Om inget Static Cidr-namn anges visar cmdleten Get-AzNetworkManagerIpamPoolStaticCidr alla Static Cidrs från den angivna IPAM-poolen.
Exempel
Exempel 1
Get-AzNetworkManagerIpamPoolStaticCidr -Name testStaticCidr -NetworkManagerName testNM -ResourceGroupName testRG -IpamPoolName testPool
Name : testStaticCidr
PoolName : testPool
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSStaticCidrProperties
Type : Microsoft.Network/networkManagers/ipamPools/staticCidrs
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedAt": "2024-08-09T15:41:45.4596243Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/ipamPools
/testPool/staticCidrs/testStaticCidr
Hämtar statisk Cidr med namnet "testStaticCidr"
Exempel 2
Get-AzNetworkManagerIpamPoolStaticCidr -NetworkManagerName testNM -ResourceGroupName testRG -IpamPoolName testPool
Name : New
PoolName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSStaticCidrProperties
Type : Microsoft.Network/networkManagers/ipamPools/staticCidrs
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedAt": "2024-08-09T16:14:26.6711721Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/ipamPools
/testPool/staticCidrs/New
Name : New2
PoolName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSStaticCidrProperties
Type : Microsoft.Network/networkManagers/ipamPools/staticCidrs
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedAt": "2024-08-09T16:21:25.6566499Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/ipamPools
/testPool/staticCidrs/New2
Name : On-Prem
PoolName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSStaticCidrProperties
Type : Microsoft.Network/networkManagers/ipamPools/staticCidrs
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedAt": "2024-08-02T01:37:35.4681441Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/ipamPools
/testPool/staticCidrs/On-Prem
Hämtar alla Static Cidrs som finns i testPoolen.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-IpamPoolName
Namnet på poolresursen.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-Name
Resursnamnet.
Typ: | String |
Alias: | ResourceName |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-NetworkManagerName
Namnet på nätverkshanteraren.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-ResourceGroupName
Resursgruppens namn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-ResourceId
Resurs-ID:t för Ipam-poolen.
Typ: | String |
Alias: | IpamPoolId |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
Indata
Utdata
Relaterade länkar
Azure PowerShell