你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AutoBackupSettings 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AutoBackupSettings() |
初始化 AutoBackupSettings 类的新实例。 |
AutoBackupSettings(Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, String, String, String, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>) |
初始化 AutoBackupSettings 类的新实例。 |
AutoBackupSettings()
初始化 AutoBackupSettings 类的新实例。
public AutoBackupSettings ();
Public Sub New ()
适用于
AutoBackupSettings(Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, String, String, String, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
初始化 AutoBackupSettings 类的新实例。
public AutoBackupSettings (bool? enable = default, bool? enableEncryption = default, int? retentionPeriod = default, string storageAccountUrl = default, string storageAccessKey = default, string password = default, bool? backupSystemDbs = default, string backupScheduleType = default, string fullBackupFrequency = default, int? fullBackupStartTime = default, int? fullBackupWindowHours = default, int? logBackupFrequency = default);
new Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoBackupSettings : Nullable<bool> * Nullable<bool> * Nullable<int> * string * string * string * Nullable<bool> * string * string * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoBackupSettings
Public Sub New (Optional enable As Nullable(Of Boolean) = Nothing, Optional enableEncryption As Nullable(Of Boolean) = Nothing, Optional retentionPeriod As Nullable(Of Integer) = Nothing, Optional storageAccountUrl As String = Nothing, Optional storageAccessKey As String = Nothing, Optional password As String = Nothing, Optional backupSystemDbs As Nullable(Of Boolean) = Nothing, Optional backupScheduleType As String = Nothing, Optional fullBackupFrequency As String = Nothing, Optional fullBackupStartTime As Nullable(Of Integer) = Nothing, Optional fullBackupWindowHours As Nullable(Of Integer) = Nothing, Optional logBackupFrequency As Nullable(Of Integer) = Nothing)
参数
- storageAccountUrl
- String
将进行备份的存储帐户 URL。
- storageAccessKey
- String
要在其中执行备份的存储帐户密钥。
- password
- String
备份时加密的密码。
- backupScheduleType
- String
备份计划类型。 可能的值包括:“Manual”、“Automated”
- fullBackupFrequency
- String
完整备份的频率。 上述两种情况下,均在下一个计划的时间段内开始完整备份。 可能的值包括:“Daily”、“Weekly”