Delen via


SecurityWorkspaceSettingResource.UpdateAsync Method

Definition

Settings about where we should store your security data and logs

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
  • Operation Id: WorkspaceSettings_Update
  • Default Api Version: 2017-08-01-preview
  • Resource: SecurityWorkspaceSettingResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingResource>> UpdateAsync (Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingResource>>
override this.UpdateAsync : Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingResource>>
Public Overridable Function UpdateAsync (data As SecurityWorkspaceSettingData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityWorkspaceSettingResource))

Parameters

data
SecurityWorkspaceSettingData

Security data setting object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to