exports/Get-JcSdkApplication.ps1
<# .Synopsis The endpoint retrieves an SSO / SAML Application. .Description The endpoint retrieves an SSO / SAML Application. .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-jcsdkapplication .Inputs JumpCloudApiSdkV1.Models.IJumpCloudApIsIdentity .Outputs JumpCloudApiSdkV1.Models.IApplication .Outputs JumpCloudApiSdkV1.Models.IApplicationslist .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-jcsdkapplication #> function Get-JcSdkApplication { [OutputType([JumpCloudApiSdkV1.Models.IApplication], [JumpCloudApiSdkV1.Models.IApplicationslist])] [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(ParameterSetName='List')] [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(ParameterSetName='List')] [JumpCloudApiSdkV1.Category('Query')] [System.String] # A filter to apply to the query. ${Filter}, [Parameter(ParameterSetName='List')] [JumpCloudApiSdkV1.Category('Query')] [System.Int32] # The number of records to return at once. ${Limit}, [Parameter(ParameterSetName='List')] [JumpCloudApiSdkV1.Category('Query')] [System.Int32] # The offset into the records to return. ${Skip}, [Parameter(ParameterSetName='List')] [JumpCloudApiSdkV1.Category('Query')] [System.String] # HELP MESSAGE MISSING ${Sort}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='GetViaIdentity')] [JumpCloudApiSdkV1.Category('Header')] [System.String] # HELP MESSAGE MISSING ${Accept}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='GetViaIdentity')] [JumpCloudApiSdkV1.Category('Header')] [System.String] # HELP MESSAGE MISSING ${ContentType}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='GetViaIdentity')] [JumpCloudApiSdkV1.Category('Header')] [System.String] # HELP MESSAGE MISSING ${XOrgId}, [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-JcSdkApplication_Get'; GetViaIdentity = 'JumpCloudApiSdkV1.private\Get-JcSdkApplication_GetViaIdentity'; List = 'JumpCloudApiSdkV1.private\Get-JcSdkApplication_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 } } } |