Skip to main content

operation_status_result

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

Overview

Nameoperation_status_result
TypeResource
Idazure.container_service.operation_status_result

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified ID for the async operation.
namestringName of the async operation.
endTimestring (date-time)The end time of the operation.
errorobjectIf present, details of the operation error.
operationsarrayThe operations list.
percentCompletenumberPercent of the operation that is complete.
resourceIdstringFully qualified ID of the resource against which the original async operation was started.
startTimestring (date-time)The start time of the operation.
statusstringOperation status. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_agent_poolselectresource_group_name, resource_name, agent_pool_name, operation_id, subscription_idGet the status of a specific operation in the specified agent pool.
getselectresource_group_name, resource_name, operation_id, subscription_idGet the status of a specific operation in the specified managed cluster.
listselectresource_group_name, resource_name, subscription_idGets a list of operations in the specified managedCluster.

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
agent_pool_namestringThe name of the agent pool. Required.
operation_idstringThe ID of an ongoing async operation. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the managed cluster resource. Required.
subscription_idstring

SELECT examples

Get the status of a specific operation in the specified agent pool.

SELECT
id,
name,
endTime,
error,
operations,
percentComplete,
resourceId,
startTime,
status
FROM azure.container_service.operation_status_result
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND agent_pool_name = '{{ agent_pool_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;