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. API Version: 2017-04-01.

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

This operation retrieves a single policy assignment, given its name and the scope it was created at. API Version: 2020-09-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. API Version: 2020-09-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. API Version: 2020-09-01.

Link copied to clipboard

This operation retrieves a single policy exemption, given its name and the scope it was created at. API Version: 2020-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. API Version: 2020-09-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. API Version: 2020-09-01.

Link copied to clipboard
Link copied to clipboard

Get a role assignment by scope and name. API Version: 2020-10-01-preview.

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

Get role definition by name (GUID). API Version: 2018-01-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 API Version: 2020-10-01.

suspend fun getRoleManagementPolicyAssignment(roleManagementPolicyAssignmentName: String, scope: String): GetRoleManagementPolicyAssignmentResult