exports/Get-JcSdkApplicationTemplate.ps1
<# .Synopsis The endpoint returns a specific SSO / SAML Application Template.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/application-templates/{id} \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}' \n\n``` .Description The endpoint returns a specific SSO / SAML Application Template.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/application-templates/{id} \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}' \n\n``` .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/jumpcloudapisdkv1/get-jcsdkapplicationtemplate .Inputs JumpCloudApiSdkV1.Models.IJumpCloudApIsIdentity .Outputs JumpCloudApiSdkV1.Models.IApplicationtemplate .Outputs JumpCloudApiSdkV1.Models.IApplicationtemplateslist .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IJumpCloudApIsIdentity>: Identity Parameter [Id <String>]: [SystemuserId <String>]: [Triggername <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/jumpcloudapisdkv1/get-jcsdkapplicationtemplate #> function Get-JcSdkApplicationTemplate { [OutputType([JumpCloudApiSdkV1.Models.IApplicationtemplate], [JumpCloudApiSdkV1.Models.IApplicationtemplateslist])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [JumpCloudApiSdkV1.Category('Path')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [JumpCloudApiSdkV1.Category('Path')] [JumpCloudApiSdkV1.Models.IJumpCloudApIsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [JumpCloudApiSdkV1.Category('Query')] [System.String] # The comma separated fields included in the returned records. # If omitted the default list of fields will be returned. ${Fields}, [Parameter()] [JumpCloudApiSdkV1.Category('Query')] [System.String] # A filter to apply to the query. ${Filter}, [Parameter()] [JumpCloudApiSdkV1.Category('Query')] [System.Int32] # The number of records to return at once. ${Limit}, [Parameter()] [JumpCloudApiSdkV1.Category('Query')] [System.Int32] # The offset into the records to return. ${Skip}, [Parameter()] [JumpCloudApiSdkV1.Category('Query')] [System.String] # HELP MESSAGE MISSING ${Sort}, [Parameter(DontShow)] [JumpCloudApiSdkV1.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [JumpCloudApiSdkV1.Category('Runtime')] [JumpCloudApiSdkV1.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [JumpCloudApiSdkV1.Category('Runtime')] [JumpCloudApiSdkV1.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [JumpCloudApiSdkV1.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [JumpCloudApiSdkV1.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [JumpCloudApiSdkV1.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'JumpCloudApiSdkV1.private\Get-JcSdkApplicationTemplate_Get'; GetViaIdentity = 'JumpCloudApiSdkV1.private\Get-JcSdkApplicationTemplate_GetViaIdentity'; List = 'JumpCloudApiSdkV1.private\Get-JcSdkApplicationTemplate_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [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 } } } |