AuthorizationFunctions

Functions

Link copied to clipboard

Get access review history definition by definition Id Uses Azure REST API version 2021-12-01-preview. Other available API versions: 2021-11-16-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Link copied to clipboard

Get single access review definition Uses Azure REST API version 2021-12-01-preview. Other available API versions: 2021-03-01-preview, 2021-07-01-preview, 2021-11-16-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Link copied to clipboard

Use this function to access the current configuration of the native Azure provider.

Link copied to clipboard

Use this function to get an Azure authentication token for the current login context.

suspend fun getClientToken(endpoint: String? = null): GetClientTokenResult
Link copied to clipboard

Get the management lock of a resource or any level below resource. Uses Azure REST API version 2020-05-01.

suspend fun getManagementLockAtResourceLevel(apiVersion: String, lockName: String, parentResourcePath: String, resourceGroupName: String, resourceName: String, resourceProviderNamespace: String, resourceType: String): GetManagementLockAtResourceLevelResult
Link copied to clipboard

Get a management lock by scope. Uses Azure REST API version 2020-05-01.

Link copied to clipboard

Get the specified role eligibility schedule request. Uses Azure REST API version 2020-10-01.

suspend fun getPimRoleEligibilitySchedule(roleEligibilityScheduleRequestName: String, scope: String): GetPimRoleEligibilityScheduleResult
Link copied to clipboard

This operation retrieves a single policy assignment, given its name and the scope it was created at. Uses Azure REST API version 2025-01-01. Other available API versions: 2020-09-01, 2021-06-01, 2022-06-01, 2023-04-01, 2024-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicyAssignment(expand: String? = null, policyAssignmentName: String, scope: String): GetPolicyAssignmentResult
Link copied to clipboard

This operation retrieves the policy definition in the given subscription with the given name. Uses Azure REST API version 2025-01-01. Other available API versions: 2020-09-01, 2021-06-01, 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicyDefinition(policyDefinitionName: String): GetPolicyDefinitionResult
Link copied to clipboard

This operation retrieves the policy definition in the given management group with the given name. Uses Azure REST API version 2025-01-01. Other available API versions: 2020-09-01, 2021-06-01, 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Link copied to clipboard

This operation retrieves the policy definition version in the given subscription with the given name. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicyDefinitionVersion(policyDefinitionName: String, policyDefinitionVersion: String): GetPolicyDefinitionVersionResult

This operation retrieves the policy definition version in the given management group with the given name. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicyDefinitionVersionAtManagementGroup(managementGroupName: String, policyDefinitionName: String, policyDefinitionVersion: String): GetPolicyDefinitionVersionAtManagementGroupResult
Link copied to clipboard

This operation retrieves a single policy exemption, given its name and the scope it was created at. Uses Azure REST API version 2022-07-01-preview. Other available API versions: 2020-07-01-preview, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicyExemption(policyExemptionName: String, scope: String): GetPolicyExemptionResult
Link copied to clipboard

This operation retrieves the policy set definition in the given subscription with the given name. Uses Azure REST API version 2025-01-01. Other available API versions: 2020-09-01, 2021-06-01, 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicySetDefinition(expand: String? = null, policySetDefinitionName: String): GetPolicySetDefinitionResult
Link copied to clipboard

This operation retrieves the policy set definition in the given management group with the given name. Uses Azure REST API version 2025-01-01. Other available API versions: 2020-09-01, 2021-06-01, 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicySetDefinitionAtManagementGroup(expand: String? = null, managementGroupId: String, policySetDefinitionName: String): GetPolicySetDefinitionAtManagementGroupResult
Link copied to clipboard

This operation retrieves the policy set definition version in the given subscription with the given name and version. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicySetDefinitionVersion(expand: String? = null, policyDefinitionVersion: String, policySetDefinitionName: String): GetPolicySetDefinitionVersionResult

This operation retrieves the policy set definition version in the given management group with the given name and version. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getPolicySetDefinitionVersionAtManagementGroup(expand: String? = null, managementGroupName: String, policyDefinitionVersion: String, policySetDefinitionName: String): GetPolicySetDefinitionVersionAtManagementGroupResult
Link copied to clipboard

Get a single private link association Uses Azure REST API version 2020-05-01.

Link copied to clipboard
Link copied to clipboard

Get a role assignment by scope and name. Uses Azure REST API version 2022-04-01. Other available API versions: 2020-08-01-preview, 2020-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getRoleAssignment(roleAssignmentName: String, scope: String, tenantId: String? = null): GetRoleAssignmentResult
Link copied to clipboard

Get role definition by ID (GUID). Uses Azure REST API version 2022-05-01-preview. Other available API versions: 2022-04-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getRoleDefinition(roleDefinitionId: String, scope: String): GetRoleDefinitionResult
Link copied to clipboard

Get the specified role management policy for a resource scope Uses Azure REST API version 2024-09-01-preview. Other available API versions: 2020-10-01, 2020-10-01-preview, 2024-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getRoleManagementPolicy(roleManagementPolicyName: String, scope: String): GetRoleManagementPolicyResult
Link copied to clipboard

Get the specified role management policy assignment for a resource scope Uses Azure REST API version 2024-09-01-preview. Other available API versions: 2020-10-01, 2020-10-01-preview, 2024-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getRoleManagementPolicyAssignment(roleManagementPolicyAssignmentName: String, scope: String): GetRoleManagementPolicyAssignmentResult
Link copied to clipboard

This operation retrieves a single variable, given its name and the subscription it was created at. Uses Azure REST API version 2022-08-01-preview. Other available API versions: 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getVariable(variableName: String): GetVariableResult
suspend fun getVariable(argument: suspend GetVariablePlainArgsBuilder.() -> Unit): GetVariableResult
Link copied to clipboard

This operation retrieves a single variable, given its name and the management group it was created at. Uses Azure REST API version 2022-08-01-preview. Other available API versions: 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getVariableAtManagementGroup(managementGroupId: String, variableName: String): GetVariableAtManagementGroupResult
Link copied to clipboard

This operation retrieves a single variable value; given its name, subscription it was created at and the variable it's created for. Uses Azure REST API version 2022-08-01-preview. Other available API versions: 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getVariableValue(variableName: String, variableValueName: String): GetVariableValueResult
Link copied to clipboard

This operation retrieves a single variable value; given its name, management group it was created at and the variable it's created for. Uses Azure REST API version 2022-08-01-preview. Other available API versions: 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

suspend fun getVariableValueAtManagementGroup(managementGroupId: String, variableName: String, variableValueName: String): GetVariableValueAtManagementGroupResult
Link copied to clipboard

This operation lists all the policy definition versions for all policy definitions within a subscription. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

This operation lists all the policy definition versions for all policy definitions at the management group scope. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Link copied to clipboard

This operation lists all the built-in policy definition versions for all built-in policy definitions. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Link copied to clipboard

This operation lists all the policy set definition versions for all policy set definitions within a subscription. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

This operation lists all the policy set definition versions for all policy set definitions at the management group scope. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

This operation lists all the built-in policy set definition versions for all built-in policy set definitions. Uses Azure REST API version 2025-01-01. Other available API versions: 2023-04-01, 2024-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.