Compartilhar via


NetworkCloudExtensions.GetNetworkCloudTrunkedNetworkAsync Método

Definição

Obter propriedades da rede com tronco fornecida.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

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

trunkedNetworkName
String

O nome da rede com tronco.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

trunkedNetworkName é nulo.

Aplica-se a