## zowe › ops › show › resource

Display data associated with the specified SSM resource. Currently, only resource state is displayed.

#### Usage

zowe ops show resource <resourcename> [options]

#### Positional Arguments

- `resourcename` (string)

  - The name of the resource.

#### Options

- `--tablename` | `--table` (string)

  - The name of the table that contains the resource. If not specified, the command will search the SSM tables to find the resource. If the resource exists in multiple tables, the desired state of the resource will be set to the appropriate DOWN state in all the tables where the resource exists.

#### OPS WEB SERVICES CONNECTION OPTIONS

- `--user` (string)

  - Your z/OS user name used to authenticate to OPS Web Services

- `--password` | `--pass` (string)

  - Your z/OS password used to authenticate to OPS Web Services

- `--host` (string)

  - The hostname of the server where OPS Web Services is running.

- `--port` | `-p` (number)

  - The port number for OPS Web Services.

- `--reject-unauthorized` | `--ru` (boolean)

  - If set to true, the server certificate is verified against the list of supplied CAs. If set to false, certificate verification is not performed.

    Default value: true

- `--protocol` | `--prot` (string)

  - The protocol used for connecting to OPS Web Services

    Default value: https
    Allowed values: http, https

- `--subsystem` | `--subs` (string)

  - Specifies the subsystem id of the OPS/MVS instance to which commands will be directed.

#### Profile Options

- `--ops-profile` | `--ops-p` (string)

  - The name of a (ops) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- Show current and desired state of RESOURCE1 on table MYTABLE on subsystem OPSS.:

  - `zowe ops show resource RESOURCE1 --tablename MYTABLE --subsystem OPSS`