Partilhar via


ApiManagementServiceResource.GetApiManagementPrivateLinkResourceAsync Método

Definição

Obtém os recursos de link privado

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}
  • Operação IdPrivateEndpointConnection_GetPrivateLinkResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementPrivateLinkResource>> GetApiManagementPrivateLinkResourceAsync (string privateLinkSubResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiManagementPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementPrivateLinkResource>>
override this.GetApiManagementPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementPrivateLinkResource>>
Public Overridable Function GetApiManagementPrivateLinkResourceAsync (privateLinkSubResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiManagementPrivateLinkResource))

Parâmetros

privateLinkSubResourceName
String

Nome do recurso de link privado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

privateLinkSubResourceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

privateLinkSubResourceName é nulo.

Aplica-se a