Share via


NewRecoveryVirtualNetwork Class

Definition

Recovery virtual network input to create new virtual network from given source network.

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

Constructors

NewRecoveryVirtualNetwork()

Initializes a new instance of NewRecoveryVirtualNetwork.

Properties

RecoveryVirtualNetworkName

The recovery virtual network name.

RecoveryVirtualNetworkResourceGroupName

The name of the resource group to be used to create the recovery virtual network. If absent, target network would be created in the same resource group as target VM.

Explicit Interface Implementations

IJsonModel<NewRecoveryVirtualNetwork>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NewRecoveryVirtualNetwork>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RecoveryVirtualNetworkCustomDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from RecoveryVirtualNetworkCustomDetails)
IPersistableModel<NewRecoveryVirtualNetwork>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NewRecoveryVirtualNetwork>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NewRecoveryVirtualNetwork>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RecoveryVirtualNetworkCustomDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from RecoveryVirtualNetworkCustomDetails)

Applies to