Skip to main content

JITTicketConfigCreateRequest

Properties​

NameTypeDescriptionNotes
NameStringDisplay name of the ticket integration.[required]
AuthenticationTypeEnum [ "BASIC", "OAUTH" ]ServiceNow authentication type.[required]
IntegrationTypeEnum [ "SERVICE_NOW_TICKET_LOOKUP" ]Integration kind.[required]
TicketTypeStringServiceNow ticket type key. The tenant keeps one config per ticket type.[required]
ConnectionTypeEnum [ "SAAS", "ON_PREM" ]Where the ServiceNow connection runs.[required]
ServiceNowUrlStringAbsolute http or https ServiceNow instance URL, including a host.[required]
SpsParameterIdStringParameter Storage parameter id that holds the ServiceNow credentials.[required]
SpsParameterTypeStringParameter Storage parameter type. Stored on create and preserved by later patches.[optional]
EnabledBooleanIntegration toggle. Explicit false disables remote ticket lookup. Omit the field to leave the integration active. The service stores true when the field is omitted.[optional] [default to $true]

Examples​

  • Prepare the resource
$JITTicketConfigCreateRequest = Initialize-JITTicketConfigCreateRequest -Name ServiceNow `
-AuthenticationType OAUTH `
-IntegrationType SERVICE_NOW_TICKET_LOOKUP `
-TicketType incident `
-ConnectionType SAAS `
-ServiceNowUrl https://acme.service-now.com `
-SpsParameterId param-1 `
-SpsParameterType BASIC `
-Enabled true
  • Convert the resource to JSON
$JITTicketConfigCreateRequest | ConvertTo-JSON

[Back to top]