Share via


EnableMigrationProperties Constructor

Definition

Initializes a new instance of EnableMigrationProperties.

public EnableMigrationProperties (Azure.Core.ResourceIdentifier policyId, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableMigrationProviderSpecificContent providerSpecificDetails);
new Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableMigrationProperties : Azure.Core.ResourceIdentifier * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableMigrationProviderSpecificContent -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableMigrationProperties
Public Sub New (policyId As ResourceIdentifier, providerSpecificDetails As EnableMigrationProviderSpecificContent)

Parameters

policyId
ResourceIdentifier

The policy Id.

providerSpecificDetails
EnableMigrationProviderSpecificContent

The provider specific details. Please note EnableMigrationProviderSpecificContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include VMwareCbtEnableMigrationContent.

Exceptions

policyId or providerSpecificDetails is null.

Applies to