assignment_operations
Creates, updates, deletes, gets or lists an assignment_operations
resource.
Overview
Name | assignment_operations |
Type | Resource |
Id | azure.blueprints.assignment_operations |
Fields
The following fields are returned by SELECT
queries:
- get
- list
OK -- blueprint assignment operation retrieved.
Name | Datatype | Description |
---|---|---|
id | string | String Id used to locate any resource on Azure. |
name | string | Name of this resource. |
properties | object | Properties for AssignmentOperation. |
type | string | Type of this resource. |
OK -- all blueprint assignment operations retrieved.
Name | Datatype | Description |
---|---|---|
id | string | String Id used to locate any resource on Azure. |
name | string | Name of this resource. |
properties | object | Properties for AssignmentOperation. |
type | string | Type of this resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceScope , assignmentName , assignmentOperationName | Get a blueprint assignment operation. | |
list | select | resourceScope , assignmentName | List 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.
Name | Datatype | Description |
---|---|---|
assignmentName | string | Name of the blueprint assignment. |
assignmentOperationName | string | Name of the blueprint assignment operation. |
resourceScope | string | The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). |
SELECT
examples
- get
- list
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
;
List operations for given blueprint assignment within a subscription or a management group.
SELECT
id,
name,
properties,
type
FROM azure.blueprints.assignment_operations
WHERE resourceScope = '{{ resourceScope }}' -- required
AND assignmentName = '{{ assignmentName }}' -- required
;