Partilhar via


AppPlatformBuildResultCollection.GetAsync(String, CancellationToken) Método

Definição

Obter um resultado de build do KPack.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builds/{buildName}/results/{buildResultName}
  • Operação IdBuildService_GetBuildResult
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildResultResource>> GetAsync (string buildResultName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildResultResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildResultResource>>
Public Overridable Function GetAsync (buildResultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformBuildResultResource))

Parâmetros

buildResultName
String

O nome do recurso de resultado de build.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

buildResultName é nulo.

Aplica-se a