/// <summary>
 /// Initializes a new instance of the <see cref="ProtectionSourceTreeInfo" /> class.
 /// </summary>
 /// <param name="applications">Array of applications hierarchy registered on this node.  Specifies the application type and the list of instances of the application objects. For example for SQL Server, this list provides the SQL Server instances running on a VM or a Physical Server..</param>
 /// <param name="entityPermissionInfo">entityPermissionInfo.</param>
 /// <param name="logicalSizeBytes">Specifies the logical size of the Protection Source in bytes..</param>
 /// <param name="registrationInfo">Specifies registration information for a root node in a Protection Sources tree. A root node represents a registered Source on the Cohesity Cluster, such as a vCenter Server..</param>
 /// <param name="rootNode">Specifies the Protection Source for the root node of the Protection Source tree..</param>
 /// <param name="stats">Specifies the stats of protection for a Protection Source Tree..</param>
 /// <param name="statsByEnv">Specifies the breakdown of the stats of protection by environment. overrideDescription: true.</param>
 public ProtectionSourceTreeInfo(List <ApplicationInfo> applications = default(List <ApplicationInfo>), EntityPermissionInformation entityPermissionInfo = default(EntityPermissionInformation), long?logicalSizeBytes = default(long?), RegisteredSourceInfo registrationInfo = default(RegisteredSourceInfo), ProtectionSource rootNode = default(ProtectionSource), ProtectionSummary stats = default(ProtectionSummary), List <ProtectionSummaryByEnv> statsByEnv = default(List <ProtectionSummaryByEnv>))
 {
     this.Applications         = applications;
     this.LogicalSizeBytes     = logicalSizeBytes;
     this.RegistrationInfo     = registrationInfo;
     this.RootNode             = rootNode;
     this.Stats                = stats;
     this.StatsByEnv           = statsByEnv;
     this.Applications         = applications;
     this.EntityPermissionInfo = entityPermissionInfo;
     this.LogicalSizeBytes     = logicalSizeBytes;
     this.RegistrationInfo     = registrationInfo;
     this.RootNode             = rootNode;
     this.Stats                = stats;
     this.StatsByEnv           = statsByEnv;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentInformation" /> class.
 /// </summary>
 /// <param name="cbmrVersion">Specifies the version if Cristie BMR product is installed on the host..</param>
 /// <param name="hostType">Specifies the host type where the agent is running. This is only set for persistent agents. &#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. &#39;kSapHana&#39; indicates the Sap Hana database system developed by SAP SE. &#39;kOther&#39; indicates the other types of operating system..</param>
 /// <param name="id">Specifies the agent&#39;s id..</param>
 /// <param name="name">Specifies the agent&#39;s name..</param>
 /// <param name="oracleMultiNodeChannelSupported">Specifies whether oracle multi node multi channel is supported or not..</param>
 /// <param name="registrationInfo">registrationInfo.</param>
 /// <param name="sourceSideDedupEnabled">Specifies whether source side dedup is enabled or not..</param>
 /// <param name="status">Specifies the agent status. Specifies the status of the agent running on a physical source. &#39;kUnknown&#39; indicates the Agent is not known. No attempt to connect to the Agent has occurred. &#39;kUnreachable&#39; indicates the Agent is not reachable. &#39;kHealthy&#39; indicates the Agent is healthy. &#39;kDegraded&#39; indicates the Agent is running but in a degraded state..</param>
 /// <param name="statusMessage">Specifies additional details about the agent status..</param>
 /// <param name="upgradability">Specifies the upgradability of the agent running on the physical server. Specifies the upgradability of the agent running on the physical server. &#39;kUpgradable&#39; indicates the Agent can be upgraded to the agent software version on the cluster. &#39;kCurrent&#39; indicates the Agent is running the latest version. &#39;kUnknown&#39; indicates the Agent&#39;s version is not known. &#39;kNonUpgradableInvalidVersion&#39; indicates the Agent&#39;s version is invalid. &#39;kNonUpgradableAgentIsNewer&#39; indicates the Agent&#39;s version is newer than the agent software version the cluster. &#39;kNonUpgradableAgentIsOld&#39; indicates the Agent&#39;s version is too old that does not support upgrades..</param>
 /// <param name="upgradeStatus">Specifies the status of the upgrade of the agent on a physical server. Specifies the status of the upgrade of the agent on a physical server. &#39;kIdle&#39; indicates there is no agent upgrade in progress. &#39;kAccepted&#39; indicates the Agent upgrade is accepted. &#39;kStarted&#39; indicates the Agent upgrade is in progress. &#39;kFinished&#39; indicates the Agent upgrade is completed..</param>
 /// <param name="upgradeStatusMessage">Specifies detailed message about the agent upgrade failure. This field is not set for successful upgrade..</param>
 /// <param name="version">Specifies the version of the Agent software..</param>
 public AgentInformation(string cbmrVersion = default(string), HostTypeEnum?hostType = default(HostTypeEnum?), long?id = default(long?), string name = default(string), bool?oracleMultiNodeChannelSupported = default(bool?), RegisteredSourceInfo registrationInfo = default(RegisteredSourceInfo), bool?sourceSideDedupEnabled = default(bool?), StatusEnum?status = default(StatusEnum?), string statusMessage = default(string), UpgradabilityEnum?upgradability = default(UpgradabilityEnum?), UpgradeStatusEnum?upgradeStatus = default(UpgradeStatusEnum?), string upgradeStatusMessage = default(string), string version = default(string))
 {
     this.CbmrVersion = cbmrVersion;
     this.HostType    = hostType;
     this.Id          = id;
     this.Name        = name;
     this.OracleMultiNodeChannelSupported = oracleMultiNodeChannelSupported;
     this.SourceSideDedupEnabled          = sourceSideDedupEnabled;
     this.Status               = status;
     this.StatusMessage        = statusMessage;
     this.Upgradability        = upgradability;
     this.UpgradeStatus        = upgradeStatus;
     this.UpgradeStatusMessage = upgradeStatusMessage;
     this.Version              = version;
     this.CbmrVersion          = cbmrVersion;
     this.HostType             = hostType;
     this.Id   = id;
     this.Name = name;
     this.OracleMultiNodeChannelSupported = oracleMultiNodeChannelSupported;
     this.RegistrationInfo       = registrationInfo;
     this.SourceSideDedupEnabled = sourceSideDedupEnabled;
     this.Status               = status;
     this.StatusMessage        = statusMessage;
     this.Upgradability        = upgradability;
     this.UpgradeStatus        = upgradeStatus;
     this.UpgradeStatusMessage = upgradeStatusMessage;
     this.Version              = version;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectionSourceNode" /> class.
 /// </summary>
 /// <param name="applicationNodes">Array of Child Subtrees.  Specifies the child subtree used to store additional application-level Objects. Different environments use the subtree to store application-level information. For example for SQL Server, this subtree stores the SQL Server instances running on a VM..</param>
 /// <param name="entityPaginationParameters">entityPaginationParameters.</param>
 /// <param name="entityPermissionInfo">entityPermissionInfo.</param>
 /// <param name="logicalSize">Specifies the logical size of the data in bytes for the Object on this node. Presence of this field indicates this node is a leaf node..</param>
 /// <param name="nodes">Array of Child Nodes.  Specifies children of the current node in the Protection Sources hierarchy. When representing Objects in memory, the entire Object subtree hierarchy is represented. You can use this subtree to navigate down the Object hierarchy..</param>
 /// <param name="protectedSourcesSummary">Array of Protected Objects.  Specifies aggregated information about all the child Objects of this node that are currently protected by a Protection Job. There is one entry for each environment that is being backed up. The aggregated information for the Object hierarchy&#39;s environment will be available at the 0th index of the vector..</param>
 /// <param name="protectionSource">Specifies the Protection Source for the current node..</param>
 /// <param name="registrationInfo">Specifies registration information for a root node in a Protection Sources tree. A root node represents a registered Source on the Cohesity Cluster, such as a vCenter Server..</param>
 /// <param name="unprotectedSourcesSummary">Array of Unprotected Sources.  Specifies aggregated information about all the child Objects of this node that are not protected by any Protection Jobs. The aggregated information for the Objects hierarchy&#39;s environment will be available at the 0th index of the vector. NOTE: This list includes Objects that were protected at some point in the past but are no longer actively protected. Snapshots containing these Objects may even exist on the Cohesity Cluster and be available to recover from..</param>
 public ProtectionSourceNode(List <ProtectionSourceNode> applicationNodes = default(List <ProtectionSourceNode>), PaginationParameters entityPaginationParameters = default(PaginationParameters), EntityPermissionInformation entityPermissionInfo = default(EntityPermissionInformation), long?logicalSize = default(long?), List <ProtectionSourceNode> nodes = default(List <ProtectionSourceNode>), List <AggregatedSubtreeInfo> protectedSourcesSummary = default(List <AggregatedSubtreeInfo>), ProtectionSource protectionSource = default(ProtectionSource), RegisteredSourceInfo registrationInfo = default(RegisteredSourceInfo), List <AggregatedSubtreeInfo> unprotectedSourcesSummary = default(List <AggregatedSubtreeInfo>))
 {
     this.ApplicationNodes           = applicationNodes;
     this.LogicalSize                = logicalSize;
     this.Nodes                      = nodes;
     this.ProtectedSourcesSummary    = protectedSourcesSummary;
     this.ProtectionSource           = protectionSource;
     this.RegistrationInfo           = registrationInfo;
     this.UnprotectedSourcesSummary  = unprotectedSourcesSummary;
     this.ApplicationNodes           = applicationNodes;
     this.EntityPaginationParameters = entityPaginationParameters;
     this.EntityPermissionInfo       = entityPermissionInfo;
     this.LogicalSize                = logicalSize;
     this.Nodes                      = nodes;
     this.ProtectedSourcesSummary    = protectedSourcesSummary;
     this.ProtectionSource           = protectionSource;
     this.RegistrationInfo           = registrationInfo;
     this.UnprotectedSourcesSummary  = unprotectedSourcesSummary;
 }