LinkedServicesOperationsExtensions.BeginCreateOrUpdateAsync(ILinkedServicesOperations, String, String, String, LinkedService, CancellationToken) Method

Definition

Create or update a linked service.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.LinkedService> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.OperationalInsights.ILinkedServicesOperations operations, string resourceGroupName, string workspaceName, string linkedServiceName, Microsoft.Azure.Management.OperationalInsights.Models.LinkedService parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.OperationalInsights.ILinkedServicesOperations * string * string * string * Microsoft.Azure.Management.OperationalInsights.Models.LinkedService * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.LinkedService>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ILinkedServicesOperations, resourceGroupName As String, workspaceName As String, linkedServiceName As String, parameters As LinkedService, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LinkedService)

Parameters

operations
ILinkedServicesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group. The name is case insensitive.

workspaceName
System.String

The name of the workspace.

linkedServiceName
System.String

Name of the linkedServices resource

parameters
LinkedService

The parameters required to create or update a linked service.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<LinkedService>

Applies to