/// <summary> /// Initializes a new instance of the <see cref="PolicyAbstractProfile" /> 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> public PolicyAbstractProfile(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) { 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; } }
/// <summary> /// Initializes a new instance of the <see cref="ServerProfile" /> 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="AssignedServer">The assigned physical server to the profile. A physical server can be assigned to more than one server profiles as long as it is only associated with one .</param> /// <param name="AssociatedServer">The associated physical server to the profile. A physical server can only be associated to one server profiles .</param> /// <param name="ConfigChangeDetails">Represents the configuration change details .</param> /// <param name="ConfigChanges">Represents the pending configuration changes at the summary level. Detail changes save in configChangeDetails as a separate object .</param> /// <param name="ConfigResult">Represents the configuration (including deploy, undeploy, compliance-check) results. The errors usually are detected and reported during the apply/deploy phases .</param> /// <param name="Organization">Organization .</param> /// <param name="RunningWorkflows">The WorkflowInfo's on fusion that are running for this server Profile. .</param> public ServerProfile(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), ComputeRackUnitRef AssignedServer = default(ComputeRackUnitRef), ComputeRackUnitRef AssociatedServer = default(ComputeRackUnitRef), List <ServerConfigChangeDetailRef> ConfigChangeDetails = default(List <ServerConfigChangeDetailRef>), PolicyConfigChange ConfigChanges = default(PolicyConfigChange), ServerConfigResultRef ConfigResult = default(ServerConfigResultRef), IamAccountRef Organization = default(IamAccountRef), List <WorkflowWorkflowInfoRef> RunningWorkflows = default(List <WorkflowWorkflowInfoRef>)) { 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.AssignedServer = AssignedServer; this.AssociatedServer = AssociatedServer; this.ConfigChangeDetails = ConfigChangeDetails; this.ConfigChanges = ConfigChanges; this.ConfigResult = ConfigResult; this.Organization = Organization; this.RunningWorkflows = RunningWorkflows; }
/// <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; }
/// <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; }