access_role_bindings
Creates, updates, deletes, gets or lists a access_role_bindings
resource.
Overview
Name | access_role_bindings |
Type | Resource |
Id | azure_isv.confluent.access_role_bindings |
Fields
Name | Datatype | Description |
---|---|---|
data | array | List of Role Binding records |
kind | string | Type of response |
metadata | object | Metadata of the list |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | organizationName, resourceGroupName, subscriptionId | |
create | INSERT | organizationName, resourceGroupName, subscriptionId | |
delete | DELETE | organizationName, resourceGroupName, roleBindingId, subscriptionId |
SELECT
examples
SELECT
data,
kind,
metadata
FROM azure_isv.confluent.access_role_bindings
WHERE organizationName = '{{ organizationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new access_role_bindings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.confluent.access_role_bindings (
organizationName,
resourceGroupName,
subscriptionId,
principal,
role_name,
crn_pattern
)
SELECT
'{{ organizationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ principal }}',
'{{ role_name }}',
'{{ crn_pattern }}'
;
- name: your_resource_model_name
props:
- name: principal
value: string
- name: role_name
value: string
- name: crn_pattern
value: string
DELETE
example
Deletes the specified access_role_bindings
resource.
/*+ delete */
DELETE FROM azure_isv.confluent.access_role_bindings
WHERE organizationName = '{{ organizationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND roleBindingId = '{{ roleBindingId }}'
AND subscriptionId = '{{ subscriptionId }}';