Share via


AppComplianceReportScopingConfigurationResource.UpdateAsync Method

Definition

Get the AppComplianceAutomation scoping configuration of the specific report.

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

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
AppComplianceReportScopingConfigurationData

Parameters for the create or update operation, this is a singleton resource, so please make sure you're using 'default' as the name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to