Skip to main content

platform_workload_identity_role_set

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

Overview

Nameplatform_workload_identity_role_set
TypeResource
Idazure_isv.redhatopenshift.platform_workload_identity_role_set

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
getselectlocation, open_shift_minor_version, subscription_idGets a mapping of an OpenShift version to identity requirements, which includes operatorName, roleDefinitionName, roleDefinitionId, and serviceAccounts. This operation returns Platform Workload Identity Role Set 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.
open_shift_minor_versionstringThe desired version value of the PlatformWorkloadIdentityRoleSet resource. Required.
subscription_idstring

SELECT examples

Gets a mapping of an OpenShift version to identity requirements, which includes operatorName, roleDefinitionName, roleDefinitionId, and serviceAccounts. This operation returns Platform Workload Identity Role Set as a string.

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