AppServicePlansOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates an App Service Plan.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServicePlan> CreateOrUpdateAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.AppServicePlan appServicePlan, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * string * Microsoft.Azure.Management.WebSites.Models.AppServicePlan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, appServicePlan As AppServicePlan, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppServicePlan)
Parameters
- operations
- IAppServicePlansOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group to which the resource belongs.
- name
- String
Name of the App Service plan.
- appServicePlan
- AppServicePlan
Details of the App Service plan.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Description for Creates or updates an App Service Plan.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET