ServerOperationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerOperationInner
- com.
- com.
public final class ServerOperationInner
extends ProxyResource
A server operation.
Constructor Summary
Constructor | Description |
---|---|
ServerOperationInner() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The operation description. |
Integer |
errorCode()
Get the error |
String |
errorDescription()
Get the error |
Integer |
errorSeverity()
Get the error |
Offset |
estimatedCompletionTime()
Get the estimated |
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
isCancellable()
Get the is |
Boolean |
isUserError()
Get the is |
String |
name()
Get the name property: The name of the resource. |
String |
operation()
Get the operation property: The name of operation. |
String |
operationFriendlyName()
Get the operation |
Integer |
percentComplete()
Get the percent |
String |
serverName()
Get the server |
Offset |
startTime()
Get the start |
Management |
state()
Get the state property: The operation state. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerOperationInner
public ServerOperationInner()
Creates an instance of ServerOperationInner class.
Method Details
description
public String description()
Get the description property: The operation description.
Returns:
errorCode
public Integer errorCode()
Get the errorCode property: The operation error code.
Returns:
errorDescription
public String errorDescription()
Get the errorDescription property: The operation error description.
Returns:
errorSeverity
public Integer errorSeverity()
Get the errorSeverity property: The operation error severity.
Returns:
estimatedCompletionTime
public OffsetDateTime estimatedCompletionTime()
Get the estimatedCompletionTime property: The estimated completion time of the operation.
Returns:
fromJson
public static ServerOperationInner fromJson(JsonReader jsonReader)
Reads an instance of ServerOperationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerOperationInner.id()Returns:
isCancellable
public Boolean isCancellable()
Get the isCancellable property: Whether the operation can be cancelled.
Returns:
isUserError
public Boolean isUserError()
Get the isUserError property: Whether or not the error is a user error.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerOperationInner.name()Returns:
operation
public String operation()
Get the operation property: The name of operation.
Returns:
operationFriendlyName
public String operationFriendlyName()
Get the operationFriendlyName property: The friendly name of operation.
Returns:
percentComplete
public Integer percentComplete()
Get the percentComplete property: The percentage of the operation completed.
Returns:
serverName
public String serverName()
Get the serverName property: The name of the server.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The operation start time.
Returns:
state
public ManagementOperationState state()
Get the state property: The operation state.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerOperationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerOperationInner.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java