Share via


A2ACreateProtectionIntentContent Class

Definition

A2A create protection intent input.

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

Constructors

A2ACreateProtectionIntentContent(ResourceIdentifier, AzureLocation, AzureLocation, String, A2ARecoveryAvailabilityType, ResourceIdentifier)

Initializes a new instance of A2ACreateProtectionIntentContent.

Properties

AgentAutoUpdateStatus

A value indicating whether the auto update is enabled.

AutomationAccountArmId

The automation account arm id.

AutomationAccountAuthenticationType

A value indicating the authentication type for automation account. The default value is "RunAsAccount".

AutoProtectionOfDataDisk

A value indicating whether the auto protection is enabled.

DiskEncryptionInfo

The recovery disk encryption information (for two pass flows).

FabricObjectId

The fabric specific object Id of the virtual machine.

MultiVmGroupId

The multi vm group id.

MultiVmGroupName

The multi vm group name.

PrimaryLocation

The primary location for the virtual machine.

PrimaryStagingStorageAccountCustomContent

The primary staging storage account input. Please note StorageAccountCustomDetails 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 ExistingStorageAccount.

ProtectionProfileCustomContent

The protection profile custom inputs. Please note ProtectionProfileCustomDetails 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 ExistingProtectionProfile and NewProtectionProfile.

RecoveryAvailabilitySetCustomContent

The recovery availability set input. Please note RecoveryAvailabilitySetCustomDetails 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 ExistingRecoveryAvailabilitySet.

RecoveryAvailabilityType

The recovery availability type of the virtual machine.

RecoveryAvailabilityZone

The recovery availability zone.

RecoveryBootDiagStorageAccount

The boot diagnostic storage account. Please note StorageAccountCustomDetails 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 ExistingStorageAccount.

RecoveryLocation

The recovery location for the virtual machine.

RecoveryProximityPlacementGroupCustomContent

The recovery proximity placement group custom input. Please note RecoveryProximityPlacementGroupCustomDetails 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 ExistingRecoveryProximityPlacementGroup.

RecoveryResourceGroupId

The recovery resource group Id. Valid for V2 scenarios.

RecoverySubscriptionId

The recovery subscription Id of the virtual machine.

RecoveryVirtualNetworkCustomContent

The recovery virtual network input. Please note RecoveryVirtualNetworkCustomDetails 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 ExistingRecoveryVirtualNetwork and NewRecoveryVirtualNetwork.

VmDisks

The list of vm disk inputs.

VmManagedDisks

The list of vm managed disk inputs.

Explicit Interface Implementations

IJsonModel<A2ACreateProtectionIntentContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<A2ACreateProtectionIntentContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SiteRecoveryCreateProtectionIntentProviderDetail>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from SiteRecoveryCreateProtectionIntentProviderDetail)
IPersistableModel<A2ACreateProtectionIntentContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<A2ACreateProtectionIntentContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<A2ACreateProtectionIntentContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SiteRecoveryCreateProtectionIntentProviderDetail>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from SiteRecoveryCreateProtectionIntentProviderDetail)

Applies to