AppComplianceReportEvidenceCollection.CreateOrUpdate 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.
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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string evidenceName, Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceData data, string offerGuid = default, string reportCreatorTenantId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceData * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceData * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportEvidenceResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, evidenceName As String, data As AppComplianceReportEvidenceData, Optional offerGuid As String = Nothing, Optional reportCreatorTenantId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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.
- evidenceName
- String
The evidence name.
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
evidenceName
is an empty string, and was expected to be non-empty.
evidenceName
or data
is null.
Applies to
Azure SDK for .NET