Get-AzDiskEncryptionSet
Schijfversleutelingssets ophalen of vermelden.
Syntaxis
Default (Standaard)
Get-AzDiskEncryptionSet
[[-ResourceGroupName] <String>]
[[-Name] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Schijfversleutelingssets ophalen of vermelden.
Voorbeelden
Voorbeeld 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 : {}
Schijfversleutelingsset 'enc1' ophalen
Voorbeeld 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 : {}
Haal alle schijfversleutelingssets op in de resourcegroep 'rg1'.
Voorbeeld 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 : {}
Haal alle schijfversleutelingssets op in het abonnement.
Parameters
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Parametereigenschappen
| Type: | IAzureContextContainer |
| Default value: | None |
| Ondersteunt jokertekens: | False |
| DontShow: | False |
| Aliassen: | AzContext, AzureRmContext, AzureCredential |
Parametersets
(All)
| Position: | Named |
| Verplicht: | False |
| Waarde uit pijplijn: | False |
| Waarde uit pijplijn op eigenschapsnaam: | False |
| Waarde van resterende argumenten: | False |
-Name
Naam van schijfversleutelingsset.
Parametereigenschappen
| Type: | String |
| Default value: | None |
| Ondersteunt jokertekens: | False |
| DontShow: | False |
| Aliassen: | DiskEncryptionSetName |
Parametersets
(All)
| Position: | 1 |
| Verplicht: | False |
| Waarde uit pijplijn: | False |
| Waarde uit pijplijn op eigenschapsnaam: | True |
| Waarde van resterende argumenten: | False |
-ResourceGroupName
Hiermee geeft u de naam van een resourcegroep.
Parametereigenschappen
| Type: | String |
| Default value: | None |
| Ondersteunt jokertekens: | True |
| DontShow: | False |
Parametersets
(All)
| Position: | 0 |
| Verplicht: | False |
| Waarde uit pijplijn: | False |
| Waarde uit pijplijn op eigenschapsnaam: | True |
| Waarde van resterende argumenten: | False |
CommonParameters
Deze cmdlet ondersteunt de algemene parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction en -WarningVariable. Zie about_CommonParametersvoor meer informatie.