Share via


AuthorizationExtensions Class

Definition

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.

  • Request Path: /providers/Microsoft.Authorization/elevateAccess
  • Operation Id: GlobalAdministrator_ElevateAccess
  • Default Api Version: 2015-07-01
<item>MockingTo mock this method, please mock ElevateAccessGlobalAdministrator(CancellationToken) instead.</item>
ElevateAccessGlobalAdministratorAsync(TenantResource, CancellationToken)

Elevates access for a Global Administrator.

  • Request Path: /providers/Microsoft.Authorization/elevateAccess
  • Operation Id: GlobalAdministrator_ElevateAccess
  • Default Api Version: 2015-07-01
<item>MockingTo mock this method, please mock ElevateAccessGlobalAdministrator(CancellationToken) instead.</item>
GetAllAuthorizationProviderOperationsMetadata(TenantResource)

Gets a collection of AuthorizationProviderOperationsMetadataResources in the TenantResource. <item>MockingTo mock this method, please mock GetAllAuthorizationProviderOperationsMetadata() instead.</item>

GetAuthorizationProviderOperationsMetadata(TenantResource, String, String, CancellationToken)

Gets provider operations metadata for the specified resource provider.

<item>MockingTo mock this method, please mock GetAuthorizationProviderOperationsMetadata(String, String, CancellationToken) instead.</item>
GetAuthorizationProviderOperationsMetadataAsync(TenantResource, String, String, CancellationToken)

Gets provider operations metadata for the specified resource provider.

