Get-AzApplicationSecurityGroup
Obtém um grupo de segurança de aplicativo.
Sintaxe
Get-AzApplicationSecurityGroup
[-ResourceGroupName <String>]
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
O cmdlet Get-AzApplicationSecurityGroup obtém um grupo de segurança de aplicativo.
Exemplos
Exemplo 1: Recuperar todos os grupos de segurança do aplicativo.
Get-AzApplicationSecurityGroup
ProvisioningState : Succeeded
ResourceGroupName : MyResourceGroup
Location : southcentralus
ResourceGuid :
Type : Microsoft.Network/applicationSecurityGroups
Tag : {}
TagsTable :
Name : MyApplicationSecurityGroup1
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsof
t.Network/applicationSecurityGroups/MyApplicationSecurityGroup1
ProvisioningState : Succeeded
ResourceGroupName : MyResourceGroup
Location : southcentralus
ResourceGuid :
Type : Microsoft.Network/applicationSecurityGroups
Tag : {}
TagsTable :
Name : MyApplicationSecurityGroup2
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsof
t.Network/applicationSecurityGroups/MyApplicationSecurityGroup2
O comando acima retorna todos os grupos de segurança do aplicativo na assinatura.
Exemplo 2: Recuperar grupos de segurança de aplicativos em um grupo de recursos.
Get-AzApplicationSecurityGroup -ResourceGroupName MyResourceGroup
ProvisioningState : Succeeded
ResourceGroupName : MyResourceGroup
Location : southcentralus
ResourceGuid :
Type : Microsoft.Network/applicationSecurityGroups
Tag : {}
TagsTable :
Name : MyApplicationSecurityGroup1
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsof
t.Network/applicationSecurityGroups/MyApplicationSecurityGroup1
ProvisioningState : Succeeded
ResourceGroupName : MyResourceGroup
Location : southcentralus
ResourceGuid :
Type : Microsoft.Network/applicationSecurityGroups
Tag : {}
TagsTable :
Name : MyApplicationSecurityGroup2
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsof
t.Network/applicationSecurityGroups/MyApplicationSecurityGroup2
O comando acima retorna todos os grupos de segurança de aplicativos que pertencem ao grupo de recursos MyResourceGroup.
Exemplo 3: Recuperar um grupo de segurança de aplicativo específico.
Get-AzApplicationSecurityGroup -ResourceGroupName MyResourceGroup -Name MyApplicationSecurityGroup1
ProvisioningState : Succeeded
ResourceGroupName : MyResourceGroup
Location : southcentralus
ResourceGuid :
Type : Microsoft.Network/applicationSecurityGroups
Tag : {}
TagsTable :
Name : MyApplicationSecurityGroup1
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsof
t.Network/applicationSecurityGroups/MyApplicationSecurityGroup1
O comando acima retorna o grupo de segurança do aplicativo MyApplicationSecurityGroup no grupo de recursos MyResourceGroup.
Exemplo 4: Recuperar grupos de segurança de aplicativos usando filtragem.
Get-AzApplicationSecurityGroup -Name MyApplicationSecurityGroup*
ProvisioningState : Succeeded
ResourceGroupName : MyResourceGroup
Location : southcentralus
ResourceGuid :
Type : Microsoft.Network/applicationSecurityGroups
Tag : {}
TagsTable :
Name : MyApplicationSecurityGroup1
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsof
t.Network/applicationSecurityGroups/MyApplicationSecurityGroup1
ProvisioningState : Succeeded
ResourceGroupName : MyResourceGroup
Location : southcentralus
ResourceGuid :
Type : Microsoft.Network/applicationSecurityGroups
Tag : {}
TagsTable :
Name : MyApplicationSecurityGroup2
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsof
t.Network/applicationSecurityGroups/MyApplicationSecurityGroup2
O comando acima retorna todos os grupos de segurança de aplicativos que começam com "MyApplicationSecurityGroup".
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 |
-ResourceGroupName
O nome do grupo de recursos.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | True |
Entradas
Saídas
Ligações Relacionadas
Azure PowerShell