psm caching service

This command lists detailed information about an Oracle Application Container Cloud Service application cache.

Syntax

psm caching service 
-s|--service-name name 
[-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-s, --service-name Name of the cache.

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

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

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

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

Example

$ psm caching service -s MyCacheService
{
    "INTERNAL_CACHE_URL":"MyCacheService-acc",
    "activityLogs":[
        {
            "activityLogId":6023,
            "authDomain":"apaasuser",
            "authUser":"weblogic",
            "endDate":"2017-03-30T21:30:00.512+0000",
            "identityDomain":"apaasuser",
            "initiatedBy":"USER",
            "jobId":23770,
            "messages":[
                {
                    "activityDate":"2017-03-30T21:27:34.554+0000",
                    "message":"Activity Submitted"
                },
                {
                    "activityDate":"2017-03-30T21:27:34.599+0000",
                    "message":"Activity Started"
                },
                {
                    "activityDate":"2017-03-30T21:27:34.615+0000",
                    "message":"Started operation to create service [MyCacheService] in identity domain [apaasuser]."
                },
                {
                    "activityDate":"2017-03-30T21:27:57.728+0000",
                    "message":"Initialized application creation..."
                },
                {
                    "activityDate":"2017-03-30T21:28:00.522+0000",
                    "message":"Acquired resources for instance(2G) mycacheservice-cach-1..."
                },
                {
                    "activityDate":"2017-03-30T21:29:10.926+0000",
                    "message":"Deployed application(v1) for instance(2G) mycacheservice-cach-1..."
                },
                {
                    "activityDate":"2017-03-30T21:29:40.000+0000",
                    "message":"Successfully created application..."
                },
                {
                    "activityDate":"2017-03-30T21:30:00.501+0000",
                    "message":"Activity Ended"
                },
                {
                    "activityDate":"2017-03-30T21:30:00.512+0000",
                    "message":"Activity Ended"
                }
            ],
            "operationId":11,
            "operationType":"CREATE_SERVICE",
            "serviceId":11,
            "serviceName":"MyCacheService",
            "serviceType":"caching",
            "startDate":"2017-03-30T21:27:34.554+0000",
            "status":"SUCCEED",
            "summaryMessage":"CREATE_SERVICE"
        }
    ],
    "attributes":{
        "INTERNAL_CACHE_URL":{
            "displayName":"Cache Host",
            "displayValue":"MyCacheService-acc",
            "isKeyBinding":true,
            "type":"STRING",
            "value":"MyCacheService-acc"
        },
        "deploymentType":{
            "displayName":"Deployment Type",
            "displayValue":"Basic",
            "isKeyBinding":false,
            "type":"STRING",
            "value":"Basic"
        },
        "size":{
            "displayName":"Cache Capacity [GB]",
            "displayValue":"1",
            "isKeyBinding":false,
            "type":"INTEGER",
            "value":"1"
        }
    },
    "baseReleaseVersion":"1.0.0.0.1702241927",
    "capacities":{
        "allocated":{
            "size":1
        },
        "blocked":{},
        "remaining":{
            "size":1
        }
    },
    "components":{
        "Cache":{
            "attributes":{},
            "clusters":{},
            "componentId":11,
            "componentStateDisplayName":"Ready",
            "componentType":"Cache",
            "creationDate":"2017-03-30T21:27:33.000+0000",
            "displayName":"Application Cache",
            "hosts":{
                "containers":{
                    "mycacheservice-cach-1":{
                        "attributes":{},
                        "containerName":"mycacheservice-cach-1",
                        "containerPort":0,
                        "containerSize":"2G",
                        "id":13
                    }
                }
            },
            "instanceName":"Cache",
            "instanceRole":"NONE",
            "isKeyComponent":false,
            "paasServers":{},
            "serviceId":11,
            "state":"READY",
            "version":"1.0"
        }
    },
    "computeSiteName":"ucf2_ucf2",
    "creationDate":"2017-03-30T21:27:33.865+0000",
    "creator":"weblogic",
    "deploymentType":"Basic",
    "domainName":"apaasuser",
    "edition":"GE",
    "editionDisplayName":"Grid Edition",
    "layeringMode":"None",
    "metaVersion":"17.2.1-1702241927",
    "meteringFrequency":"HOURLY",
    "meteringFrequencyDisplayName":"Hourly",
    "patching":{
        "currentOperation":{
            "operation":"NONE"
        },
        "totalAvailablePatches":0
    },
    "releaseVersion":"1.0.0.0.1702241927",
    "serviceDescription":"Example Cache Service",
    "serviceId":11,
    "serviceLevel":"PAAS",
    "serviceLevelDisplayName":"Service with tooling support",
    "serviceName":"MyCacheService",
    "serviceStateDisplayName":"Ready",
    "serviceType":"caching",
    "serviceVersion":"1.0",
    "size":"1",
    "state":"READY",
    "subscription":"HOURLY",
    "totalSSDStorage":0,
    "totalSharedStorage":0
}

More Information

Exploring the Cache Service Overview Page in Using Caches in Oracle Application Container Cloud Service