Class DeploymentOperationProperties
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.DeploymentOperationProperties
-
public final class DeploymentOperationProperties extends Object
Deployment operation properties.
-
-
Constructor Summary
Constructors Constructor Description DeploymentOperationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringduration()Get the duration property: The duration of the operation.ProvisioningOperationprovisioningOperation()Get the provisioningOperation property: The name of the current provisioning operation.StringprovisioningState()Get the provisioningState property: The state of the provisioning.HttpMessagerequest()Get the request property: The HTTP request message.HttpMessageresponse()Get the response property: The HTTP response message.StringserviceRequestId()Get the serviceRequestId property: Deployment operation service request id.StringstatusCode()Get the statusCode property: Operation status code from the resource provider.StatusMessagestatusMessage()Get the statusMessage property: Operation status message from the resource provider.TargetResourcetargetResource()Get the targetResource property: The target resource.OffsetDateTimetimestamp()Get the timestamp property: The date and time of the operation.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
provisioningOperation
public ProvisioningOperation provisioningOperation()
Get the provisioningOperation property: The name of the current provisioning operation.- Returns:
- the provisioningOperation value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: The state of the provisioning.- Returns:
- the provisioningState value.
-
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The date and time of the operation.- Returns:
- the timestamp value.
-
duration
public String duration()
Get the duration property: The duration of the operation.- Returns:
- the duration value.
-
serviceRequestId
public String serviceRequestId()
Get the serviceRequestId property: Deployment operation service request id.- Returns:
- the serviceRequestId value.
-
statusCode
public String statusCode()
Get the statusCode property: Operation status code from the resource provider. This property may not be set if a response has not yet been received.- Returns:
- the statusCode value.
-
statusMessage
public StatusMessage statusMessage()
Get the statusMessage property: Operation status message from the resource provider. This property is optional. It will only be provided if an error was received from the resource provider.- Returns:
- the statusMessage value.
-
targetResource
public TargetResource targetResource()
Get the targetResource property: The target resource.- Returns:
- the targetResource value.
-
request
public HttpMessage request()
Get the request property: The HTTP request message.- Returns:
- the request value.
-
response
public HttpMessage response()
Get the response property: The HTTP response message.- Returns:
- the response value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-