/// <summary> /// Initializes a new instance of the <see cref="DestroyMountVolumesTaskInfoProto" /> class. /// </summary> /// <param name="error">error.</param> /// <param name="finished">This will be set to true if the task is complete on the slave..</param> /// <param name="hostName">This is the host name of the ESXi host. It is used if magneto_vmware_use_fqdn_for_guest_file_operations is set..</param> /// <param name="mountVolumesInfoProto">mountVolumesInfoProto.</param> /// <param name="slaveTaskStartTimeUsecs">This is the timestamp at which the slave task started..</param> /// <param name="targetEntity">targetEntity.</param> /// <param name="useExistingAgent">This will be set to true in two cases: 1. If persistent agent was used for IVM. 2. If user chose ephemeral agent during IVM but the host already had persistent agent installed..</param> public DestroyMountVolumesTaskInfoProto(ErrorProto error = default(ErrorProto), bool?finished = default(bool?), string hostName = default(string), MountVolumesInfoProto mountVolumesInfoProto = default(MountVolumesInfoProto), long?slaveTaskStartTimeUsecs = default(long?), EntityProto targetEntity = default(EntityProto), bool?useExistingAgent = default(bool?)) { this.Finished = finished; this.HostName = hostName; this.SlaveTaskStartTimeUsecs = slaveTaskStartTimeUsecs; this.UseExistingAgent = useExistingAgent; this.Error = error; this.Finished = finished; this.HostName = hostName; this.MountVolumesInfoProto = mountVolumesInfoProto; this.SlaveTaskStartTimeUsecs = slaveTaskStartTimeUsecs; this.TargetEntity = targetEntity; this.UseExistingAgent = useExistingAgent; }
/// <summary> /// Initializes a new instance of the <see cref="MountVolumesTaskStateProto" /> class. /// </summary> /// <param name="fullNasPath">Contains the SMB/NFS path of the share we expose to clients. The share contains the files pertinent to the original backup run type..</param> /// <param name="hostEntity">hostEntity.</param> /// <param name="mountInfo">mountInfo.</param> /// <param name="mountParams">mountParams.</param> public MountVolumesTaskStateProto(string fullNasPath = default(string), EntityProto hostEntity = default(EntityProto), MountVolumesInfoProto mountInfo = default(MountVolumesInfoProto), MountVolumesParams mountParams = default(MountVolumesParams)) { this.FullNasPath = fullNasPath; this.FullNasPath = fullNasPath; this.HostEntity = hostEntity; this.MountInfo = mountInfo; this.MountParams = mountParams; }