Partilhar via


AppPlatformBuildServiceCollection.GetAsync(String, CancellationToken) Método

Definição

Obter um recurso de serviço de build.

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

Parâmetros

buildServiceName
String

O nome do recurso de serviço de build.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

buildServiceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

buildServiceName é nulo.

Aplica-se a