exported/New-ClusterConfigSpecObject.ps1
function New-ClusterConfigSpecObject { [CmdletBinding()] param( [Parameter(ParameterSetName='default', HelpMessage='List of valid ssh keys for the cluster.')] [Nutanix.Powershell.Models.IPublicKey[]] ${AuthorizedPublicKeyList}, [Parameter(ParameterSetName='default', HelpMessage='Customer information used in Certificate Signing Request forcreating digital certificates.')] [Nutanix.Powershell.Models.ICertificationSigningInfo] ${CertificationSigningInfo}, [Parameter(ParameterSetName='default', HelpMessage='Content of CA chain certificate.')] [byte[]] ${ClientAuthCaChain}, [Parameter(ParameterSetName='default', HelpMessage='Name of CA chain file.')] [string] ${ClientAuthName}, [Parameter(ParameterSetName='default', Mandatory=$true, HelpMessage='Status of client authentication.')] [string] ${ClientAuthStatus}, [Parameter(ParameterSetName='default', HelpMessage='Array of enabled features.')] [string[]] ${EnabledFeatureList}, [Parameter(ParameterSetName='default', HelpMessage='Cluster encryption status.')] [string] ${EncryptionStatus}, [Parameter(ParameterSetName='default', HelpMessage='Citrix Connector details.')] [Nutanix.Powershell.Models.ICitrixConnectorConfigDetailsSpec] ${ExternalConfigurationsSpecCitrixConnectorConfig}, [Parameter(ParameterSetName='default', HelpMessage='GPU driver version.')] [string] ${GpuDriverVersion}, [Parameter(ParameterSetName='default', HelpMessage='Cluster operation mode. - ''NORMAL'': Cluster is operating normally. - ''READ_ONLY'': Cluster is operating in read only mode. - ''STAND_ALONE'': Only one node is operational in the cluster. This is valid only for single node or two node clusters.- ''SWITCH_TO_TWO_NODE'': Cluster is moving from single node to two node cluster.- ''OVERRIDE'': Valid only for single node cluster. If the user wants to run vms on a single node cluster in read only mode, he can set the cluster peration mode to override. Writes will be allowed in override mode.')] [string] ${OperationMode}, [Parameter(ParameterSetName='default', HelpMessage='Cluster supported redundancy factor. Default is 2.')] [int] ${RedundancyFactor}, [Parameter(ParameterSetName='default', HelpMessage='Map of software on the cluster with software type as thekey.')] [System.Collections.Generic.IDictionary[string,Nutanix.Powershell.Models.IClusterSoftware]] ${SoftwareMap}, [Parameter(ParameterSetName='default', HelpMessage='Verbosity level settings for populating support information.- ''Nothing'': Send nothing- ''Basic'': Send basic information - skip core dump and hypervisor stats information- ''BasicPlusCoreDump'': Send basic and core dump information- ''All'': Send all information')] [string] ${SupportedInformationVerbosity}, [Parameter(ParameterSetName='default', HelpMessage='Zone name used in value of TZ environment variable.')] [string] ${Timezone}) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Nutanix.private\New-ClusterConfigSpecObject', [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-ClusterConfigSpecObject .ForwardHelpCategory Cmdlet #> } |