Share via


SecurityConnectorResource.UpdateAsync Method

Definition

Updates a security connector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Update
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityConnectorResource>> UpdateAsync (Azure.ResourceManager.SecurityCenter.SecurityConnectorData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.SecurityCenter.SecurityConnectorData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityConnectorResource>>
override this.UpdateAsync : Azure.ResourceManager.SecurityCenter.SecurityConnectorData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityConnectorResource>>
Public Overridable Function UpdateAsync (data As SecurityConnectorData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityConnectorResource))

Parameters

data
SecurityConnectorData

The security connector resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to