共用方式為


WebSiteSlotResource.UpdateBackupConfigurationSlotAsync Method

Definition

Description for Updates the backup configuration of an app.

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

Parameters

info
WebAppBackupInfo

Edited backup configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

info is null.

Applies to