Partilhar via


HDInsightClusterResource.GetHDInsightPrivateLinkResourceAsync Método

Definição

Obtém o recurso de link privado específico.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • IdPrivateLinkResources_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightPrivateLinkResource>> GetHDInsightPrivateLinkResourceAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightPrivateLinkResource>>
override this.GetHDInsightPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightPrivateLinkResource>>
Public Overridable Function GetHDInsightPrivateLinkResourceAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightPrivateLinkResource))

Parâmetros

privateLinkResourceName
String

O nome do recurso de link privado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

privateLinkResourceName é nulo.

Aplica-se a