deployment_operations
Creates, updates, deletes, gets or lists a deployment_operations resource.
Overview
| Name | deployment_operations |
| Type | Resource |
| Id | azure.resource.deployment_operations |
Fields
The following fields are returned by SELECT queries:
- get
- list
- get_at_scope
- get_at_management_group_scope
- get_at_subscription_scope
- list_at_scope
- list_at_management_group_scope
- list_at_subscription_scope
- get_at_tenant_scope
- list_at_tenant_scope
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
| Name | Datatype | Description |
|---|---|---|
id | string | Full deployment operation ID. |
duration | string | The duration of the operation. |
operationId | string | Deployment operation ID. |
provisioningOperation | string | The name of the current provisioning operation. Known values are: "NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", and "DeploymentCleanup". (NotSpecified, Create, Delete, Waiting, AzureAsyncOperationWaiting, ResourceCacheWaiting, Action, Read, EvaluateDeploymentOutput, DeploymentCleanup) |
provisioningState | string | The state of the provisioning. |
request | object | The HTTP request message. |
response | object | The HTTP response message. |
serviceRequestId | string | Deployment operation service request id. |
statusCode | string | Operation status code from the resource provider. This property may not be set if a response has not yet been received. |
statusMessage | object | 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. |
targetResource | object | The target resource. |
timestamp | string (date-time) | The date and time of the operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, deployment_name, operation_id, subscription_id | Gets a deployments operation. | |
list | select | resource_group_name, deployment_name, subscription_id | $top | Gets all deployments operations for a deployment. |
get_at_scope | select | scope, deployment_name, operation_id | Gets a deployments operation. | |
get_at_management_group_scope | select | group_id, deployment_name, operation_id | Gets a deployments operation. | |
get_at_subscription_scope | select | deployment_name, operation_id, subscription_id | Gets a deployments operation. | |
list_at_scope | select | scope, deployment_name | $top | Gets all deployments operations for a deployment. |
list_at_management_group_scope | select | group_id, deployment_name | $top | Gets all deployments operations for a deployment. |
list_at_subscription_scope | select | deployment_name, subscription_id | $top | Gets all deployments operations for a deployment. |
get_at_tenant_scope | select | deployment_name, operation_id | Gets a deployments operation. | |
list_at_tenant_scope | select | deployment_name | $top | Gets all deployments operations for a deployment. |
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 |
|---|---|---|
deployment_name | string | The name of the deployment. Required. |
group_id | string | The management group ID. Required. |
operation_id | string | The ID of the operation to get. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
scope | string | The fully qualified Azure Resource manager identifier of the resource. Required. |
subscription_id | string | |
$top | integer | The number of results to return. Default value is None. |
SELECT examples
- get
- list
- get_at_scope
- get_at_management_group_scope
- get_at_subscription_scope
- list_at_scope
- list_at_management_group_scope
- list_at_subscription_scope
- get_at_tenant_scope
- list_at_tenant_scope
Gets a deployments operation.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets all deployments operations for a deployment.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $top = '{{ $top }}'
;
Gets a deployments operation.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE scope = '{{ scope }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
;
Gets a deployments operation.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE group_id = '{{ group_id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
;
Gets a deployments operation.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE deployment_name = '{{ deployment_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets all deployments operations for a deployment.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE scope = '{{ scope }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND $top = '{{ $top }}'
;
Gets all deployments operations for a deployment.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE group_id = '{{ group_id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND $top = '{{ $top }}'
;
Gets all deployments operations for a deployment.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE deployment_name = '{{ deployment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $top = '{{ $top }}'
;
Gets a deployments operation.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE deployment_name = '{{ deployment_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
;
Gets all deployments operations for a deployment.
SELECT
id,
duration,
operationId,
provisioningOperation,
provisioningState,
request,
response,
serviceRequestId,
statusCode,
statusMessage,
targetResource,
timestamp
FROM azure.resource.deployment_operations
WHERE deployment_name = '{{ deployment_name }}' -- required
AND $top = '{{ $top }}'
;