Edit-AzureRmWebAppBackupConfiguration

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

Edit-AzureRmWebAppBackupConfiguration
    [-FrequencyInterval] <Int32>
    [-FrequencyUnit] <String>
    [-RetentionPeriodInDays] <Int32>
    [[-StartTime] <DateTime>]
    [-KeepAtLeastOneBackup]
    [-ResourceGroupName] <String>
    [-Name] <String>
    [[-Slot] <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [-StorageAccountUrl] <String>
    [[-Databases] <DatabaseBackupSetting[]>]
    [<CommonParameters>]
Edit-AzureRmWebAppBackupConfiguration
    [-FrequencyInterval] <Int32>
    [-FrequencyUnit] <String>
    [-RetentionPeriodInDays] <Int32>
    [[-StartTime] <DateTime>]
    [-KeepAtLeastOneBackup]
    [-WebApp] <PSSite>
    [-DefaultProfile <IAzureContextContainer>]
    [-StorageAccountUrl] <String>
    [[-Databases] <DatabaseBackupSetting[]>]
    [<CommonParameters>]

Description

The Edit-AzureRmWebAppBackupConfiguration cmdlet edits the current configuration backup for an Azure Web App.

Parameters

-Databases

Databases of type DatabaseBackupSetting[]

Type:DatabaseBackupSetting[]
Position:8
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FrequencyInterval

Frequency Interval

Type:Int32
Position:4
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-FrequencyUnit

Frequency Unit

Type:String
Position:5
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-KeepAtLeastOneBackup

Keep At Least One Backup Option

Type:SwitchParameter
Position:9
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

WebApp Name

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Resource Group Name

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-RetentionPeriodInDays

Retention Period In Days

Type:Int32
Position:6
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Slot

WebApp Slot Name

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-StartTime

StartTime in UTC

Type:DateTime
Position:7
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-StorageAccountUrl

Storage Account Url

Type:String
Position:3
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WebApp

WebApp Object

Type:PSSite
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

Int32

String

DateTime

SwitchParameter

Site

Parameters: WebApp (ByValue)

DatabaseBackupSetting[]

Outputs

AzureWebAppBackupConfiguration