New-PSUEndpoint
Creates a new REST API endpoint.
SYNOPSIS
SYNTAX
Endpoint
New-PSUEndpoint [-Method <String[]>] -Url <String> [-Description <String>] -Endpoint <ScriptBlock>
[-Path <String>] [-Authentication] [-Role <String[]>] [-RegEx] [-Tag <Tag[]>] [-Timeout <Int32>]
[-Environment <String>] [-PersistentLog] [-Documentation <String>] [-Module <String>] [-Command <String>]
[-Credential <String>] [-ComputerGroup <String[]>] [-AvailableInBranch <String[]>] [-Disabled]
[-ExecutionRole <String[]>] [-ComputerName <String>] [-AppToken <String>] [-UseDefaultCredentials]
[-Integrated] [-TrustCertificate] [-Cookies] [<CommonParameters>]Path
New-PSUEndpoint [-Method <String[]>] -Url <String> [-Description <String>] -Path <String> [-Authentication]
[-Role <String[]>] [-RegEx] [-Tag <Tag[]>] [-Timeout <Int32>] [-Environment <String>] [-PersistentLog]
[-Documentation <String>] [-Module <String>] [-Command <String>] [-Credential <String>]
[-ComputerGroup <String[]>] [-AvailableInBranch <String[]>] [-Disabled] [-ExecutionRole <String[]>]
[-ComputerName <String>] [-AppToken <String>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate]
[-Cookies] [<CommonParameters>]Module
DESCRIPTION
EXAMPLES
Example 1
Example 2
Example 3
Example 4
PARAMETERS
-AppToken
-Authentication
-ComputerName
-Endpoint
-Method
-RegEx
-Role
-Url
-Description
-UseDefaultCredentials
-Integrated
-Tag
-Timeout
-Path
-Environment
-PersistentLog
-Documentation
-Command
-Module
-ComputerGroup
-AvailableInBranch
-Credential
-TrustCertificate
-Disabled
-Cookies
-ExecutionRole
CommonParameters
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
Last updated
Was this helpful?