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

Gets a management lock at the resource group level. Azure REST API version: 2020-05-01. Other available API versions: 2015-01-01.

Link copied to clipboard

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

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

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

Link copied to clipboard

This operation retrieves a single policy assignment, given its name and the scope it was created at. Azure REST API version: 2022-06-01. Other available API versions: 2016-04-01, 2016-12-01, 2019-06-01, 2020-03-01, 2023-04-01, 2024-04-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. Azure REST API version: 2021-06-01. Other available API versions: 2016-04-01, 2018-05-01, 2019-06-01, 2023-04-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. Azure REST API version: 2021-06-01. Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01.

Link copied to clipboard

This operation retrieves the policy definition version in the given subscription with the given name. Azure REST API version: 2023-04-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. Azure REST API version: 2023-04-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. Azure REST API version: 2022-07-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. Azure REST API version: 2021-06-01. Other available API versions: 2019-06-01, 2023-04-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. Azure REST API version: 2021-06-01. Other available API versions: 2019-06-01, 2023-04-01.

Link copied to clipboard

This operation retrieves the policy set definition version in the given subscription with the given name and version. Azure REST API version: 2023-04-01.

suspend fun getPolicySetDefinitionVersion(policyDefinitionVersion: String, policySetDefinitionName: String): GetPolicySetDefinitionVersionResult

This operation retrieves the policy set definition version in the given management group with the given name and version. Azure REST API version: 2023-04-01.

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

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

Link copied to clipboard
Link copied to clipboard

Get a role assignment by scope and name. Azure REST API version: 2022-04-01. Other available API versions: 2015-07-01, 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). 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 assignment for a resource scope Azure REST API version: 2020-10-01. Other available API versions: 2020-10-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. Azure REST API version: 2022-08-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. Azure REST API version: 2022-08-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. Azure REST API version: 2022-08-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. Azure REST API version: 2022-08-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. Azure REST API version: 2023-04-01.

Link copied to clipboard

This operation lists all the built-in policy definition versions for all built-in policy definitions. Azure REST API version: 2023-04-01.

Link copied to clipboard

This operation lists all the policy set definition versions for all policy set definitions within a subscription. Azure REST API version: 2023-04-01.

This operation lists all the built-in policy set definition versions for all built-in policy set definitions. Azure REST API version: 2023-04-01.