IBM Streams 4.3.0
Instance service
This element resource provides access
to information about an instance service.
Universal Resource Identifier (URI) pattern
https://server:port/streams/rest/instances/{restid}/resourceallocations/{restid}/activeservices/{restid}
Properties
This element resource has the
following properties:
- domain
- A string that identifies the URI that you can use to access information about the domain.
- instance
- A string that identifies the URI that you can use to access information about the instance.
- leader
- A boolean value that indicates whether the service is a standby service. If this value is false, the service is a standby service.
- processId
- A string that identifies the process identifier of the instance service.
- resourceAllocation
- A string that identifies the URI that you can use to access instance resource information.
- resourceType
- A string that identifies the REST resource type, which in this case is activeService.
- restid
- A string that uniquely identifies the instance service within a REST URI. The value for this property is generated from the values of the processId and type properties.
- self
- A string that identifies the URI for this resource.
- startTime
- A number that represents the time that the service started. The unit of time is milliseconds since the epoch, which was midnight Greenwich mean time (GMT) on January 1, 1970.
- status
- A string that identifies the status of the instance service. Some possible values for this property include stopped, stopping, starting, running, failed, partiallyFailed, partiallyRunning, degraded, updating, waiting, and unknown.
- type
- A string that identifies the type of instance service. Some possible values for this property include app (application deployment service), sam (application manager service), srm (application metrics service), and view (view service). By default, when you retrieve a collection of instance services, they are sorted according to this property value.
Resource retrieval
You can use the following HTTP methods and query parameters to retrieve this resource:
- HTTP methods
- GET
- Query parameters
- This element resource supports the standard query parameters for element resources.