Dela via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates PrivateEndpointConnections of service namespace. https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.PrivateEndpointConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceBus.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, Microsoft.Azure.Management.ServiceBus.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceBus.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.PrivateEndpointConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, namespaceName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

privateEndpointConnectionName
String

The PrivateEndpointConnection name

parameters
PrivateEndpointConnection

Parameters supplied to update Status of PrivateEndPoint Connection to namespace resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to