NetworkVirtualApplianceMigrationStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NetworkVirtualApplianceMigrationStatus

Implements

public final class NetworkVirtualApplianceMigrationStatus
implements JsonSerializable<NetworkVirtualApplianceMigrationStatus>

The migration status of a Network Virtual Appliance.

Method Summary

Modifier and Type Method and Description
static NetworkVirtualApplianceMigrationStatus fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceMigrationStatus from the JsonReader.

String migrationPhase()

Get the migrationPhase property: The current phase of the migration workflow (for example, Prepare, Execute, Commit, or Abort).

String migrationPhaseStatus()

Get the migrationPhaseStatus property: The detailed status of the current migration phase.

MigrationType migrationType()

Get the migrationType property: The type of migration workflow currently in progress or last performed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static NetworkVirtualApplianceMigrationStatus fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceMigrationStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkVirtualApplianceMigrationStatus if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NetworkVirtualApplianceMigrationStatus.

migrationPhase

public String migrationPhase()

Get the migrationPhase property: The current phase of the migration workflow (for example, Prepare, Execute, Commit, or Abort).

Returns:

the migrationPhase value.

migrationPhaseStatus

public String migrationPhaseStatus()

Get the migrationPhaseStatus property: The detailed status of the current migration phase.

Returns:

the migrationPhaseStatus value.

migrationType

public MigrationType migrationType()

Get the migrationType property: The type of migration workflow currently in progress or last performed.

Returns:

the migrationType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to