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

BackupResourceConfig 构造函数

定义

重载

BackupResourceConfig()

初始化 BackupResourceConfig 类的新实例。

BackupResourceConfig(String, String, String, Nullable<Boolean>)

初始化 BackupResourceConfig 类的新实例。

BackupResourceConfig()

初始化 BackupResourceConfig 类的新实例。

public BackupResourceConfig ();
Public Sub New ()

适用于

BackupResourceConfig(String, String, String, Nullable<Boolean>)

初始化 BackupResourceConfig 类的新实例。

public BackupResourceConfig (string storageModelType = default, string storageType = default, string storageTypeState = default, bool? crossRegionRestoreFlag = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.BackupResourceConfig : string * string * string * Nullable<bool> -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.BackupResourceConfig
Public Sub New (Optional storageModelType As String = Nothing, Optional storageType As String = Nothing, Optional storageTypeState As String = Nothing, Optional crossRegionRestoreFlag As Nullable(Of Boolean) = Nothing)

参数

storageModelType
String

存储类型。 可能的值包括:“Invalid”、“GeoRedundant”、“LocalRedundant”、“ZoneRedundant”、“ReadAccessGeoZoneRedundant”

storageType
String

存储类型。 可能的值包括:“Invalid”、“GeoRedundant”、“LocalRedundant”、“ZoneRedundant”、“ReadAccessGeoZoneRedundant”

storageTypeState
String

已锁定或已解锁。 针对资源注册计算机后,storageTypeState 始终处于锁定状态。 可能的值包括:“Invalid”、“Locked”、“Unlocked”

crossRegionRestoreFlag
Nullable<Boolean>

选择“跨区域还原”功能的详细信息。

适用于