Compartilhar via


VirtualApplicationGroupCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}
  • Operação IdApplicationGroups_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>> GetIfExistsAsync (string applicationGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>>
Public Overridable Function GetIfExistsAsync (applicationGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of VirtualApplicationGroupResource))

Parâmetros

applicationGroupName
String

O nome do grupo de aplicativos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

applicationGroupName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

applicationGroupName é nulo.

Aplica-se a