Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RetrieveArchiveInfoRetrievedEntity" /> class.
 /// </summary>
 /// <param name="bytesTransferred">Number of physical bytes transferred over wire for this entity..</param>
 /// <param name="endTimestampUsecs">Time in microseconds when retrieve of this entity finished or failed..</param>
 /// <param name="entity">entity.</param>
 /// <param name="error">error.</param>
 /// <param name="logicalBytesTransferred">Number of logical bytes transferred so far..</param>
 /// <param name="logicalSizeBytes">Total logical size of this entity..</param>
 /// <param name="progressMonitorTaskPath">The path relative to the root path of the retrieval task progress monitor of this entity progress monitor..</param>
 /// <param name="relativeSnapshotDir">The path relative to the root of the file system where the snapshot of this entity was retrieved/copied to..</param>
 /// <param name="startTimestampUsecs">Time in microseconds when retrieve of this entity started..</param>
 /// <param name="status">The retrieval status of this entity..</param>
 public RetrieveArchiveInfoRetrievedEntity(long?bytesTransferred = default(long?), long?endTimestampUsecs = default(long?), EntityProto entity = default(EntityProto), ErrorProto error = default(ErrorProto), long?logicalBytesTransferred = default(long?), long?logicalSizeBytes = default(long?), string progressMonitorTaskPath = default(string), string relativeSnapshotDir = default(string), long?startTimestampUsecs = default(long?), int?status = default(int?))
 {
     this.BytesTransferred        = bytesTransferred;
     this.EndTimestampUsecs       = endTimestampUsecs;
     this.LogicalBytesTransferred = logicalBytesTransferred;
     this.LogicalSizeBytes        = logicalSizeBytes;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.RelativeSnapshotDir     = relativeSnapshotDir;
     this.StartTimestampUsecs     = startTimestampUsecs;
     this.Status                  = status;
     this.BytesTransferred        = bytesTransferred;
     this.EndTimestampUsecs       = endTimestampUsecs;
     this.Entity                  = entity;
     this.Error                   = error;
     this.LogicalBytesTransferred = logicalBytesTransferred;
     this.LogicalSizeBytes        = logicalSizeBytes;
     this.ProgressMonitorTaskPath = progressMonitorTaskPath;
     this.RelativeSnapshotDir     = relativeSnapshotDir;
     this.StartTimestampUsecs     = startTimestampUsecs;
     this.Status                  = status;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyCloneAppTaskInfoProto" /> class.
 /// </summary>
 /// <param name="appEnv">The application environment..</param>
 /// <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="targetEntity">targetEntity.</param>
 /// <param name="targetEntityCredentials">targetEntityCredentials.</param>
 public DestroyCloneAppTaskInfoProto(int?appEnv = default(int?), ErrorProto error = default(ErrorProto), bool?finished = default(bool?), EntityProto targetEntity = default(EntityProto), Credentials targetEntityCredentials = default(Credentials))
 {
     this.AppEnv                  = appEnv;
     this.Finished                = finished;
     this.AppEnv                  = appEnv;
     this.Error                   = error;
     this.Finished                = finished;
     this.TargetEntity            = targetEntity;
     this.TargetEntityCredentials = targetEntityCredentials;
 }
 /// <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;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecoverVirtualDiskParamsVirtualDiskMapping" /> class.
 /// </summary>
 /// <param name="diskToOverwrite">diskToOverwrite.</param>
 /// <param name="srcDisk">srcDisk.</param>
 /// <param name="targetLocation">targetLocation.</param>
 public RecoverVirtualDiskParamsVirtualDiskMapping(VirtualDiskId diskToOverwrite = default(VirtualDiskId), VirtualDiskId srcDisk = default(VirtualDiskId), EntityProto targetLocation = default(EntityProto))
 {
     this.DiskToOverwrite = diskToOverwrite;
     this.SrcDisk         = srcDisk;
     this.TargetLocation  = targetLocation;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReplicateSnapshotsToAzureParams" /> class.
 /// </summary>
 /// <param name="resourceGroup">resourceGroup.</param>
 /// <param name="storageAccount">storageAccount.</param>
 /// <param name="storageContainer">storageContainer.</param>
 /// <param name="storageResourceGroup">storageResourceGroup.</param>
 public ReplicateSnapshotsToAzureParams(EntityProto resourceGroup = default(EntityProto), EntityProto storageAccount = default(EntityProto), EntityProto storageContainer = default(EntityProto), EntityProto storageResourceGroup = default(EntityProto))
 {
     this.ResourceGroup        = resourceGroup;
     this.StorageAccount       = storageAccount;
     this.StorageContainer     = storageContainer;
     this.StorageResourceGroup = storageResourceGroup;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StorageSnapshotProviderParams" /> class.
 /// </summary>
 /// <param name="connectorParams">connectorParams.</param>
 /// <param name="entity">entity.</param>
 public StorageSnapshotProviderParams(ConnectorParams connectorParams = default(ConnectorParams), EntityProto entity = default(EntityProto))
 {
     this.ConnectorParams = connectorParams;
     this.Entity          = entity;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyClonedEntityInfoProtoClonedEntity" /> class.
 /// </summary>
 /// <param name="entity">entity.</param>
 /// <param name="relativeRestorePathVec">Path of all files created by the clone operation. Each path is relative to the clone view..</param>
 public DestroyClonedEntityInfoProtoClonedEntity(EntityProto entity = default(EntityProto), List <string> relativeRestorePathVec = default(List <string>))
 {
     this.RelativeRestorePathVec = relativeRestorePathVec;
     this.Entity = entity;
     this.RelativeRestorePathVec = relativeRestorePathVec;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreObject" /> class.
 /// </summary>
 /// <param name="archivalTarget">archivalTarget.</param>
 /// <param name="attemptNum">The attempt number of the job run to restore from..</param>
 /// <param name="cloudDeployTarget">cloudDeployTarget.</param>
 /// <param name="cloudReplicationTarget">cloudReplicationTarget.</param>
 /// <param name="entity">entity.</param>
 /// <param name="jobId">The job id from which to restore. This is used while communicating with yoda..</param>
 /// <param name="jobInstanceId">Id identifying a specific run to restore from. If this is not specified, and we need to restore from a run, the latest run is used. NOTE: This must be specified for RestoreFiles, RecoverDisks and GetVirtualDisks APIs..</param>
 /// <param name="jobUid">jobUid.</param>
 /// <param name="parentSource">parentSource.</param>
 /// <param name="pointInTimeRestoreTimeUsecs">The time to which the object needs to be restored. If this is not set, then the object will be restored to the full/incremental snapshot. This is applicable only if the object is protected using CDP..</param>
 /// <param name="restoreAcropolisVmParam">restoreAcropolisVmParam.</param>
 /// <param name="snapshotRelativeDirPath">The relative path to the directory containing the entity&#39;s snapshot..</param>
 /// <param name="startTimeUsecs">The start time of the specific job run. Iff &#39;job_instance_id&#39; is set, this field must be set. In-memory indices on the Magneto master are laid-out by the start time of the job, and this is how the master pulls up a specific run. NOTE: This must be specified for RestoreFiles, RecoverDisks and GetVirtualDisks APIs.</param>
 /// <param name="viewName">The name of the view where the object&#39;s snapshot is located..</param>
 /// <param name="vmHadIndependentDisks">This is applicable only to VMs and is set to true when the VM being recovered or cloned contained independent disks when it was backed up..</param>
 public RestoreObject(ArchivalTarget archivalTarget = default(ArchivalTarget), int?attemptNum = default(int?), CloudDeployTarget cloudDeployTarget = default(CloudDeployTarget), CloudDeployTarget cloudReplicationTarget = default(CloudDeployTarget), EntityProto entity = default(EntityProto), long?jobId = default(long?), long?jobInstanceId = default(long?), UniversalIdProto jobUid = default(UniversalIdProto), EntityProto parentSource = default(EntityProto), long?pointInTimeRestoreTimeUsecs = default(long?), RestoreAcropolisVMParam restoreAcropolisVmParam = default(RestoreAcropolisVMParam), string snapshotRelativeDirPath = default(string), long?startTimeUsecs = default(long?), string viewName = default(string), bool?vmHadIndependentDisks = default(bool?))
 {
     this.AttemptNum    = attemptNum;
     this.JobId         = jobId;
     this.JobInstanceId = jobInstanceId;
     this.PointInTimeRestoreTimeUsecs = pointInTimeRestoreTimeUsecs;
     this.SnapshotRelativeDirPath     = snapshotRelativeDirPath;
     this.StartTimeUsecs         = startTimeUsecs;
     this.ViewName               = viewName;
     this.VmHadIndependentDisks  = vmHadIndependentDisks;
     this.ArchivalTarget         = archivalTarget;
     this.AttemptNum             = attemptNum;
     this.CloudDeployTarget      = cloudDeployTarget;
     this.CloudReplicationTarget = cloudReplicationTarget;
     this.Entity        = entity;
     this.JobId         = jobId;
     this.JobInstanceId = jobInstanceId;
     this.JobUid        = jobUid;
     this.ParentSource  = parentSource;
     this.PointInTimeRestoreTimeUsecs = pointInTimeRestoreTimeUsecs;
     this.RestoreAcropolisVmParam     = restoreAcropolisVmParam;
     this.SnapshotRelativeDirPath     = snapshotRelativeDirPath;
     this.StartTimeUsecs        = startTimeUsecs;
     this.ViewName              = viewName;
     this.VmHadIndependentDisks = vmHadIndependentDisks;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreOneDriveParams" /> class.
 /// </summary>
 /// <param name="driveOwnerVec">The list of users/groups whose drives are being restored..</param>
 /// <param name="restoreToOriginal">Whether or not all drive items are restored to original location..</param>
 /// <param name="targetDriveId">The id of the drive in which items will be restored..</param>
 /// <param name="targetFolderPath">All drives part of various users listed in drive_owner_vec will be restored to the drive belonging to target_user having id target_drive_id. Let&#39;s say drive_owner_vec is A and B; drive_vec of A and B is 111 and 222 respectively; target_user is C; target_drive_id is 333. The final folder-hierarchy after restore job is finished will look like this : C:333: {target_folder_path}/| |A/111/{whatever is there in restore_item_vec of 111} |B/222/{whatever is there in restore_item_vec of 222}.</param>
 /// <param name="targetUser">targetUser.</param>
 public RestoreOneDriveParams(List <RestoreOneDriveParamsDriveOwner> driveOwnerVec = default(List <RestoreOneDriveParamsDriveOwner>), bool?restoreToOriginal = default(bool?), string targetDriveId = default(string), string targetFolderPath = default(string), EntityProto targetUser = default(EntityProto))
 {
     this.DriveOwnerVec     = driveOwnerVec;
     this.RestoreToOriginal = restoreToOriginal;
     this.TargetDriveId     = targetDriveId;
     this.TargetFolderPath  = targetFolderPath;
     this.DriveOwnerVec     = driveOwnerVec;
     this.RestoreToOriginal = restoreToOriginal;
     this.TargetDriveId     = targetDriveId;
     this.TargetFolderPath  = targetFolderPath;
     this.TargetUser        = targetUser;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NetworkMappingProto" /> class.
 /// </summary>
 /// <param name="disableNetwork">This can be set to true to indicate that the attached network should be left in disabled state. This value takes priority over the value in RestoredObjectNetworkConfigProto..</param>
 /// <param name="preserveMacAddressOnNewNetwork">VM&#39;s MAC address will be preserved on the new network. This value takes priority over the value in RestoredObjectNetworkConfigProto..</param>
 /// <param name="sourceNetworkEntity">sourceNetworkEntity.</param>
 /// <param name="targetNetworkEntity">targetNetworkEntity.</param>
 public NetworkMappingProto(bool?disableNetwork = default(bool?), bool?preserveMacAddressOnNewNetwork = default(bool?), EntityProto sourceNetworkEntity = default(EntityProto), EntityProto targetNetworkEntity = default(EntityProto))
 {
     this.DisableNetwork = disableNetwork;
     this.PreserveMacAddressOnNewNetwork = preserveMacAddressOnNewNetwork;
     this.DisableNetwork = disableNetwork;
     this.PreserveMacAddressOnNewNetwork = preserveMacAddressOnNewNetwork;
     this.SourceNetworkEntity            = sourceNetworkEntity;
     this.TargetNetworkEntity            = targetNetworkEntity;
 }
Exemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConnectorParams" /> class.
 /// </summary>
 /// <param name="agentEndpoint">For some of the environments connection to endpoint is done through an agent. This captures the agent endpoint information..</param>
 /// <param name="agentPort">Optional agent port to use when connecting to the server. If this is not specified, then environment specific default port will be used..</param>
 /// <param name="credentials">credentials.</param>
 /// <param name="endpoint">The endpoint URL of the environment (such as the address of the vCenter instance for a VMware environment, etc)..</param>
 /// <param name="entity">entity.</param>
 /// <param name="hostType">The host environment type. This is set for kPhysical type environment..</param>
 /// <param name="id">A unique id associated with this connector params. This is a convenience field and is used to maintain an index to different connection params. This is generated at the time when the source is registered with Magneto..</param>
 /// <param name="port">Optional port to use when connecting to the server. If this is not specified, then environment specific default port will be used..</param>
 /// <param name="tenantId">The tenant_id for the environment. This is used to remotely access connectors and executors via bifrost..</param>
 /// <param name="type">The type of environment to connect to..</param>
 /// <param name="version">A version that is associated with the params. This is updated anytime any of the params change. This is used to discard older connector params..</param>
 public ConnectorParams(string agentEndpoint = default(string), int?agentPort = default(int?), Credentials credentials = default(Credentials), string endpoint = default(string), EntityProto entity = default(EntityProto), int?hostType = default(int?), long?id = default(long?), int?port = default(int?), string tenantId = default(string), int?type = default(int?), long?version = default(long?))
 {
     this.AgentEndpoint = agentEndpoint;
     this.AgentPort     = agentPort;
     this.Endpoint      = endpoint;
     this.HostType      = hostType;
     this.Id            = id;
     this.Port          = port;
     this.TenantId      = tenantId;
     this.Type          = type;
     this.Version       = version;
     this.AgentEndpoint = agentEndpoint;
     this.AgentPort     = agentPort;
     this.Credentials   = credentials;
     this.Endpoint      = endpoint;
     this.Entity        = entity;
     this.HostType      = hostType;
     this.Id            = id;
     this.Port          = port;
     this.TenantId      = tenantId;
     this.Type          = type;
     this.Version       = version;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MountVolumesParams" /> class.
 /// </summary>
 /// <param name="hypervParams">hypervParams.</param>
 /// <param name="readonlyMount">Allows the caller to force the Agent to perform a read-only mount. This is not usually required and we want to give customers the ability to mutate this mount for test/dev purposes..</param>
 /// <param name="targetEntity">targetEntity.</param>
 /// <param name="useExistingAgent">Whether this will use an existing agent on the target vm to do a restore operation..</param>
 /// <param name="vmwareParams">vmwareParams.</param>
 /// <param name="volumeNameVec">Optional names of volumes that need to be mounted. The names here correspond to the volume names obtained by Iris from Yoda as part of VMVolumeInfo call. NOTE: If this is not specified then all volumes that are part of the server will be mounted on the target entity..</param>
 public MountVolumesParams(MountVolumesHyperVParams hypervParams = default(MountVolumesHyperVParams), bool?readonlyMount = default(bool?), EntityProto targetEntity = default(EntityProto), bool?useExistingAgent = default(bool?), MountVolumesVMwareParams vmwareParams = default(MountVolumesVMwareParams), List <string> volumeNameVec = default(List <string>))
 {
     this.ReadonlyMount    = readonlyMount;
     this.UseExistingAgent = useExistingAgent;
     this.VolumeNameVec    = volumeNameVec;
     this.HypervParams     = hypervParams;
     this.ReadonlyMount    = readonlyMount;
     this.TargetEntity     = targetEntity;
     this.UseExistingAgent = useExistingAgent;
     this.VmwareParams     = vmwareParams;
     this.VolumeNameVec    = volumeNameVec;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DeployVMsToAzureParams" /> class.
 /// </summary>
 /// <param name="azureManagedDiskParams">azureManagedDiskParams.</param>
 /// <param name="computeOptions">computeOptions.</param>
 /// <param name="networkResourceGroup">networkResourceGroup.</param>
 /// <param name="networkSecurityGroup">networkSecurityGroup.</param>
 /// <param name="resourceGroup">resourceGroup.</param>
 /// <param name="storageAccount">storageAccount.</param>
 /// <param name="storageContainer">storageContainer.</param>
 /// <param name="storageKey">storageKey.</param>
 /// <param name="storageResourceGroup">storageResourceGroup.</param>
 /// <param name="subnet">subnet.</param>
 /// <param name="tempVmResourceGroup">tempVmResourceGroup.</param>
 /// <param name="tempVmStorageAccount">tempVmStorageAccount.</param>
 /// <param name="tempVmStorageContainer">tempVmStorageContainer.</param>
 /// <param name="tempVmSubnet">tempVmSubnet.</param>
 /// <param name="tempVmVirtualNetwork">tempVmVirtualNetwork.</param>
 /// <param name="virtualNetwork">virtualNetwork.</param>
 public DeployVMsToAzureParams(AzureManagedDiskParams azureManagedDiskParams = default(AzureManagedDiskParams), EntityProto computeOptions = default(EntityProto), EntityProto networkResourceGroup = default(EntityProto), EntityProto networkSecurityGroup = default(EntityProto), EntityProto resourceGroup = default(EntityProto), EntityProto storageAccount = default(EntityProto), EntityProto storageContainer = default(EntityProto), EntityProto storageKey = default(EntityProto), EntityProto storageResourceGroup = default(EntityProto), EntityProto subnet = default(EntityProto), EntityProto tempVmResourceGroup = default(EntityProto), EntityProto tempVmStorageAccount = default(EntityProto), EntityProto tempVmStorageContainer = default(EntityProto), EntityProto tempVmSubnet = default(EntityProto), EntityProto tempVmVirtualNetwork = default(EntityProto), EntityProto virtualNetwork = default(EntityProto))
 {
     this.AzureManagedDiskParams = azureManagedDiskParams;
     this.ComputeOptions         = computeOptions;
     this.NetworkResourceGroup   = networkResourceGroup;
     this.NetworkSecurityGroup   = networkSecurityGroup;
     this.ResourceGroup          = resourceGroup;
     this.StorageAccount         = storageAccount;
     this.StorageContainer       = storageContainer;
     this.StorageKey             = storageKey;
     this.StorageResourceGroup   = storageResourceGroup;
     this.Subnet = subnet;
     this.TempVmResourceGroup    = tempVmResourceGroup;
     this.TempVmStorageAccount   = tempVmStorageAccount;
     this.TempVmStorageContainer = tempVmStorageContainer;
     this.TempVmSubnet           = tempVmSubnet;
     this.TempVmVirtualNetwork   = tempVmVirtualNetwork;
     this.VirtualNetwork         = virtualNetwork;
 }
Exemplo n.º 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeployVMsToGCPParams" /> class.
 /// </summary>
 /// <param name="projectId">projectId.</param>
 /// <param name="region">region.</param>
 /// <param name="subnet">subnet.</param>
 /// <param name="zone">zone.</param>
 public DeployVMsToGCPParams(EntityProto projectId = default(EntityProto), EntityProto region = default(EntityProto), EntityProto subnet = default(EntityProto), EntityProto zone = default(EntityProto))
 {
     this.ProjectId = projectId;
     this.Region    = region;
     this.Subnet    = subnet;
     this.Zone      = zone;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeployDBInstancesToRDSParams" /> class.
 /// </summary>
 /// <param name="autoMinorVersionUpgrade">Whether to enable auto minor version upgrade in the restored DB..</param>
 /// <param name="availabilityZone">availabilityZone.</param>
 /// <param name="copyTagsToSnapshots">Whether to enable copying of tags to snapshots of the DB..</param>
 /// <param name="dbInstanceId">The DB instance identifier to use for the restored DB. This field is required..</param>
 /// <param name="dbOptionGroup">dbOptionGroup.</param>
 /// <param name="dbParameterGroup">dbParameterGroup.</param>
 /// <param name="dbPort">Port to use for the DB in the restored RDS instance..</param>
 /// <param name="iamDbAuthentication">Whether to enable IAM authentication for the DB..</param>
 /// <param name="multiAzDeployment">Whether this is a multi-az deployment or not..</param>
 /// <param name="pointInTimeParams">pointInTimeParams.</param>
 /// <param name="publicAccessibility">Whether this DB will be publicly accessible or not..</param>
 public DeployDBInstancesToRDSParams(bool?autoMinorVersionUpgrade = default(bool?), EntityProto availabilityZone = default(EntityProto), bool?copyTagsToSnapshots = default(bool?), string dbInstanceId = default(string), EntityProto dbOptionGroup = default(EntityProto), EntityProto dbParameterGroup = default(EntityProto), int?dbPort = default(int?), bool?iamDbAuthentication = default(bool?), bool?multiAzDeployment = default(bool?), DeployDBInstancesToRDSParamsPointInTimeRestoreParams pointInTimeParams = default(DeployDBInstancesToRDSParamsPointInTimeRestoreParams), bool?publicAccessibility = default(bool?))
 {
     this.AutoMinorVersionUpgrade = autoMinorVersionUpgrade;
     this.CopyTagsToSnapshots     = copyTagsToSnapshots;
     this.DbInstanceId            = dbInstanceId;
     this.DbPort = dbPort;
     this.IamDbAuthentication     = iamDbAuthentication;
     this.MultiAzDeployment       = multiAzDeployment;
     this.PublicAccessibility     = publicAccessibility;
     this.AutoMinorVersionUpgrade = autoMinorVersionUpgrade;
     this.AvailabilityZone        = availabilityZone;
     this.CopyTagsToSnapshots     = copyTagsToSnapshots;
     this.DbInstanceId            = dbInstanceId;
     this.DbOptionGroup           = dbOptionGroup;
     this.DbParameterGroup        = dbParameterGroup;
     this.DbPort = dbPort;
     this.IamDbAuthentication = iamDbAuthentication;
     this.MultiAzDeployment   = multiAzDeployment;
     this.PointInTimeParams   = pointInTimeParams;
     this.PublicAccessibility = publicAccessibility;
 }
Exemplo n.º 17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConnectorParams" /> class.
 /// </summary>
 /// <param name="additionalParams">additionalParams.</param>
 /// <param name="agentEndpoint">For some of the environments connection to endpoint is done through an agent. This captures the agent endpoint information..</param>
 /// <param name="agentPort">Optional agent port to use when connecting to the server. If this is not specified, then environment specific default port will be used..</param>
 /// <param name="credentials">credentials.</param>
 /// <param name="endpoint">The endpoint URL of the environment (such as the address of the vCenter instance for a VMware environment, etc)..</param>
 /// <param name="entity">entity.</param>
 /// <param name="hostType">The host environment type. This is set for kPhysical type environment..</param>
 /// <param name="id">A unique id associated with this connector params. This is a convenience field and is used to maintain an index to different connection params. This is generated at the time when the source is registered with Magneto..</param>
 /// <param name="populateSubnetForAllClusterNodes">If set to true, inter agent communcation will be enabled and for every GetAgentInfo call we will fill subnet information of all the nodes in clustered entity..</param>
 /// <param name="port">Optional port to use when connecting to the server. If this is not specified, then environment specific default port will be used..</param>
 /// <param name="tenantId">The tenant_id for the environment. This is used to remotely access connectors and executors via bifrost..</param>
 /// <param name="type">The type of environment to connect to..</param>
 /// <param name="version">A version that is associated with the params. This is updated anytime any of the params change. This is used to discard older connector params..</param>
 public ConnectorParams(AdditionalConnectorParams additionalParams = default(AdditionalConnectorParams), string agentEndpoint = default(string), int?agentPort = default(int?), Credentials credentials = default(Credentials), string endpoint = default(string), EntityProto entity = default(EntityProto), int?hostType = default(int?), long?id = default(long?), bool?populateSubnetForAllClusterNodes = default(bool?), int?port = default(int?), string tenantId = default(string), int?type = default(int?), long?version = default(long?))
 {
     this.AgentEndpoint = agentEndpoint;
     this.AgentPort     = agentPort;
     this.Endpoint      = endpoint;
     this.HostType      = hostType;
     this.Id            = id;
     this.PopulateSubnetForAllClusterNodes = populateSubnetForAllClusterNodes;
     this.Port             = port;
     this.TenantId         = tenantId;
     this.Type             = type;
     this.Version          = version;
     this.AdditionalParams = additionalParams;
     this.AgentEndpoint    = agentEndpoint;
     this.AgentPort        = agentPort;
     this.Credentials      = credentials;
     this.Endpoint         = endpoint;
     this.Entity           = entity;
     this.HostType         = hostType;
     this.Id = id;
     this.PopulateSubnetForAllClusterNodes = populateSubnetForAllClusterNodes;
     this.Port     = port;
     this.TenantId = tenantId;
     this.Type     = type;
     this.Version  = version;
 }
Exemplo n.º 18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreKubernetesNamespacesParams" /> class.
 /// </summary>
 /// <param name="backupJobName">Backup job that needs to be used for recovering the namespace..</param>
 /// <param name="clusterEntity">clusterEntity.</param>
 /// <param name="managementNamespace">Namespace in which restore job will be created in K8s cluster..</param>
 /// <param name="renameRestoredObjectParam">renameRestoredObjectParam.</param>
 public RestoreKubernetesNamespacesParams(string backupJobName = default(string), EntityProto clusterEntity = default(EntityProto), string managementNamespace = default(string), RenameObjectParamProto renameRestoredObjectParam = default(RenameObjectParamProto))
 {
     this.BackupJobName             = backupJobName;
     this.ManagementNamespace       = managementNamespace;
     this.BackupJobName             = backupJobName;
     this.ClusterEntity             = clusterEntity;
     this.ManagementNamespace       = managementNamespace;
     this.RenameRestoredObjectParam = renameRestoredObjectParam;
 }
Exemplo n.º 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyClonedTaskStateProto" /> class.
 /// </summary>
 /// <param name="cloneTaskName">The name of the clone task..</param>
 /// <param name="datastoreEntity">datastoreEntity.</param>
 /// <param name="deployVmsToCloudTaskState">deployVmsToCloudTaskState.</param>
 /// <param name="destroyCloneAppTaskInfo">destroyCloneAppTaskInfo.</param>
 /// <param name="destroyCloneVmTaskInfo">destroyCloneVmTaskInfo.</param>
 /// <param name="destroyMountVolumesTaskInfo">destroyMountVolumesTaskInfo.</param>
 /// <param name="endTimeUsecs">If the destroy clone task has finished, this field contains the end time of the task..</param>
 /// <param name="error">error.</param>
 /// <param name="folderEntity">folderEntity.</param>
 /// <param name="forceDelete">flag used to perform force delete, ignore error on delete steps.</param>
 /// <param name="fullViewName">The full external view name where cloned objects are placed..</param>
 /// <param name="parentSourceConnectionParams">parentSourceConnectionParams.</param>
 /// <param name="parentTaskId">The id of the task that triggered the destroy task. This will be used by refresh task to mark the destroy task as internal sub-task..</param>
 /// <param name="performCloneTaskId">The unique id of the task that performed the clone operation..</param>
 /// <param name="restoreType">The type of the restore/clone operation that is being destroyed..</param>
 /// <param name="scheduledConstituentId">Constituent id (and the gandalf session id) where this task has been scheduled. If -1, the task is not running at any slave. It&#39;s possible that the task was previously scheduled, but is now being re-scheduled..</param>
 /// <param name="scheduledGandalfSessionId">scheduledGandalfSessionId.</param>
 /// <param name="startTimeUsecs">The start time of this destroy clone task..</param>
 /// <param name="status">Status of the destroy clone task..</param>
 /// <param name="taskId">A globally unique id of this destroy clone task..</param>
 /// <param name="type">The type of environment that is being operated on..</param>
 /// <param name="user">The user who requested this destroy clone task..</param>
 /// <param name="userInfo">userInfo.</param>
 /// <param name="viewBoxId">The view box id to which &#39;view_name&#39; belongs to..</param>
 /// <param name="viewNameDEPRECATED">The view name as provided by the user for the clone operation..</param>
 public DestroyClonedTaskStateProto(string cloneTaskName = default(string), EntityProto datastoreEntity = default(EntityProto), DeployVMsToCloudTaskStateProto deployVmsToCloudTaskState = default(DeployVMsToCloudTaskStateProto), DestroyCloneAppTaskInfoProto destroyCloneAppTaskInfo = default(DestroyCloneAppTaskInfoProto), DestroyClonedVMTaskInfoProto destroyCloneVmTaskInfo = default(DestroyClonedVMTaskInfoProto), DestroyMountVolumesTaskInfoProto destroyMountVolumesTaskInfo = default(DestroyMountVolumesTaskInfoProto), long?endTimeUsecs = default(long?), ErrorProto error = default(ErrorProto), EntityProto folderEntity = default(EntityProto), bool?forceDelete = default(bool?), string fullViewName = default(string), ConnectorParams parentSourceConnectionParams = default(ConnectorParams), long?parentTaskId = default(long?), long?performCloneTaskId = default(long?), int?restoreType = default(int?), long?scheduledConstituentId = default(long?), long?scheduledGandalfSessionId = default(long?), long?startTimeUsecs = default(long?), int?status = default(int?), long?taskId = default(long?), int?type = default(int?), string user = default(string), UserInformation userInfo = default(UserInformation), long?viewBoxId = default(long?), string viewNameDEPRECATED = default(string))
 {
     this.CloneTaskName             = cloneTaskName;
     this.EndTimeUsecs              = endTimeUsecs;
     this.ForceDelete               = forceDelete;
     this.FullViewName              = fullViewName;
     this.ParentTaskId              = parentTaskId;
     this.PerformCloneTaskId        = performCloneTaskId;
     this.RestoreType               = restoreType;
     this.ScheduledConstituentId    = scheduledConstituentId;
     this.ScheduledGandalfSessionId = scheduledGandalfSessionId;
     this.StartTimeUsecs            = startTimeUsecs;
     this.Status                       = status;
     this.TaskId                       = taskId;
     this.Type                         = type;
     this.User                         = user;
     this.ViewBoxId                    = viewBoxId;
     this.ViewNameDEPRECATED           = viewNameDEPRECATED;
     this.CloneTaskName                = cloneTaskName;
     this.DatastoreEntity              = datastoreEntity;
     this.DeployVmsToCloudTaskState    = deployVmsToCloudTaskState;
     this.DestroyCloneAppTaskInfo      = destroyCloneAppTaskInfo;
     this.DestroyCloneVmTaskInfo       = destroyCloneVmTaskInfo;
     this.DestroyMountVolumesTaskInfo  = destroyMountVolumesTaskInfo;
     this.EndTimeUsecs                 = endTimeUsecs;
     this.Error                        = error;
     this.FolderEntity                 = folderEntity;
     this.ForceDelete                  = forceDelete;
     this.FullViewName                 = fullViewName;
     this.ParentSourceConnectionParams = parentSourceConnectionParams;
     this.ParentTaskId                 = parentTaskId;
     this.PerformCloneTaskId           = performCloneTaskId;
     this.RestoreType                  = restoreType;
     this.ScheduledConstituentId       = scheduledConstituentId;
     this.ScheduledGandalfSessionId    = scheduledGandalfSessionId;
     this.StartTimeUsecs               = startTimeUsecs;
     this.Status                       = status;
     this.TaskId                       = taskId;
     this.Type                         = type;
     this.User                         = user;
     this.UserInfo                     = userInfo;
     this.ViewBoxId                    = viewBoxId;
     this.ViewNameDEPRECATED           = viewNameDEPRECATED;
 }
Exemplo n.º 20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecoverVirtualDiskParams" /> class.
 /// </summary>
 /// <param name="powerOffVmBeforeRecovery">Whether to power-off the VM before recovering virtual disks..</param>
 /// <param name="powerOnVmAfterRecovery">Whether to power-on the VM after recovering virtual disks..</param>
 /// <param name="targetEntity">targetEntity.</param>
 /// <param name="virtualDiskMappings">virtualDiskMappings.</param>
 public RecoverVirtualDiskParams(bool?powerOffVmBeforeRecovery = default(bool?), bool?powerOnVmAfterRecovery = default(bool?), EntityProto targetEntity = default(EntityProto), List <RecoverVirtualDiskParamsVirtualDiskMapping> virtualDiskMappings = default(List <RecoverVirtualDiskParamsVirtualDiskMapping>))
 {
     this.PowerOffVmBeforeRecovery = powerOffVmBeforeRecovery;
     this.PowerOnVmAfterRecovery   = powerOnVmAfterRecovery;
     this.VirtualDiskMappings      = virtualDiskMappings;
     this.PowerOffVmBeforeRecovery = powerOffVmBeforeRecovery;
     this.PowerOnVmAfterRecovery   = powerOnVmAfterRecovery;
     this.TargetEntity             = targetEntity;
     this.VirtualDiskMappings      = virtualDiskMappings;
 }
Exemplo n.º 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreFilesParams" /> class.
 /// </summary>
 /// <param name="directoryNameSecurityStyleMap">Directory name security style map contains mapping of the directory name to security style it supports.  This is needed to restore the same permission for the given directory for Qtrees..</param>
 /// <param name="isArchiveFlr">Whether this is a file restore operation from an archive..</param>
 /// <param name="isFileVolumeRestore">Whether this is a file based volume restore..</param>
 /// <param name="isMountBasedFlr">Whether this is a mount based file restore operation.</param>
 /// <param name="mountDisksOnVm">Whether this will attach disks or mount disks on the VM side OR use Storage Proxy RPCs to stream data..</param>
 /// <param name="nasProtocolTypeVec">The NAS protocol type(s) of this restore task. Currently we only support a single restore type. This field is only populated for NAS restore tasks..</param>
 /// <param name="proxyEntity">proxyEntity.</param>
 /// <param name="proxyEntityParentSource">proxyEntityParentSource.</param>
 /// <param name="restoreFilesPreferences">restoreFilesPreferences.</param>
 /// <param name="restoredFileInfoVec">Information regarding files and directories..</param>
 /// <param name="targetEntity">targetEntity.</param>
 /// <param name="targetEntityCredentials">targetEntityCredentials.</param>
 /// <param name="targetEntityParentSource">targetEntityParentSource.</param>
 /// <param name="targetHostEntity">targetHostEntity.</param>
 /// <param name="targetHostType">The host environment type. This is set in VMware environment to indicate the OS type of the target entity. NOTE: This is expected to be set since magneto does not know the host type for VMware entities..</param>
 /// <param name="useExistingAgent">Whether this will use an existing agent on the target VM to do the restore..</param>
 /// <param name="vpcConnectorEntity">vpcConnectorEntity.</param>
 public RestoreFilesParams(List <RestoreFilesParamsDirectoryNameSecurityStyleMapEntry> directoryNameSecurityStyleMap = default(List <RestoreFilesParamsDirectoryNameSecurityStyleMapEntry>), bool?isArchiveFlr = default(bool?), bool?isFileVolumeRestore = default(bool?), bool?isMountBasedFlr = default(bool?), bool?mountDisksOnVm = default(bool?), List <int> nasProtocolTypeVec = default(List <int>), EntityProto proxyEntity = default(EntityProto), EntityProto proxyEntityParentSource = default(EntityProto), RestoreFilesPreferences restoreFilesPreferences = default(RestoreFilesPreferences), List <RestoredFileInfo> restoredFileInfoVec = default(List <RestoredFileInfo>), EntityProto targetEntity = default(EntityProto), Credentials targetEntityCredentials = default(Credentials), EntityProto targetEntityParentSource = default(EntityProto), EntityProto targetHostEntity = default(EntityProto), int?targetHostType = default(int?), bool?useExistingAgent = default(bool?), EntityProto vpcConnectorEntity = default(EntityProto))
 {
     this.DirectoryNameSecurityStyleMap = directoryNameSecurityStyleMap;
     this.IsArchiveFlr                  = isArchiveFlr;
     this.IsFileVolumeRestore           = isFileVolumeRestore;
     this.IsMountBasedFlr               = isMountBasedFlr;
     this.MountDisksOnVm                = mountDisksOnVm;
     this.NasProtocolTypeVec            = nasProtocolTypeVec;
     this.RestoredFileInfoVec           = restoredFileInfoVec;
     this.TargetHostType                = targetHostType;
     this.UseExistingAgent              = useExistingAgent;
     this.DirectoryNameSecurityStyleMap = directoryNameSecurityStyleMap;
     this.IsArchiveFlr                  = isArchiveFlr;
     this.IsFileVolumeRestore           = isFileVolumeRestore;
     this.IsMountBasedFlr               = isMountBasedFlr;
     this.MountDisksOnVm                = mountDisksOnVm;
     this.NasProtocolTypeVec            = nasProtocolTypeVec;
     this.ProxyEntity              = proxyEntity;
     this.ProxyEntityParentSource  = proxyEntityParentSource;
     this.RestoreFilesPreferences  = restoreFilesPreferences;
     this.RestoredFileInfoVec      = restoredFileInfoVec;
     this.TargetEntity             = targetEntity;
     this.TargetEntityCredentials  = targetEntityCredentials;
     this.TargetEntityParentSource = targetEntityParentSource;
     this.TargetHostEntity         = targetHostEntity;
     this.TargetHostType           = targetHostType;
     this.UseExistingAgent         = useExistingAgent;
     this.VpcConnectorEntity       = vpcConnectorEntity;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SetupRestoreDiskTaskInfoProto" /> class.
 /// </summary>
 /// <param name="entity">entity.</param>
 /// <param name="progressMonitorRootTaskPath">The path to the progress monitor root task if any..</param>
 /// <param name="rootEntity">rootEntity.</param>
 /// <param name="sourceViewName">The source view which contains the backups for the &#39;entity&#39;..</param>
 /// <param name="taskId">The id of the associated task..</param>
 /// <param name="viewBoxId">The view box id containing the backups for the &#39;entity&#39;..</param>
 /// <param name="viewName">Destination view into which the files will be cloned..</param>
 public SetupRestoreDiskTaskInfoProto(EntityProto entity = default(EntityProto), string progressMonitorRootTaskPath = default(string), EntityProto rootEntity = default(EntityProto), string sourceViewName = default(string), long?taskId = default(long?), long?viewBoxId = default(long?), string viewName = default(string))
 {
     this.ProgressMonitorRootTaskPath = progressMonitorRootTaskPath;
     this.SourceViewName = sourceViewName;
     this.TaskId         = taskId;
     this.ViewBoxId      = viewBoxId;
     this.ViewName       = viewName;
     this.Entity         = entity;
     this.ProgressMonitorRootTaskPath = progressMonitorRootTaskPath;
     this.RootEntity     = rootEntity;
     this.SourceViewName = sourceViewName;
     this.TaskId         = taskId;
     this.ViewBoxId      = viewBoxId;
     this.ViewName       = viewName;
 }
Exemplo n.º 23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreOutlookParams" /> class.
 /// </summary>
 /// <param name="mailboxVec">In a RestoreJob , user will provide the list of mailboxes to be restored. Provision is there for restoring full AND partial mailbox recovery..</param>
 /// <param name="targetFolderPath">targetFolderPath.</param>
 /// <param name="targetMailbox">targetMailbox.</param>
 public RestoreOutlookParams(List <RestoreOutlookParamsMailbox> mailboxVec = default(List <RestoreOutlookParamsMailbox>), string targetFolderPath = default(string), EntityProto targetMailbox = default(EntityProto))
 {
     this.MailboxVec       = mailboxVec;
     this.TargetFolderPath = targetFolderPath;
     this.MailboxVec       = mailboxVec;
     this.TargetFolderPath = targetFolderPath;
     this.TargetMailbox    = targetMailbox;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreVMwareVMParams" /> class.
 /// </summary>
 /// <param name="copyRecovery">Whether to perform copy recovery instead of instant recovery..</param>
 /// <param name="datastoreEntityVec">Datastore entities if the restore is to alternate location..</param>
 /// <param name="preserveTagsDuringClone">Whether to preserve tags for the clone op..</param>
 /// <param name="resourcePoolEntity">resourcePoolEntity.</param>
 /// <param name="targetDatastoreFolder">targetDatastoreFolder.</param>
 /// <param name="targetVmFolder">targetVmFolder.</param>
 public RestoreVMwareVMParams(bool?copyRecovery = default(bool?), List <EntityProto> datastoreEntityVec = default(List <EntityProto>), bool?preserveTagsDuringClone = default(bool?), EntityProto resourcePoolEntity = default(EntityProto), EntityProto targetDatastoreFolder = default(EntityProto), EntityProto targetVmFolder = default(EntityProto))
 {
     this.CopyRecovery            = copyRecovery;
     this.DatastoreEntityVec      = datastoreEntityVec;
     this.PreserveTagsDuringClone = preserveTagsDuringClone;
     this.CopyRecovery            = copyRecovery;
     this.DatastoreEntityVec      = datastoreEntityVec;
     this.PreserveTagsDuringClone = preserveTagsDuringClone;
     this.ResourcePoolEntity      = resourcePoolEntity;
     this.TargetDatastoreFolder   = targetDatastoreFolder;
     this.TargetVmFolder          = targetVmFolder;
 }
Exemplo n.º 25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoredObjectNetworkConfigProto" /> class.
 /// </summary>
 /// <param name="detachNetwork">If this is set to true, then the network will be detached from the recovered or cloned VMs. NOTE: If this is set to true, then all the following fields will be ignored..</param>
 /// <param name="disableNetwork">This can be set to true to indicate that the attached network should be left in disabled state..</param>
 /// <param name="mappings">The network mappings to be applied to the target object..</param>
 /// <param name="networkEntity">networkEntity.</param>
 /// <param name="preserveMacAddressOnNewNetwork">If this is true and we are attaching to a new network entity, then the VM&#39;s MAC address will be preserved on the new network..</param>
 /// <param name="vnicEntity">vnicEntity.</param>
 public RestoredObjectNetworkConfigProto(bool?detachNetwork = default(bool?), bool?disableNetwork = default(bool?), List <NetworkMappingProto> mappings = default(List <NetworkMappingProto>), EntityProto networkEntity = default(EntityProto), bool?preserveMacAddressOnNewNetwork = default(bool?), EntityProto vnicEntity = default(EntityProto))
 {
     this.DetachNetwork  = detachNetwork;
     this.DisableNetwork = disableNetwork;
     this.Mappings       = mappings;
     this.PreserveMacAddressOnNewNetwork = preserveMacAddressOnNewNetwork;
     this.DetachNetwork  = detachNetwork;
     this.DisableNetwork = disableNetwork;
     this.Mappings       = mappings;
     this.NetworkEntity  = networkEntity;
     this.PreserveMacAddressOnNewNetwork = preserveMacAddressOnNewNetwork;
     this.VnicEntity = vnicEntity;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RecoverVolumesParams" /> class.
 /// </summary>
 /// <param name="forceUnmountVolume">Whether volume would be dismounted first during LockVolume failure.</param>
 /// <param name="mappingVec">Contains the volume mapping data that defines the restore task..</param>
 /// <param name="targetEntity">targetEntity.</param>
 public RecoverVolumesParams(bool?forceUnmountVolume = default(bool?), List <RecoverVolumesParamsMapping> mappingVec = default(List <RecoverVolumesParamsMapping>), EntityProto targetEntity = default(EntityProto))
 {
     this.ForceUnmountVolume = forceUnmountVolume;
     this.MappingVec         = mappingVec;
     this.ForceUnmountVolume = forceUnmountVolume;
     this.MappingVec         = mappingVec;
     this.TargetEntity       = targetEntity;
 }
Exemplo n.º 27
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="ReplicateSnapshotsToAWSParams" /> class.
 /// </summary>
 /// <param name="region">region.</param>
 public ReplicateSnapshotsToAWSParams(EntityProto region = default(EntityProto))
 {
     this.Region = region;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoredObjectVCDConfigProto" /> class.
 /// </summary>
 /// <param name="isVapp">Whether the restored object is a VApp..</param>
 /// <param name="vappEntity">vappEntity.</param>
 /// <param name="vcenterConnectorParams">vcenterConnectorParams.</param>
 /// <param name="vdcEntity">vdcEntity.</param>
 public RestoredObjectVCDConfigProto(bool?isVapp = default(bool?), EntityProto vappEntity = default(EntityProto), ConnectorParams vcenterConnectorParams = default(ConnectorParams), EntityProto vdcEntity = default(EntityProto))
 {
     this.IsVapp                 = isVapp;
     this.IsVapp                 = isVapp;
     this.VappEntity             = vappEntity;
     this.VcenterConnectorParams = vcenterConnectorParams;
     this.VdcEntity              = vdcEntity;
 }
 /// <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;
 }