Udostępnij za pośrednictwem


UpdateReplicationProtectedItemProperties Class

Definition

Update protected item input properties.

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

Constructors

UpdateReplicationProtectedItemProperties()

Initializes a new instance of UpdateReplicationProtectedItemProperties.

Properties

EnableRdpOnTargetOption

The selected option to enable RDP\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.

LicenseType

License type.

ProviderSpecificDetails

The provider specific input to update replication protected item. Please note UpdateReplicationProtectedItemProviderContent 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 A2AUpdateReplicationProtectedItemContent, HyperVReplicaAzureUpdateReplicationProtectedItemContent, InMageAzureV2UpdateReplicationProtectedItemContent and InMageRcmUpdateReplicationProtectedItemContent.

RecoveryAvailabilitySetId

The target availability set Id.

RecoveryAzureVmName

Target Azure VM name given by the user.

RecoveryAzureVmSize

Target Azure VM size.

SelectedRecoveryAzureNetworkId

Target Azure Network Id.

SelectedSourceNicId

The selected source nic Id which will be used as the primary nic during failover.

SelectedTfoAzureNetworkId

The Azure Network Id for test failover.

VmNics

The list of VM nic details.

Explicit Interface Implementations

IJsonModel<UpdateReplicationProtectedItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UpdateReplicationProtectedItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UpdateReplicationProtectedItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UpdateReplicationProtectedItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UpdateReplicationProtectedItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to