Get-AzDiskEncryptionSet
Obtenha ou liste conjuntos de criptografia de disco.
Sintaxe
Get-AzDiskEncryptionSet
[[-ResourceGroupName] <String>]
[[-Name] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Obtenha ou liste conjuntos de criptografia de disco.
Exemplos
Exemplo 1
Get-AzDiskEncryptionSet -ResourceGroupName rg1 -Name enc1;
ResourceGroupName : rg1
Identity : Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity
ActiveKey : Microsoft.Azure.Management.Compute.Models.KeyVaultAndKeyReference
PreviousKeys : {}
ProvisioningState : Succeeded
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/enc1
Name : enc1
Type : Microsoft.Compute/diskEncryptionSets
Location : westcentralus
Tags : {}
Obter conjunto de criptografia de disco 'enc1'
Exemplo 2
Get-AzDiskEncryptionSet
ResourceGroupName : rg1
Identity : Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity
ActiveKey : Microsoft.Azure.Management.Compute.Models.KeyVaultAndKeyReference
PreviousKeys : {}
ProvisioningState : Succeeded
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/enc1
Name : enc1
Type : Microsoft.Compute/diskEncryptionSets
Location : westcentralus
Tags : {}
ResourceGroupName : rg1
Identity : Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity
ActiveKey : Microsoft.Azure.Management.Compute.Models.KeyVaultAndKeyReference
PreviousKeys : {}
ProvisioningState : Succeeded
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/enc2
Name : enc2
Type : Microsoft.Compute/diskEncryptionSets
Location : westcentralus
Tags : {}
Obtenha todos os conjuntos de criptografia de disco no grupo de recursos 'rg1'.
Exemplo 3
Get-AzDiskEncryptionSet -ResourceGroupName rg1
ResourceGroupName : rg1
Identity : Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity
ActiveKey : Microsoft.Azure.Management.Compute.Models.KeyVaultAndKeyReference
PreviousKeys : {}
ProvisioningState : Succeeded
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/enc1
Name : enc1
Type : Microsoft.Compute/diskEncryptionSets
Location : westcentralus
Tags : {}
ResourceGroupName : rg1
Identity : Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity
ActiveKey : Microsoft.Azure.Management.Compute.Models.KeyVaultAndKeyReference
PreviousKeys : {}
ProvisioningState : Succeeded
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/enc2
Name : enc2
Type : Microsoft.Compute/diskEncryptionSets
Location : westcentralus
Tags : {}
ResourceGroupName : rg2
Identity : Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity
ActiveKey : Microsoft.Azure.Management.Compute.Models.KeyVaultAndKeyReference
PreviousKeys : {}
ProvisioningState : Succeeded
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/enc3
Name : enc3
Type : Microsoft.Compute/diskEncryptionSets
Location : westcentralus
Tags : {}
Obtenha todos os conjuntos de criptografia de disco na assinatura.
Parâmetros
-DefaultProfile
As credenciais, a conta, o locatário e a assinatura usados para a comunicação com o Azure.
Tipo: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Cargo: | Named |
Valor padrão: | None |
Obrigatório: | False |
Aceitar a entrada de pipeline: | False |
Aceitar caracteres curinga: | False |
-Name
Nome do conjunto de criptografia de disco.
Tipo: | String |
Aliases: | DiskEncryptionSetName |
Cargo: | 1 |
Valor padrão: | None |
Obrigatório: | False |
Aceitar a entrada de pipeline: | True |
Aceitar caracteres curinga: | False |
-ResourceGroupName
Especifica o nome de um grupo de recursos.
Tipo: | String |
Cargo: | 0 |
Valor padrão: | None |
Obrigatório: | False |
Aceitar a entrada de pipeline: | True |
Aceitar caracteres curinga: | True |