Salesforce

Go EngineAPI: GetEngineInstanceList

« Go Back
Information
Go EngineAPI: GetEngineInstanceList
000006189
Public
Product Selection
aiWare - API
Article Details
GetEngineInstanceListResponse GetEngineInstanceList(ctx, optional)

Get engines instances with filtering

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
optional*GetEngineInstanceListOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetEngineInstanceListOpts struct 

NameTypeDescriptionNotes
xCorrelationIdoptional.StringCorrelation Id that can be passed, traced in the server and will be returned in the response if present in the request
engineInstanceIDsoptional.StringField to provide the input to get engine instances by ID list. Separated by commas
engineIDsoptional.StringField to provide the input to get engines by Engine ID list. Separated by commas
hostIDsoptional.Interface of stringFiltering engine instances by host IDs. Separated by commas
workRequestIDsoptional.Interface of stringFilters engine instances by workrequest IDs. Separated by commas
statusoptional.Interface of EngineStatusEnumField to match the current status
drainoptional.BoolFilter by drain
launchStartTimeoptional.Int64The unix timestamp, describing a lower limit for the time an engine instance was launched.
launchEndTimeoptional.Int64The unix timestamp, describing an upper limit for the time an engine instance was launched.
modifiedBeforeoptional.Int64Filter by items modified before expressed as timestamp
modifiedAfteroptional.Int64Filter by items modified after expressed as timestamp
createdBeforeoptional.Int64Filter items where created date is before this date
createdAfteroptional.Int64Filter items where created date is after this date
offsetoptional.Int64the number of data to skip before getting the result set
limitoptional.Int64the number of items to return.[default to 10]
directionoptional.Stringthe sort order. ASC or DESC.[default to DESC]
orderByoptional.StringIt should be in [engineID, hostID, status, createdTime, modifiedTime, lastUpdateTime, launchTime]

Return type

GetEngineInstanceListResponse

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json
Additional Technical Documentation Information
Properties
11/21/2024 10:46 PM
11/21/2024 10:46 PM
11/21/2024 10:46 PM
Documentation
Documentation
000006189
Translation Information
English

Powered by