EnableMigrationProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET