다음을 통해 공유


SecuritySettingResource.Update 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SecuritySettingResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.SecurityCenter.SecuritySettingData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.SecuritySettingData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.SecuritySettingData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SecurityCenter.SecuritySettingResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As SecuritySettingData, Optional cancellationToken As CancellationToken = Nothing) As 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