DeploymentOperationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. DeploymentOperationProperties
- com.
Implements
public final class DeploymentOperationProperties
implements JsonSerializable<DeploymentOperationProperties>
Deployment operation properties.
Constructor Summary
Constructor | Description |
---|---|
DeploymentOperationProperties() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
duration()
Get the duration property: The duration of the operation. |
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
Provisioning |
provisioningOperation()
Get the provisioning |
String |
provisioningState()
Get the provisioning |
Http |
request()
Get the request property: The HTTP request message. |
Http |
response()
Get the response property: The HTTP response message. |
String |
serviceRequestId()
Get the service |
String |
statusCode()
Get the status |
Status |
statusMessage()
Get the status |
Target |
targetResource()
Get the target |
Offset |
timestamp()
Get the timestamp property: The date and time of the operation. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DeploymentOperationProperties
public DeploymentOperationProperties()
Creates an instance of DeploymentOperationProperties class.
Method Details
duration
public String duration()
Get the duration property: The duration of the operation.
Returns:
fromJson
public static DeploymentOperationProperties fromJson(JsonReader jsonReader)
Reads an instance of DeploymentOperationProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningOperation
public ProvisioningOperation provisioningOperation()
Get the provisioningOperation property: The name of the current provisioning operation.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The state of the provisioning.
Returns:
request
public HttpMessage request()
Get the request property: The HTTP request message.
Returns:
response
public HttpMessage response()
Get the response property: The HTTP response message.
Returns:
serviceRequestId
public String serviceRequestId()
Get the serviceRequestId property: Deployment operation service request id.
Returns:
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:
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:
targetResource
public TargetResource targetResource()
Get the targetResource property: The target resource.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The date and time of the operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java