共用方式為


WebSiteResource.UpdateBackupConfiguration Method

Definition

Description for Updates the backup configuration of an app.

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

Parameters

info
WebAppBackupInfo

Edited backup configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

info is null.

Applies to