共用方式為


AppServiceDatabaseBackupSetting Class

Definition

Database backup settings.

public class AppServiceDatabaseBackupSetting : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.AppServiceDatabaseBackupSetting>
type AppServiceDatabaseBackupSetting = class
    interface IJsonModel<AppServiceDatabaseBackupSetting>
    interface IPersistableModel<AppServiceDatabaseBackupSetting>
Public Class AppServiceDatabaseBackupSetting
Implements IJsonModel(Of AppServiceDatabaseBackupSetting), IPersistableModel(Of AppServiceDatabaseBackupSetting)
Inheritance
AppServiceDatabaseBackupSetting
Implements

Constructors

AppServiceDatabaseBackupSetting(AppServiceDatabaseType)

Initializes a new instance of AppServiceDatabaseBackupSetting.

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

Gets or sets the name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppServiceDatabaseBackupSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppServiceDatabaseBackupSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppServiceDatabaseBackupSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppServiceDatabaseBackupSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppServiceDatabaseBackupSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to