registration_definitions
Creates, updates, deletes, gets or lists a registration_definitions
resource.
Overview
Name | registration_definitions |
Type | Resource |
Id | azure.managed_services.registration_definitions |
Fields
- vw_registration_definitions
- registration_definitions
Name | Datatype | Description |
---|---|---|
id | text | The fully qualified path of the registration definition. |
name | text | The name of the registration definition. |
description | text | field from the properties object |
authorizations | text | field from the properties object |
eligible_authorizations | text | field from the properties object |
managed_by_tenant_id | text | field from the properties object |
managed_by_tenant_name | text | field from the properties object |
managee_tenant_id | text | field from the properties object |
managee_tenant_name | text | field from the properties object |
plan | text | Plan for the resource. |
provisioning_state | text | field from the properties object |
registrationDefinitionId | text | field from the properties object |
registration_definition_name | 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/registrationDefinitions). |
Name | Datatype | Description |
---|---|---|
id | string | The fully qualified path of the registration definition. |
name | string | The name of the registration definition. |
plan | object | Plan for the resource. |
properties | object | The properties of a registration definition. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the Azure resource (Microsoft.ManagedServices/registrationDefinitions). |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | registrationDefinitionId, scope | Gets the registration definition details. |
list | SELECT | scope | Gets a list of the registration definitions. |
create_or_update | INSERT | registrationDefinitionId, scope | Creates or updates a registration definition. |
delete | DELETE | registrationDefinitionId, scope | Deletes the registration definition. |
SELECT
examples
Gets a list of the registration definitions.
- vw_registration_definitions
- registration_definitions
SELECT
id,
name,
description,
authorizations,
eligible_authorizations,
managed_by_tenant_id,
managed_by_tenant_name,
managee_tenant_id,
managee_tenant_name,
plan,
provisioning_state,
registrationDefinitionId,
registration_definition_name,
scope,
system_data,
type
FROM azure.managed_services.vw_registration_definitions
WHERE scope = '{{ scope }}';
SELECT
id,
name,
plan,
properties,
systemData,
type
FROM azure.managed_services.registration_definitions
WHERE scope = '{{ scope }}';
INSERT
example
Use the following StackQL query and manifest file to create a new registration_definitions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_services.registration_definitions (
registrationDefinitionId,
scope,
properties,
plan
)
SELECT
'{{ registrationDefinitionId }}',
'{{ scope }}',
'{{ properties }}',
'{{ plan }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: description
value: string
- name: authorizations
value:
- - name: principalId
value: string
- name: principalIdDisplayName
value: string
- name: roleDefinitionId
value: string
- name: delegatedRoleDefinitionIds
value:
- string
- name: eligibleAuthorizations
value:
- - name: principalId
value: string
- name: principalIdDisplayName
value: string
- name: roleDefinitionId
value: string
- name: justInTimeAccessPolicy
value:
- name: multiFactorAuthProvider
value: string
- name: maximumActivationDuration
value: string
- name: managedByTenantApprovers
value:
- - name: principalId
value: string
- name: principalIdDisplayName
value: string
- name: registrationDefinitionName
value: string
- name: managedByTenantId
value: string
- name: provisioningState
value: string
- name: manageeTenantId
value: string
- name: manageeTenantName
value: string
- name: managedByTenantName
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
DELETE
example
Deletes the specified registration_definitions
resource.
/*+ delete */
DELETE FROM azure.managed_services.registration_definitions
WHERE registrationDefinitionId = '{{ registrationDefinitionId }}'
AND scope = '{{ scope }}';