コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the MabProtectionPolicy class.
 /// </summary>
 /// <param name="protectedItemsCount">Number of items associated with
 /// this policy.</param>
 /// <param name="schedulePolicy">Backup schedule of backup
 /// policy.</param>
 /// <param name="retentionPolicy">Retention policy details.</param>
 public MabProtectionPolicy(int?protectedItemsCount = default(int?), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy))
     : base(protectedItemsCount)
 {
     SchedulePolicy  = schedulePolicy;
     RetentionPolicy = retentionPolicy;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the SubProtectionPolicy class.
 /// </summary>
 /// <param name="policyType">Type of backup policy type. Possible
 /// values include: 'Invalid', 'Full', 'Differential', 'Log',
 /// 'CopyOnlyFull'</param>
 /// <param name="schedulePolicy">Backup schedule specified as part of
 /// backup policy.</param>
 /// <param name="retentionPolicy">Retention policy with the details on
 /// backup copy retention ranges.</param>
 public SubProtectionPolicy(string policyType = default(string), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy))
 {
     PolicyType      = policyType;
     SchedulePolicy  = schedulePolicy;
     RetentionPolicy = retentionPolicy;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the MabProtectionPolicy class.
 /// </summary>
 /// <param name="protectedItemsCount">Number of items associated with
 /// this policy.</param>
 /// <param name="resourceGuardOperationRequests">ResourceGuard
 /// Operation Requests</param>
 /// <param name="schedulePolicy">Backup schedule of backup
 /// policy.</param>
 /// <param name="retentionPolicy">Retention policy details.</param>
 public MabProtectionPolicy(int?protectedItemsCount = default(int?), IList <string> resourceGuardOperationRequests = default(IList <string>), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy))
     : base(protectedItemsCount, resourceGuardOperationRequests)
 {
     SchedulePolicy  = schedulePolicy;
     RetentionPolicy = retentionPolicy;
     CustomInit();
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the SubProtectionPolicy class.
 /// </summary>
 /// <param name="policyType">Type of backup policy type. Possible
 /// values include: 'Invalid', 'Full', 'Differential', 'Log',
 /// 'CopyOnlyFull', 'Incremental'</param>
 /// <param name="schedulePolicy">Backup schedule specified as part of
 /// backup policy.</param>
 /// <param name="retentionPolicy">Retention policy with the details on
 /// backup copy retention ranges.</param>
 /// <param name="tieringPolicy">Tiering policy to automatically move
 /// RPs to another tier.
 /// Key is Target Tier, defined in RecoveryPointTierType enum.
 /// Tiering policy specifies the criteria to move RP to the target
 /// tier.</param>
 public SubProtectionPolicy(string policyType = default(string), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy), IDictionary <string, TieringPolicy> tieringPolicy = default(IDictionary <string, TieringPolicy>))
 {
     PolicyType      = policyType;
     SchedulePolicy  = schedulePolicy;
     RetentionPolicy = retentionPolicy;
     TieringPolicy   = tieringPolicy;
     CustomInit();
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the AzureIaaSVMProtectionPolicy
 /// class.
 /// </summary>
 /// <param name="protectedItemsCount">Number of items associated with
 /// this policy.</param>
 /// <param name="schedulePolicy">Backup schedule specified as part of
 /// backup policy.</param>
 /// <param name="retentionPolicy">Retention policy with the details on
 /// backup copy retention ranges.</param>
 /// <param name="instantRpRetentionRangeInDays">Instant RP retention
 /// policy range in days</param>
 /// <param name="timeZone">TimeZone optional input as string. For
 /// example: TimeZone = "Pacific Standard Time".</param>
 public AzureIaaSVMProtectionPolicy(int?protectedItemsCount = default(int?), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy), int?instantRpRetentionRangeInDays = default(int?), string timeZone = default(string))
     : base(protectedItemsCount)
 {
     SchedulePolicy  = schedulePolicy;
     RetentionPolicy = retentionPolicy;
     InstantRpRetentionRangeInDays = instantRpRetentionRangeInDays;
     TimeZone = timeZone;
     CustomInit();
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the AzureFileShareProtectionPolicy
 /// class.
 /// </summary>
 /// <param name="protectedItemsCount">Number of items associated with
 /// this policy.</param>
 /// <param name="workLoadType">Type of workload for the backup
 /// management</param>
 /// <param name="schedulePolicy">Backup schedule specified as part of
 /// backup policy.</param>
 /// <param name="retentionPolicy">Retention policy with the details on
 /// backup copy retention ranges.</param>
 /// <param name="timeZone">TimeZone optional input as string. For
 /// example: TimeZone = "Pacific Standard Time".</param>
 public AzureFileShareProtectionPolicy(int?protectedItemsCount = default(int?), string workLoadType = default(string), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy), string timeZone = default(string))
     : base(protectedItemsCount)
 {
     WorkLoadType    = workLoadType;
     SchedulePolicy  = schedulePolicy;
     RetentionPolicy = retentionPolicy;
     TimeZone        = timeZone;
     CustomInit();
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the AzureFileShareProtectionPolicy
 /// class.
 /// </summary>
 /// <param name="protectedItemsCount">Number of items associated with
 /// this policy.</param>
 /// <param name="resourceGuardOperationRequests">ResourceGuard
 /// Operation Requests</param>
 /// <param name="workLoadType">Type of workload for the backup
 /// management. Possible values include: 'Invalid', 'VM', 'FileFolder',
 /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM',
 /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
 /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'</param>
 /// <param name="schedulePolicy">Backup schedule specified as part of
 /// backup policy.</param>
 /// <param name="retentionPolicy">Retention policy with the details on
 /// backup copy retention ranges.</param>
 /// <param name="timeZone">TimeZone optional input as string. For
 /// example: TimeZone = "Pacific Standard Time".</param>
 public AzureFileShareProtectionPolicy(int?protectedItemsCount = default(int?), IList <string> resourceGuardOperationRequests = default(IList <string>), string workLoadType = default(string), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy), string timeZone = default(string))
     : base(protectedItemsCount, resourceGuardOperationRequests)
 {
     WorkLoadType    = workLoadType;
     SchedulePolicy  = schedulePolicy;
     RetentionPolicy = retentionPolicy;
     TimeZone        = timeZone;
     CustomInit();
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the AzureIaaSVMProtectionPolicy
 /// class.
 /// </summary>
 /// <param name="protectedItemsCount">Number of items associated with
 /// this policy.</param>
 /// <param name="resourceGuardOperationRequests">ResourceGuard
 /// Operation Requests</param>
 /// <param name="schedulePolicy">Backup schedule specified as part of
 /// backup policy.</param>
 /// <param name="retentionPolicy">Retention policy with the details on
 /// backup copy retention ranges.</param>
 /// <param name="instantRpRetentionRangeInDays">Instant RP retention
 /// policy range in days</param>
 /// <param name="timeZone">TimeZone optional input as string. For
 /// example: TimeZone = "Pacific Standard Time".</param>
 public AzureIaaSVMProtectionPolicy(int?protectedItemsCount = default(int?), IList <string> resourceGuardOperationRequests = default(IList <string>), InstantRPAdditionalDetails instantRPDetails = default(InstantRPAdditionalDetails), SchedulePolicy schedulePolicy = default(SchedulePolicy), RetentionPolicy retentionPolicy = default(RetentionPolicy), int?instantRpRetentionRangeInDays = default(int?), string timeZone = default(string))
     : base(protectedItemsCount, resourceGuardOperationRequests)
 {
     InstantRPDetails = instantRPDetails;
     SchedulePolicy   = schedulePolicy;
     RetentionPolicy  = retentionPolicy;
     InstantRpRetentionRangeInDays = instantRpRetentionRangeInDays;
     TimeZone = timeZone;
     CustomInit();
 }
コード例 #9
0
 public AzureIaaSVMProtectionPolicy(int?protectedItemsCount, IList <string> resourceGuardOperationRequests, InstantRPAdditionalDetails instantRPDetails, SchedulePolicy schedulePolicy, RetentionPolicy retentionPolicy, int?instantRpRetentionRangeInDays, string timeZone = default(string), string policyType = default(string))
     : this(protectedItemsCount, resourceGuardOperationRequests, instantRPDetails, schedulePolicy, retentionPolicy, default(IDictionary <string, TieringPolicy>), instantRpRetentionRangeInDays, timeZone, policyType)
 {
 }