Compartilhar via


WebSiteSlotResource.GetSiteSlotDeploymentAsync Método

Definição

Descrição para Obter uma implantação por sua ID para um aplicativo ou um slot de implantação.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}
  • Operação IdWebApps_GetDeploymentSlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotDeploymentResource>> GetSiteSlotDeploymentAsync (string id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteSlotDeploymentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotDeploymentResource>>
override this.GetSiteSlotDeploymentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotDeploymentResource>>
Public Overridable Function GetSiteSlotDeploymentAsync (id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteSlotDeploymentResource))

Parâmetros

id
String

ID de implantação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

id é nulo.

Aplica-se a