Compartir a través de


VirtualApplicationGroupCollection.GetIfExistsAsync Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}
  • IdApplicationGroups_Get de operación
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

Nombre del grupo de aplicaciones.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

applicationGroupName es una cadena vacía y se espera que no esté vacía.

applicationGroupName es null.

Se aplica a