psm caching services

This command lists all Oracle Application Container Cloud Service application caches in the identity domain.

Syntax

psm caching services 
[-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description

-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 services
{
    "services":{
        "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",
            "keyComponentInstance":"Cache",
            "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
        },
        "TestCache":{
            "INTERNAL_CACHE_URL":"TestCache-acc",
            "activityLogs":[
                {
                    "activityLogId":6005,
                    "authDomain":"apaasuser",
                    "authUser":"weblogic",
                    "endDate":"2017-03-13T19:23:24.619+0000",
                    "identityDomain":"apaasuser",
                    "initiatedBy":"USER",
                    "jobId":16339,
                    "messages":[
                        {
                            "activityDate":"2017-03-13T18:49:03.855+0000",
                            "message":"Activity Submitted"
                        },
                        {
                            "activityDate":"2017-03-13T18:49:03.894+0000",
                            "message":"Activity Started"
                        },
                        {
                            "activityDate":"2017-03-13T18:49:03.916+0000",
                            "message":"Started operation to create service [TestCache] in identity domain [apaasuser]."
                        },
                        {
                            "activityDate":"2017-03-13T18:49:25.977+0000",
                            "message":"Initialized application creation..."
                        },
                        {
                            "activityDate":"2017-03-13T19:19:59.184+0000",
                            "message":"Acquired resources for instance(2G) testcache-cach-1..."
                        },
                        {
                            "activityDate":"2017-03-13T19:22:24.817+0000",
                            "message":"Deployed application(v1) for instance(2G) testcache-cach-1..."
                        },
                        {
                            "activityDate":"2017-03-13T19:22:56.044+0000",
                            "message":"Successfully created application..."
                        },
                        {
                            "activityDate":"2017-03-13T19:23:24.607+0000",
                            "message":"Activity Ended"
                        },
                        {
                            "activityDate":"2017-03-13T19:23:24.619+0000",
                            "message":"Activity Ended"
                        }
                    ],
                    "operationId":3,
                    "operationType":"CREATE_SERVICE",
                    "serviceId":3,
                    "serviceName":"TestCache",
                    "serviceType":"caching",
                    "startDate":"2017-03-13T18:49:03.855+0000",
                    "status":"SUCCEED",
                    "summaryMessage":"CREATE_SERVICE"
                }
            ],
            "associatedFrom":1,
            "attributes":{
                "INTERNAL_CACHE_URL":{
                    "displayName":"Cache Host",
                    "displayValue":"TestCache-acc",
                    "isKeyBinding":true,
                    "type":"STRING",
                    "value":"TestCache-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":3,
                    "componentStateDisplayName":"Ready",
                    "componentType":"Cache",
                    "creationDate":"2017-03-13T18:49:03.000+0000",
                    "displayName":"Application Cache",
                    "hosts":{
                        "containers":{
                            "testcache-cach-1":{
                                "attributes":{},
                                "containerName":"testcache-cach-1",
                                "containerPort":0,
                                "containerSize":"2G",
                                "id":3
                            }
                        }
                    },
                    "instanceName":"Cache",
                    "instanceRole":"NONE",
                    "isKeyComponent":false,
                    "paasServers":{},
                    "serviceId":3,
                    "state":"READY",
                    "version":"1.0"
                }
            },
            "computeSiteName":"ucf2_ucf2",
            "creationDate":"2017-03-13T18:49:03.272+0000",
            "creator":"weblogic",
            "deploymentType":"Basic",
            "domainName":"apaasuser",
            "edition":"GE",
            "editionDisplayName":"Grid Edition",
            "keyComponentInstance":"Cache",
            "layeringMode":"None",
            "metaVersion":"17.2.1-1702241927",
            "meteringFrequency":"HOURLY",
            "meteringFrequencyDisplayName":"Hourly",
            "patching":{
                "currentOperation":{
                    "operation":"NONE"
                },
                "totalAvailablePatches":0
            },
            "releaseVersion":"1.0.0.0.1702241927",
            "serviceId":3,
            "serviceLevel":"PAAS",
            "serviceLevelDisplayName":"Service with tooling support",
            "serviceName":"TestCache",
            "serviceStateDisplayName":"Ready",
            "serviceType":"caching",
            "serviceVersion":"1.0",
            "size":"1",
            "state":"READY",
            "subscription":"HOURLY",
            "totalSSDStorage":0,
            "totalSharedStorage":0
        },
        "rgcache":{
            "INTERNAL_CACHE_URL":"rgcache-acc",
            "activityLogs":[
                {
                    "activityLogId":6022,
                    "authDomain":"apaasuser",
                    "authUser":"weblogic",
                    "endDate":"2017-03-30T13:25:27.030+0000",
                    "identityDomain":"apaasuser",
                    "initiatedBy":"USER",
                    "jobId":23750,
                    "messages":[
                        {
                            "activityDate":"2017-03-30T13:23:15.997+0000",
                            "message":"Activity Submitted"
                        },
                        {
                            "activityDate":"2017-03-30T13:23:16.107+0000",
                            "message":"Activity Started"
                        },
                        {
                            "activityDate":"2017-03-30T13:23:16.135+0000",
                            "message":"Started operation to create service [rgcache] in identity domain [apaasuser]."
                        },
                        {
                            "activityDate":"2017-03-30T13:23:39.137+0000",
                            "message":"Initialized application creation..."
                        },
                        {
                            "activityDate":"2017-03-30T13:23:42.794+0000",
                            "message":"Acquired resources for instance(2G) rgcache-cach-1..."
                        },
                        {
                            "activityDate":"2017-03-30T13:24:37.674+0000",
                            "message":"Deployed application(v1) for instance(2G) rgcache-cach-1..."
                        },
                        {
                            "activityDate":"2017-03-30T13:25:07.594+0000",
                            "message":"Successfully created application..."
                        },
                        {
                            "activityDate":"2017-03-30T13:25:27.016+0000",
                            "message":"Activity Ended"
                        },
                        {
                            "activityDate":"2017-03-30T13:25:27.030+0000",
                            "message":"Activity Ended"
                        }
                    ],
                    "operationId":10,
                    "operationType":"CREATE_SERVICE",
                    "serviceId":10,
                    "serviceName":"rgcache",
                    "serviceType":"caching",
                    "startDate":"2017-03-30T13:23:15.997+0000",
                    "status":"SUCCEED",
                    "summaryMessage":"CREATE_SERVICE"
                }
            ],
            "attributes":{
                "INTERNAL_CACHE_URL":{
                    "displayName":"Cache Host",
                    "displayValue":"rgcache-acc",
                    "isKeyBinding":true,
                    "type":"STRING",
                    "value":"rgcache-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":10,
                    "componentStateDisplayName":"Ready",
                    "componentType":"Cache",
                    "creationDate":"2017-03-30T13:23:15.000+0000",
                    "displayName":"Application Cache",
                    "hosts":{
                        "containers":{
                            "rgcache-cach-1":{
                                "attributes":{},
                                "containerName":"rgcache-cach-1",
                                "containerPort":0,
                                "containerSize":"2G",
                                "id":12
                            }
                        }
                    },
                    "instanceName":"Cache",
                    "instanceRole":"NONE",
                    "isKeyComponent":false,
                    "paasServers":{},
                    "serviceId":10,
                    "state":"READY",
                    "version":"1.0"
                }
            },
            "computeSiteName":"ucf2_ucf2",
            "creationDate":"2017-03-30T13:23:15.368+0000",
            "creator":"weblogic",
            "deploymentType":"Basic",
            "domainName":"apaasuser",
            "edition":"GE",
            "editionDisplayName":"Grid Edition",
            "keyComponentInstance":"Cache",
            "layeringMode":"None",
            "metaVersion":"17.2.1-1702241927",
            "meteringFrequency":"HOURLY",
            "meteringFrequencyDisplayName":"Hourly",
            "patching":{
                "currentOperation":{
                    "operation":"NONE"
                },
                "totalAvailablePatches":0
            },
            "releaseVersion":"1.0.0.0.1702241927",
            "serviceId":10,
            "serviceLevel":"PAAS",
            "serviceLevelDisplayName":"Service with tooling support",
            "serviceName":"rgcache",
            "serviceStateDisplayName":"Ready",
            "serviceType":"caching",
            "serviceVersion":"1.0",
            "size":"1",
            "state":"READY",
            "subscription":"HOURLY",
            "totalSSDStorage":0,
            "totalSharedStorage":0
        }
    }
}

More Information

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