Skip to main content

trusted_access_role_bindings

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

Overview

Nametrusted_access_role_bindings
TypeResource
Idazure.aks.trusted_access_role_bindings

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
rolestextfield from the properties object
source_resource_idtextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
trustedAccessRoleBindingNametextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, subscriptionId, trustedAccessRoleBindingName
listSELECTresourceGroupName, resourceName, subscriptionId
create_or_updateINSERTresourceGroupName, resourceName, subscriptionId, trustedAccessRoleBindingName, data__properties
deleteDELETEresourceGroupName, resourceName, subscriptionId, trustedAccessRoleBindingName

SELECT examples

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 }}';

INSERT example

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

/*+ create */
INSERT INTO azure.aks.trusted_access_role_bindings (
resourceGroupName,
resourceName,
subscriptionId,
trustedAccessRoleBindingName,
data__properties,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ trustedAccessRoleBindingName }}',
'{{ data__properties }}',
'{{ properties }}'
;

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 }}';