Compartilhar via


AppPlatformServiceResource.GetAppPlatformBuildServiceAsync 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>> GetAppPlatformBuildServiceAsync (string buildServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppPlatformBuildServiceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceResource>>
override this.GetAppPlatformBuildServiceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceResource>>
Public Overridable Function GetAppPlatformBuildServiceAsync (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 esperava-se que não estivesse vazia.

buildServiceName é nulo.

Aplica-se a