Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HyperflexConfigResultEntry" /> 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="CompletedTime">The completed time of the task in installer  .</param>
 /// <param name="Context">Context.</param>
 /// <param name="Message">Localized message based on the locale setting of the user&#39;s context  .</param>
 /// <param name="OwnerId">OwnerId.</param>
 /// <param name="State">Values  - - ok, ok-with-warning, errored  .</param>
 /// <param name="Type">Indicates if the result is reported during the logical model validation/resource allocation phase or the configuration applying phase. Values - - validation, config   .</param>
 /// <param name="ConfigResult">ConfigResult.</param>
 public HyperflexConfigResultEntry(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 CompletedTime = default(string), PolicyConfigResultContext Context = default(PolicyConfigResultContext), string Message = default(string), string OwnerId = default(string), string State = default(string), string Type = default(string), HyperflexConfigResultRef ConfigResult = default(HyperflexConfigResultRef))
 {
     this.Ancestors      = Ancestors;
     this.Moid           = Moid;
     this.Owners         = Owners;
     this.Parent         = Parent;
     this.Tags           = Tags;
     this.VersionContext = VersionContext;
     this.CompletedTime  = CompletedTime;
     this.Context        = Context;
     this.Message        = Message;
     this.OwnerId        = OwnerId;
     this.State          = State;
     this.Type           = Type;
     this.ConfigResult   = ConfigResult;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HyperflexClusterProfile" /> 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="Action">User initiated action. Each profile type has its own supported actions. For hyperflex cluster profile, the supported actions are - - Validate, Deploy, Continue, Retry, Abort, Unassign For server profile, the support actions are - - Deploy, Unassign  .</param>
 /// <param name="ConfigContext">ConfigContext.</param>
 /// <param name="AutoSupport">AutoSupport.</param>
 /// <param name="ClusterNetwork">ClusterNetwork.</param>
 /// <param name="ClusterStorage">ClusterStorage.</param>
 /// <param name="ConfigResult">The profile configuration (deploy, validation) results with the overall state and detailed result messages. .</param>
 /// <param name="DataIpAddress">Storage data IP address for the HyperFlex cluster  .</param>
 /// <param name="ExtFcStorage">ExtFcStorage.</param>
 /// <param name="ExtIscsiStorage">ExtIscsiStorage.</param>
 /// <param name="HxdpVersion">Specifies the HyperFlex Data Platform version to be installed  .</param>
 /// <param name="HypervisorType">Hypervisor type for the HyperFlex cluster   (default to HypervisorTypeEnum.ESXi).</param>
 /// <param name="LocalCredential">LocalCredential.</param>
 /// <param name="MacAddressPrefix">MAC address prefix 00:25:B5:XX  .</param>
 /// <param name="MgmtIpAddress">Management IP address for the HyperFlex cluster  .</param>
 /// <param name="MgmtPlatform">Management platform for the HyperFlex cluster   (default to MgmtPlatformEnum.FI).</param>
 /// <param name="NodeConfig">NodeConfig.</param>
 /// <param name="NodeProfileConfig">List of node profiles representing the configuraion of the corresponding HX cluster nodes .</param>
 /// <param name="Organization">Organization .</param>
 /// <param name="ProxySetting">ProxySetting.</param>
 /// <param name="Replication">Specifies the number of copies of each data block written  .</param>
 /// <param name="StorageDataVlan">VLAN for the HyperFlex storage data traffic  .</param>
 /// <param name="SysConfig">SysConfig.</param>
 /// <param name="UcsmConfig">UcsmConfig.</param>
 /// <param name="VcenterConfig">VcenterConfig.</param>
 /// <param name="WwxnPrefix">WWxN prefix 20:00:00:25:B5:XX   .</param>
 public HyperflexClusterProfile(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, string Action = default(string), PolicyConfigContext ConfigContext = default(PolicyConfigContext), HyperflexAutoSupportPolicyRef AutoSupport = default(HyperflexAutoSupportPolicyRef), HyperflexClusterNetworkPolicyRef ClusterNetwork = default(HyperflexClusterNetworkPolicyRef), HyperflexClusterStoragePolicyRef ClusterStorage = default(HyperflexClusterStoragePolicyRef), HyperflexConfigResultRef ConfigResult = default(HyperflexConfigResultRef), string DataIpAddress = default(string), HyperflexExtFcStoragePolicyRef ExtFcStorage = default(HyperflexExtFcStoragePolicyRef), HyperflexExtIscsiStoragePolicyRef ExtIscsiStorage = default(HyperflexExtIscsiStoragePolicyRef), string HxdpVersion = default(string), HypervisorTypeEnum?HypervisorType = HypervisorTypeEnum.ESXi, HyperflexLocalCredentialPolicyRef LocalCredential = default(HyperflexLocalCredentialPolicyRef), string MacAddressPrefix = default(string), string MgmtIpAddress = default(string), MgmtPlatformEnum?MgmtPlatform = MgmtPlatformEnum.FI, HyperflexNodeConfigPolicyRef NodeConfig = default(HyperflexNodeConfigPolicyRef), List <HyperflexNodeProfileRef> NodeProfileConfig = default(List <HyperflexNodeProfileRef>), IamAccountRef Organization = default(IamAccountRef), HyperflexProxySettingPolicyRef ProxySetting = default(HyperflexProxySettingPolicyRef), long?Replication = default(long?), HyperflexNamedVlan StorageDataVlan = default(HyperflexNamedVlan), HyperflexSysConfigPolicyRef SysConfig = default(HyperflexSysConfigPolicyRef), HyperflexUcsmConfigPolicyRef UcsmConfig = default(HyperflexUcsmConfigPolicyRef), HyperflexVcenterConfigPolicyRef VcenterConfig = default(HyperflexVcenterConfigPolicyRef), string WwxnPrefix = 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.Action          = Action;
     this.ConfigContext   = ConfigContext;
     this.AutoSupport     = AutoSupport;
     this.ClusterNetwork  = ClusterNetwork;
     this.ClusterStorage  = ClusterStorage;
     this.ConfigResult    = ConfigResult;
     this.DataIpAddress   = DataIpAddress;
     this.ExtFcStorage    = ExtFcStorage;
     this.ExtIscsiStorage = ExtIscsiStorage;
     this.HxdpVersion     = HxdpVersion;
     // use default value if no "HypervisorType" provided
     if (HypervisorType == null)
     {
         this.HypervisorType = HypervisorTypeEnum.ESXi;
     }
     else
     {
         this.HypervisorType = HypervisorType;
     }
     this.LocalCredential  = LocalCredential;
     this.MacAddressPrefix = MacAddressPrefix;
     this.MgmtIpAddress    = MgmtIpAddress;
     // use default value if no "MgmtPlatform" provided
     if (MgmtPlatform == null)
     {
         this.MgmtPlatform = MgmtPlatformEnum.FI;
     }
     else
     {
         this.MgmtPlatform = MgmtPlatform;
     }
     this.NodeConfig        = NodeConfig;
     this.NodeProfileConfig = NodeProfileConfig;
     this.Organization      = Organization;
     this.ProxySetting      = ProxySetting;
     this.Replication       = Replication;
     this.StorageDataVlan   = StorageDataVlan;
     this.SysConfig         = SysConfig;
     this.UcsmConfig        = UcsmConfig;
     this.VcenterConfig     = VcenterConfig;
     this.WwxnPrefix        = WwxnPrefix;
 }