Partilhar via


ContainerAppResource.Stop(WaitUntil, CancellationToken) Método

Definição

Parar um aplicativo de contêiner

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/stop
  • IdContainerApps_Stop de operação
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppResource> Stop (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member Stop : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppResource>
override this.Stop : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppResource>
Public Overridable Function Stop (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ContainerAppResource)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de longa execução, consulte Exemplos de operação de Long-Running do Azure.Core.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a