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
- vw_registration_assignments
- registration_assignments
Name | Datatype | Description |
---|---|---|
id | text | The fully qualified path of the registration assignment. |
name | text | The name of the registration assignment. |
provisioning_state | text | field from the properties object |
registrationAssignmentId | text | field from the properties object |
registration_definition | text | field from the properties object |
registration_definition_id | text | field from the properties object |
scope | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The type of the Azure resource (Microsoft.ManagedServices/registrationAssignments). |
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 the registration assignment. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the Azure resource (Microsoft.ManagedServices/registrationAssignments). |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | registrationAssignmentId, scope | Gets the details of the specified registration assignment. |
list | SELECT | scope | Gets a list of the registration assignments. |
create_or_update | INSERT | registrationAssignmentId, scope | Creates or updates a registration assignment. |
delete | DELETE | registrationAssignmentId, scope | Deletes the specified registration assignment. |
SELECT
examples
Gets a list of the registration assignments.
- vw_registration_assignments
- 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 }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.managed_services.registration_assignments
WHERE scope = '{{ scope }}';
INSERT
example
Use the following StackQL query and manifest file to create a new registration_assignments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_services.registration_assignments (
registrationAssignmentId,
scope,
properties
)
SELECT
'{{ registrationAssignmentId }}',
'{{ scope }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: registrationDefinitionId
value: string
- name: provisioningState
value: string
- name: registrationDefinition
value:
- name: properties
value: string
- name: plan
value:
- name: name
value: string
- name: publisher
value: string
- name: product
value: string
- name: promotionCode
value: string
- name: version
value: string
- name: id
value: string
- name: type
value: string
- name: name
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: id
value: string
- name: type
value: string
- name: name
value: string
DELETE
example
Deletes the specified registration_assignments
resource.
/*+ delete */
DELETE FROM azure.managed_services.registration_assignments
WHERE registrationAssignmentId = '{{ registrationAssignmentId }}'
AND scope = '{{ scope }}';