Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HyperflexConfigResult" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.  .</param>
 /// <param name="VersionContext">The versioning info for this managed object   .</param>
 /// <param name="ConfigStage">The current running stage of the configuration or workflow.  .</param>
 /// <param name="ConfigState">Indicates overall configuration state for applying the configuration to the end point Values  - - ok, ok-with-warning, errored  .</param>
 /// <param name="ValidationState">Indicates overall state for logical model validation Values  - - ok, ok-with-warning, errored   .</param>
 /// <param name="ClusterProfile">ClusterProfile.</param>
 /// <param name="ConfigProgress">The progress percentage of the running configuration or workflow  .</param>
 /// <param name="Duration">The duration of the running configuration or workflow  .</param>
 /// <param name="ResultEntries">Detailed result entries for both validation &amp; configration. Each result entry can be error/warning/info messages and the context. .</param>
 /// <param name="StartTime">The start time of the configuration or workflow   .</param>
 public HyperflexConfigResult(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), string ConfigStage = default(string), string ConfigState = default(string), string ValidationState = default(string), HyperflexClusterProfileRef ClusterProfile = default(HyperflexClusterProfileRef), string ConfigProgress = default(string), string Duration = default(string), List <HyperflexConfigResultEntryRef> ResultEntries = default(List <HyperflexConfigResultEntryRef>), string StartTime = default(string))
 {
     this.Ancestors       = Ancestors;
     this.Moid            = Moid;
     this.Owners          = Owners;
     this.Parent          = Parent;
     this.Tags            = Tags;
     this.VersionContext  = VersionContext;
     this.ConfigStage     = ConfigStage;
     this.ConfigState     = ConfigState;
     this.ValidationState = ValidationState;
     this.ClusterProfile  = ClusterProfile;
     this.ConfigProgress  = ConfigProgress;
     this.Duration        = Duration;
     this.ResultEntries   = ResultEntries;
     this.StartTime       = StartTime;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HyperflexNodeProfile" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.  .</param>
 /// <param name="VersionContext">The versioning info for this managed object   .</param>
 /// <param name="Description">Description of the profile.  .</param>
 /// <param name="Name">Name of the profile.  .</param>
 /// <param name="SrcTemplate">SrcTemplate.</param>
 /// <param name="Type">Defines the type of the profile. Accepted value is instance.    (default to TypeEnum.Instance).</param>
 /// <param name="AssignedServer">The physical server assigned to this node profile .</param>
 /// <param name="ClusterProfile">ClusterProfile.</param>
 /// <param name="HxdpDataIp">IP address for storage data network (Controller VM interface)  .</param>
 /// <param name="HxdpMgmtIp">IP address for HyperFlex management network  .</param>
 /// <param name="HypervisorDataIp">IP address for storage data network (Hypervisor interface)  .</param>
 /// <param name="HypervisorMgmtIp">IP address for Hypervisor management network   .</param>
 public HyperflexNodeProfile(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), string Description = default(string), string Name = default(string), PolicyAbstractProfileRef SrcTemplate = default(PolicyAbstractProfileRef), TypeEnum?Type = TypeEnum.Instance, ComputeRackUnitRef AssignedServer = default(ComputeRackUnitRef), HyperflexClusterProfileRef ClusterProfile = default(HyperflexClusterProfileRef), string HxdpDataIp = default(string), string HxdpMgmtIp = default(string), string HypervisorDataIp = default(string), string HypervisorMgmtIp = default(string))
 {
     this.Ancestors      = Ancestors;
     this.Moid           = Moid;
     this.Owners         = Owners;
     this.Parent         = Parent;
     this.Tags           = Tags;
     this.VersionContext = VersionContext;
     this.Description    = Description;
     this.Name           = Name;
     this.SrcTemplate    = SrcTemplate;
     // use default value if no "Type" provided
     if (Type == null)
     {
         this.Type = TypeEnum.Instance;
     }
     else
     {
         this.Type = Type;
     }
     this.AssignedServer   = AssignedServer;
     this.ClusterProfile   = ClusterProfile;
     this.HxdpDataIp       = HxdpDataIp;
     this.HxdpMgmtIp       = HxdpMgmtIp;
     this.HypervisorDataIp = HypervisorDataIp;
     this.HypervisorMgmtIp = HypervisorMgmtIp;
 }