DeploymentOperationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.DeploymentOperationProperties

Implements

public final class DeploymentOperationProperties
implements JsonSerializable<DeploymentOperationProperties>

Deployment operation properties.

Method Summary

Modifier and Type Method and Description
String duration()

Get the duration property: The duration of the operation.

static DeploymentOperationProperties fromJson(JsonReader jsonReader)

Reads an instance of DeploymentOperationProperties from the JsonReader.

ProvisioningOperation provisioningOperation()

Get the provisioningOperation property: The name of the current provisioning operation.

String provisioningState()

Get the provisioningState property: The state of the provisioning.

HttpMessage request()

Get the request property: The HTTP request message.

HttpMessage response()

Get the response property: The HTTP response message.

String serviceRequestId()

Get the serviceRequestId property: Deployment operation service request id.

String statusCode()

Get the statusCode property: Operation status code from the resource provider.

StatusMessage statusMessage()

Get the statusMessage property: Operation status message from the resource provider.

TargetResource targetResource()

Get the targetResource property: The target resource.

OffsetDateTime timestamp()

Get the timestamp property: The date and time of the operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

duration

public String duration()

Get the duration property: The duration of the operation.

Returns:

the duration value.

fromJson

public static DeploymentOperationProperties fromJson(JsonReader jsonReader)

Reads an instance of DeploymentOperationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeploymentOperationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DeploymentOperationProperties.

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.

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.

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.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: The date and time of the operation.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to