AuthorizationFunctions

Functions

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 2022-06-01. Other available API versions: 2019-06-01, 2020-03-01, 2023-04-01, 2024-04-01, 2024-05-01, 2025-01-01, 2025-03-01.

suspend fun getPolicyAssignment(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 2021-06-01. Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01, 2025-03-01.

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 2021-06-01. Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01, 2025-03-01.

Link copied to clipboard

This operation retrieves the policy definition version in the given subscription with the given name. Uses Azure REST API version 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

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 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

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: 2024-12-01-preview.

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 2021-06-01. Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01, 2025-03-01.

suspend fun getPolicySetDefinition(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 2021-06-01. Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01, 2025-03-01.

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 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

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 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

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: 2017-10-01-preview, 2020-03-01-preview, 2020-04-01-preview.

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.

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.

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 2020-10-01. Other available API versions: 2020-10-01-preview, 2024-02-01-preview, 2024-09-01-preview.

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.

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.

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.

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.

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 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

This operation lists all the policy definition versions for all policy definitions at the management group scope. Uses Azure REST API version 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

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 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

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 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

This operation lists all the policy set definition versions for all policy set definitions at the management group scope. Uses Azure REST API version 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.

This operation lists all the built-in policy set definition versions for all built-in policy set definitions. Uses Azure REST API version 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.