trusted_access_role_bindings
Creates, updates, deletes, gets or lists a trusted_access_role_bindings
resource.
Overview
Name | trusted_access_role_bindings |
Type | Resource |
Id | azure.aks.trusted_access_role_bindings |
Fields
- vw_trusted_access_role_bindings
- trusted_access_role_bindings
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | text | The name of the resource |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
roles | text | field from the properties object |
source_resource_id | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
trustedAccessRoleBindingName | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Properties for trusted access role binding |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, subscriptionId, trustedAccessRoleBindingName | |
list | SELECT | resourceGroupName, resourceName, subscriptionId | |
create_or_update | INSERT | resourceGroupName, resourceName, subscriptionId, trustedAccessRoleBindingName, data__properties | |
delete | DELETE | resourceGroupName, resourceName, subscriptionId, trustedAccessRoleBindingName |
SELECT
examples
- vw_trusted_access_role_bindings
- trusted_access_role_bindings
SELECT
id,
name,
provisioning_state,
resourceGroupName,
resourceName,
roles,
source_resource_id,
subscriptionId,
system_data,
trustedAccessRoleBindingName,
type
FROM azure.aks.vw_trusted_access_role_bindings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.aks.trusted_access_role_bindings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new trusted_access_role_bindings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.aks.trusted_access_role_bindings (
resourceGroupName,
resourceName,
subscriptionId,
trustedAccessRoleBindingName,
data__properties,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ trustedAccessRoleBindingName }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
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: properties
value:
- name: provisioningState
value: string
- name: sourceResourceId
value: string
- name: roles
value:
- string
DELETE
example
Deletes the specified trusted_access_role_bindings
resource.
/*+ delete */
DELETE FROM azure.aks.trusted_access_role_bindings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trustedAccessRoleBindingName = '{{ trustedAccessRoleBindingName }}';