Partilhar via


HybridComputeExtensions.GetHybridComputePrivateLinkScope 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 Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource> GetHybridComputePrivateLinkScope (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string scopeName, System.Threading.CancellationToken cancellationToken = default);
static member GetHybridComputePrivateLinkScope : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>
<Extension()>
Public Function GetHybridComputePrivateLinkScope (resourceGroupResource As ResourceGroupResource, scopeName As String, Optional cancellationToken As CancellationToken = Nothing) As 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