AppComplianceReportEvidenceResource.UpdateAsync Method

Definition

Create or Update an evidence a specified report

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}
  • Operation Id: Evidence_CreateOrUpdate
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportEvidenceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceData data, string offerGuid = default, string reportCreatorTenantId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceData * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceData * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As AppComplianceReportEvidenceData, Optional offerGuid As String = Nothing, Optional reportCreatorTenantId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AppComplianceReportEvidenceResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
AppComplianceReportEvidenceData

Parameters for the create or update operation.

offerGuid
String

The offerGuid which mapping to the reports.

reportCreatorTenantId
String

The tenant id of the report creator.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to