Get-AzNetworkManagerIpamPoolStaticCidr
Gets Static Cidr(s) in an 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
If given a Static Cidr name, the Get-AzNetworkManagerIpamPoolStaticCidr cmdlet gets that Static Cidr from the given IPAM pool. If no Static Cidr name is given, the Get-AzNetworkManagerIpamPoolStaticCidr cmdlet lists all Static Cidrs from the given IPAM pool.
Examples
Example 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
Gets static Cidr with name 'testStaticCidr'
Example 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
Gets all Static Cidrs present in the testPool.
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 |
-IpamPoolName
The pool resource name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-Name
The resource name.
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-NetworkManagerName
The network manager name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-ResourceGroupName
The resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-ResourceId
The Ipam Pool resource id.
Type: | String |
Aliases: | IpamPoolId |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
Inputs
Outputs
Related Links
Azure PowerShell