psm oehcs services

Display information about all Oracle Event Hub Cloud Service - Topics instances in the identity domain.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm oehcs services
	[-of|--output-format short|json|html]

Parameters

Parameter Description

-of|--output-format short|json|html

(Optional) Specifies the output format of the command’s response:

  • short—output is formatted as a brief summary.

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Examples

The following example displays basic information about the instances in the usexample identity domain. The response shows two running instance, topicdemo1 and topicdemo2.

$ psm oehcs services
{
    "services":{
        "topicdemo1":{
            "serviceId":21,
            "serviceName":"topicdemo1",
            "serviceType":"OEHCS",
            "domainName":"usexample",
            "serviceVersion":"0.9.0",
            "releaseVersion":"0.9.0.1.0",
            "metaVersion":"17.1.3-1612020704",
            "serviceLevel":"PAAS",
            "subscription":"HOURLY",
            "meteringFrequency":"HOURLY",
            "state":"READY",
            "creator":"oehcsadmin",
            "creationDate":"2016-12-09T07:01:06.608+0000",
            "capacities":{
                "allocated":{
                    "numPartitions":2
                },
                "blocked":{}
            },
            "attributes":{
                "topic":{
                    "displayName":"Topic",
                    "type":"STRING",
                    "value":"usexample-topicdemo1",
                    "displayValue":"usexample-topicdemo1",
                    "isKeyBinding":false
                },
                "numPartitions":{
                    "displayName":"Number of Partitions",
                    "type":"STRING",
                    "value":"2",
                    "displayValue":"2",
                    "isKeyBinding":false
                },
                "retentionPeriod":{
                    "displayName":"Retention Period (Hours)",
                    "type":"INTEGER",
                    "value":"24",
                    "displayValue":"24",
                    "isKeyBinding":false
                },
                "restProxyUri":{
                    "displayName":"REST End Point",
                    "type":"STRING",
                    "value":"https://psm.us.oraclecloud.com:1080/restproxy/topics/usexample-topicdemo1",
                    "displayValue":"https://psm.us.oraclecloud.com:1080/restproxy/topics/usexample-topicdemo1",
                    "isKeyBinding":false
                }
            },
            "associatedServices":{
                "RUNS_ON":[
                    {
                        "serviceName":"Docs-oehpcs",
                        "serviceType":"OEHPCS"
                    }
                ]
            },
            "activityLogs":[
                {
                    "activityLogId":2117,
                    "serviceName":"topicdemo1",
                    "serviceType":"oehcs",
                    "identityDomain":"usexample",
                    "serviceId":21,
                    "jobId":769,
                    "startDate":"2016-12-09T07:01:06.799+0000",
                    "endDate":"2016-12-09T07:01:12.045+0000",
                    "status":"SUCCEED",
                    "operationId":21,
                    "operationType":"CREATE_SERVICE",
                    "summaryMessage":"CREATE_SERVICE",
                    "authDomain":"usexample",
                    "authUser":"oehcsadmin",
                    "initiatedBy":"USER",
                    "messages":[
                        {
                            "activityDate":"2016-12-09T07:01:06.799+0000",
                            "message":"Activity Submitted"
                        },
                        {
                            "activityDate":"2016-12-09T07:01:06.831+0000",
                            "message":"Activity Started"
                        },
                        {
                            "activityDate":"2016-12-09T07:01:07.179+0000",
                            "message":"Allocating resources"
                        },
                        {
                            "activityDate":"2016-12-09T07:01:12.045+0000",
                            "message":"Activity Ended"
                        }
                    ]
                }
            ],
            "layeringMode":"Service",
            "serviceLevelDisplayName":"Oracle Event Hub Cloud Service - Platform",
            "meteringFrequencyDisplayName":"Hourly",
            "restProxyUri":"https://psm.us.oraclecloud.com:1080/restproxy/topics/usexample-topicdemo1",
            "numPartitions":"2",
            "replicationFactor":"2",
            "retentionPeriod":"24",
            "topic":"usexample-topicdemo1",
            "totalSharedStorage":0,
            "serviceStateDisplayName":"Ready",
            "computeSiteName":"ucfc2z3a",
            "patching":{
                "currentOperation":{
                    "operation":"NONE"
                },
                "totalAvailablePatches":0
            }
        },
        "topicdemo2":{
            "serviceId":31,
            "serviceName":"topicdemo2",
            "serviceType":"OEHCS",
            "domainName":"usexample",
            "serviceVersion":"0.9.0",
            "releaseVersion":"0.9.0.1.0",
            "metaVersion":"17.1.3-1612020704",
            "serviceLevel":"PAAS",
            "subscription":"HOURLY",
            "meteringFrequency":"HOURLY",
            "state":"READY",
            "creator":"weblogic",
            "creationDate":"2016-12-14T12:20:49.738+0000",
            "capacities":{
                "allocated":{
                    "numPartitions":2
                },
                "blocked":{}
            },
            "attributes":{
                "topic":{
                    "displayName":"Topic",
                    "type":"STRING",
                    "value":"usexample-topicdemo2",
                    "displayValue":"usexample-topicdemo2",
                    "isKeyBinding":false
                },
                "numPartitions":{
                    "displayName":"Number of Partitions",
                    "type":"STRING",
                    "value":"2",
                    "displayValue":"2",
                    "isKeyBinding":false
                },
                "retentionPeriod":{
                    "displayName":"Retention Period (Hours)",
                    "type":"INTEGER",
                    "value":"24",
                    "displayValue":"24",
                    "isKeyBinding":false
                },
                "restProxyUri":{
                    "displayName":"REST End Point",
                    "type":"STRING",
                    "value":"https://psm.us.oraclecloud.com:1080/restproxy/topics/usexample-topicdemo2",
                    "displayValue":"https://psm.us.oraclecloud.com:1080/restproxy/topics/usexample-topicdemo2",
                    "isKeyBinding":false
                }
            },
            "associatedServices":{
                "RUNS_ON":[
                    {
                        "serviceName":"Docs-oehpcs",
                        "serviceType":"OEHPCS"
                    }
                ]
            },
            "activityLogs":[
                {
                    "activityLogId":2156,
                    "serviceName":"topicdemo2",
                    "serviceType":"oehcs",
                    "identityDomain":"usexample",
                    "serviceId":31,
                    "jobId":1233,
                    "startDate":"2016-12-14T12:20:50.019+0000",
                    "endDate":"2016-12-14T12:20:55.219+0000",
                    "status":"SUCCEED",
                    "operationId":31,
                    "operationType":"CREATE_SERVICE",
                    "summaryMessage":"CREATE_SERVICE",
                    "authDomain":"usexample",
                    "authUser":"weblogic",
                    "initiatedBy":"USER",
                    "messages":[
                        {
                            "activityDate":"2016-12-14T12:20:50.019+0000",
                            "message":"Activity Submitted"
                        },
                        {
                            "activityDate":"2016-12-14T12:20:50.054+0000",
                            "message":"Activity Started"
                        },
                        {
                            "activityDate":"2016-12-14T12:20:50.376+0000",
                            "message":"Allocating resources"
                        },
                        {
                            "activityDate":"2016-12-14T12:20:55.219+0000",
                            "message":"Activity Ended"
                        }
                    ]
                }
            ],
            "layeringMode":"Service",
            "serviceLevelDisplayName":"Oracle Event Hub Cloud Service - Platform",
            "meteringFrequencyDisplayName":"Hourly",
            "restProxyUri":"https://psm.us.oraclecloud.com:1080/restproxy/topics/usexample-topicdemo2",
            "numPartitions":"2",
            "replicationFactor":"2",
            "retentionPeriod":"24",
            "topic":"usexample-topicdemo2",
            "totalSharedStorage":0,
            "serviceStateDisplayName":"Ready",
            "computeSiteName":"ucfc2z3a",
            "patching":{
                "currentOperation":{
                    "operation":"NONE"
                },
                "totalAvailablePatches":0
            }
        }
    }
}