Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreHyperVVMParams" /> class.
 /// </summary>
 /// <param name="copyRecovery">Whether to perform copy recovery..</param>
 /// <param name="datastoreEntity">datastoreEntity.</param>
 /// <param name="powerStateConfig">powerStateConfig.</param>
 /// <param name="renameRestoredObjectParam">renameRestoredObjectParam.</param>
 /// <param name="resourceEntity">resourceEntity.</param>
 /// <param name="restoredObjectsNetworkConfig">restoredObjectsNetworkConfig.</param>
 /// <param name="uuidConfig">uuidConfig.</param>
 public RestoreHyperVVMParams(bool?copyRecovery = default(bool?), EntityProto datastoreEntity = default(EntityProto), PowerStateConfigProto powerStateConfig = default(PowerStateConfigProto), RenameObjectParamProto renameRestoredObjectParam = default(RenameObjectParamProto), EntityProto resourceEntity = default(EntityProto), RestoredObjectNetworkConfigProto restoredObjectsNetworkConfig = default(RestoredObjectNetworkConfigProto), UuidConfigProto uuidConfig = default(UuidConfigProto))
 {
     this.CopyRecovery                 = copyRecovery;
     this.CopyRecovery                 = copyRecovery;
     this.DatastoreEntity              = datastoreEntity;
     this.PowerStateConfig             = powerStateConfig;
     this.RenameRestoredObjectParam    = renameRestoredObjectParam;
     this.ResourceEntity               = resourceEntity;
     this.RestoredObjectsNetworkConfig = restoredObjectsNetworkConfig;
     this.UuidConfig = uuidConfig;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreAcropolisVMsParams" /> class.
 /// </summary>
 /// <param name="powerStateConfig">powerStateConfig.</param>
 /// <param name="renameRestoredObjectParam">renameRestoredObjectParam.</param>
 /// <param name="restoredObjectsNetworkConfig">restoredObjectsNetworkConfig.</param>
 /// <param name="storageContainer">storageContainer.</param>
 /// <param name="uuidConfig">uuidConfig.</param>
 public RestoreAcropolisVMsParams(PowerStateConfigProto powerStateConfig = default(PowerStateConfigProto), RenameObjectParamProto renameRestoredObjectParam = default(RenameObjectParamProto), RestoredObjectNetworkConfigProto restoredObjectsNetworkConfig = default(RestoredObjectNetworkConfigProto), EntityProto storageContainer = default(EntityProto), UuidConfigProto uuidConfig = default(UuidConfigProto))
 {
     this.PowerStateConfig             = powerStateConfig;
     this.RenameRestoredObjectParam    = renameRestoredObjectParam;
     this.RestoredObjectsNetworkConfig = restoredObjectsNetworkConfig;
     this.StorageContainer             = storageContainer;
     this.UuidConfig = uuidConfig;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreKVMVMsParams" /> class.
 /// </summary>
 /// <param name="clusterEntity">clusterEntity.</param>
 /// <param name="datacenterEntity">datacenterEntity.</param>
 /// <param name="powerStateConfig">powerStateConfig.</param>
 /// <param name="renameRestoredObjectParam">renameRestoredObjectParam.</param>
 /// <param name="restoredObjectsNetworkConfig">restoredObjectsNetworkConfig.</param>
 /// <param name="storagedomainEntity">storagedomainEntity.</param>
 public RestoreKVMVMsParams(EntityProto clusterEntity = default(EntityProto), EntityProto datacenterEntity = default(EntityProto), PowerStateConfigProto powerStateConfig = default(PowerStateConfigProto), RenameObjectParamProto renameRestoredObjectParam = default(RenameObjectParamProto), RestoredObjectNetworkConfigProto restoredObjectsNetworkConfig = default(RestoredObjectNetworkConfigProto), EntityProto storagedomainEntity = default(EntityProto))
 {
     this.ClusterEntity                = clusterEntity;
     this.DatacenterEntity             = datacenterEntity;
     this.PowerStateConfig             = powerStateConfig;
     this.RenameRestoredObjectParam    = renameRestoredObjectParam;
     this.RestoredObjectsNetworkConfig = restoredObjectsNetworkConfig;
     this.StoragedomainEntity          = storagedomainEntity;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PerformRestoreJobStateProto" /> class.
 /// </summary>
 /// <param name="admittedTimeUsecs">The time at which the restore job was admitted to run on a Magneto master. This field will be set only after the status changes to &#39;kAdmitted&#39;. Using this field, amount of time spent in the waiting/queued state and the amount of time taken taken to actually run the job can be determined. wait time &#x3D; admitted_time_usecs - start_time_usecs run time &#x3D; end_time_usecs - admitted_time_usecs.</param>
 /// <param name="cancellationRequested">Whether this restore job has a pending cancellation request..</param>
 /// <param name="continueRestoreOnError">Whether to continue with the restore operation if restore of any object fails..</param>
 /// <param name="deployVmsToCloudTaskState">deployVmsToCloudTaskState.</param>
 /// <param name="endTimeUsecs">If the restore job has finished, this field contains the end time for the job..</param>
 /// <param name="error">error.</param>
 /// <param name="name">The name of the restore job..</param>
 /// <param name="parentSourceConnectionParams">parentSourceConnectionParams.</param>
 /// <param name="powerStateConfig">powerStateConfig.</param>
 /// <param name="progressMonitorTaskPath">Root path of a Pulse task tracking the progress of the restore job..</param>
 /// <param name="renameRestoredObjectParam">renameRestoredObjectParam.</param>
 /// <param name="restoreAcropolisVmsParams">restoreAcropolisVmsParams.</param>
 /// <param name="restoreJobId">A globally unique id for this restore job..</param>
 /// <param name="restoreKubernetesNamespacesParams">restoreKubernetesNamespacesParams.</param>
 /// <param name="restoreKvmVmsParams">restoreKvmVmsParams.</param>
 /// <param name="restoreParentSource">restoreParentSource.</param>
 /// <param name="restoreTaskVec">Even if the user wanted to restore an entire job from the latest snapshot, this will have info of all the individual objects..</param>
 /// <param name="restoreVmwareVmParams">restoreVmwareVmParams.</param>
 /// <param name="restoredObjectsNetworkConfig">restoredObjectsNetworkConfig.</param>
 /// <param name="restoredToDifferentSource">Whether restore is being performed to a different parent source..</param>
 /// <param name="startTimeUsecs">The start time for this restore job..</param>
 /// <param name="status">Status of the restore job..</param>
 /// <param name="type">The type of restore being performed..</param>
 /// <param name="user">The user who requested this restore job..</param>
 /// <param name="userInfo">userInfo.</param>
 /// <param name="viewBoxId">The view box id to which the restore job belongs to..</param>
 public PerformRestoreJobStateProto(long?admittedTimeUsecs = default(long?), bool?cancellationRequested = default(bool?), bool?continueRestoreOnError = default(bool?), DeployVMsToCloudTaskStateProto deployVmsToCloudTaskState = default(DeployVMsToCloudTaskStateProto), long?endTimeUsecs = default(long?), ErrorProto error = default(ErrorProto), string name = default(string), ConnectorParams parentSourceConnectionParams = default(ConnectorParams), PowerStateConfigProto powerStateConfig = default(PowerStateConfigProto), string progressMonitorTaskPath = default(string), RenameObjectParamProto renameRestoredObjectParam = default(RenameObjectParamProto), RestoreAcropolisVMsParams restoreAcropolisVmsParams = default(RestoreAcropolisVMsParams), long?restoreJobId = default(long?), RestoreKubernetesNamespacesParams restoreKubernetesNamespacesParams = default(RestoreKubernetesNamespacesParams), RestoreKVMVMsParams restoreKvmVmsParams = default(RestoreKVMVMsParams), EntityProto restoreParentSource = default(EntityProto), List <PerformRestoreJobStateProtoRestoreTask> restoreTaskVec = default(List <PerformRestoreJobStateProtoRestoreTask>), RestoreVMwareVMParams restoreVmwareVmParams = default(RestoreVMwareVMParams), RestoredObjectNetworkConfigProto restoredObjectsNetworkConfig = default(RestoredObjectNetworkConfigProto), bool?restoredToDifferentSource = default(bool?), long?startTimeUsecs = default(long?), int?status = default(int?), int?type = default(int?), string user = default(string), UserInformation userInfo = default(UserInformation), long?viewBoxId = default(long?))
 {
     this.AdmittedTimeUsecs      = admittedTimeUsecs;
     this.CancellationRequested  = cancellationRequested;
     this.ContinueRestoreOnError = continueRestoreOnError;
     this.EndTimeUsecs           = endTimeUsecs;
     this.Name = name;
     this.ProgressMonitorTaskPath   = progressMonitorTaskPath;
     this.RestoreJobId              = restoreJobId;
     this.RestoreTaskVec            = restoreTaskVec;
     this.RestoredToDifferentSource = restoredToDifferentSource;
     this.StartTimeUsecs            = startTimeUsecs;
     this.Status                            = status;
     this.Type                              = type;
     this.User                              = user;
     this.ViewBoxId                         = viewBoxId;
     this.AdmittedTimeUsecs                 = admittedTimeUsecs;
     this.CancellationRequested             = cancellationRequested;
     this.ContinueRestoreOnError            = continueRestoreOnError;
     this.DeployVmsToCloudTaskState         = deployVmsToCloudTaskState;
     this.EndTimeUsecs                      = endTimeUsecs;
     this.Error                             = error;
     this.Name                              = name;
     this.ParentSourceConnectionParams      = parentSourceConnectionParams;
     this.PowerStateConfig                  = powerStateConfig;
     this.ProgressMonitorTaskPath           = progressMonitorTaskPath;
     this.RenameRestoredObjectParam         = renameRestoredObjectParam;
     this.RestoreAcropolisVmsParams         = restoreAcropolisVmsParams;
     this.RestoreJobId                      = restoreJobId;
     this.RestoreKubernetesNamespacesParams = restoreKubernetesNamespacesParams;
     this.RestoreKvmVmsParams               = restoreKvmVmsParams;
     this.RestoreParentSource               = restoreParentSource;
     this.RestoreTaskVec                    = restoreTaskVec;
     this.RestoreVmwareVmParams             = restoreVmwareVmParams;
     this.RestoredObjectsNetworkConfig      = restoredObjectsNetworkConfig;
     this.RestoredToDifferentSource         = restoredToDifferentSource;
     this.StartTimeUsecs                    = startTimeUsecs;
     this.Status                            = status;
     this.Type                              = type;
     this.User                              = user;
     this.UserInfo                          = userInfo;
     this.ViewBoxId                         = viewBoxId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreObjectParams" /> class.
 /// </summary>
 /// <param name="action">The action to perform..</param>
 /// <param name="datastoreEntity">datastoreEntity.</param>
 /// <param name="powerStateConfig">powerStateConfig.</param>
 /// <param name="renameRestoredObjectParam">renameRestoredObjectParam.</param>
 /// <param name="resourcePoolEntity">resourcePoolEntity.</param>
 /// <param name="restoreParentSource">restoreParentSource.</param>
 /// <param name="restoredObjectsNetworkConfig">restoredObjectsNetworkConfig.</param>
 /// <param name="viewName">Target view into which the objects are to be cloned..</param>
 public RestoreObjectParams(int?action = default(int?), EntityProto datastoreEntity = default(EntityProto), PowerStateConfigProto powerStateConfig = default(PowerStateConfigProto), RenameObjectParamProto renameRestoredObjectParam = default(RenameObjectParamProto), EntityProto resourcePoolEntity = default(EntityProto), EntityProto restoreParentSource = default(EntityProto), RestoredObjectNetworkConfigProto restoredObjectsNetworkConfig = default(RestoredObjectNetworkConfigProto), string viewName = default(string))
 {
     this.Action                       = action;
     this.ViewName                     = viewName;
     this.Action                       = action;
     this.DatastoreEntity              = datastoreEntity;
     this.PowerStateConfig             = powerStateConfig;
     this.RenameRestoredObjectParam    = renameRestoredObjectParam;
     this.ResourcePoolEntity           = resourcePoolEntity;
     this.RestoreParentSource          = restoreParentSource;
     this.RestoredObjectsNetworkConfig = restoredObjectsNetworkConfig;
     this.ViewName                     = viewName;
 }