Get-AzNetworkProfile
Obtém um recurso de nível superior de perfil de rede existente
Sintaxe
Get-AzNetworkProfile
[-ResourceGroupName <String>]
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkProfile
-ResourceGroupName <String>
-Name <String>
-ExpandResource <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkProfile
-ResourceId <String>
-ExpandResource <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkProfile
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
O cmdlet Get-AzNetworkProfile recupera um recurso de nível superior de perfil de rede existente
Exemplos
Exemplo 1
$networkProfile = Get-AzNetworkProfile -Name np1 -ResourceGroupName rg1
ProvisioningState : Succeeded
ContainerNetworkInterfaces : {}
ContainerNetworkInterfaceConfigurations : {}
ContainerNetworkInterfacesText : []
ContainerNetworkInterfaceConfigurationsText : []
ResourceGroupName : rg1
Location : westus
ResourceGuid : 00000000-0000-0000-0000-000000000000
Type : Microsoft.Network/networkProfiles
Tag :
TagsTable :
Name : np1
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1
/providers/Microsoft.Network/networkProfiles/np1
Isso recupera o perfil de rede np1 no grupo de recursos rg1
Exemplo 2
$networkProfile = Get-AzNetworkProfile -Name np*
ProvisioningState : Succeeded
ContainerNetworkInterfaces : {}
ContainerNetworkInterfaceConfigurations : {}
ContainerNetworkInterfacesText : []
ContainerNetworkInterfaceConfigurationsText : []
ResourceGroupName : rg1
Location : westus
ResourceGuid : 00000000-0000-0000-0000-000000000000
Type : Microsoft.Network/networkProfiles
Tag :
TagsTable :
Name : np1
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1
/providers/Microsoft.Network/networkProfiles/np1
ProvisioningState : Succeeded
ContainerNetworkInterfaces : {}
ContainerNetworkInterfaceConfigurations : {}
ContainerNetworkInterfacesText : []
ContainerNetworkInterfaceConfigurationsText : []
ResourceGroupName : rg1
Location : westus
ResourceGuid : 00000000-0000-0000-0000-000000000000
Type : Microsoft.Network/networkProfiles
Tag :
TagsTable :
Name : np2
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1
/providers/Microsoft.Network/networkProfiles/np2
Isso recupera os perfis de rede que começam com "np"
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 |
-ExpandResource
A referência de recurso a ser expandida.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | False |
-Name
O nome do perfil de rede.
Tipo: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | True |
-ResourceGroupName
O nome do grupo de recursos do perfil de rede.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | True |
-ResourceId
A ID do gerenciador de recursos do Azure do perfil de rede.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | False |