Get-AzRecoveryServicesAsrProtectionContainerMapping
Azure Site Recovery Protection Kapsayıcı eşlemelerini alır.
Syntax
Get-AzRecoveryServicesAsrProtectionContainerMapping
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrProtectionContainerMapping
-Name <String>
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzRecoveryServicesAsrProtectionContainerMapping cmdlet'i, belirtilen ASR koruma kapsayıcısı için kasadaki çoğaltma ilkesi eşlemelerine (ilişkilendirmeye) yönelik koruma kapsayıcısı hakkında bilgi alır.
Örnekler
Örnek 1
$ProtectionContainerMappings = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container
Kapsayıcı için koruma kapsayıcısı eşlemelerinin listesi.
Örnek 2
$ProtectionContainerMappings = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container -Name $PrimaryProtectionContainerMapping
Name : pcmmapping
ID : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/IbizaV2ATest/replicationFabrics/d011a5abf48190235963ee3a88ad188ee6bca8a4c6cd0c8d7ce5d439aa77ffd9/replica
tionProtectionContainers/cloud_5dc96260-9f00-42e4-aca7-24ad27fc2078/replicationProtectionContainerMappings/pcmmapping
Health : Normal
HealthErrorDetails : {}
PolicyFriendlyName : V2aTestPolicy
PolicyId : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/IbizaV2ATest/replicationPolicies/V2aTestPolicy
SourceFabricFriendlyName : V2A-W2K12-400
SourceProtectionContainerFriendlyName : V2A-W2K12-400
State : Paired
TargetFabricFriendlyName : Microsoft Azure
TargetProtectionContainerFriendlyName : Microsoft Azure
TargetProtectionContainerId : Microsoft Azure
Belirtilen koruma kapsayıcısı için tüm koruma kapsayıcısı eşlemelerini alır.
Parametreler
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Alınacak koruma kapsayıcısı eşlemesinin adını belirtir.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProtectionContainer
Belirtilen ASR koruma kapsayıcı nesnesine karşılık gelen koruma kapsayıcısı eşlemelerini alın.
Type: | ASRProtectionContainer |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Girişler
Çıkışlar
İlişkili Bağlantılar
Azure PowerShell
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin