ResiliencyProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.ResiliencyProfile

Implements

public final class ResiliencyProfile
implements JsonSerializable<ResiliencyProfile>

Gets resiliency solutions enabled on the VM. This includes backup or disaster recovery solutions.

Constructor Summary

Constructor Description
ResiliencyProfile()

Creates an instance of ResiliencyProfile class.

Method Summary

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

Reads an instance of ResiliencyProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResiliencyProfile withZoneMovement(ZoneMovement zoneMovement)

Set the zoneMovement property: Zone movement configuration.

ZoneMovement zoneMovement()

Get the zoneMovement property: Zone movement configuration.

Methods inherited from java.lang.Object

Constructor Details

ResiliencyProfile

public ResiliencyProfile()

Creates an instance of ResiliencyProfile class.

Method Details

fromJson

public static ResiliencyProfile fromJson(JsonReader jsonReader)

Reads an instance of ResiliencyProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResiliencyProfile 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 ResiliencyProfile.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withZoneMovement

public ResiliencyProfile withZoneMovement(ZoneMovement zoneMovement)

Set the zoneMovement property: Zone movement configuration.

Parameters:

zoneMovement - the zoneMovement value to set.

Returns:

the ResiliencyProfile object itself.

zoneMovement

public ZoneMovement zoneMovement()

Get the zoneMovement property: Zone movement configuration.

Returns:

the zoneMovement value.

Applies to