你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageProfile 构造函数

定义

重载

StorageProfile()

初始化 StorageProfile 类的新实例。

StorageProfile(Nullable<Int32>, String, Nullable<Int32>, String)

初始化 StorageProfile 类的新实例。

StorageProfile()

初始化 StorageProfile 类的新实例。

public StorageProfile ();
Public Sub New ()

适用于

StorageProfile(Nullable<Int32>, String, Nullable<Int32>, String)

初始化 StorageProfile 类的新实例。

public StorageProfile (int? backupRetentionDays = default, string geoRedundantBackup = default, int? storageMB = default, string storageAutogrow = default);
new Microsoft.Azure.Management.MySQL.Models.StorageProfile : Nullable<int> * string * Nullable<int> * string -> Microsoft.Azure.Management.MySQL.Models.StorageProfile
Public Sub New (Optional backupRetentionDays As Nullable(Of Integer) = Nothing, Optional geoRedundantBackup As String = Nothing, Optional storageMB As Nullable(Of Integer) = Nothing, Optional storageAutogrow As String = Nothing)

参数

backupRetentionDays
Nullable<Int32>

服务器的备份保留天数。

geoRedundantBackup
String

为服务器备份启用异地冗余或不启用异地冗余。 可能的值包括:“Enabled”、“Disabled”

storageMB
Nullable<Int32>

服务器允许的最大存储。

storageAutogrow
String

启用存储自动增长。 可能的值包括:“Enabled”、“Disabled”

适用于