Partager via


AppPlatformBuildServiceResource.GetAppPlatformSupportedStackAsync Méthode

Définition

Obtenez la ressource de pile prise en charge.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedStacks/{stackName}
  • IdBuildService_GetSupportedStack d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformSupportedStackResource>> GetAppPlatformSupportedStackAsync (string stackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppPlatformSupportedStackAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformSupportedStackResource>>
override this.GetAppPlatformSupportedStackAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformSupportedStackResource>>
Public Overridable Function GetAppPlatformSupportedStackAsync (stackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformSupportedStackResource))

Paramètres

stackName
String

Nom de la ressource de pile.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

stackName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

stackName a la valeur null.

S’applique à