Model/FTPConfig.ps1
# # SMServer V6 # Syncplify.me Server! REST API # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # <# .SYNOPSIS No summary available. .DESCRIPTION No description available. .PARAMETER TlsMode No description available. .PARAMETER ModeZ No description available. .PARAMETER GreetBanner No description available. .PARAMETER GreetLogin No description available. .PARAMETER GreetLoginFail No description available. .PARAMETER GreetLogout No description available. .PARAMETER SameIpOnPasv No description available. .PARAMETER SameIpOnPort No description available. .PARAMETER BlockPort disable Active FTP .PARAMETER DisableStat No description available. .PARAMETER DisableSyst No description available. .PARAMETER EnableSite No description available. .PARAMETER DelayAnonymousRejection No description available. .PARAMETER MinTlsVersion No description available. .PARAMETER MaxTlsVersion No description available. .PARAMETER AllowedCipherSuites No description available. .PARAMETER ExtPasvIp No description available. .PARAMETER ExtPasvIpForTls No description available. .PARAMETER ExtPasvLans No description available. .OUTPUTS FTPConfig<PSCustomObject> #> function New-SS6FTPConfig { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TlsMode}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${ModeZ}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${GreetBanner}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [String] ${GreetLogin}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [String] ${GreetLoginFail}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [String] ${GreetLogout}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${SameIpOnPasv}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${SameIpOnPort}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${BlockPort}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${DisableStat}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${DisableSyst}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableSite}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${DelayAnonymousRejection}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${MinTlsVersion}, [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${MaxTlsVersion}, [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${AllowedCipherSuites}, [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)] [String] ${ExtPasvIp}, [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)] [String] ${ExtPasvIpForTls}, [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)] [String[]] ${ExtPasvLans} ) Process { 'Creating object: SS6AdminModule => SS6FTPConfig' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "tlsMode" = ${TlsMode} "modeZ" = ${ModeZ} "greetBanner" = ${GreetBanner} "greetLogin" = ${GreetLogin} "greetLoginFail" = ${GreetLoginFail} "greetLogout" = ${GreetLogout} "sameIpOnPasv" = ${SameIpOnPasv} "sameIpOnPort" = ${SameIpOnPort} "blockPort" = ${BlockPort} "disableStat" = ${DisableStat} "disableSyst" = ${DisableSyst} "enableSite" = ${EnableSite} "delayAnonymousRejection" = ${DelayAnonymousRejection} "minTlsVersion" = ${MinTlsVersion} "maxTlsVersion" = ${MaxTlsVersion} "allowedCipherSuites" = ${AllowedCipherSuites} "extPasvIp" = ${ExtPasvIp} "extPasvIpForTls" = ${ExtPasvIpForTls} "extPasvLans" = ${ExtPasvLans} } return $PSO } } |