Redigera

Dela via


Edit-AzWebAppBackupConfiguration

Edits the current configuration backup for an Azure Web App

Syntax

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

Description

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

Examples

Example 1

The Edit-AzWebAppBackupConfiguration cmdlet edits the current configuration backup for an Azure Web App. (autogenerated)

Edit-AzWebAppBackupConfiguration -FrequencyInterval <Int32> -FrequencyUnit <String> -KeepAtLeastOneBackup -Name IpRule -ResourceGroupName MyResourceGroup -RetentionPeriodInDays <Int32> -StartTime 2016-11-30T22:00:00Z -StorageAccountUrl 'https://storageaccount.file.core.windows.net'

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:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Enabled

Keep At Least One Backup Option

Type:SwitchParameter
Position:10
Default value:None
Required:False
Accept pipeline input:True
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

PSSite

DatabaseBackupSetting[]

Outputs

AzureWebAppBackupConfiguration