Compartilhar via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza PrivateEndpointConnections do namespace de serviço. 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)

Parâmetros

operations
IPrivateEndpointConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos na assinatura do Azure.

namespaceName
String

O nome do namespace

privateEndpointConnectionName
String

O nome PrivateEndpointConnection

parameters
PrivateEndpointConnection

Parâmetros fornecidos para atualizar o Status da Conexão PrivateEndPoint com o recurso de namespace.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a