StopRequest Class
- java.
lang. Object - com.
azure. resourcemanager. workloadssapvirtualinstance. models. StopRequest
- com.
Implements
public final class StopRequest
implements JsonSerializable<StopRequest>
Stop SAP instance(s) request body.
Constructor Summary
| Constructor | Description |
|---|---|
| StopRequest() |
Creates an instance of Stop |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
deallocateVm()
Get the deallocate |
|
static
Stop |
fromJson(JsonReader jsonReader)
Reads an instance of Stop |
| Long |
softStopTimeoutSeconds()
Get the soft |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Stop |
withDeallocateVm(Boolean deallocateVm)
Set the deallocate |
|
Stop |
withSoftStopTimeoutSeconds(Long softStopTimeoutSeconds)
Set the soft |
Methods inherited from java.lang.Object
Constructor Details
StopRequest
public StopRequest()
Creates an instance of StopRequest class.
Method Details
deallocateVm
public Boolean deallocateVm()
Get the deallocateVm property: The boolean value indicates whether to Stop and deallocate the virtual machines along with the SAP instances.
Returns:
fromJson
public static StopRequest fromJson(JsonReader jsonReader)
Reads an instance of StopRequest from the JsonReader.
Parameters:
Returns:
Throws:
softStopTimeoutSeconds
public Long softStopTimeoutSeconds()
Get the softStopTimeoutSeconds property: This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDeallocateVm
public StopRequest withDeallocateVm(Boolean deallocateVm)
Set the deallocateVm property: The boolean value indicates whether to Stop and deallocate the virtual machines along with the SAP instances.
Parameters:
Returns:
withSoftStopTimeoutSeconds
public StopRequest withSoftStopTimeoutSeconds(Long softStopTimeoutSeconds)
Set the softStopTimeoutSeconds property: This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop.
Parameters:
Returns: