Freigeben über


AppPlatformAppResource.ActivateDeployments Methode

Definition

Festlegen einer vorhandenen Bereitstellung unter der App als aktiv

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/setActiveDeployments
  • Vorgangs-IdApps_SetActiveDeployments
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformAppResource> ActivateDeployments (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppPlatform.Models.ActiveAppPlatformDeploymentsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ActivateDeployments : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.Models.ActiveAppPlatformDeploymentsContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformAppResource>
override this.ActivateDeployments : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.Models.ActiveAppPlatformDeploymentsContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformAppResource>
Public Overridable Function ActivateDeployments (waitUntil As WaitUntil, content As ActiveAppPlatformDeploymentsContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppPlatformAppResource)

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

content
ActiveAppPlatformDeploymentsContent

Eine Liste des Bereitstellungsnamens, der aktiv sein soll.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: