Freigeben über


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateWorkerPoolAsync Methode

Definition

Erstellen oder Aktualisieren eines Workerpools

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner> CreateOrUpdateWorkerPoolAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, string workerPoolName, Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner workerPoolEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateWorkerPoolAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner>
<Extension()>
Public Function CreateOrUpdateWorkerPoolAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, workerPoolName As String, workerPoolEnvelope As WorkerPoolResourceInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkerPoolResourceInner)

Parameter

operations
IAppServiceEnvironmentsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name des App Service-Umgebung.

workerPoolName
String

Name des Workerpools.

workerPoolEnvelope
WorkerPoolResourceInner

Eigenschaften des Workerpools.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Erstellen oder Aktualisieren eines Workerpools.

Gilt für: