registration_assignments
Creates, updates, deletes, gets or lists a registration_assignments resource.
Overview
| Name | registration_assignments |
| Type | Resource |
| Id | azure.managed_services.registration_assignments |
Fields
The following fields are returned by SELECT queries:
- get
- list
OK - Returns the registration assignment.
| Name | Datatype | Description |
|---|---|---|
id | string | The fully qualified path of the registration assignment. |
name | string | The name of the registration assignment. |
properties | object | The properties of a registration assignment. |
systemData | object | The metadata for the registration assignment resource. |
type | string | The type of the Azure resource (Microsoft.ManagedServices/registrationAssignments). |
OK - Returns a list of the registration assignments.
| Name | Datatype | Description |
|---|---|---|
id | string | The fully qualified path of the registration assignment. |
name | string | The name of the registration assignment. |
properties | object | The properties of a registration assignment. |
systemData | object | The metadata for the registration assignment resource. |
type | string | The type of the Azure resource (Microsoft.ManagedServices/registrationAssignments). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | scope, registrationAssignmentId | $expandRegistrationDefinition | Gets the details of the specified registration assignment. |
list | select | scope | $expandRegistrationDefinition, $filter | Gets a list of the registration assignments. |
create_or_update | insert | scope, registrationAssignmentId | Creates or updates a registration assignment. | |
delete | delete | scope, registrationAssignmentId | Deletes the specified registration assignment. |
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 |
|---|---|---|
registrationAssignmentId | string | The GUID of the registration assignment. |
scope | string | The scope of the resource. |
$expandRegistrationDefinition | boolean | The flag indicating whether to return the registration definition details along with the registration assignment details. |
$filter | string | The filter query parameter to filter managed services resources by. |
SELECT examples
- get
- list
Gets the details of the specified registration assignment.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.managed_services.registration_assignments
WHERE scope = '{{ scope }}' -- required
AND registrationAssignmentId = '{{ registrationAssignmentId }}' -- required
AND $expandRegistrationDefinition = '{{ $expandRegistrationDefinition }}'
;
Gets a list of the registration assignments.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.managed_services.registration_assignments
WHERE scope = '{{ scope }}' -- required
AND $expandRegistrationDefinition = '{{ $expandRegistrationDefinition }}'
AND $filter = '{{ $filter }}'
;
INSERT examples
- create_or_update
- Manifest
Creates or updates a registration assignment.
INSERT INTO azure.managed_services.registration_assignments (
data__properties,
scope,
registrationAssignmentId
)
SELECT
'{{ properties }}',
'{{ scope }}',
'{{ registrationAssignmentId }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: registration_assignments
props:
- name: scope
value: string
description: Required parameter for the registration_assignments resource.
- name: registrationAssignmentId
value: string
description: Required parameter for the registration_assignments resource.
- name: properties
value: object
description: |
The properties of a registration assignment.
DELETE examples
- delete
Deletes the specified registration assignment.
DELETE FROM azure.managed_services.registration_assignments
WHERE scope = '{{ scope }}' --required
AND registrationAssignmentId = '{{ registrationAssignmentId }}' --required
;