Compartilhar via


HybridComputeExtensions.GetHybridComputePrivateLinkScopeAsync Método

Definição

Retorna um PrivateLinkScope do Azure Arc.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • IdPrivateLinkScopes_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>> GetHybridComputePrivateLinkScopeAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string scopeName, System.Threading.CancellationToken cancellationToken = default);
static member GetHybridComputePrivateLinkScopeAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>>
<Extension()>
Public Function GetHybridComputePrivateLinkScopeAsync (resourceGroupResource As ResourceGroupResource, scopeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridComputePrivateLinkScopeResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

scopeName
String

O nome do recurso PrivateLinkScope do Azure Arc.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

scopeName é nulo.

Aplica-se a