Partilhar via


MachineLearningPrivateEndpointConnectionCollection.CreateOrUpdate Método

Definição

Chamado pelos usuários finais para aprovar ou rejeitar uma conexão PE. Esse método deve validar e encaminhar a chamada para o NRP.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operação IdPrivateEndpointConnections_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningPrivateEndpointConnectionResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string privateEndpointConnectionName, Azure.ResourceManager.MachineLearning.MachineLearningPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.MachineLearning.MachineLearningPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningPrivateEndpointConnectionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.MachineLearning.MachineLearningPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningPrivateEndpointConnectionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, privateEndpointConnectionName As String, data As MachineLearningPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of MachineLearningPrivateEndpointConnectionResource)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

privateEndpointConnectionName
String

Nome da conexão do ponto de extremidade privado NRP.

data
MachineLearningPrivateEndpointConnectionData

Objeto PrivateEndpointConnection.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

privateEndpointConnectionName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

privateEndpointConnectionName ou data é nulo.

Aplica-se a