Class ManagedInstanceOperationInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ManagedInstanceOperationInner
-
public class ManagedInstanceOperationInner extends com.azure.core.management.ProxyResourceA managed instance operation.
-
-
Constructor Summary
Constructors Constructor Description ManagedInstanceOperationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: The operation description.IntegererrorCode()Get the errorCode property: The operation error code.StringerrorDescription()Get the errorDescription property: The operation error description.IntegererrorSeverity()Get the errorSeverity property: The operation error severity.OffsetDateTimeestimatedCompletionTime()Get the estimatedCompletionTime property: The estimated completion time of the operation.BooleanisCancellable()Get the isCancellable property: Whether the operation can be cancelled.BooleanisUserError()Get the isUserError property: Whether or not the error is a user error.StringmanagedInstanceName()Get the managedInstanceName property: The name of the managed instance the operation is being performed on.Stringoperation()Get the operation property: The name of operation.StringoperationFriendlyName()Get the operationFriendlyName property: The friendly name of operation.IntegerpercentComplete()Get the percentComplete property: The percentage of the operation completed.OffsetDateTimestartTime()Get the startTime property: The operation start time.ManagementOperationStatestate()Get the state property: The operation state.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
managedInstanceName
public String managedInstanceName()
Get the managedInstanceName property: The name of the managed instance the operation is being performed on.- Returns:
- the managedInstanceName value.
-
operation
public String operation()
Get the operation property: The name of operation.- Returns:
- the operation value.
-
operationFriendlyName
public String operationFriendlyName()
Get the operationFriendlyName property: The friendly name of operation.- Returns:
- the operationFriendlyName value.
-
percentComplete
public Integer percentComplete()
Get the percentComplete property: The percentage of the operation completed.- Returns:
- the percentComplete value.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The operation start time.- Returns:
- the startTime value.
-
state
public ManagementOperationState state()
Get the state property: The operation state.- Returns:
- the state value.
-
errorCode
public Integer errorCode()
Get the errorCode property: The operation error code.- Returns:
- the errorCode value.
-
errorDescription
public String errorDescription()
Get the errorDescription property: The operation error description.- Returns:
- the errorDescription value.
-
errorSeverity
public Integer errorSeverity()
Get the errorSeverity property: The operation error severity.- Returns:
- the errorSeverity value.
-
isUserError
public Boolean isUserError()
Get the isUserError property: Whether or not the error is a user error.- Returns:
- the isUserError value.
-
estimatedCompletionTime
public OffsetDateTime estimatedCompletionTime()
Get the estimatedCompletionTime property: The estimated completion time of the operation.- Returns:
- the estimatedCompletionTime value.
-
description
public String description()
Get the description property: The operation description.- Returns:
- the description value.
-
isCancellable
public Boolean isCancellable()
Get the isCancellable property: Whether the operation can be cancelled.- Returns:
- the isCancellable value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-