Get-AzDataProtectionResourceGuardMapping
Retourneert het ResourceGuardProxy-object dat is gekoppeld aan de kluis en die overeenkomt met de naam in de aanvraag
Syntaxis
Get-AzDataProtectionResourceGuardMapping
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-VaultName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDataProtectionResourceGuardMapping
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-VaultName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDataProtectionResourceGuardMapping
-InputObject <IDataProtectionIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Retourneert het ResourceGuardProxy-object dat is gekoppeld aan de kluis en die overeenkomt met de naam in de aanvraag
Voorbeelden
Voorbeeld 1: Resource Guard-toewijzing ophalen.
$mapping = Get-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId
$mapping | fl
Description :
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/m
ua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy
LastUpdatedTime : 2023-08-29T07:23:05.1111730Z
Name : DppResourceGuardProxy
ResourceGuardId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuard
s/mua-pstest-resguard
ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail,
Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail}
SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData
Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies
Met deze opdracht wordt de MUA-instelling (resource guard-toewijzing met back-upkluis) opgehaald voor de back-upkluis. De uitvoer van deze opdracht wordt gebruikt om te controleren of MUA is ingeschakeld in de back-upkluis en om de onderliggende resourcebeveiliging te bepalen om de kritieke bewerkingen te beveiligen.
Parameters
-DefaultProfile
De parameter DefaultProfile is niet functioneel. Gebruik de parameter SubscriptionId indien beschikbaar als u de cmdlet uitvoert voor een ander abonnement.
Type: | PSObject |
Aliassen: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Identity Parameter To construct, zie DE SECTIE NOTES voor INPUTOBJECT-eigenschappen en maak een hash-tabel.
Type: | IDataProtectionIdentity |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-ResourceGroupName
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-SubscriptionId
De id van het doelabonnement. De waarde moet een UUID zijn.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-VaultName
De naam van de back-upkluis.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
Uitvoerwaarden
Azure PowerShell