SecurityInsightsDataConnectorResource.Connect 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 Azure.Response Connect (Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Connect : Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent * System.Threading.CancellationToken -> Azure.Response
override this.Connect : Azure.ResourceManager.SecurityInsights.Models.DataConnectorConnectContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Connect (content As DataConnectorConnectContent, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- content
- DataConnectorConnectContent
The data connector.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.