ZoneMovement Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ZoneMovement
- com.
Implements
public final class ZoneMovement
implements JsonSerializable<ZoneMovement>
Describes zone movement configuration. This allows VM to be moved across availability zones during an outage.
Constructor Summary
| Constructor | Description |
|---|---|
| ZoneMovement() |
Creates an instance of Zone |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Zone |
fromJson(JsonReader jsonReader)
Reads an instance of Zone |
| Boolean |
isEnabled()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Zone |
withIsEnabled(Boolean isEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
ZoneMovement
public ZoneMovement()
Creates an instance of ZoneMovement class.
Method Details
fromJson
public static ZoneMovement fromJson(JsonReader jsonReader)
Reads an instance of ZoneMovement from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Indicates if zone movement is enabled. By default isEnabled is set to false i.e VM can't be moved from one zone to another.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsEnabled
public ZoneMovement withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Indicates if zone movement is enabled. By default isEnabled is set to false i.e VM can't be moved from one zone to another.
Parameters:
Returns: