Edit-AzureRmWebAppBackupConfiguration

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] <Site>
    [-DefaultProfile <IAzureContextContainer>]
    [-StorageAccountUrl] <String>
    [[-Databases] <DatabaseBackupSetting[]>]
    [<CommonParameters>]

Description

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

Required Parameters

-FrequencyInterval

Frequency Interval

Type:Int32
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-FrequencyUnit

Frequency Unit

Type:String
Position:5
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

WebApp Name

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Resource Group Name

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-RetentionPeriodInDays

Retention Period In Days

Type:Int32
Position:6
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-StorageAccountUrl

Storage Account Url

Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WebApp

WebApp Object

Type:Microsoft.Azure.Management.WebSites.Models.Site
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Databases

Databases of type DatabaseBackupSetting[]

Type:Microsoft.Azure.Management.WebSites.Models.DatabaseBackupSetting[]
Position:8
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-KeepAtLeastOneBackup

Keep At Least One Backup Option

Type:System.Management.Automation.SwitchParameter
Position:9
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Slot

WebApp Slot Name

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-StartTime

StartTime in UTC

Type:DateTime
Position:7
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

Site

Parameter 'WebApp' accepts value of type 'Site' from the pipeline

Outputs

Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.AzureWebAppBackupConfiguration