Skip to main content

assignment_operations

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

Overview

Nameassignment_operations
TypeResource
Idazure.blueprints.assignment_operations

Fields

The following fields are returned by SELECT queries:

OK -- blueprint assignment operation retrieved.

NameDatatypeDescription
idstringString Id used to locate any resource on Azure.
namestringName of this resource.
propertiesobjectProperties for AssignmentOperation.
typestringType of this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceScope, assignmentName, assignmentOperationNameGet a blueprint assignment operation.
listselectresourceScope, assignmentNameList operations for given blueprint assignment within a subscription or a management group.

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
assignmentNamestringName of the blueprint assignment.
assignmentOperationNamestringName of the blueprint assignment operation.
resourceScopestringThe scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

SELECT examples

Get a blueprint assignment operation.

SELECT
id,
name,
properties,
type
FROM azure.blueprints.assignment_operations
WHERE resourceScope = '{{ resourceScope }}' -- required
AND assignmentName = '{{ assignmentName }}' -- required
AND assignmentOperationName = '{{ assignmentOperationName }}' -- required
;