PrivateLinkServicesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an private link service in the specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.PrivateLinkServiceInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IPrivateLinkServicesOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.Network.Fluent.Models.PrivateLinkServiceInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IPrivateLinkServicesOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.PrivateLinkServiceInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.PrivateLinkServiceInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateLinkServicesOperations, resourceGroupName As String, serviceName As String, parameters As PrivateLinkServiceInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateLinkServiceInner)

Parameters

operations
IPrivateLinkServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the private link service.

parameters
PrivateLinkServiceInner

Parameters supplied to the create or update private link service operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to