Partilhar via


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryPolicyProperties Método

Definição

Inicializa uma nova instância de SiteRecoveryPolicyProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPolicyProperties SiteRecoveryPolicyProperties (string friendlyName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PolicyProviderSpecificDetails providerSpecificDetails = default);
static member SiteRecoveryPolicyProperties : string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PolicyProviderSpecificDetails -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPolicyProperties
Public Shared Function SiteRecoveryPolicyProperties (Optional friendlyName As String = Nothing, Optional providerSpecificDetails As PolicyProviderSpecificDetails = Nothing) As SiteRecoveryPolicyProperties

Parâmetros

friendlyName
String

O FriendlyName.

providerSpecificDetails
PolicyProviderSpecificDetails

O ReplicationChannelSetting. PolicyProviderSpecificDetails Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem A2APolicyDetails, HyperVReplicaPolicyDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaBasePolicyDetails, InMagePolicyDetails, InMageAzureV2PolicyDetails, InMageBasePolicyDetails, InMageRcmFailbackPolicyDetailsInMageRcmPolicyDetailse VMwareCbtPolicyDetails.

Retornos

Uma nova SiteRecoveryPolicyProperties instância para simulação.

Aplica-se a