Dela via


LinkedServicesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a linked service.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.LinkedService> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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
String

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

workspaceName
String

The name of the workspace.

linkedServiceName
String

Name of the linkedServices resource

parameters
LinkedService

The parameters required to create or update a linked service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to