你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmRecoveryServicesBackupModelFactory.VmWorkloadSapHanaDBInstanceProtectedItem 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 VmWorkloadSapHanaDBInstanceProtectedItem 的新实例。
public static Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadSapHanaDBInstanceProtectedItem VmWorkloadSapHanaDBInstanceProtectedItem (Azure.ResourceManager.RecoveryServicesBackup.Models.BackupManagementType? backupManagementType = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupDataSourceType? workloadType = default, string containerName = default, Azure.Core.ResourceIdentifier sourceResourceId = default, Azure.Core.ResourceIdentifier policyId = default, DateTimeOffset? lastRecoverOn = default, string backupSetName = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode? createMode = default, DateTimeOffset? deferredDeletedOn = default, bool? isScheduledForDeferredDelete = default, string deferredDeleteTimeRemaining = default, bool? isDeferredDeleteScheduleUpcoming = default, bool? isRehydrate = default, System.Collections.Generic.IEnumerable<string> resourceGuardOperationRequests = default, bool? isArchiveEnabled = default, string policyName = default, int? softDeleteRetentionPeriodInDays = default, string friendlyName = default, string serverName = default, string parentName = default, string parentType = default, string protectionStatus = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionState? protectionState = default, Azure.ResourceManager.RecoveryServicesBackup.Models.LastBackupStatus? lastBackupStatus = default, DateTimeOffset? lastBackupOn = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupErrorDetail lastBackupErrorDetail = default, string protectedItemDataSourceId = default, Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemHealthStatus? protectedItemHealthStatus = default, Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemExtendedInfo extendedInfo = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.RecoveryServicesBackup.Models.KpiResourceHealthDetails> kpisHealths = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesBackup.Models.DistributedNodesInfo> nodesList = default);
static member VmWorkloadSapHanaDBInstanceProtectedItem : Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupManagementType> * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupDataSourceType> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode> * Nullable<DateTimeOffset> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * seq<string> * Nullable<bool> * string * Nullable<int> * string * string * string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionState> * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.LastBackupStatus> * Nullable<DateTimeOffset> * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupErrorDetail * string * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemHealthStatus> * Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemExtendedInfo * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.RecoveryServicesBackup.Models.KpiResourceHealthDetails> * seq<Azure.ResourceManager.RecoveryServicesBackup.Models.DistributedNodesInfo> -> Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadSapHanaDBInstanceProtectedItem
Public Shared Function VmWorkloadSapHanaDBInstanceProtectedItem (Optional backupManagementType As Nullable(Of BackupManagementType) = Nothing, Optional workloadType As Nullable(Of BackupDataSourceType) = Nothing, Optional containerName As String = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional policyId As ResourceIdentifier = Nothing, Optional lastRecoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupSetName As String = Nothing, Optional createMode As Nullable(Of BackupCreateMode) = Nothing, Optional deferredDeletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional isScheduledForDeferredDelete As Nullable(Of Boolean) = Nothing, Optional deferredDeleteTimeRemaining As String = Nothing, Optional isDeferredDeleteScheduleUpcoming As Nullable(Of Boolean) = Nothing, Optional isRehydrate As Nullable(Of Boolean) = Nothing, Optional resourceGuardOperationRequests As IEnumerable(Of String) = Nothing, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional policyName As String = Nothing, Optional softDeleteRetentionPeriodInDays As Nullable(Of Integer) = Nothing, Optional friendlyName As String = Nothing, Optional serverName As String = Nothing, Optional parentName As String = Nothing, Optional parentType As String = Nothing, Optional protectionStatus As String = Nothing, Optional protectionState As Nullable(Of BackupProtectionState) = Nothing, Optional lastBackupStatus As Nullable(Of LastBackupStatus) = Nothing, Optional lastBackupOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastBackupErrorDetail As BackupErrorDetail = Nothing, Optional protectedItemDataSourceId As String = Nothing, Optional protectedItemHealthStatus As Nullable(Of VmWorkloadProtectedItemHealthStatus) = Nothing, Optional extendedInfo As VmWorkloadProtectedItemExtendedInfo = Nothing, Optional kpisHealths As IDictionary(Of String, KpiResourceHealthDetails) = Nothing, Optional nodesList As IEnumerable(Of DistributedNodesInfo) = Nothing) As VmWorkloadSapHanaDBInstanceProtectedItem
参数
- backupManagementType
- Nullable<BackupManagementType>
备份项的备份管理类型。
- workloadType
- Nullable<BackupDataSourceType>
此项表示的工作负荷的类型。
- containerName
- String
容器的唯一名称。
- sourceResourceId
- ResourceIdentifier
要备份的资源的 ARM ID。
- policyId
- ResourceIdentifier
用于备份此项的备份策略的 ID。
- lastRecoverOn
- Nullable<DateTimeOffset>
为此备份项创建上次 (最新) 备份副本时的时间戳。
- backupSetName
- String
备份项所属的备份集的名称。
- createMode
- Nullable<BackupCreateMode>
创建模式,指示恢复现有软删除的数据源或创建新数据源。
- deferredDeletedOn
- Nullable<DateTimeOffset>
以 UTC 表示的延迟删除时间。
- deferredDeleteTimeRemaining
- String
永久删除标记为延迟删除的 DS 之前的剩余时间。
- resourceGuardOperationRequests
- IEnumerable<String>
将对其执行 LAC 检查的 ResourceGuardOperationRequests。
- policyName
- String
用于保护的策略的名称。
- friendlyName
- String
此备份项表示的数据库的友好名称。
- serverName
- String
实例或 AG 的主机/群集名称。
- parentName
- String
数据库的父名称,例如实例或可用性组。
- parentType
- String
受保护项的父类型,例如:DB、独立服务器或分布式。
- protectionStatus
- String
此备份项的备份状态。
- protectionState
- Nullable<BackupProtectionState>
此备份项的备份状态。
- lastBackupStatus
- Nullable<LastBackupStatus>
上次备份操作状态。 可能的值:正常、不正常。
- lastBackupOn
- Nullable<DateTimeOffset>
此备份项上一次备份操作的时间戳。
- lastBackupErrorDetail
- BackupErrorDetail
上次备份中的错误详细信息。
- protectedItemDataSourceId
- String
受保护项的数据 ID。
- protectedItemHealthStatus
- Nullable<VmWorkloadProtectedItemHealthStatus>
备份项的运行状况,根据上次收到的检测信号进行评估。
- extendedInfo
- VmWorkloadProtectedItemExtendedInfo
有关此备份项的其他信息。
- kpisHealths
- IDictionary<String,KpiResourceHealthDetails>
不同 KPI 的运行状况详细信息。
- nodesList
- IEnumerable<DistributedNodesInfo>
分布式容器中的节点列表。
返回
用于模拟的新 VmWorkloadSapHanaDBInstanceProtectedItem 实例。