/// <summary> /// Initializes a new instance of the InMageReprotectInput class. /// </summary> /// <param name="masterTargetId">The Master Target Id.</param> /// <param name="processServerId">The Process Server Id.</param> /// <param name="retentionDrive">The retention drive to use on the /// MT.</param> /// <param name="profileId">The Policy Id.</param> /// <param name="runAsAccountId">The CS account Id.</param> /// <param name="datastoreName">The target data store name.</param> /// <param name="diskExclusionInput">The enable disk exclusion /// input.</param> /// <param name="disksToInclude">The disks to include list.</param> public InMageReprotectInput(string masterTargetId, string processServerId, string retentionDrive, string profileId, string runAsAccountId = default(string), string datastoreName = default(string), InMageDiskExclusionInput diskExclusionInput = default(InMageDiskExclusionInput), IList <string> disksToInclude = default(IList <string>)) { MasterTargetId = masterTargetId; ProcessServerId = processServerId; RetentionDrive = retentionDrive; RunAsAccountId = runAsAccountId; DatastoreName = datastoreName; DiskExclusionInput = diskExclusionInput; ProfileId = profileId; DisksToInclude = disksToInclude; CustomInit(); }
/// <summary> /// Initializes a new instance of the InMageEnableProtectionInput /// class. /// </summary> /// <param name="masterTargetId">The Master Target Id.</param> /// <param name="processServerId">The Process Server Id.</param> /// <param name="retentionDrive">The retention drive to use on the /// MT.</param> /// <param name="multiVmGroupId">The multi vm group Id.</param> /// <param name="multiVmGroupName">The multi vm group name.</param> /// <param name="vmFriendlyName">The Vm Name.</param> /// <param name="runAsAccountId">The CS account Id.</param> /// <param name="datastoreName">The target datastore name.</param> /// <param name="diskExclusionInput">The enable disk exclusion /// input.</param> /// <param name="disksToInclude">The disks to include list.</param> public InMageEnableProtectionInput(string masterTargetId, string processServerId, string retentionDrive, string multiVmGroupId, string multiVmGroupName, string vmFriendlyName = default(string), string runAsAccountId = default(string), string datastoreName = default(string), InMageDiskExclusionInput diskExclusionInput = default(InMageDiskExclusionInput), IList <string> disksToInclude = default(IList <string>)) { VmFriendlyName = vmFriendlyName; MasterTargetId = masterTargetId; ProcessServerId = processServerId; RetentionDrive = retentionDrive; RunAsAccountId = runAsAccountId; MultiVmGroupId = multiVmGroupId; MultiVmGroupName = multiVmGroupName; DatastoreName = datastoreName; DiskExclusionInput = diskExclusionInput; DisksToInclude = disksToInclude; CustomInit(); }