共用方式為


AppServiceEnvironmentResource.Update Method

Definition

Description for Create or update an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_Update
  • Default Api Version: 2024-04-01
  • Resource: AppServiceEnvironmentResource
public virtual Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource> Update (Azure.ResourceManager.AppService.Models.AppServiceEnvironmentPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.Models.AppServiceEnvironmentPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>
override this.Update : Azure.ResourceManager.AppService.Models.AppServiceEnvironmentPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>
Public Overridable Function Update (patch As AppServiceEnvironmentPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppServiceEnvironmentResource)

Parameters

patch
AppServiceEnvironmentPatch

Configuration details of the App Service Environment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to