Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectedObject" /> class.
 /// </summary>
 /// <param name="jobId">jobId.</param>
 /// <param name="protectionFauilureReason">If protection fails then specifies why the protection failed on this object..</param>
 /// <param name="protectionSourceId">Specifies the id of the Protection Source..</param>
 public ProtectedObject(UniversalId jobId = default(UniversalId), string protectionFauilureReason = default(string), long?protectionSourceId = default(long?))
 {
     this.ProtectionFauilureReason = protectionFauilureReason;
     this.ProtectionSourceId       = protectionSourceId;
     this.JobId = jobId;
     this.ProtectionFauilureReason = protectionFauilureReason;
     this.ProtectionSourceId       = protectionSourceId;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeRangeSettings" /> class.
 /// </summary>
 /// <param name="endTimeUsecs">Specifies the end time specified as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="jobUid">jobUid.</param>
 /// <param name="startTimeUsecs">Specifies the start time specified as a Unix epoch Timestamp (in microseconds)..</param>
 public TimeRangeSettings(long?endTimeUsecs = default(long?), UniversalId jobUid = default(UniversalId), long?startTimeUsecs = default(long?))
 {
     this.EndTimeUsecs   = endTimeUsecs;
     this.StartTimeUsecs = startTimeUsecs;
     this.EndTimeUsecs   = endTimeUsecs;
     this.JobUid         = jobUid;
     this.StartTimeUsecs = startTimeUsecs;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewProtectionSource" /> class.
 /// </summary>
 /// <param name="id">Specifies a unique id of a Protection Source for a View. The id is unique across Cohesity Clusters..</param>
 /// <param name="name">Specifies a human readable name of the Protection Source of a View..</param>
 /// <param name="type">Specifies the type of managed Object in a View Protection Source environment. Examples of View Objects include &#39;kViewBox&#39; or &#39;kView&#39;. &#39;kViewBox&#39; indicates Storage Domain as a Protection Source type. &#39;kView&#39; indicates View as a Protection Source type..</param>
 public ViewProtectionSource(UniversalId id = default(UniversalId), string name = default(string), TypeEnum?type = default(TypeEnum?))
 {
     this.Id   = id;
     this.Name = name;
     this.Type = type;
     this.Id   = id;
     this.Name = name;
     this.Type = type;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="IndexAndSnapshots" /> class.
 /// </summary>
 /// <param name="archiveTaskUid">Specifies a unique id of the Archive task that originally archived the object to the Vault..</param>
 /// <param name="endTimeUsecs">Specifies the end time as a Unix epoch Timestamp (in microseconds). If set, only index and Snapshots for Protection Job Runs that started before the specified end time are restored..</param>
 /// <param name="remoteProtectionJobUid">Specifies a unique id assigned to the original Protection Job by the original Cluster that archived data to the remote Vault..</param>
 /// <param name="startTimeUsecs">Specifies the start time as a Unix epoch Timestamp (in microseconds). If set, only the index and Snapshots for Protection Job Runs that started after the specified start time are restored..</param>
 /// <param name="viewBoxId">Specifies the id of the local Storage Domain (View Box) where the index and the Snapshot will be restored to..</param>
 public IndexAndSnapshots(UniversalId archiveTaskUid = default(UniversalId), long?endTimeUsecs = default(long?), UniversalId remoteProtectionJobUid = default(UniversalId), long?startTimeUsecs = default(long?), long?viewBoxId = default(long?))
 {
     this.ArchiveTaskUid         = archiveTaskUid;
     this.EndTimeUsecs           = endTimeUsecs;
     this.RemoteProtectionJobUid = remoteProtectionJobUid;
     this.StartTimeUsecs         = startTimeUsecs;
     this.ViewBoxId              = viewBoxId;
     this.ArchiveTaskUid         = archiveTaskUid;
     this.EndTimeUsecs           = endTimeUsecs;
     this.RemoteProtectionJobUid = remoteProtectionJobUid;
     this.StartTimeUsecs         = startTimeUsecs;
     this.ViewBoxId              = viewBoxId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteProtectionJobRunInstance" /> class.
 /// </summary>
 /// <param name="archiveTaskUid">Specifies the globally unique id of the archival task that archived the Snapshot to the Vault..</param>
 /// <param name="archiveVersion">Specifies the version of the archive..</param>
 /// <param name="expiryTimeUsecs">Specifies the time when the archive expires. This time is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="indexSizeBytes">Specifies the size of the index for the archive..</param>
 /// <param name="jobRunId">Specifies the instance id of the Job Run task capturing the Snapshot..</param>
 /// <param name="metadataComplete">Specifies whether a full set of metadata is available now..</param>
 /// <param name="snapshotTimeUsecs">Specify the time the Snapshot was captured as a Unix epoch Timestamp (in microseconds)..</param>
 public RemoteProtectionJobRunInstance(UniversalId archiveTaskUid = default(UniversalId), int?archiveVersion = default(int?), long?expiryTimeUsecs = default(long?), long?indexSizeBytes = default(long?), long?jobRunId = default(long?), bool?metadataComplete = default(bool?), long?snapshotTimeUsecs = default(long?))
 {
     this.ArchiveTaskUid    = archiveTaskUid;
     this.ArchiveVersion    = archiveVersion;
     this.ExpiryTimeUsecs   = expiryTimeUsecs;
     this.IndexSizeBytes    = indexSizeBytes;
     this.JobRunId          = jobRunId;
     this.MetadataComplete  = metadataComplete;
     this.SnapshotTimeUsecs = snapshotTimeUsecs;
     this.ArchiveTaskUid    = archiveTaskUid;
     this.ArchiveVersion    = archiveVersion;
     this.ExpiryTimeUsecs   = expiryTimeUsecs;
     this.IndexSizeBytes    = indexSizeBytes;
     this.JobRunId          = jobRunId;
     this.MetadataComplete  = metadataComplete;
     this.SnapshotTimeUsecs = snapshotTimeUsecs;
 }
Пример #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UpdateProtectionObjectParameters" /> class.
        /// </summary>
        /// <param name="pauseBackup">Specifies if the protection for the Protection Object is to be paused..</param>
        /// <param name="protectedSourceUid">protectedSourceUid (required).</param>
        /// <param name="rpoPolicyId">Specifies the unique id of the new RPO policy to assign to the object..</param>
        /// <param name="sourceParameters">Specifies the additional special settings for a Protected Source..</param>
        public UpdateProtectionObjectParameters(bool?pauseBackup = default(bool?), UniversalId protectedSourceUid = default(UniversalId), string rpoPolicyId = default(string), List <SourceSpecialParameter> sourceParameters = default(List <SourceSpecialParameter>))
        {
            this.PauseBackup = pauseBackup;
            // to ensure "protectedSourceUid" is required (not null)
            if (protectedSourceUid == null)
            {
                throw new InvalidDataException("protectedSourceUid is a required property for UpdateProtectionObjectParameters and cannot be null");
            }
            else
            {
                this.ProtectedSourceUid = protectedSourceUid;
            }

            this.RpoPolicyId      = rpoPolicyId;
            this.SourceParameters = sourceParameters;
            this.PauseBackup      = pauseBackup;
            this.RpoPolicyId      = rpoPolicyId;
            this.SourceParameters = sourceParameters;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteRestoreSnapshotStatus" /> class.
 /// </summary>
 /// <param name="archiveTaskUid">Specifies the globally unique id of the archival task that archived the Snapshots to the remote Vault..</param>
 /// <param name="error">Specifies the error message if the indexing task fails..</param>
 /// <param name="expiryTimeUsecs">Specifies the time when the Snapshot expires on the remote Vault. This field is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="jobRunId">Specifies the id of the Job Run that originally captured the Snapshot..</param>
 /// <param name="progressMonitorTask">Specifies the path to the progress monitor task that tracks the progress of building the index..</param>
 /// <param name="snapshotTaskStatus">Specifies the status of the indexing task. &#39;kJobRunning&#39; indicates that the Job/task is currently running. &#39;kJobFinished&#39; indicates that the Job/task completed and finished. &#39;kJobFailed&#39; indicates that the Job/task failed and did not complete. &#39;kJobCanceled&#39; indicates that the Job/task was canceled. &#39;kJobPaused&#39; indicates the Job/task is paused..</param>
 /// <param name="snapshotTaskUid">Specifies the globally unique id of the task capturing the Snapshot..</param>
 /// <param name="snapshotTimeUsecs">Specify the time the Snapshot was captured. This time is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 public RemoteRestoreSnapshotStatus(UniversalId archiveTaskUid = default(UniversalId), string error = default(string), long?expiryTimeUsecs = default(long?), long?jobRunId = default(long?), string progressMonitorTask = default(string), SnapshotTaskStatusEnum?snapshotTaskStatus = default(SnapshotTaskStatusEnum?), UniversalId snapshotTaskUid = default(UniversalId), long?snapshotTimeUsecs = default(long?))
 {
     this.ArchiveTaskUid      = archiveTaskUid;
     this.Error               = error;
     this.ExpiryTimeUsecs     = expiryTimeUsecs;
     this.JobRunId            = jobRunId;
     this.ProgressMonitorTask = progressMonitorTask;
     this.SnapshotTaskStatus  = snapshotTaskStatus;
     this.SnapshotTaskUid     = snapshotTaskUid;
     this.SnapshotTimeUsecs   = snapshotTimeUsecs;
     this.ArchiveTaskUid      = archiveTaskUid;
     this.Error               = error;
     this.ExpiryTimeUsecs     = expiryTimeUsecs;
     this.JobRunId            = jobRunId;
     this.ProgressMonitorTask = progressMonitorTask;
     this.SnapshotTaskStatus  = snapshotTaskStatus;
     this.SnapshotTaskUid     = snapshotTaskUid;
     this.SnapshotTimeUsecs   = snapshotTimeUsecs;
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectionRunInstance" /> class.
 /// </summary>
 /// <param name="backupRun">backupRun.</param>
 /// <param name="copyRun">Array of Copy Run Tasks.  Specifies details about the Copy tasks of this Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster..</param>
 /// <param name="jobId">Specifies the id of the Protection Job that was run..</param>
 /// <param name="jobName">Specifies the name of the Protection Job name that was run..</param>
 /// <param name="jobUid">Specifies the globally unique id of the Protection Job that was run..</param>
 /// <param name="viewBoxId">Specifies the Storage Domain (View Box) to store the backed up data. Specify the id of the Storage Domain (View Box)..</param>
 public ProtectionRunInstance(BackupRun backupRun = default(BackupRun), List <CopyRun> copyRun = default(List <CopyRun>), long?jobId = default(long?), string jobName = default(string), UniversalId jobUid = default(UniversalId), long?viewBoxId = default(long?))
 {
     this.CopyRun   = copyRun;
     this.JobId     = jobId;
     this.JobName   = jobName;
     this.JobUid    = jobUid;
     this.ViewBoxId = viewBoxId;
     this.BackupRun = backupRun;
     this.CopyRun   = copyRun;
     this.JobId     = jobId;
     this.JobName   = jobName;
     this.JobUid    = jobUid;
     this.ViewBoxId = viewBoxId;
 }
Пример #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteProtectionJobRunInformation" /> class.
 /// </summary>
 /// <param name="clusterName">Specifies the name of the original Cluster that archived the data to the Vault..</param>
 /// <param name="environment">Specifies the environment type (such as kVMware or kSQL) of the original archived Protection Job. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment..</param>
 /// <param name="jobName">Specifies the name of the Protection Job on the original Cluster..</param>
 /// <param name="jobUid">Specifies the globally unique id of the original Protection Job that archived the data to the Vault. This id is assigned by the original Cluster that archived the data..</param>
 /// <param name="protectionJobRuns">Array of Protection Job Run Details.  Specifies the list of Protection Job Runs (Snapshot) details for a Protection Job archived to a Vault..</param>
 public RemoteProtectionJobRunInformation(string clusterName = default(string), EnvironmentEnum?environment = default(EnvironmentEnum?), string jobName = default(string), UniversalId jobUid = default(UniversalId), List <RemoteProtectionJobRunInstance> protectionJobRuns = default(List <RemoteProtectionJobRunInstance>))
 {
     this.ClusterName       = clusterName;
     this.Environment       = environment;
     this.JobName           = jobName;
     this.JobUid            = jobUid;
     this.ProtectionJobRuns = protectionJobRuns;
     this.ClusterName       = clusterName;
     this.Environment       = environment;
     this.JobName           = jobName;
     this.JobUid            = jobUid;
     this.ProtectionJobRuns = protectionJobRuns;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CancelProtectionJobRunParam" /> class.
 /// </summary>
 /// <param name="copyTaskUid">copyTaskUid.</param>
 /// <param name="jobRunId">Run Id of a Protection Job Run that needs to be cancelled. If this Run id does not match the id of an active Run in the Protection job, the job Run is not cancelled and an error will be returned..</param>
 public CancelProtectionJobRunParam(UniversalId copyTaskUid = default(UniversalId), long?jobRunId = default(long?))
 {
     this.JobRunId    = jobRunId;
     this.CopyTaskUid = copyTaskUid;
     this.JobRunId    = jobRunId;
 }
Пример #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreatedRemoteVaultSearchJobUid" /> class.
 /// </summary>
 /// <param name="searchJobUid">Specifies the unique id assigned for the search Job on the Cluster..</param>
 public CreatedRemoteVaultSearchJobUid(UniversalId searchJobUid = default(UniversalId))
 {
     this.SearchJobUid = searchJobUid;
     this.SearchJobUid = searchJobUid;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PhysicalProtectionSource" /> class.
 /// </summary>
 /// <param name="agents">Array of Agents on the Physical Protection Source.  Specifiles the agents running on the Physical Protection Source and the status information..</param>
 /// <param name="hostType">Specifies the environment type for the host. &#39;kLinux&#39; indicates the Linux operating system. &#39;kWindows&#39; indicates the Microsoft Windows operating system. &#39;kAix&#39; indicates the IBM AIX operating system. &#39;kSolaris&#39; indicates the Oracle Solaris operating system..</param>
 /// <param name="id">Specifies a unique id of a Physical Protection Source. The id is unique across Cohesity Clusters..</param>
 /// <param name="memorySizeBytes">Specifies the total memory ont the host in bytes..</param>
 /// <param name="name">Specifies a human readable name of the Protection Source..</param>
 /// <param name="networkingInfo">networkingInfo.</param>
 /// <param name="numProcessors">Specifies the number of processors on the host..</param>
 /// <param name="osName">Specifies a human readable name of the OS of the Protection Source..</param>
 /// <param name="type">Specifies the type of managed Object in a Physical Protection Source. &#39;kHost&#39; indicates a single physical server. &#39;kWindowsCluster&#39; indicates a Microsoft Windows cluster..</param>
 /// <param name="volumes">Array of Physical Volumes.  Specifies the volumes available on the physical host. These fields are populated only for the kPhysicalHost type..</param>
 public PhysicalProtectionSource(List <AgentInformation> agents = default(List <AgentInformation>), HostTypeEnum?hostType = default(HostTypeEnum?), UniversalId id = default(UniversalId), long?memorySizeBytes = default(long?), string name = default(string), NetworkingInformation networkingInfo = default(NetworkingInformation), long?numProcessors = default(long?), string osName = default(string), TypeEnum?type = default(TypeEnum?), List <PhysicalVolume> volumes = default(List <PhysicalVolume>))
 {
     this.Agents          = agents;
     this.HostType        = hostType;
     this.Id              = id;
     this.MemorySizeBytes = memorySizeBytes;
     this.Name            = name;
     this.NumProcessors   = numProcessors;
     this.OsName          = osName;
     this.Type            = type;
     this.Volumes         = volumes;
     this.Agents          = agents;
     this.HostType        = hostType;
     this.Id              = id;
     this.MemorySizeBytes = memorySizeBytes;
     this.Name            = name;
     this.NetworkingInfo  = networkingInfo;
     this.NumProcessors   = numProcessors;
     this.OsName          = osName;
     this.Type            = type;
     this.Volumes         = volumes;
 }
Пример #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileSearchResult" /> class.
 /// </summary>
 /// <param name="adObjectMetaData">adObjectMetaData.</param>
 /// <param name="documentType">Specifies the inferred document type..</param>
 /// <param name="emailMetaData">emailMetaData.</param>
 /// <param name="fileVersions">Array of File Versions.  Specifies the different snapshot versions of a file or folder that were captured at different times..</param>
 /// <param name="filename">Specifies the name of the found file or folder..</param>
 /// <param name="isFolder">Specifies if the found item is a folder. If true, the found item is a folder..</param>
 /// <param name="jobId">Specifies the Job id for the Protection Job that is currently associated with object that contains the backed up file or folder. If the file or folder was backed up on current Cohesity Cluster, this field contains the id for the Job that captured the object that contains the file or folder. If the file or folder was backed up on a Primary Cluster and replicated to this Cohesity Cluster, a new Inactive Job is created, the object that contains the file or folder is now associated with new Inactive Job, and this field contains the id of the new Inactive Job..</param>
 /// <param name="jobUid">Specifies the universal id of the Protection Job that backed up the object that contains the file or folder..</param>
 /// <param name="protectionSource">protectionSource.</param>
 /// <param name="registeredSourceId">Specifies the id of the top-level registered source (such as a vCenter Server) where the source object that contains the the file or folder is stored..</param>
 /// <param name="sourceId">Specifies the source id of the object that contains the file or folder..</param>
 /// <param name="type">Specifies the type of the file document such as KDirectory, kFile, etc..</param>
 /// <param name="viewBoxId">Specifies the id of the Domain (View Box) where the source object that contains the file or folder is stored..</param>
 public FileSearchResult(AdObjectMetaData adObjectMetaData = default(AdObjectMetaData), string documentType = default(string), EmailMetaData emailMetaData = default(EmailMetaData), List <FileVersion> fileVersions = default(List <FileVersion>), string filename = default(string), bool?isFolder = default(bool?), long?jobId = default(long?), UniversalId jobUid = default(UniversalId), ProtectionSource protectionSource = default(ProtectionSource), long?registeredSourceId = default(long?), long?sourceId = default(long?), TypeEnum?type = default(TypeEnum?), long?viewBoxId = default(long?))
 {
     this.DocumentType       = documentType;
     this.FileVersions       = fileVersions;
     this.Filename           = filename;
     this.IsFolder           = isFolder;
     this.JobId              = jobId;
     this.JobUid             = jobUid;
     this.RegisteredSourceId = registeredSourceId;
     this.SourceId           = sourceId;
     this.Type               = type;
     this.ViewBoxId          = viewBoxId;
     this.AdObjectMetaData   = adObjectMetaData;
     this.DocumentType       = documentType;
     this.EmailMetaData      = emailMetaData;
     this.FileVersions       = fileVersions;
     this.Filename           = filename;
     this.IsFolder           = isFolder;
     this.JobId              = jobId;
     this.JobUid             = jobUid;
     this.ProtectionSource   = protectionSource;
     this.RegisteredSourceId = registeredSourceId;
     this.SourceId           = sourceId;
     this.Type               = type;
     this.ViewBoxId          = viewBoxId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteRestoreIndexingStatus" /> class.
 /// </summary>
 /// <param name="endTimeUsecs">Specifies the end time of the time range that is being indexed. The indexing task is creating an index of the Job Runs that occurred between the startTimeUsecs and this endTimeUsecs. This field is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="error">Specifies the error message if the indexing Job/task fails..</param>
 /// <param name="indexingTaskEndTimeUsecs">Specifies when the indexing task completed. This time is recorded as a Unix epoch Timestamp (in microseconds). This field is not set if the indexing task is still in progress..</param>
 /// <param name="indexingTaskStartTimeUsecs">Specifies when the indexing task started. This time is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="indexingTaskStatus">Specifies the status of the indexing Job/task. &#39;kJobRunning&#39; indicates that the Job/task is currently running. &#39;kJobFinished&#39; indicates that the Job/task completed and finished. &#39;kJobFailed&#39; indicates that the Job/task failed and did not complete. &#39;kJobCanceled&#39; indicates that the Job/task was canceled. &#39;kJobPaused&#39; indicates the Job/task is paused..</param>
 /// <param name="indexingTaskUid">Specifies the unique id of the indexing task assigned by this Cluster..</param>
 /// <param name="latestExpiryTimeUsecs">For all the Snapshots retrieved by this Job, specifies the latest time when a Snapshot expires..</param>
 /// <param name="progressMonitorTask">Specifies the path to progress monitor task to track the progress of building the index..</param>
 /// <param name="startTimeUsecs">Specifies the start time of the time range that is being indexed. The indexing task is creating an index of the Job Runs that occurred between this startTimeUsecs and the endTimeUsecs. This field is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 public RemoteRestoreIndexingStatus(long?endTimeUsecs = default(long?), string error = default(string), long?indexingTaskEndTimeUsecs = default(long?), long?indexingTaskStartTimeUsecs = default(long?), IndexingTaskStatusEnum?indexingTaskStatus = default(IndexingTaskStatusEnum?), UniversalId indexingTaskUid = default(UniversalId), long?latestExpiryTimeUsecs = default(long?), string progressMonitorTask = default(string), long?startTimeUsecs = default(long?))
 {
     this.EndTimeUsecs               = endTimeUsecs;
     this.Error                      = error;
     this.IndexingTaskEndTimeUsecs   = indexingTaskEndTimeUsecs;
     this.IndexingTaskStartTimeUsecs = indexingTaskStartTimeUsecs;
     this.IndexingTaskStatus         = indexingTaskStatus;
     this.IndexingTaskUid            = indexingTaskUid;
     this.LatestExpiryTimeUsecs      = latestExpiryTimeUsecs;
     this.ProgressMonitorTask        = progressMonitorTask;
     this.StartTimeUsecs             = startTimeUsecs;
     this.EndTimeUsecs               = endTimeUsecs;
     this.Error                      = error;
     this.IndexingTaskEndTimeUsecs   = indexingTaskEndTimeUsecs;
     this.IndexingTaskStartTimeUsecs = indexingTaskStartTimeUsecs;
     this.IndexingTaskStatus         = indexingTaskStatus;
     this.IndexingTaskUid            = indexingTaskUid;
     this.LatestExpiryTimeUsecs      = latestExpiryTimeUsecs;
     this.ProgressMonitorTask        = progressMonitorTask;
     this.StartTimeUsecs             = startTimeUsecs;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="VaultEncryptionKey" /> class.
 /// </summary>
 /// <param name="clusterName">Specifies the name of the source Cohesity Cluster that archived the data on the Vault..</param>
 /// <param name="encryptionKeyData">Specifies the encryption key data corresponding to the specified keyUid. It contains a Key Encryption Key (KEK) or a Encrypted Data Encryption Key (eDEK)..</param>
 /// <param name="keyUid">Specifies the universal id of the Data Encryption Key..</param>
 /// <param name="vaultId">Specifies the id of the Vault whose data is encrypted by this key..</param>
 /// <param name="vaultName">Specifies the name of the Vault whose data is encrypted by this key..</param>
 public VaultEncryptionKey(string clusterName = default(string), string encryptionKeyData = default(string), UniversalId keyUid = default(UniversalId), long?vaultId = default(long?), string vaultName = default(string))
 {
     this.ClusterName       = clusterName;
     this.EncryptionKeyData = encryptionKeyData;
     this.KeyUid            = keyUid;
     this.VaultId           = vaultId;
     this.VaultName         = vaultName;
     this.ClusterName       = clusterName;
     this.EncryptionKeyData = encryptionKeyData;
     this.KeyUid            = keyUid;
     this.VaultId           = vaultId;
     this.VaultName         = vaultName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteVaultRestoreTaskStatus" /> class.
 /// </summary>
 /// <param name="currentIndexingStatus">Specifies the status of an indexing task that builds an index from the Protection Job metadata retrieved from the remote Vault. The index contains information about Job Runs (Snapshots) for a Protection Job and is required to restore Snapshots to this local Cluster..</param>
 /// <param name="currentSnapshotStatus">Specifies the status of the Snapshot restore task. The Snapshot restore task restores the specified archived Snapshots from a remote Vault to this Cluster..</param>
 /// <param name="localProtectionJobUid">Specifies the globally unique id of the new inactive Protection Job created on the local Cluster as part of the restoration of archived data..</param>
 /// <param name="parentJobUid">Specifies the unique id of the parent Job/task that spawned the indexing and Snapshot restore tasks..</param>
 /// <param name="remoteProtectionJobInformation">remoteProtectionJobInformation.</param>
 /// <param name="searchJobUid">Specifies the unique id of the search Job that searched the remote Vault..</param>
 public RemoteVaultRestoreTaskStatus(RemoteRestoreIndexingStatus currentIndexingStatus = default(RemoteRestoreIndexingStatus), RemoteRestoreSnapshotStatus currentSnapshotStatus = default(RemoteRestoreSnapshotStatus), UniversalId localProtectionJobUid = default(UniversalId), UniversalId parentJobUid = default(UniversalId), RemoteProtectionJobInformation remoteProtectionJobInformation = default(RemoteProtectionJobInformation), UniversalId searchJobUid = default(UniversalId))
 {
     this.CurrentIndexingStatus          = currentIndexingStatus;
     this.CurrentSnapshotStatus          = currentSnapshotStatus;
     this.LocalProtectionJobUid          = localProtectionJobUid;
     this.ParentJobUid                   = parentJobUid;
     this.SearchJobUid                   = searchJobUid;
     this.CurrentIndexingStatus          = currentIndexingStatus;
     this.CurrentSnapshotStatus          = currentSnapshotStatus;
     this.LocalProtectionJobUid          = localProtectionJobUid;
     this.ParentJobUid                   = parentJobUid;
     this.RemoteProtectionJobInformation = remoteProtectionJobInformation;
     this.SearchJobUid                   = searchJobUid;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteVaultSearchJobInformation" /> class.
 /// </summary>
 /// <param name="clusterCount">Specifies number of Clusters that have archived to the remote Vault and match the search criteria for this job, up to this point in the search. If the search is complete, the total number of Clusters that have archived to the remote Vault and that match the search criteria for this search Job, are reported. If the search is not complete, a partial number is reported..</param>
 /// <param name="endTimeUsecs">Specifies the end time of the search as a Unix epoch Timestamp (in microseconds) if the search Job has completed..</param>
 /// <param name="error">Specifies the error message reported when a search fails..</param>
 /// <param name="jobCount">Specifies number of Protection Jobs that have archived to the remote Vault and match the search criteria for this search Job, up to this point in the search. If the search is complete, the total number of Protection Jobs that have archived to the remote Vault and that match the search criteria for this search Job, are reported. If the search is not complete, a partial number is reported..</param>
 /// <param name="name">Specifies the name of the search Job..</param>
 /// <param name="searchJobStatus">Specifies the status of the search. &#39;kJobRunning&#39; indicates that the Job/task is currently running. &#39;kJobFinished&#39; indicates that the Job/task completed and finished. &#39;kJobFailed&#39; indicates that the Job/task failed and did not complete. &#39;kJobCanceled&#39; indicates that the Job/task was canceled. &#39;kJobPaused&#39; indicates the Job/task is paused..</param>
 /// <param name="searchJobUid">Specifies the unique id assigned to the search Job by the Cluster..</param>
 /// <param name="startTimeUsecs">Specifies the start time of the search as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="vaultId">Specifies the id of the remote Vault (External Target) that was searched..</param>
 /// <param name="vaultName">Specifies the name of the remote Vault (External Target) that was searched..</param>
 public RemoteVaultSearchJobInformation(int?clusterCount = default(int?), long?endTimeUsecs = default(long?), string error = default(string), int?jobCount = default(int?), string name = default(string), SearchJobStatusEnum?searchJobStatus = default(SearchJobStatusEnum?), UniversalId searchJobUid = default(UniversalId), long?startTimeUsecs = default(long?), long?vaultId = default(long?), string vaultName = default(string))
 {
     this.ClusterCount    = clusterCount;
     this.EndTimeUsecs    = endTimeUsecs;
     this.Error           = error;
     this.JobCount        = jobCount;
     this.Name            = name;
     this.SearchJobStatus = searchJobStatus;
     this.SearchJobUid    = searchJobUid;
     this.StartTimeUsecs  = startTimeUsecs;
     this.VaultId         = vaultId;
     this.VaultName       = vaultName;
     this.ClusterCount    = clusterCount;
     this.EndTimeUsecs    = endTimeUsecs;
     this.Error           = error;
     this.JobCount        = jobCount;
     this.Name            = name;
     this.SearchJobStatus = searchJobStatus;
     this.SearchJobUid    = searchJobUid;
     this.StartTimeUsecs  = startTimeUsecs;
     this.VaultId         = vaultId;
     this.VaultName       = vaultName;
 }
Пример #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectedSourceSummary" /> class.
 /// </summary>
 /// <param name="backupRun">backupRun.</param>
 /// <param name="copyRuns">Specifies details about the Copy tasks of the Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster..</param>
 /// <param name="isPaused">Specifies the status of the backup job..</param>
 /// <param name="nextProtectionRunTimeUsecs">Specifies the time at which the next Protection Run is scheduled for the given Protection Source in Unix epoch Time (microseconds)..</param>
 /// <param name="protectedSourceUid">protectedSourceUid.</param>
 /// <param name="protectionSource">protectionSource.</param>
 /// <param name="sourceParameters">Specifies additional special settings for a single Protected Source..</param>
 public ProtectedSourceSummary(BackupRun backupRun = default(BackupRun), List <CopyRun> copyRuns = default(List <CopyRun>), bool?isPaused = default(bool?), long?nextProtectionRunTimeUsecs = default(long?), UniversalId protectedSourceUid = default(UniversalId), ProtectionSource protectionSource = default(ProtectionSource), List <SourceSpecialParameter> sourceParameters = default(List <SourceSpecialParameter>))
 {
     this.CopyRuns = copyRuns;
     this.IsPaused = isPaused;
     this.NextProtectionRunTimeUsecs = nextProtectionRunTimeUsecs;
     this.SourceParameters           = sourceParameters;
     this.BackupRun = backupRun;
     this.CopyRuns  = copyRuns;
     this.IsPaused  = isPaused;
     this.NextProtectionRunTimeUsecs = nextProtectionRunTimeUsecs;
     this.ProtectedSourceUid         = protectedSourceUid;
     this.ProtectionSource           = protectionSource;
     this.SourceParameters           = sourceParameters;
 }
Пример #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RunUid" /> class.
 /// </summary>
 /// <param name="jobUid">jobUid.</param>
 /// <param name="startTimeUsecs">Specifies the start time of the Protection Job Run..</param>
 public RunUid(UniversalId jobUid = default(UniversalId), long?startTimeUsecs = default(long?))
 {
     this.StartTimeUsecs = startTimeUsecs;
     this.JobUid         = jobUid;
     this.StartTimeUsecs = startTimeUsecs;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteVaultSearchJobResults" /> class.
 /// </summary>
 /// <param name="clusterCount">Specifies number of Clusters that have archived to the remote Vault that match the criteria specified in the search Job, up to this point in the search. If the search is complete, the total number of Clusters that have archived to the remote Vault and that match the search criteria for the search Job, are reported. If the search was not complete, a partial number is reported..</param>
 /// <param name="clusterMatchString">Specifies the value of the clusterMatchSting if it was set in the original search Job..</param>
 /// <param name="cookie">Specifies an opaque string to pass to the next request to get the next set of search results. This is provided to support pagination. If null, this is the last set of search results..</param>
 /// <param name="endTimeUsecs">Specifies the value of endTimeUsecs if it was set in the original search Job. End time is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="error">Specifies the error message if the search fails..</param>
 /// <param name="jobCount">Specifies number of Protection Jobs that have archived to the remote Vault that match the criteria specified in the search Job. If the search is complete, the total number of Protection Jobs that have archived to the remote Vault and match the search criteria for the search Job, are reported. If the search is not complete, a partial number is reported..</param>
 /// <param name="jobMatchString">Specifies the value of the jobMatchSting if it was set in the original search Job..</param>
 /// <param name="protectionJobs">Array of Protection Jobs.  Specifies a list of Protection Jobs that have archived data to a remote Vault and that also match the filter criteria..</param>
 /// <param name="searchJobStatus">Specifies the status of the search Job. &#39;kJobRunning&#39; indicates that the Job/task is currently running. &#39;kJobFinished&#39; indicates that the Job/task completed and finished. &#39;kJobFailed&#39; indicates that the Job/task failed and did not complete. &#39;kJobCanceled&#39; indicates that the Job/task was canceled. &#39;kJobPaused&#39; indicates the Job/task is paused..</param>
 /// <param name="searchJobUid">Specifies the unique id of the search Job assigned by the Cluster..</param>
 /// <param name="startTimeUsecs">Specifies the value of startTimeUsecs if it was set in the original search Job. Start time is recorded as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="vaultId">Specifies the id of the remote Vault that was searched..</param>
 /// <param name="vaultName">Specifies the name of the remote Vault that was searched..</param>
 public RemoteVaultSearchJobResults(int?clusterCount = default(int?), string clusterMatchString = default(string), string cookie = default(string), long?endTimeUsecs = default(long?), string error = default(string), int?jobCount = default(int?), string jobMatchString = default(string), List <RemoteProtectionJobRunInformation> protectionJobs = default(List <RemoteProtectionJobRunInformation>), SearchJobStatusEnum?searchJobStatus = default(SearchJobStatusEnum?), UniversalId searchJobUid = default(UniversalId), long?startTimeUsecs = default(long?), long?vaultId = default(long?), string vaultName = default(string))
 {
     this.ClusterCount       = clusterCount;
     this.ClusterMatchString = clusterMatchString;
     this.Cookie             = cookie;
     this.EndTimeUsecs       = endTimeUsecs;
     this.Error              = error;
     this.JobCount           = jobCount;
     this.JobMatchString     = jobMatchString;
     this.ProtectionJobs     = protectionJobs;
     this.SearchJobStatus    = searchJobStatus;
     this.SearchJobUid       = searchJobUid;
     this.StartTimeUsecs     = startTimeUsecs;
     this.VaultId            = vaultId;
     this.VaultName          = vaultName;
     this.ClusterCount       = clusterCount;
     this.ClusterMatchString = clusterMatchString;
     this.Cookie             = cookie;
     this.EndTimeUsecs       = endTimeUsecs;
     this.Error              = error;
     this.JobCount           = jobCount;
     this.JobMatchString     = jobMatchString;
     this.ProtectionJobs     = protectionJobs;
     this.SearchJobStatus    = searchJobStatus;
     this.SearchJobUid       = searchJobUid;
     this.StartTimeUsecs     = startTimeUsecs;
     this.VaultId            = vaultId;
     this.VaultName          = vaultName;
 }
Пример #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreInfo" /> class.
 /// </summary>
 /// <param name="archivalTarget">archivalTarget.</param>
 /// <param name="attemptNumber">Specifies the attempt number..</param>
 /// <param name="cloudDeployTarget">cloudDeployTarget.</param>
 /// <param name="jobRunId">Specifies the id of the job run..</param>
 /// <param name="jobUid">jobUid.</param>
 /// <param name="parentSource">parentSource.</param>
 /// <param name="restoreTimeUsecs">This field specifies the time in to which the object needs to be restored. This filed is only applicable when object is being backeup using CDP feature..</param>
 /// <param name="snapshotRelativeDirPath">Specifies the relative path of the snapshot directory..</param>
 /// <param name="source">source.</param>
 /// <param name="startTimeUsecs">Specifies the start time specified as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="viewName">Specifies the name of the view..</param>
 /// <param name="vmHadIndependentDisks">Specifies if the VM had independent disks..</param>
 public RestoreInfo(ArchivalExternalTarget archivalTarget = default(ArchivalExternalTarget), int?attemptNumber = default(int?), CloudDeployTargetDetails cloudDeployTarget = default(CloudDeployTargetDetails), long?jobRunId = default(long?), UniversalId jobUid = default(UniversalId), ProtectionSource parentSource = default(ProtectionSource), long?restoreTimeUsecs = default(long?), string snapshotRelativeDirPath = default(string), ProtectionSource source = default(ProtectionSource), long?startTimeUsecs = default(long?), string viewName = default(string), bool?vmHadIndependentDisks = default(bool?))
 {
     this.AttemptNumber           = attemptNumber;
     this.JobRunId                = jobRunId;
     this.RestoreTimeUsecs        = restoreTimeUsecs;
     this.SnapshotRelativeDirPath = snapshotRelativeDirPath;
     this.StartTimeUsecs          = startTimeUsecs;
     this.ViewName                = viewName;
     this.VmHadIndependentDisks   = vmHadIndependentDisks;
     this.ArchivalTarget          = archivalTarget;
     this.AttemptNumber           = attemptNumber;
     this.CloudDeployTarget       = cloudDeployTarget;
     this.JobRunId                = jobRunId;
     this.JobUid                  = jobUid;
     this.ParentSource            = parentSource;
     this.RestoreTimeUsecs        = restoreTimeUsecs;
     this.SnapshotRelativeDirPath = snapshotRelativeDirPath;
     this.Source                  = source;
     this.StartTimeUsecs          = startTimeUsecs;
     this.ViewName                = viewName;
     this.VmHadIndependentDisks   = vmHadIndependentDisks;
 }
Пример #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreTask" /> class.
 /// </summary>
 /// <param name="acropolisParameters">acropolisParameters.</param>
 /// <param name="archiveTaskUid">Specifies the uid of the Restore Task that retrieves objects from an archive. This field is only populated when objects must be retrieved from an archive before being restored..</param>
 /// <param name="cloneViewParameters">Specifies the View settings used when cloning a View..</param>
 /// <param name="continueOnError">Specifies if the Restore Task should continue when some operations on some objects fail. If true, the Cohesity Cluster ignores intermittent errors and restores as many objects as possible..</param>
 /// <param name="datastoreId">Specifies the datastore where the object&#39;s files are recovered to. This field is populated when objects are recovered to a different resource pool or to a different parent source. This field is not populated when objects are recovered to their original datastore locations in the original parent source..</param>
 /// <param name="endTimeUsecs">Specifies the end time of the Restore Task as a Unix epoch Timestamp (in microseconds). This field is only populated if the Restore Task completes..</param>
 /// <param name="error">Specifies the error reported by the Restore Task (if any) after the Task has finished..</param>
 /// <param name="fullViewName">Specifies the full name of a View..</param>
 /// <param name="hypervParameters">hypervParameters.</param>
 /// <param name="id">Specifies the id of the Restore Task assigned by Cohesity Cluster..</param>
 /// <param name="mountVolumesState">mountVolumesState.</param>
 /// <param name="name">Specifies the name of the Restore Task. This field must be set and must be a unique name. (required).</param>
 /// <param name="newParentId">Specify a new registered parent Protection Source. If specified the selected objects are cloned or recovered to this new Protection Source. If not specified, objects are cloned or recovered to the original Protection Source that was managing them..</param>
 /// <param name="objects">Array of Objects.  Specifies a list of Protection Source objects or Protection Job objects (with specified Protection Source objects)..</param>
 /// <param name="outlookParameters">outlookParameters.</param>
 /// <param name="restoreObjectState">Array of Object States.  Specifies the states of all the objects for the &#39;kRecoverVMs&#39; and &#39;kCloneVMs&#39; Restore Tasks..</param>
 /// <param name="startTimeUsecs">Specifies the start time for the Restore Task as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="status">Specifies the overall status of the Restore Task. &#39;kReadyToSchedule&#39; indicates the Restore Task is waiting to be scheduled. &#39;kProgressMonitorCreated&#39; indicates the progress monitor for the Restore Task has been created. &#39;kRetrievedFromArchive&#39; indicates that the objects to restore have been retrieved from the specified archive. A Task will only ever transition to this state if a retrieval is necessary. &#39;kAdmitted&#39; indicates the task has been admitted. After a task has been admitted, its status does not move back to &#39;kReadyToSchedule&#39; state even if it is rescheduled. &#39;kInProgress&#39; indicates that the Restore Task is in progress. &#39;kFinishingProgressMonitor&#39; indicates that the Restore Task is finishing its progress monitoring. &#39;kFinished&#39; indicates that the Restore Task has finished. The status indicating success or failure is found in the error code that is stored with the Restore Task. &#39;kInternalViewCreated&#39; indicates that internal view for the task has been created. &#39;kZipFileRequested&#39; indicates that request has been sent to create zip files for the files to be downloaded. This state is only going to be present for kDownloadFiles Task. &#39;kCancelled&#39; indicates that task or jb has been cancelled..</param>
 /// <param name="targetViewCreated">Is true if a new View was created by a &#39;kCloneVMs&#39; Restore Task. This field is only set for a &#39;kCloneVMs&#39; Restore Task..</param>
 /// <param name="type">Specifies the type of Restore Task.  &#39;kRecoverVMs&#39; specifies a Restore Task that recovers VMs. &#39;kCloneVMs&#39; specifies a Restore Task that clones VMs. &#39;kCloneView&#39; specifies a Restore Task that clones a View. &#39;kMountVolumes&#39; specifies a Restore Task that mounts volumes. &#39;kRestoreFiles&#39; specifies a Restore Task that recovers files and folders. &#39;kRecoverApp&#39; specifies a Restore Task that recovers app. &#39;kCloneApp&#39; specifies a Restore Task that clone app. &#39;kRecoverSanVolume&#39; specifies a Restore Task that recovers SAN volumes. &#39;kConvertAndDeployVMs&#39; specifies a Restore Task that converts and deploy VMs to a target environment. &#39;kMountFileVolume&#39; specifies a Restore Task that mounts a file volume. &#39;kSystem&#39; specifies a Restore Task that recovers a system. &#39;kRecoverVolumes&#39; specifies a Restore Task that recovers volumes via the physical agent. &#39;kDeployVolumes&#39; specifies a Restore Task that deployes volumes to a target environment. &#39;kDownloadFiles&#39; specifies a Restore Task that downloads the requested files and folders in zip format. &#39;kRecoverEmails&#39; specifies a Restore Task that recovers the mailbox/email items. &#39;kRecoverDisks&#39; specifies a Restore Task that recovers the virtual disks..</param>
 /// <param name="username">Specifies the Cohesity user who requested this Restore Task..</param>
 /// <param name="viewBoxId">Specifies the id of the Domain (View Box) where the View is stored..</param>
 /// <param name="virtualDiskRestoreState">virtualDiskRestoreState.</param>
 /// <param name="vlanParameters">vlanParameters.</param>
 /// <param name="vmwareParameters">vmwareParameters.</param>
 public RestoreTask(AcropolisRestoreParameters acropolisParameters = default(AcropolisRestoreParameters), UniversalId archiveTaskUid = default(UniversalId), UpdateViewParam cloneViewParameters = default(UpdateViewParam), bool?continueOnError = default(bool?), long?datastoreId = default(long?), long?endTimeUsecs = default(long?), RequestError error = default(RequestError), string fullViewName = default(string), HypervRestoreParameters hypervParameters = default(HypervRestoreParameters), long?id = default(long?), MountVolumesState mountVolumesState = default(MountVolumesState), string name = default(string), long?newParentId = default(long?), List <RestoreObjectDetails> objects = default(List <RestoreObjectDetails>), OutlookRestoreParameters outlookParameters = default(OutlookRestoreParameters), List <RestoreObjectState> restoreObjectState = default(List <RestoreObjectState>), long?startTimeUsecs = default(long?), StatusEnum?status = default(StatusEnum?), bool?targetViewCreated = default(bool?), TypeEnum?type = default(TypeEnum?), string username = default(string), long?viewBoxId = default(long?), VirtualDiskRecoverTaskState virtualDiskRestoreState = default(VirtualDiskRecoverTaskState), VlanParameters vlanParameters = default(VlanParameters), VmwareRestoreParameters vmwareParameters = default(VmwareRestoreParameters))
 {
     this.ArchiveTaskUid      = archiveTaskUid;
     this.CloneViewParameters = cloneViewParameters;
     this.ContinueOnError     = continueOnError;
     this.DatastoreId         = datastoreId;
     this.EndTimeUsecs        = endTimeUsecs;
     this.Error                   = error;
     this.FullViewName            = fullViewName;
     this.Id                      = id;
     this.Name                    = name;
     this.NewParentId             = newParentId;
     this.Objects                 = objects;
     this.RestoreObjectState      = restoreObjectState;
     this.StartTimeUsecs          = startTimeUsecs;
     this.Status                  = status;
     this.TargetViewCreated       = targetViewCreated;
     this.Type                    = type;
     this.Username                = username;
     this.ViewBoxId               = viewBoxId;
     this.AcropolisParameters     = acropolisParameters;
     this.ArchiveTaskUid          = archiveTaskUid;
     this.CloneViewParameters     = cloneViewParameters;
     this.ContinueOnError         = continueOnError;
     this.DatastoreId             = datastoreId;
     this.EndTimeUsecs            = endTimeUsecs;
     this.Error                   = error;
     this.FullViewName            = fullViewName;
     this.HypervParameters        = hypervParameters;
     this.Id                      = id;
     this.MountVolumesState       = mountVolumesState;
     this.NewParentId             = newParentId;
     this.Objects                 = objects;
     this.OutlookParameters       = outlookParameters;
     this.RestoreObjectState      = restoreObjectState;
     this.StartTimeUsecs          = startTimeUsecs;
     this.Status                  = status;
     this.TargetViewCreated       = targetViewCreated;
     this.Type                    = type;
     this.Username                = username;
     this.ViewBoxId               = viewBoxId;
     this.VirtualDiskRestoreState = virtualDiskRestoreState;
     this.VlanParameters          = vlanParameters;
     this.VmwareParameters        = vmwareParameters;
 }
Пример #23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreObjectDetails" /> class.
 /// </summary>
 /// <param name="archivalTarget">Specifies settings about the Archival Target (such as Tape or AWS). This field must be set if the object is being recovered or cloned from an archive or if files or folders are being restored from an archive..</param>
 /// <param name="cloudDeployTarget">Specifies settings about the Cloud Deploy target. This field must be set if the restore type is kDeployVMs and the object is to be deployed to cloud using a previously converted image..</param>
 /// <param name="environment">Specifies the type of the Protection Source. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Generic Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment. &#39;kAD&#39; indicates Active Directory Protection Source environment. &#39;kRDSSnapshotManager&#39; indicates AWS RDS Protection Source environment..</param>
 /// <param name="jobId">Protection Job Id.  Specifies id of the Protection Job that backed up the objects to be restored..</param>
 /// <param name="jobRunId">Specifies the id of the Job Run that captured the snapshot..</param>
 /// <param name="jobUid">Specifies the universal id of the Protection Job that backed up the objects to recover or clone or the objects that contain the files or folders to recover..</param>
 /// <param name="protectionSourceId">Specifies the id of the leaf object to recover, clone or recover files/folders from..</param>
 /// <param name="sourceName">Specifies the name of the Protection Source..</param>
 /// <param name="startedTimeUsecs">Specifies the time when the Job Run starts capturing a snapshot. Specified as a Unix epoch Timestamp (in microseconds)..</param>
 public RestoreObjectDetails(ArchivalExternalTarget archivalTarget = default(ArchivalExternalTarget), CloudDeployTargetDetails cloudDeployTarget = default(CloudDeployTargetDetails), EnvironmentEnum?environment = default(EnvironmentEnum?), long?jobId = default(long?), long?jobRunId = default(long?), UniversalId jobUid = default(UniversalId), long?protectionSourceId = default(long?), string sourceName = default(string), long?startedTimeUsecs = default(long?))
 {
     this.ArchivalTarget     = archivalTarget;
     this.CloudDeployTarget  = cloudDeployTarget;
     this.Environment        = environment;
     this.JobId              = jobId;
     this.JobRunId           = jobRunId;
     this.JobUid             = jobUid;
     this.ProtectionSourceId = protectionSourceId;
     this.SourceName         = sourceName;
     this.StartedTimeUsecs   = startedTimeUsecs;
     this.ArchivalTarget     = archivalTarget;
     this.CloudDeployTarget  = cloudDeployTarget;
     this.Environment        = environment;
     this.JobId              = jobId;
     this.JobRunId           = jobRunId;
     this.JobUid             = jobUid;
     this.ProtectionSourceId = protectionSourceId;
     this.SourceName         = sourceName;
     this.StartedTimeUsecs   = startedTimeUsecs;
 }
Пример #24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ObjectSnapshotInfo" /> class.
 /// </summary>
 /// <param name="clusterPartitionId">Specifies the Cohesity Cluster partition id where this object is stored..</param>
 /// <param name="jobId">Specifies the id for the Protection Job that is currently associated with the object. If the object was backed up on current Cohesity Cluster, this field contains the id for the Job that captured this backup object. If the object was backed up on a Primary Cluster and replicated to this Cohesity Cluster, a new Inactive Job is created, the object is now associated with new Inactive Job, and this field contains the id of the new Inactive Job..</param>
 /// <param name="jobName">Specifies the name of the Protection Job that captured the backup..</param>
 /// <param name="jobUid">Specifies the globally unique id of the Protection Job that backed up this object. This id is unique across Cohesity Clusters. Even if this object is replicated to a Remote Cohesity Cluster and the object is associated with a new Job, the value specified in this field does not change..</param>
 /// <param name="objectName">Specifies the primary name of the object..</param>
 /// <param name="osType">Specifies the inferred OS type..</param>
 /// <param name="registeredSource">registeredSource.</param>
 /// <param name="snapshottedSource">snapshottedSource.</param>
 /// <param name="versions">Array of Snapshots.  Specifies all snapshot versions of this object. Each time a Job Run of a Job executes, it may create a new snapshot version of an object. This array stores the different snapshots versions of the object..</param>
 /// <param name="viewBoxId">Specifies the id of the Domain (View Box) where this object is stored..</param>
 /// <param name="viewName">Specifies the View name where this object is stored..</param>
 public ObjectSnapshotInfo(long?clusterPartitionId = default(long?), long?jobId = default(long?), string jobName = default(string), UniversalId jobUid = default(UniversalId), string objectName = default(string), string osType = default(string), ProtectionSource registeredSource = default(ProtectionSource), ProtectionSource snapshottedSource = default(ProtectionSource), List <SnapshotVersion> versions = default(List <SnapshotVersion>), long?viewBoxId = default(long?), string viewName = default(string))
 {
     this.ClusterPartitionId = clusterPartitionId;
     this.JobId              = jobId;
     this.JobName            = jobName;
     this.JobUid             = jobUid;
     this.ObjectName         = objectName;
     this.OsType             = osType;
     this.Versions           = versions;
     this.ViewBoxId          = viewBoxId;
     this.ViewName           = viewName;
     this.ClusterPartitionId = clusterPartitionId;
     this.JobId              = jobId;
     this.JobName            = jobName;
     this.JobUid             = jobUid;
     this.ObjectName         = objectName;
     this.OsType             = osType;
     this.RegisteredSource   = registeredSource;
     this.SnapshottedSource  = snapshottedSource;
     this.Versions           = versions;
     this.ViewBoxId          = viewBoxId;
     this.ViewName           = viewName;
 }
Пример #25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteProtectionJobInformation" /> class.
 /// </summary>
 /// <param name="clusterName">Specifies the name of the original Cluster that archived the data to the Vault..</param>
 /// <param name="environment">Specifies the environment type (such as kVMware or kSQL) of the original archived Protection Job. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment..</param>
 /// <param name="jobName">Specifies the name of the Protection Job on the original Cluster..</param>
 /// <param name="jobUid">Specifies the globally unique id of the original Protection Job that archived the data to the Vault. This id is assigned by the original Cluster that archived the data..</param>
 public RemoteProtectionJobInformation(string clusterName = default(string), EnvironmentEnum?environment = default(EnvironmentEnum?), string jobName = default(string), UniversalId jobUid = default(UniversalId))
 {
     this.ClusterName = clusterName;
     this.Environment = environment;
     this.JobName     = jobName;
     this.JobUid      = jobUid;
     this.ClusterName = clusterName;
     this.Environment = environment;
     this.JobName     = jobName;
     this.JobUid      = jobUid;
 }
Пример #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileSearchResult" /> class.
 /// </summary>
 /// <param name="adObjectMetaData">adObjectMetaData.</param>
 /// <param name="documentType">Specifies the inferred document type..</param>
 /// <param name="emailMetaData">emailMetaData.</param>
 /// <param name="fileVersions">Array of File Versions.  Specifies the different snapshot versions of a file or folder that were captured at different times..</param>
 /// <param name="filename">Specifies the name of the found file or folder..</param>
 /// <param name="isFolder">Specifies if the found item is a folder. If true, the found item is a folder..</param>
 /// <param name="jobId">Specifies the Job id for the Protection Job that is currently associated with object that contains the backed up file or folder. If the file or folder was backed up on current Cohesity Cluster, this field contains the id for the Job that captured the object that contains the file or folder. If the file or folder was backed up on a Primary Cluster and replicated to this Cohesity Cluster, a new Inactive Job is created, the object that contains the file or folder is now associated with new Inactive Job, and this field contains the id of the new Inactive Job..</param>
 /// <param name="jobUid">Specifies the universal id of the Protection Job that backed up the object that contains the file or folder..</param>
 /// <param name="oneDriveDocumentMetadata">oneDriveDocumentMetadata.</param>
 /// <param name="protectionSource">protectionSource.</param>
 /// <param name="registeredSourceId">Specifies the id of the top-level registered source (such as a vCenter Server) where the source object that contains the the file or folder is stored..</param>
 /// <param name="snapshotTags">Snapshot tags present on this document.</param>
 /// <param name="sourceId">Specifies the source id of the object that contains the file or folder..</param>
 /// <param name="tags">Tags present on this document..</param>
 /// <param name="tagsToSnapshotsMap">Mapping from snapshot tags to..</param>
 /// <param name="type">Specifies the type of the file document such as KDirectory, kFile, etc..</param>
 /// <param name="viewBoxId">Specifies the id of the Domain (View Box) where the source object that contains the file or folder is stored..</param>
 public FileSearchResult(AdObjectMetaData adObjectMetaData = default(AdObjectMetaData), string documentType = default(string), EmailMetaData emailMetaData = default(EmailMetaData), List <FileVersion> fileVersions = default(List <FileVersion>), string filename = default(string), bool?isFolder = default(bool?), long?jobId = default(long?), UniversalId jobUid = default(UniversalId), OneDriveDocumentMetadata oneDriveDocumentMetadata = default(OneDriveDocumentMetadata), ProtectionSource protectionSource = default(ProtectionSource), long?registeredSourceId = default(long?), List <string> snapshotTags = default(List <string>), long?sourceId = default(long?), List <string> tags = default(List <string>), Dictionary <string, List <long> > tagsToSnapshotsMap = default(Dictionary <string, List <long> >), TypeEnum?type = default(TypeEnum?), long?viewBoxId = default(long?))
 {
     this.DocumentType       = documentType;
     this.FileVersions       = fileVersions;
     this.Filename           = filename;
     this.IsFolder           = isFolder;
     this.JobId              = jobId;
     this.JobUid             = jobUid;
     this.RegisteredSourceId = registeredSourceId;
     this.SnapshotTags       = snapshotTags;
     this.SourceId           = sourceId;
     this.Tags = tags;
     this.TagsToSnapshotsMap = tagsToSnapshotsMap;
     this.Type                     = type;
     this.ViewBoxId                = viewBoxId;
     this.AdObjectMetaData         = adObjectMetaData;
     this.DocumentType             = documentType;
     this.EmailMetaData            = emailMetaData;
     this.FileVersions             = fileVersions;
     this.Filename                 = filename;
     this.IsFolder                 = isFolder;
     this.JobId                    = jobId;
     this.JobUid                   = jobUid;
     this.OneDriveDocumentMetadata = oneDriveDocumentMetadata;
     this.ProtectionSource         = protectionSource;
     this.RegisteredSourceId       = registeredSourceId;
     this.SnapshotTags             = snapshotTags;
     this.SourceId                 = sourceId;
     this.Tags                     = tags;
     this.TagsToSnapshotsMap       = tagsToSnapshotsMap;
     this.Type                     = type;
     this.ViewBoxId                = viewBoxId;
 }
Пример #27
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateRemoteVaultRestoreTaskParameters" /> class.
 /// </summary>
 /// <param name="glacierRetrievalType">Specifies the way data needs to be retrieved from the external target. This information will be filled in by Iris and Magneto will pass it along to the Icebox as it is to support bulk retrieval from Glacier. Specifies the type of Restore Task.  &#39;kStandard&#39; specifies retrievals that allow to access any of your archives within several hours. Standard retrievals typically complete within 3–5 hours. This is the default option for retrieval requests that do not specify the retrieval option. &#39;kBulk&#39; specifies retrievals that are Glacier’s lowest-cost retrieval option, which can be used to retrieve large amounts, even petabytes, of data inexpensively in a day. Bulk retrieval typically complete within 5–12 hours. &#39;kExpedited&#39; specifies retrievals that allows to quickly access your data when occasional urgent requests for a subset of archives are required. For all but the largest archives (250 MB+), data accessed using Expedited retrievals are typically made available within 1–5 minutes..</param>
 /// <param name="restoreObjects">Array of Restore Objects.  Specifies the list of Snapshots and the index to be restored from the remote Vault. The data on the remote Vault may have been originally archived from multiple remote Clusters..</param>
 /// <param name="searchJobUid">Specifies the unique id of the remote Vault search Job. (required).</param>
 /// <param name="taskName">Specifies a name of the restore task. (required).</param>
 /// <param name="vaultId">Specifies the id of the Vault that contains the index and Snapshots to restore to the current Cluster. This is the id assigned by the Cohesity Cluster when Vault was registered as an External Target. (required).</param>
 public CreateRemoteVaultRestoreTaskParameters(GlacierRetrievalTypeEnum?glacierRetrievalType = default(GlacierRetrievalTypeEnum?), List <IndexAndSnapshots> restoreObjects = default(List <IndexAndSnapshots>), UniversalId searchJobUid = default(UniversalId), string taskName = default(string), long?vaultId = default(long?))
 {
     this.GlacierRetrievalType = glacierRetrievalType;
     this.RestoreObjects       = restoreObjects;
     this.SearchJobUid         = searchJobUid;
     this.TaskName             = taskName;
     this.VaultId = vaultId;
     this.GlacierRetrievalType = glacierRetrievalType;
     this.RestoreObjects       = restoreObjects;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StopRemoteVaultSearchJobParameters" /> class.
 /// </summary>
 /// <param name="searchJobUid">Specifies the unique id of the Remote Vault search job in progress..</param>
 public StopRemoteVaultSearchJobParameters(UniversalId searchJobUid = default(UniversalId))
 {
     this.SearchJobUid = searchJobUid;
     this.SearchJobUid = searchJobUid;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CopyRun" /> class.
 /// </summary>
 /// <param name="copySnapshotTasks">Specifies the status information of each task that copies the snapshot taken for a Protection Source..</param>
 /// <param name="error">Specifies if an error occurred (if any) while running this task. This field is populated when the status is equal to &#39;kFailure&#39;..</param>
 /// <param name="expiryTimeUsecs">Specifies expiry time of the copies of the snapshots in this Protection Run..</param>
 /// <param name="holdForLegalPurpose">Specifies whether legal hold is enabled on this run. It is true if the run is put on legal hold. Independent of this flag, some of the entities may be on legal hold..</param>
 /// <param name="legalHoldings">Specifies the list of Protection Source Ids and the legal hold status..</param>
 /// <param name="runStartTimeUsecs">Specifies start time of the copy run..</param>
 /// <param name="stats">stats.</param>
 /// <param name="status">Specifies the aggregated status of copy tasks such as &#39;kRunning&#39;, &#39;kSuccess&#39;, &#39;kFailure&#39; etc. &#39;kAccepted&#39; indicates the task is queued to run but not yet running. &#39;kRunning&#39; indicates the task is running. &#39;kCanceling&#39; indicates a request to cancel the task has occurred but the task is not yet canceled. &#39;kCanceled&#39; indicates the task has been canceled. &#39;kSuccess&#39; indicates the task was successful. &#39;kFailure&#39; indicates the task failed..</param>
 /// <param name="target">target.</param>
 /// <param name="taskUid">Specifies a globally unique id of the copy task..</param>
 /// <param name="userActionMessage">Specifies a message to the user if any manual intervention is needed to make forward progress for the archival task. This message is mainly relevant for tape based archival tasks where a backup admin might be asked to load a new media when the tape library does not have any more media to use..</param>
 public CopyRun(List <CopySnapshotTaskStatus> copySnapshotTasks = default(List <CopySnapshotTaskStatus>), string error = default(string), long?expiryTimeUsecs = default(long?), bool?holdForLegalPurpose = default(bool?), List <LegalHoldings> legalHoldings = default(List <LegalHoldings>), long?runStartTimeUsecs = default(long?), CopyRunStats stats = default(CopyRunStats), StatusEnum?status = default(StatusEnum?), SnapshotTargetSettings target = default(SnapshotTargetSettings), UniversalId taskUid = default(UniversalId), string userActionMessage = default(string))
 {
     this.CopySnapshotTasks   = copySnapshotTasks;
     this.Error               = error;
     this.ExpiryTimeUsecs     = expiryTimeUsecs;
     this.HoldForLegalPurpose = holdForLegalPurpose;
     this.LegalHoldings       = legalHoldings;
     this.RunStartTimeUsecs   = runStartTimeUsecs;
     this.Status              = status;
     this.TaskUid             = taskUid;
     this.UserActionMessage   = userActionMessage;
     this.CopySnapshotTasks   = copySnapshotTasks;
     this.Error               = error;
     this.ExpiryTimeUsecs     = expiryTimeUsecs;
     this.HoldForLegalPurpose = holdForLegalPurpose;
     this.LegalHoldings       = legalHoldings;
     this.RunStartTimeUsecs   = runStartTimeUsecs;
     this.Stats               = stats;
     this.Status              = status;
     this.Target              = target;
     this.TaskUid             = taskUid;
     this.UserActionMessage   = userActionMessage;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateProtectionJobRun" /> class.
 /// </summary>
 /// <param name="copyRunTargets">Specifies the retention for archival, replication or extended local retention..</param>
 /// <param name="expiryTimeUsecs">Specifies a new expiration time as a Unix epoch Timestamp (in microseconds). This expiration time defines the retention period for the snapshot. After an expiration time for a Job Run is reached, the Job Run and the snapshot captured by this Job Run are deleted. If 0 is specified, the Job Run and the snapshot are immediately deleted..</param>
 /// <param name="jobUid">Specifies a unique universal id for the Job..</param>
 /// <param name="runStartTimeUsecs">Specifies the start time of the Job Run to update. The start time is specified as a Unix epoch Timestamp (in microseconds). This uniquely identifies a snapshot. This parameter is required..</param>
 /// <param name="sourceIds">Ids of the Protection Sources. If this is specified, retention time will only be updated for the sources specified..</param>
 public UpdateProtectionJobRun(List <RunJobSnapshotTarget> copyRunTargets = default(List <RunJobSnapshotTarget>), long?expiryTimeUsecs = default(long?), UniversalId jobUid = default(UniversalId), long?runStartTimeUsecs = default(long?), List <long> sourceIds = default(List <long>))
 {
     this.CopyRunTargets    = copyRunTargets;
     this.ExpiryTimeUsecs   = expiryTimeUsecs;
     this.JobUid            = jobUid;
     this.RunStartTimeUsecs = runStartTimeUsecs;
     this.SourceIds         = sourceIds;
     this.CopyRunTargets    = copyRunTargets;
     this.ExpiryTimeUsecs   = expiryTimeUsecs;
     this.JobUid            = jobUid;
     this.RunStartTimeUsecs = runStartTimeUsecs;
     this.SourceIds         = sourceIds;
 }