Share via


DatabaseBackupSetting Class

Definition

Database backup settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DatabaseBackupSettingTypeConverter))]
public class DatabaseBackupSetting : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDatabaseBackupSetting
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DatabaseBackupSettingTypeConverter))>]
type DatabaseBackupSetting = class
    interface IDatabaseBackupSetting
    interface IJsonSerializable
Public Class DatabaseBackupSetting
Implements IDatabaseBackupSetting
Inheritance
DatabaseBackupSetting
Attributes
Implements

Constructors

DatabaseBackupSetting()

Creates an new DatabaseBackupSetting instance.

Properties

ConnectionString

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

ConnectionStringName

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

DatabaseType

Database type (e.g. SqlAzure / MySql).

Name

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseBackupSetting.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseBackupSetting.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDatabaseBackupSetting.

FromJsonString(String)

Creates a new instance of DatabaseBackupSetting, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseBackupSetting into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to