Share via


NewRecoveryVirtualNetwork Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.NewRecoveryVirtualNetworkTypeConverter))]
public class NewRecoveryVirtualNetwork : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.INewRecoveryVirtualNetwork, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.NewRecoveryVirtualNetworkTypeConverter))>]
type NewRecoveryVirtualNetwork = class
    interface INewRecoveryVirtualNetwork
    interface IJsonSerializable
    interface IRecoveryVirtualNetworkCustomDetails
    interface IValidates
Public Class NewRecoveryVirtualNetwork
Implements INewRecoveryVirtualNetwork, IValidates
Inheritance
NewRecoveryVirtualNetwork
Attributes
Implements

Constructors

NewRecoveryVirtualNetwork()

Creates an new NewRecoveryVirtualNetwork instance.

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.

ResourceType

The class type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NewRecoveryVirtualNetwork.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NewRecoveryVirtualNetwork.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.INewRecoveryVirtualNetwork.

FromJsonString(String)

Creates a new instance of NewRecoveryVirtualNetwork, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NewRecoveryVirtualNetwork into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to