Partilhar via


BatchApplicationResource.GetBatchApplicationPackageAsync Método

Definição

Obtém informações sobre o pacote de aplicativos especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}
  • Operação IdApplicationPackage_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchApplicationPackageResource>> GetBatchApplicationPackageAsync (string versionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchApplicationPackageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchApplicationPackageResource>>
override this.GetBatchApplicationPackageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchApplicationPackageResource>>
Public Overridable Function GetBatchApplicationPackageAsync (versionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchApplicationPackageResource))

Parâmetros

versionName
String

A versão do aplicativo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

versionName é nulo.

Aplica-se a