show attributes example

show attributes example.

Examples

Show the attributes of a baseline.

lscm show attributes -b TestBaseline1 --baseline-component Testcomp1 -r lo
Name: (1364) "TestBaseline1"
Description:
Test baseline 1 description

Above command run with json output.
lscm show attributes -b TestBaseline1 --baseline-component Testcomp1 -r lo -j
{
    "baseline": "TestBaseline1",
    "properties": {
        "description": "New baseline - Sept 25th 2012",
        "name": "TestBaseline1",
        "url": "https:\/\/localhost:9443\/jazz\/",
        "uuid": "_LucXUgckEeKa2rwWakM2sg"
    }
}

Show the attributes of a component.

lscm show attributes --component TestComp1 -r lo
(1362) "TestComp1"
  Owned by: (1360) "ProjectArea1"
  Visibility: Project Scoped ((1360) "ProjectArea1")

Above command run with json output.
lscm show attributes --component TestComp1 -r lo -j
{
    "components": [
        {
            "component": "TestComp1",
            "properties": {
                "name": "TestComp1",
                "ownedby": {
                    "name": "ProjectArea1",
                    "type": "PROJECTAREA",
                    "url": "https:\/\/localhost:9443\/jazz\/",
                    "uuid": "_Uf8eoAcjEeKpyZXOx1yTxw"
                },
                "url": "https:\/\/localhost:9443\/jazz\/",
                "uuid": "_15jusAcjEeKa2rwWakM2sg",
                "visibility": {
                    "info": {
                        "name": "ProjectArea1",
                        "type": "PROJECTAREA",
                        "url": "https:\/\/localhost:9443\/jazz\/",
                        "uuid": "_Uf8eoAcjEeKpyZXOx1yTxw"
                    },
                    "type": "projectarea"
                }
            },
            "status-code": 0
        }
    ]
}

List the attributes of workspace.

lscm show attributes --workspace TestWorkspace1 -r lo
(1349) "TestWorkspace1"
  Repository: https://localhost:9443/jazz/
  Owned by: (1355) "ADMIN"
  Visibility: Private
  Description:
  This is a test worksapce

Above command run with json output
lscm show attributes --workspace TestWorkspace1 -r lo -j
{
    "workspaces": [
        {
            "properties": {
                "description": "This is a test workspace",
                "name": "TestWorkspace1",
                "ownedby": {
                    "name": "ADMIN",
                    "type": "CONTRIBUTOR",
                    "url": "https:\/\/localhost:9443\/jazz\/",
                    "uuid": "_KGRY4CFWEdq-WY5y7lROQw"
                },
                "type": "WORKSPACE",
                "url": "https:\/\/localhost:9443\/jazz\/",
                "uuid": "_H2XvAAcjEeKa2rwWakM2sg",
                "visibility": {
                    "type": "private"
                }
            },
            "status-code": 0,
            "workspace": "TestWorkspace1"
        }
    ]

List the attributes of a snapshot.

lscm show attributes --snapshot TestSnapshot1 -r lo
Name: (1368) "TestSnapshot1"
Description:
Test snapshot 1 description

Above subcommand run with json output.
lscm show attributes --snapshot TestSnapshot1 -r lo -j
{
    "properties": {
        "description": "New snapshot - Sept 25th 2012",
        "name": "TestSnapshot1",
        "url": "https:\/\/localhost:9443\/jazz\/",
        "uuid": "_7myFUAclEeKa2rwWakM2sg"
    },
    "snapshot": "TestSnapshot1"
}

yeah

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki