Get-AzDiskEncryptionSet
Abrufen oder Auflisten von Datenträgerverschlüsselungssätzen.
Syntax
Get-AzDiskEncryptionSet
[[-ResourceGroupName] <String>]
[[-Name] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Abrufen oder Auflisten von Datenträgerverschlüsselungssätzen.
Beispiele
Beispiel 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 : {}
Abrufen des Datenträgerverschlüsselungssatzes "enc1"
Beispiel 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 : {}
Rufen Sie alle Datenträgerverschlüsselungssätze in der Ressourcengruppe "rg1" ab.
Beispiel 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 : {}
Rufen Sie alle Datenträgerverschlüsselungssätze im Abonnement ab.
Parameter
-DefaultProfile
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-Name
Name des Datenträgerverschlüsselungssatzes.
Typ: | String |
Aliase: | DiskEncryptionSetName |
Position: | 1 |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-ResourceGroupName
Gibt den Namen einer Ressourcengruppe an.
Typ: | String |
Position: | 0 |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | True |
Eingaben
Ausgaben
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für