Udostępnij za pośrednictwem


EnableMigrationProperties Class

Definition

Enable migration input properties.

public class EnableMigrationProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableMigrationProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableMigrationProperties>
type EnableMigrationProperties = class
    interface IJsonModel<EnableMigrationProperties>
    interface IPersistableModel<EnableMigrationProperties>
Public Class EnableMigrationProperties
Implements IJsonModel(Of EnableMigrationProperties), IPersistableModel(Of EnableMigrationProperties)
Inheritance
EnableMigrationProperties
Implements

Constructors

EnableMigrationProperties(ResourceIdentifier, EnableMigrationProviderSpecificContent)

Initializes a new instance of EnableMigrationProperties.

Properties

PolicyId

The policy Id.

ProviderSpecificDetails

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.

Explicit Interface Implementations

IJsonModel<EnableMigrationProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EnableMigrationProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EnableMigrationProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EnableMigrationProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EnableMigrationProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to