psm oehcs service

Display information about a single Oracle Event Hub Cloud Service - Topics instance 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 service
	-s|--service-name instance-name
	[-of|--output-format short|json|html]

Parameters

Parameter Description

-s|--service-name instance-name

Specifies the unique name used to identify the service in the tenant domain. The instance-name is the name of the instance.

-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 information about the topicdemo1 instance.

$ psm oehcs service --service-name 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
    }
}