Partilhar via


AvsPrivateCloudResource.GetWorkloadNetworkPortMirroringProfileAsync Método

Definição

Obtenha um perfil de espelhamento de porta por ID em uma rede de carga de trabalho de nuvem privada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • IdWorkloadNetworks_GetPortMirroring de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileResource>> GetWorkloadNetworkPortMirroringProfileAsync (string portMirroringId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkloadNetworkPortMirroringProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileResource>>
override this.GetWorkloadNetworkPortMirroringProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileResource>>
Public Overridable Function GetWorkloadNetworkPortMirroringProfileAsync (portMirroringId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WorkloadNetworkPortMirroringProfileResource))

Parâmetros

portMirroringId
String

Identificador de espelhamento de porta NSX. Geralmente o mesmo que o nome de exibição espelhamento de porta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

portMirroringId é nulo.

Aplica-se a