operation_status_result
Creates, updates, deletes, gets or lists an operation_status_result resource.
Overview
| Name | operation_status_result |
| Type | Resource |
| Id | azure.container_service.operation_status_result |
Fields
The following fields are returned by SELECT queries:
- get_by_agent_pool
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified ID for the async operation. |
name | string | Name of the async operation. |
endTime | string (date-time) | The end time of the operation. |
error | object | If present, details of the operation error. |
operations | array | The operations list. |
percentComplete | number | Percent of the operation that is complete. |
resourceId | string | Fully qualified ID of the resource against which the original async operation was started. |
startTime | string (date-time) | The start time of the operation. |
status | string | Operation status. Required. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified ID for the async operation. |
name | string | Name of the async operation. |
endTime | string (date-time) | The end time of the operation. |
error | object | If present, details of the operation error. |
operations | array | The operations list. |
percentComplete | number | Percent of the operation that is complete. |
resourceId | string | Fully qualified ID of the resource against which the original async operation was started. |
startTime | string (date-time) | The start time of the operation. |
status | string | Operation status. Required. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified ID for the async operation. |
name | string | Name of the async operation. |
endTime | string (date-time) | The end time of the operation. |
error | object | If present, details of the operation error. |
operations | array | The operations list. |
percentComplete | number | Percent of the operation that is complete. |
resourceId | string | Fully qualified ID of the resource against which the original async operation was started. |
startTime | string (date-time) | The start time of the operation. |
status | string | Operation status. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_agent_pool | select | resource_group_name, resource_name, agent_pool_name, operation_id, subscription_id | Get the status of a specific operation in the specified agent pool. | |
get | select | resource_group_name, resource_name, operation_id, subscription_id | Get the status of a specific operation in the specified managed cluster. | |
list | select | resource_group_name, resource_name, subscription_id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
agent_pool_name | string | The name of the agent pool. Required. |
operation_id | string | The ID of an ongoing async operation. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
resource_name | string | The name of the managed cluster resource. Required. |
subscription_id | string |
SELECT examples
- get_by_agent_pool
- get
- list
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
;
Get the status of a specific operation in the specified managed cluster.
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 operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets a list of operations in the specified managedCluster.
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 subscription_id = '{{ subscription_id }}' -- required
;