Environments

The OLP CLI supports the following:

  • list runtime environments

pipeline environment list

Lists the runtime environments currently enabled for the customer or their organization and returns information about those environments.

olp pipeline environment list [filter] [command parameters]

Optional parameters:

  • [filter] Freeform text used to filter the runtime environments list. The filter checks if the runtime environment's ID, name or description contains the filter string.
  • --credentials <path to credentials file> The name of a credentials file to use with the command. Credentials files are downloaded separately from the portal.
  • --profile <profile name> The name of the credentials profile to use from the olpcli.ini file.
  • --json Displays the command's result in JSON format.
  • --quiet Display runtime environment IDs, each on a new line.

For more information on using credentials and profiles, see Credentials Setup.

Example:

The command below lists all the runtime environments currently enabled for the customer.

olp pipeline environment list --json

Output:

{
    "runtimeEnvironments": [
        {
            "deprecationPeriodEnd": "2020-08-19T00:00:00Z",
            "deprecationPeriodAnnounced": "2020-02-27T00:00:00Z",
            "displayName": "Batch 2.0.0 (Deprecated)",
            "description": "Spark 2.4.2, Java 8u191, Scala 2.11",
            "id": "batch-2.0.0"
        },
        {
            "deprecationPeriodAnnounced": "2021-06-30T00:00:00Z",
            "displayName": "Batch 2.1.0 (Deprecated)",
            "description": "Spark 2.4.2 With AWS SDK 1.7.4, Java 8u191, Scala 2.11",
            "id": "batch-2.1.0"
        },
        {
            "displayName": "Batch 3.0",
            "description": "Spark 2.4.7 With AWS SDK 1.7.4, Java 8u191, Scala 2.12",
            "id": "batch-3.0"
        },
        {
            "deprecationPeriodEnd": "2021-02-01T00:00:00Z",
            "deprecationPeriodAnnounced": "2020-07-28T00:00:00Z",
            "displayName": "Stream 2.0.0 (Deprecated)",
            "description": "Flink 1.7.1, Java 8u191, Scala 2.11",
            "id": "stream-2.0.0"
        },
        {
            "deprecationPeriodAnnounced": "2021-06-30T00:00:00Z",
            "displayName": "Stream 3.0.0 (Deprecated)",
            "description": "Flink 1.10.1, Java 8u212, Scala 2.11",
            "id": "stream-3.0.0"
        },
        {
            "displayName": "Stream 4.0",
            "description": "Flink 1.10.3, Java 8u212, Scala 2.12",
            "id": "stream-4.0"
        }
    ]
}

results matching ""

    No results matching ""