AuthorizationExtensions.GetAccessReviewInstancesAssignedForMyApprovalAsync Method
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.
Get single access review instance assigned for my approval. <item> Mocking. To mock this method, please mock GetAccessReviewInstancesAssignedForMyApprovalAsync(String, String, CancellationToken) instead. </item>
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.AccessReviewInstancesAssignedForMyApprovalResource>> GetAccessReviewInstancesAssignedForMyApprovalAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, string scheduleDefinitionId, string id, System.Threading.CancellationToken cancellationToken = default);
static member GetAccessReviewInstancesAssignedForMyApprovalAsync : Azure.ResourceManager.Resources.TenantResource * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.AccessReviewInstancesAssignedForMyApprovalResource>>
<Extension()>
Public Function GetAccessReviewInstancesAssignedForMyApprovalAsync (tenantResource As TenantResource, scheduleDefinitionId As String, id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AccessReviewInstancesAssignedForMyApprovalResource))
Parameters
- tenantResource
- TenantResource
The TenantResource the method will execute against.
- scheduleDefinitionId
- String
The scheduleDefinitionId for the resource.
- id
- String
The id of the access review instance.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
tenantResource is null.