exported/New-ClusterNetworkObject.ps1
function New-ClusterNetworkObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='Fully qualified domain name.')] [string] ${AddressFqdn}, [Parameter(ParameterSetName='default', HelpMessage='IPV4 address.')] [string] ${AddressIp}, [Parameter(ParameterSetName='default', HelpMessage='IPV6 address.')] [string] ${AddressIpv6}, [Parameter(ParameterSetName='default', HelpMessage='Port Number')] [int] ${AddressPort}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='Joined domain name. In ''put'' request, empty name will unjoin thecluster from current domain.')] [string] ${ClusterDomainServerName}, [Parameter(ParameterSetName='default', HelpMessage='The IP of the nameserver that can resolve the domain name. Must setwhen joining the domain.')] [string] ${ClusterDomainServerNameserver}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string[]] ${ClusterNetworkEntityProxyTypeList}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string] ${CredentialsPassword}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string] ${CredentialsPassword1}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [string] ${CredentialsUsername}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [string] ${CredentialsUsername1}, [Parameter(ParameterSetName='default', HelpMessage='The cluster IP address that provides external entities access tovarious cluster data services.')] [string] ${ExternalDataServicesIp}, [Parameter(ParameterSetName='default', HelpMessage='The local IP of cluster visible externally.')] [string] ${ExternalIp}, [Parameter(ParameterSetName='default', HelpMessage='External subnet for cross server communication. The format isIP/netmask.')] [string] ${ExternalSubnet}, [Parameter(ParameterSetName='default', HelpMessage='List of proxies to connect to the service centers.')] [Nutanix.Powershell.Models.IClusterNetworkEntity[]] ${HttpProxyList}, [Parameter(ParameterSetName='default', HelpMessage='HTTP proxy whitelist.')] [Nutanix.Powershell.Models.IHttpProxyWhitelist[]] ${HttpProxyWhitelist}, [Parameter(ParameterSetName='default', HelpMessage='The internal subnet is local to every server - its not visibleoutside.iSCSI requests generated internally within the appliance(by user VMs or VMFS) are sent to the internal subnet. The format isIP/netmask.')] [string] ${InternalSubnet}, [Parameter(ParameterSetName='default', HelpMessage='The cluster NAT''d or proxy IP which maps to the cluster local IP.')] [string] ${MasqueradingIp}, [Parameter(ParameterSetName='default', HelpMessage='Port used together with masquerading_ip to connect to the cluster.')] [int] ${MasqueradingPort}, [Parameter(ParameterSetName='default', HelpMessage='The list of IP addresses of the name servers.')] [string[]] ${NameServerIpList}, [Parameter(ParameterSetName='default', HelpMessage='Comma separated list of subnets (of the form ''a.b.c.d/l.m.n.o'') thatare allowed to send NFS requests to this container. If not specified,the global NFS whitelist will be looked up for access permission.The internal subnet is always automatically considered part of thewhitelist, even if the field below does not explicitly specify it.Similarly, all the hypervisor IPs are considered part of thewhitelist. Finally, to permit debugging, all of the SVMs local IPsare considered to be implicitly part of the whitelist.')] [string[]] ${NfsSubnetWhitelist}, [Parameter(ParameterSetName='default', HelpMessage='The list of IP addresses or FQDNs of the NTP servers.')] [string[]] ${NtpServerIpList}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='HELP MESSAGE MISSING')] [string] ${SmtpServerEmailAddress}, [Parameter(ParameterSetName='default', HelpMessage='HELP MESSAGE MISSING')] [string] ${SmtpServerType}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-ClusterNetworkObject', [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters } $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } <# .ForwardHelpTargetName Nutanix.private\New-ClusterNetworkObject .ForwardHelpCategory Cmdlet #> } |