Skip to main content

registration_assignments

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

Overview

Nameregistration_assignments
TypeResource
Idazure.managed_services.registration_assignments

Fields

NameDatatypeDescription
idtextThe fully qualified path of the registration assignment.
nametextThe name of the registration assignment.
provisioning_statetextfield from the properties object
registrationAssignmentIdtextfield from the properties object
registration_definitiontextfield from the properties object
registration_definition_idtextfield from the properties object
scopetextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the Azure resource (Microsoft.ManagedServices/registrationAssignments).

Methods

NameAccessible byRequired ParamsDescription
getSELECTregistrationAssignmentId, scopeGets the details of the specified registration assignment.
listSELECTscopeGets a list of the registration assignments.
create_or_updateINSERTregistrationAssignmentId, scopeCreates or updates a registration assignment.
deleteDELETEregistrationAssignmentId, scopeDeletes the specified registration assignment.

SELECT examples

Gets a list of the registration assignments.

SELECT
id,
name,
provisioning_state,
registrationAssignmentId,
registration_definition,
registration_definition_id,
scope,
system_data,
type
FROM azure.managed_services.vw_registration_assignments
WHERE scope = '{{ scope }}';

INSERT example

Use the following StackQL query and manifest file to create a new registration_assignments resource.

/*+ create */
INSERT INTO azure.managed_services.registration_assignments (
registrationAssignmentId,
scope,
properties
)
SELECT
'{{ registrationAssignmentId }}',
'{{ scope }}',
'{{ properties }}'
;

DELETE example

Deletes the specified registration_assignments resource.

/*+ delete */
DELETE FROM azure.managed_services.registration_assignments
WHERE registrationAssignmentId = '{{ registrationAssignmentId }}'
AND scope = '{{ scope }}';