AuthorizationExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to Azure.ResourceManager.Authorization.
public static class AuthorizationExtensions
type AuthorizationExtensions = class
Public Module AuthorizationExtensions
- Inheritance
-
AuthorizationExtensions
Methods
ElevateAccessGlobalAdministrator(TenantResource, CancellationToken) |
Elevates access for a Global Administrator.
|
ElevateAccessGlobalAdministratorAsync(TenantResource, CancellationToken) |
Elevates access for a Global Administrator.
|
GetAllAuthorizationProviderOperationsMetadata(TenantResource) |
Gets a collection of AuthorizationProviderOperationsMetadataResources in the TenantResource. MockingTo mock this method, please mock GetAllAuthorizationProviderOperationsMetadata() instead. |
GetAuthorizationProviderOperationsMetadata(TenantResource, String, String, CancellationToken) |
Gets provider operations metadata for the specified resource provider.
|
GetAuthorizationProviderOperationsMetadataAsync(TenantResource, String, String, CancellationToken) |
Gets provider operations metadata for the specified resource provider.
|
GetAuthorizationProviderOperationsMetadataResource(ArmClient, ResourceIdentifier) |
Gets an object representing an AuthorizationProviderOperationsMetadataResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create an AuthorizationProviderOperationsMetadataResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAuthorizationProviderOperationsMetadataResource(ResourceIdentifier) instead. |
GetAuthorizationRoleDefinition(ArmClient, ResourceIdentifier, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinitionAsync(ArmClient, ResourceIdentifier, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinitionResource(ArmClient, ResourceIdentifier) |
Gets an object representing an AuthorizationRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, ResourceIdentifier) to create an AuthorizationRoleDefinitionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAuthorizationRoleDefinitionResource(ResourceIdentifier) instead. |
GetAuthorizationRoleDefinitions(ArmClient, ResourceIdentifier) |
Gets a collection of AuthorizationRoleDefinitionResources in the ArmClient. MockingTo mock this method, please mock GetAuthorizationRoleDefinitions(ResourceIdentifier) instead. |
GetAuthorizationRoleDefinitions(ArmResource) |
Gets a collection of AuthorizationRoleDefinitionResources in the ArmResource. MockingTo mock this method, please mock GetAuthorizationRoleDefinitions() instead. |
GetAzurePermissionsForResourceGroups(ResourceGroupResource, CancellationToken) |
Gets all permissions the caller has for a resource group.
|
GetAzurePermissionsForResourceGroupsAsync(ResourceGroupResource, CancellationToken) |
Gets all permissions the caller has for a resource group.
|
GetAzurePermissionsForResources(ResourceGroupResource, String, String, String, String, CancellationToken) |
Gets all permissions the caller has for a resource.
|
GetAzurePermissionsForResourcesAsync(ResourceGroupResource, String, String, String, String, CancellationToken) |
Gets all permissions the caller has for a resource.
|
GetClassicAdministrators(SubscriptionResource, CancellationToken) |
Gets service administrator, account administrator, and co-administrators for the subscription.
|
GetClassicAdministratorsAsync(SubscriptionResource, CancellationToken) |
Gets service administrator, account administrator, and co-administrators for the subscription.
|
GetDenyAssignment(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignment(ArmResource, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignmentAsync(ArmResource, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignmentResource(ArmClient, ResourceIdentifier) |
Gets an object representing a DenyAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a DenyAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDenyAssignmentResource(ResourceIdentifier) instead. |
GetDenyAssignments(ArmClient, ResourceIdentifier) |
Gets a collection of DenyAssignmentResources in the ArmClient. MockingTo mock this method, please mock GetDenyAssignments(ResourceIdentifier) instead. |
GetDenyAssignments(ArmResource) |
Gets a collection of DenyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetDenyAssignments() instead. |
GetEligibleChildResources(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the child resources of a resource on which user has eligible access
|
GetEligibleChildResourcesAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the child resources of a resource on which user has eligible access
|
GetRoleAssignment(ArmClient, ResourceIdentifier, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignment(ArmResource, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignmentAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignmentResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleAssignmentResource(ResourceIdentifier) instead. |
GetRoleAssignments(ArmClient, ResourceIdentifier) |
Gets a collection of RoleAssignmentResources in the ArmClient. MockingTo mock this method, please mock GetRoleAssignments(ResourceIdentifier) instead. |
GetRoleAssignments(ArmResource) |
Gets a collection of RoleAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignments() instead. |
GetRoleAssignmentSchedule(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentSchedule(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentScheduleAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentScheduleInstance(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstanceAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstanceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleAssignmentScheduleInstanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleAssignmentScheduleInstanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstanceResource(ResourceIdentifier) instead. |
GetRoleAssignmentScheduleInstances(ArmClient, ResourceIdentifier) |
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmClient. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances(ResourceIdentifier) instead. |
GetRoleAssignmentScheduleInstances(ArmResource) |
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead. |
GetRoleAssignmentScheduleRequest(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequestAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequestResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleAssignmentScheduleRequestResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleAssignmentScheduleRequestResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleAssignmentScheduleRequestResource(ResourceIdentifier) instead. |
GetRoleAssignmentScheduleRequests(ArmClient, ResourceIdentifier) |
Gets a collection of RoleAssignmentScheduleRequestResources in the ArmClient. MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests(ResourceIdentifier) instead. |
GetRoleAssignmentScheduleRequests(ArmResource) |
Gets a collection of RoleAssignmentScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests() instead. |
GetRoleAssignmentScheduleResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleAssignmentScheduleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleAssignmentScheduleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleAssignmentScheduleResource(ResourceIdentifier) instead. |
GetRoleAssignmentSchedules(ArmClient, ResourceIdentifier) |
Gets a collection of RoleAssignmentScheduleResources in the ArmClient. MockingTo mock this method, please mock GetRoleAssignmentSchedules(ResourceIdentifier) instead. |
GetRoleAssignmentSchedules(ArmResource) |
Gets a collection of RoleAssignmentScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentSchedules() instead. |
GetRoleEligibilitySchedule(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilitySchedule(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilityScheduleAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilityScheduleInstance(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstanceAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstanceResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleEligibilityScheduleInstanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleEligibilityScheduleInstanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleEligibilityScheduleInstanceResource(ResourceIdentifier) instead. |
GetRoleEligibilityScheduleInstances(ArmClient, ResourceIdentifier) |
Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmClient. MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances(ResourceIdentifier) instead. |
GetRoleEligibilityScheduleInstances(ArmResource) |
Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances() instead. |
GetRoleEligibilityScheduleRequest(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequestAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequestResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleEligibilityScheduleRequestResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleEligibilityScheduleRequestResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleEligibilityScheduleRequestResource(ResourceIdentifier) instead. |
GetRoleEligibilityScheduleRequests(ArmClient, ResourceIdentifier) |
Gets a collection of RoleEligibilityScheduleRequestResources in the ArmClient. MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests(ResourceIdentifier) instead. |
GetRoleEligibilityScheduleRequests(ArmResource) |
Gets a collection of RoleEligibilityScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests() instead. |
GetRoleEligibilityScheduleResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleEligibilityScheduleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleEligibilityScheduleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleEligibilityScheduleResource(ResourceIdentifier) instead. |
GetRoleEligibilitySchedules(ArmClient, ResourceIdentifier) |
Gets a collection of RoleEligibilityScheduleResources in the ArmClient. MockingTo mock this method, please mock GetRoleEligibilitySchedules(ResourceIdentifier) instead. |
GetRoleEligibilitySchedules(ArmResource) |
Gets a collection of RoleEligibilityScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilitySchedules() instead. |
GetRoleManagementPolicies(ArmClient, ResourceIdentifier) |
Gets a collection of RoleManagementPolicyResources in the ArmClient. MockingTo mock this method, please mock GetRoleManagementPolicies(ResourceIdentifier) instead. |
GetRoleManagementPolicies(ArmResource) |
Gets a collection of RoleManagementPolicyResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicies() instead. |
GetRoleManagementPolicy(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetRoleManagementPolicy(ArmResource, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetRoleManagementPolicyAssignment(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignmentResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleManagementPolicyAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleManagementPolicyAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleManagementPolicyAssignmentResource(ResourceIdentifier) instead. |
GetRoleManagementPolicyAssignments(ArmClient, ResourceIdentifier) |
Gets a collection of RoleManagementPolicyAssignmentResources in the ArmClient. MockingTo mock this method, please mock GetRoleManagementPolicyAssignments(ResourceIdentifier) instead. |
GetRoleManagementPolicyAssignments(ArmResource) |
Gets a collection of RoleManagementPolicyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicyAssignments() instead. |
GetRoleManagementPolicyAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetRoleManagementPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RoleManagementPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RoleManagementPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRoleManagementPolicyResource(ResourceIdentifier) instead. |
Applies to
Azure SDK for .NET