Skip to main content

operation_status

Creates, updates, deletes, gets or lists an operation_status resource.

Overview

Nameoperation_status
TypeResource
Idazure.service_fabric_managed_clusters.operation_status

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
namestringThe name of the operation.
endTimestring (date-time)The end time of the operation.
errorobjectThe operation error.
percentCompletenumber (double)The completion percentage of the operation.
startTimestring (date-time)The start time of the operation.
statusstringThe status of the operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, operationIdapi-versionGet long running operation status.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe location for the cluster code versions. This is different from cluster location.
operationIdstringoperation identifier.
subscriptionIdstringThe customer subscription identifier.
api-versionstringThe version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2024-06-01-preview" for this specification.

SELECT examples

Get long running operation status.

SELECT
name,
endTime,
error,
percentComplete,
startTime,
status
FROM azure.service_fabric_managed_clusters.operation_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND operationId = '{{ operationId }}' -- required
AND api-version = '{{ api-version }}'
;