你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FileShareProtectionPolicy 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
AzureStorage 备份策略。
public class FileShareProtectionPolicy : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionPolicy
type FileShareProtectionPolicy = class
inherit BackupGenericProtectionPolicy
Public Class FileShareProtectionPolicy
Inherits BackupGenericProtectionPolicy
- 继承
构造函数
FileShareProtectionPolicy() |
初始化 FileShareProtectionPolicy 的新实例。 |
属性
ProtectedItemsCount |
与此策略关联的项数。 (继承自 BackupGenericProtectionPolicy) |
ResourceGuardOperationRequests |
ResourceGuard 操作请求。 (继承自 BackupGenericProtectionPolicy) |
RetentionPolicy |
包含备份副本保留范围的详细信息的保留策略。 请注意 BackupRetentionPolicy ,是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 LongTermRetentionPolicy 和 SimpleRetentionPolicy。 |
SchedulePolicy |
作为备份策略的一部分指定的备份计划。 请注意 BackupSchedulePolicy ,是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 LogSchedulePolicy、 LongTermSchedulePolicySimpleSchedulePolicy 和 SimpleSchedulePolicyV2。 |
TimeZone |
作为字符串的 TimeZone 可选输入。 例如:TimeZone = “太平洋标准时间”。 |
WorkLoadType |
备份管理的工作负荷类型。 |