Partilhar via


VirtualApplicationGroupCollection.GetIfExists Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}
  • IdApplicationGroups_Get de operação
public virtual Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource> GetIfExists (string applicationGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>
Public Overridable Function GetIfExists (applicationGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 era esperado que não estivesse vazio.

applicationGroupName é nulo.

Aplica-se a