SecuritySettingResource.UpdateAsync Method

Definition

updating settings about different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Update
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.SecurityCenter.SecuritySettingData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.SecuritySettingData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.SecuritySettingData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As SecuritySettingData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SecuritySettingResource))

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
SecuritySettingData

Setting object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to