<item>MockingTo mock this method, please mock GetAuthorizationProviderOperationsMetadataAsync(String, String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetAuthorizationProviderOperationsMetadataResource(ResourceIdentifier) instead.</item>

GetAuthorizationRoleDefinition(ArmClient, ResourceIdentifier, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinition(ResourceIdentifier, ResourceIdentifier, CancellationToken) instead.</item>
GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinition(ResourceIdentifier, CancellationToken) instead.</item>
GetAuthorizationRoleDefinitionAsync(ArmClient, ResourceIdentifier, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitionAsync(ResourceIdentifier, ResourceIdentifier, CancellationToken) instead.</item>
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitionAsync(ResourceIdentifier, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitionResource(ResourceIdentifier) instead.</item>

GetAuthorizationRoleDefinitions(ArmClient, ResourceIdentifier)

Gets a collection of AuthorizationRoleDefinitionResources in the ArmClient. <item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitions(ResourceIdentifier) instead.</item>

GetAuthorizationRoleDefinitions(ArmResource)

Gets a collection of AuthorizationRoleDefinitionResources in the ArmResource. <item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitions() instead.</item>

GetAzurePermissionsForResourceGroups(ResourceGroupResource, CancellationToken)

Gets all permissions the caller has for a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions
  • Operation Id: AzurePermissionsForResourceGroup_List
  • Default Api Version: 2022-04-01
<item>MockingTo mock this method, please mock GetAzurePermissionsForResourceGroups(CancellationToken) instead.</item>
GetAzurePermissionsForResourceGroupsAsync(ResourceGroupResource, CancellationToken)

Gets all permissions the caller has for a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions
  • Operation Id: AzurePermissionsForResourceGroup_List
  • Default Api Version: 2022-04-01
<item>MockingTo mock this method, please mock GetAzurePermissionsForResourceGroups(CancellationToken) instead.</item>
GetAzurePermissionsForResources(ResourceGroupResource, String, String, String, String, CancellationToken)

Gets all permissions the caller has for a resource.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions
  • Operation Id: AzurePermissionsForResource_List
  • Default Api Version: 2022-04-01
<item>MockingTo mock this method, please mock GetAzurePermissionsForResources(String, String, String, String, CancellationToken) instead.</item>
GetAzurePermissionsForResourcesAsync(ResourceGroupResource, String, String, String, String, CancellationToken)

Gets all permissions the caller has for a resource.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions
  • Operation Id: AzurePermissionsForResource_List
  • Default Api Version: 2022-04-01
<item>MockingTo mock this method, please mock GetAzurePermissionsForResources(String, String, String, String, CancellationToken) instead.</item>
GetClassicAdministrators(SubscriptionResource, CancellationToken)

Gets service administrator, account administrator, and co-administrators for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/classicAdministrators
  • Operation Id: ClassicAdministrators_List
  • Default Api Version: 2015-07-01
<item>MockingTo mock this method, please mock GetClassicAdministrators(CancellationToken) instead.</item>
GetClassicAdministratorsAsync(SubscriptionResource, CancellationToken)

Gets service administrator, account administrator, and co-administrators for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/classicAdministrators
  • Operation Id: ClassicAdministrators_List
  • Default Api Version: 2015-07-01
<item>MockingTo mock this method, please mock GetClassicAdministrators(CancellationToken) instead.</item>
GetDenyAssignment(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
<item>MockingTo mock this method, please mock GetDenyAssignment(ResourceIdentifier, String, CancellationToken) instead.</item>
GetDenyAssignment(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
<item>MockingTo mock this method, please mock GetDenyAssignment(String, CancellationToken) instead.</item>
GetDenyAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
<item>MockingTo mock this method, please mock GetDenyAssignmentAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
<item>MockingTo mock this method, please mock GetDenyAssignmentAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetDenyAssignmentResource(ResourceIdentifier) instead.</item>

GetDenyAssignments(ArmClient, ResourceIdentifier)

Gets a collection of DenyAssignmentResources in the ArmClient. <item>MockingTo mock this method, please mock GetDenyAssignments(ResourceIdentifier) instead.</item>

GetDenyAssignments(ArmResource)

Gets a collection of DenyAssignmentResources in the ArmResource. <item>MockingTo mock this method, please mock GetDenyAssignments() instead.</item>

GetEligibleChildResources(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the child resources of a resource on which user has eligible access

  • Request Path: /{scope}/providers/Microsoft.Authorization/eligibleChildResources
  • Operation Id: EligibleChildResources_Get
  • Default Api Version: 2020-10-01
<item>MockingTo mock this method, please mock GetEligibleChildResources(ResourceIdentifier, String, CancellationToken) instead.</item>
GetEligibleChildResourcesAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the child resources of a resource on which user has eligible access

  • Request Path: /{scope}/providers/Microsoft.Authorization/eligibleChildResources
  • Operation Id: EligibleChildResources_Get
  • Default Api Version: 2020-10-01
<item>MockingTo mock this method, please mock GetEligibleChildResources(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleAssignment(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
<item>MockingTo mock this method, please mock GetRoleAssignment(ResourceIdentifier, String, String, CancellationToken) instead.</item>
GetRoleAssignment(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
<item>MockingTo mock this method, please mock GetRoleAssignment(String, String, CancellationToken) instead.</item>
GetRoleAssignmentAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
<item>MockingTo mock this method, please mock GetRoleAssignmentAsync(ResourceIdentifier, String, String, CancellationToken) instead.</item>
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
<item>MockingTo mock this method, please mock GetRoleAssignmentAsync(String, String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetRoleAssignmentResource(ResourceIdentifier) instead.</item>

GetRoleAssignments(ArmClient, ResourceIdentifier)

Gets a collection of RoleAssignmentResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleAssignments(ResourceIdentifier) instead.</item>

GetRoleAssignments(ArmResource)

Gets a collection of RoleAssignmentResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignments() instead.</item>

GetRoleAssignmentSchedule(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
<item>MockingTo mock this method, please mock GetRoleAssignmentSchedule(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
<item>MockingTo mock this method, please mock GetRoleAssignmentSchedule(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleAsync(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstance(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstance(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstance(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstanceAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstanceAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstanceAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstanceResource(ResourceIdentifier) instead.</item>

GetRoleAssignmentScheduleInstances(ArmClient, ResourceIdentifier)

Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances(ResourceIdentifier) instead.</item>

GetRoleAssignmentScheduleInstances(ArmResource)

Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead.</item>

GetRoleAssignmentScheduleRequest(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequest(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequest(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleRequestAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequestAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequestAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequestResource(ResourceIdentifier) instead.</item>

GetRoleAssignmentScheduleRequests(ArmClient, ResourceIdentifier)

Gets a collection of RoleAssignmentScheduleRequestResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests(ResourceIdentifier) instead.</item>

GetRoleAssignmentScheduleRequests(ArmResource)

Gets a collection of RoleAssignmentScheduleRequestResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests() instead.</item>

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. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleResource(ResourceIdentifier) instead.</item>

GetRoleAssignmentSchedules(ArmClient, ResourceIdentifier)

Gets a collection of RoleAssignmentScheduleResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleAssignmentSchedules(ResourceIdentifier) instead.</item>

GetRoleAssignmentSchedules(ArmResource)

Gets a collection of RoleAssignmentScheduleResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignmentSchedules() instead.</item>

GetRoleEligibilitySchedule(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
<item>MockingTo mock this method, please mock GetRoleEligibilitySchedule(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
<item>MockingTo mock this method, please mock GetRoleEligibilitySchedule(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleAsync(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstance(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstance(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstance(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstanceAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstanceAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstanceAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstanceResource(ResourceIdentifier) instead.</item>

GetRoleEligibilityScheduleInstances(ArmClient, ResourceIdentifier)

Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances(ResourceIdentifier) instead.</item>

GetRoleEligibilityScheduleInstances(ArmResource)

Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances() instead.</item>

GetRoleEligibilityScheduleRequest(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequest(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequest(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleRequestAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequestAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequestAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequestResource(ResourceIdentifier) instead.</item>

GetRoleEligibilityScheduleRequests(ArmClient, ResourceIdentifier)

Gets a collection of RoleEligibilityScheduleRequestResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests(ResourceIdentifier) instead.</item>

GetRoleEligibilityScheduleRequests(ArmResource)

Gets a collection of RoleEligibilityScheduleRequestResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests() instead.</item>

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. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleResource(ResourceIdentifier) instead.</item>

GetRoleEligibilitySchedules(ArmClient, ResourceIdentifier)

Gets a collection of RoleEligibilityScheduleResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleEligibilitySchedules(ResourceIdentifier) instead.</item>

GetRoleEligibilitySchedules(ArmResource)

Gets a collection of RoleEligibilityScheduleResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleEligibilitySchedules() instead.</item>

GetRoleManagementPolicies(ArmClient, ResourceIdentifier)

Gets a collection of RoleManagementPolicyResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleManagementPolicies(ResourceIdentifier) instead.</item>

GetRoleManagementPolicies(ArmResource)

Gets a collection of RoleManagementPolicyResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleManagementPolicies() instead.</item>

GetRoleManagementPolicy(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicy(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleManagementPolicy(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicy(String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignment(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignment(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignment(String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignmentAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignmentAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignmentResource(ResourceIdentifier) instead.</item>

GetRoleManagementPolicyAssignments(ArmClient, ResourceIdentifier)

Gets a collection of RoleManagementPolicyAssignmentResources in the ArmClient. <item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignments(ResourceIdentifier) instead.</item>

GetRoleManagementPolicyAssignments(ArmResource)

Gets a collection of RoleManagementPolicyAssignmentResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignments() instead.</item>

GetRoleManagementPolicyAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAsync(ResourceIdentifier, String, CancellationToken) instead.</item>
GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetRoleManagementPolicyResource(ResourceIdentifier) instead.</item>

Applies to