Skip to main content

platform_workload_identity_role_sets

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

Overview

Nameplatform_workload_identity_role_sets
TypeResource
Idazure_isv.redhatopenshift.platform_workload_identity_role_sets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
openShiftVersionstringOpenShiftVersion represents the version associated with this set of roles.
platformWorkloadIdentityRolesarrayPlatformWorkloadIdentityRoles represents the set of roles associated with this version.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscription_idLists a mapping of OpenShift versions to identity requirements, which include operatorName, roleDefinitionName, roleDefinitionId, and serviceAccounts. This operation returns a list of Platform Workload Identity Role Sets as a string.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Lists a mapping of OpenShift versions to identity requirements, which include operatorName, roleDefinitionName, roleDefinitionId, and serviceAccounts. This operation returns a list of Platform Workload Identity Role Sets as a string.

SELECT
id,
name,
openShiftVersion,
platformWorkloadIdentityRoles,
systemData,
type
FROM azure_isv.redhatopenshift.platform_workload_identity_role_sets
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;