Get-AzNetworkManagerIpamPool
Obtém o(s) pool(s) do IPAM.
Sintaxe
Get-AzNetworkManagerIpamPool
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerIpamPool
[-Name <String>]
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerIpamPool
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Quando recebe um 'Name', o cmdlet Get-AzNetworkManagerIpamPool obtém esse pool específico do IPAM. Quando não recebe um 'Nome', o cmdlet Get-AzNetworkManagerIpamPool obtém uma lista de pools do IPAM no gerenciador de rede especificado.
Exemplos
Exemplo 1
Get-AzNetworkManagerIpamPool -Name testPool -NetworkManagerName testNM -ResourceGroupName testRG
Location : eastus2euap
Tags : {}
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSIpamPoolProperties
TagsTable :
PropertiesText : {
"ProvisioningState": "Succeeded",
"Description": "",
"DisplayName": "",
"ParentPoolName": "",
"IPAddressType": [
"IPv4"
],
"AddressPrefixes": [
"10.0.0.0/16"
]
}
Name : testPool
ResourceGroupName : testRG
NetworkManagerName : testNM
Type : Microsoft.Network/networkManagers/ipamPools
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-09T14:10:54.2514072Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-09T14:10:54.2514072Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/ipamPools
/testPool
Obtém pool específico do IPAM 'testPool'.
Exemplo 2
Get-AzNetworkManagerIpamPool -NetworkManagerName cusNM -ResourceGroupName testRG
Get-AzNetworkManagerIpamPool -NetworkManagerName cusNM -ResourceGroupName testRG
Location : centralus
Tags : {}
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSIpamPoolProperties
TagsTable :
PropertiesText : {
"ProvisioningState": "Succeeded",
"Description": "",
"DisplayName": "",
"ParentPoolName": "",
"IPAddressType": [
"IPv4"
],
"AddressPrefixes": [
"10.0.0.0/16"
]
}
Name : cusPool
ResourceGroupName : testRG
NetworkManagerName : cusNM
Type : Microsoft.Network/networkManagers/ipamPools
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-11T15:14:17.2421406Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-11T15:14:17.2421406Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/cusNM/ipamPools/cusPool
Location : centralus
Tags : {}
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSIpamPoolProperties
TagsTable :
PropertiesText : {
"ProvisioningState": "Succeeded",
"Description": "",
"DisplayName": "",
"ParentPoolName": "",
"IPAddressType": [
"IPv4"
],
"AddressPrefixes": [
"10.0.0.0/10"
]
}
Name : sm_cus_pool1_0911
ResourceGroupName : testRG
NetworkManagerName : cusNM
Type : Microsoft.Network/networkManagers/ipamPools
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-11T15:50:56.5860251Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-11T15:50:56.5860251Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/cusNM/ipamPools/sm_cus_pool1_0911
Obtém todos os pools do IPAM no gerenciador de rede 'cusNM'.
Parâmetros
-DefaultProfile
As credenciais, a conta, o locatário e a assinatura usados para comunicação com o Azure.
Tipo: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-Name
O nome do recurso.
Tipo: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | True |
-NetworkManagerName
O nome do gestor de rede.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | True |
-ResourceGroupName
O nome do grupo de recursos.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | True |
-ResourceId
A ID do recurso do Pool do IPAM.
Tipo: | String |
Aliases: | IpamPoolId |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | False |
Entradas
Saídas
Ligações Relacionadas
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure PowerShell