Skip to main content

deployment_operations

Creates, updates, deletes, gets or lists a deployment_operations resource.

Overview

Namedeployment_operations
TypeResource
Idazure.resources.deployment_operations

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the deployment operation.

NameDatatypeDescription
idstringFull deployment operation ID.
operationIdstringDeployment operation ID.
propertiesobjectDeployment properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, deploymentName, operationId, subscriptionIdGets a deployments operation.
listselectresourceGroupName, deploymentName, subscriptionId$topGets 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.

NameDatatypeDescription
deploymentNamestringThe name of the deployment.
operationIdstringThe ID of the operation to get.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$topinteger (int32)The number of results to return.

SELECT examples

Gets a deployments operation.

SELECT
id,
operationId,
properties
FROM azure.resources.deployment_operations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND deploymentName = '{{ deploymentName }}' -- required
AND operationId = '{{ operationId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;