New-UDEndpoint
SYNOPSIS
Creates a scheduled endpoint with a dashboard.
SYNTAX
Generic (Default)
New-UDEndpoint [-ArgumentList <Object[]>] [-Id <String>] [-Role <String[]>]
[<CommonParameters>]Endpoint
New-UDEndpoint -Endpoint <ScriptBlock> [-ArgumentList <Object[]>] [-Id <String>] [-Role <String[]>]
[<CommonParameters>]Scheduled
New-UDEndpoint -Endpoint <ScriptBlock> [-ArgumentList <Object[]>] [-Id <String>] -Schedule <EndpointSchedule>
[-Role <String[]>] [<CommonParameters>]JavaScript
New-UDEndpoint -JavaScript <String> [-ArgumentList <Object[]>] [-Id <String>] [-Role <String[]>]
[<CommonParameters>]DESCRIPTION
Creates a scheduled endpoint with a dashboard.
EXAMPLES
Example 1
Scheduled Endpoints|Caches a random value every ten seconds
PARAMETERS
-ArgumentList
Not required.
-Endpoint
The endpoint to run on the schedule.
-Id
The ID of the endpoint.
-Role
Not used.
-Schedule
The schedule to run for the endpoint. Use New-UDEndpointSchedule to create a schedule object.
-JavaScript
The JavaScript code to run on the endpoint.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
Last updated
Was this helpful?