ResiliencyProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ResiliencyProfile
- com.
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 Resiliency |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resiliency |
fromJson(JsonReader jsonReader)
Reads an instance of Resiliency |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Resiliency |
withZoneMovement(ZoneMovement zoneMovement)
Set the zone |
|
Zone |
zoneMovement()
Get the zone |
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:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withZoneMovement
public ResiliencyProfile withZoneMovement(ZoneMovement zoneMovement)
Set the zoneMovement property: Zone movement configuration.
Parameters:
Returns:
zoneMovement
public ZoneMovement zoneMovement()
Get the zoneMovement property: Zone movement configuration.
Returns: