SecurityInsightsDataConnectorResource.ConnectAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Connects a data connector.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}/connect
- Operation Id: DataConnectors_Connect
- Default Api Version: 2024-01-01-preview
- Resource: SecurityInsightsDataConnectorResource
public virtual System.Threading.Tasks.Task<Azure.Response> ConnectAsync (Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ConnectAsync : Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ConnectAsync : Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ConnectAsync (content As DataConnectorConnectContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- content
- DataConnectorConnectContent
The data connector.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET