Share via


AppComplianceReportEvidenceResource.DownloadAsync Method

Definition

Download evidence file.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}/download
  • Operation Id: Evidence_Download
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportEvidenceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.EvidenceFileDownloadResult>> DownloadAsync (Azure.ResourceManager.AppComplianceAutomation.Models.EvidenceFileDownloadRequestContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadAsync : Azure.ResourceManager.AppComplianceAutomation.Models.EvidenceFileDownloadRequestContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.EvidenceFileDownloadResult>>
override this.DownloadAsync : Azure.ResourceManager.AppComplianceAutomation.Models.EvidenceFileDownloadRequestContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppComplianceAutomation.Models.EvidenceFileDownloadResult>>
Public Overridable Function DownloadAsync (content As EvidenceFileDownloadRequestContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EvidenceFileDownloadResult))

Parameters

content
EvidenceFileDownloadRequestContent

Parameters for the query operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to