コード例 #1
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();
 }
コード例 #2
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)
 {
 }