ScopeAccessReviewHistoryDefinitionResource.GenerateDownloadUri 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.
Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object.
- Request Path. : /{scope}/providers/Microsoft.Authorization/accessReviewHistoryDefinitions/{historyDefinitionId}/instances/{instanceId}/generateDownloadUri.
- Operation Id. : ScopeAccessReviewHistoryDefinitions_GenerateDownloadUri.
- Default Api Version. : 2021-12-01-preview.
- Resource. : ScopeAccessReviewHistoryDefinitionResource.
public virtual Azure.Response<Azure.ResourceManager.Authorization.Models.AccessReviewHistoryInstance> GenerateDownloadUri(string instanceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateDownloadUri : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.Models.AccessReviewHistoryInstance>
override this.GenerateDownloadUri : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.Models.AccessReviewHistoryInstance>
Public Overridable Function GenerateDownloadUri (instanceId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AccessReviewHistoryInstance)
Parameters
- instanceId
- String
The id of the access review history definition instance to generate a URI for.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
instanceId is null.
instanceId is an empty string, and was expected to be non-empty.