MockableAuthorizationTenantResource.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.
- Request Path. : /providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances/{id}.
- Operation Id. : AccessReviewInstancesAssignedForMyApproval_GetById.
- Default Api Version. : 2021-12-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.AccessReviewInstancesAssignedForMyApprovalResource>> GetAccessReviewInstancesAssignedForMyApprovalAsync(string scheduleDefinitionId, string id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAccessReviewInstancesAssignedForMyApprovalAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.AccessReviewInstancesAssignedForMyApprovalResource>>
override this.GetAccessReviewInstancesAssignedForMyApprovalAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.AccessReviewInstancesAssignedForMyApprovalResource>>
Public Overridable Function GetAccessReviewInstancesAssignedForMyApprovalAsync (scheduleDefinitionId As String, id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AccessReviewInstancesAssignedForMyApprovalResource))
Parameters
- 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
id is null.
id is an empty string, and was expected to be non-empty.