Dela via


HyperVReplicaAzureEnableProtectionContent Class

Definition

HyperVReplicaAzure specific enable protection input.

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

Constructors

HyperVReplicaAzureEnableProtectionContent()

Initializes a new instance of HyperVReplicaAzureEnableProtectionContent.

Properties

DiskEncryptionSetId

The DiskEncryptionSet ARM Id.

DisksToInclude

The list of VHD Ids of disks to be protected.

DisksToIncludeForManagedDisks

The disks to include list for managed disks.

DiskType

The DiskType.

EnableRdpOnTargetOption

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

HyperVHostVmId

The Hyper-V host VM Id.

LicenseType

License type.

LogStorageAccountId

The storage account to be used for logging during replication.

OSType

The OS type associated with VM.

SeedManagedDiskTags

The tags for the seed managed disks.

SqlServerLicenseType

The SQL Server license type.

TargetAvailabilitySetId

The target availability set ARM Id for resource manager deployment.

TargetAvailabilityZone

The target availability zone.

TargetAzureNetworkId

The selected target Azure network Id.

TargetAzureSubnetId

The selected target Azure subnet Id.

TargetAzureV1ResourceGroupId

The Id of the target resource group (for classic deployment) in which the failover VM is to be created.

TargetAzureV2ResourceGroupId

The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created.

TargetAzureVmName

The target azure VM Name.

TargetManagedDiskTags

The tags for the target managed disks.

TargetNicTags

The tags for the target NICs.

TargetProximityPlacementGroupId

The proximity placement group ARM Id.

TargetStorageAccountId

The storage account Id.

TargetVmSize

The target VM size.

TargetVmTags

The target VM tags.

UseManagedDisks

A value indicating whether managed disks should be used during failover.

UseManagedDisksForReplication

A value indicating whether managed disks should be used during replication.

VhdId

The OS disk VHD id associated with VM.

VmName

The VM Name.

Explicit Interface Implementations

IJsonModel<EnableProtectionProviderSpecificContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from EnableProtectionProviderSpecificContent)
IJsonModel<EnableProtectionProviderSpecificContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from EnableProtectionProviderSpecificContent)
IJsonModel<HyperVReplicaAzureEnableProtectionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HyperVReplicaAzureEnableProtectionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EnableProtectionProviderSpecificContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from EnableProtectionProviderSpecificContent)
IPersistableModel<EnableProtectionProviderSpecificContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from EnableProtectionProviderSpecificContent)
IPersistableModel<EnableProtectionProviderSpecificContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from EnableProtectionProviderSpecificContent)
IPersistableModel<HyperVReplicaAzureEnableProtectionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HyperVReplicaAzureEnableProtectionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HyperVReplicaAzureEnableProtectionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to