Get GCP disk types

This workflow retrieves the GCP supported disk types.

Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:

Get GCP disk types for single node

You can use this workflow to retrieve GCP disk types for a single node working environment.

1. Get the disk types

HTTP method Path

GET

/occm/api/gcp/vsa/metadata/gcp-disk-types

curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/vsa/metadata/gcp-disk-types' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Input

None

Output

The JSON output provides an example of a list of GCP supported disk types.

JSON output example
[
    {
        "size": {
            "size": 100.0,
            "unit": "GB"
        },
        "supportedDiskTypes": [
            "pd-standard",
            "pd-ssd"
        ],
        "supportedOccmLicenses": [
            "Standard (BYOL)",
            "Cloud Volumes ONTAP Standard",
            "Cloud Volumes ONTAP Explore",
            "Standard (hourly)",
            "Cloud Volumes ONTAP BYOL",
            "Explore (hourly)",
            "Cloud Volumes ONTAP Premium"
        ]
    },
    {
        "size": {
            "size": 500.0,
            "unit": "GB"
        },
        "supportedDiskTypes": [
            "pd-standard",
            "pd-ssd"
        ],
        "supportedOccmLicenses": [
            "Standard (BYOL)",
            "Cloud Volumes ONTAP Standard",
            "Cloud Volumes ONTAP Explore",
            "Standard (hourly)",
            "Cloud Volumes ONTAP BYOL",
            "Explore (hourly)",
            "Cloud Volumes ONTAP Premium"
        ]
    }
]

Get GCP disk types for high availability pair

You can use this workflow to retrieve GCP disk types for an HA working environment.

1. Get the disk types

HTTP method Path

GET

/occm/api/gcp/ha/metadata/gcp-disk-types

curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/ha/metadata/gcp-disk-types' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Input

None

Output

The JSON output provides an example of a list of GCP supported disk types.

JSON output example
[
    {
        "size": {
            "size": 100.0,
            "unit": "GB"
        },
        "supportedDiskTypes": [
            "pd-standard",
            "pd-ssd"
        ],
        "supportedOccmLicenses": [
            "Standard (BYOL)",
            "Cloud Volumes ONTAP Standard",
            "Cloud Volumes ONTAP Explore",
            "Standard (hourly)",
            "Cloud Volumes ONTAP BYOL",
            "Explore (hourly)",
            "Cloud Volumes ONTAP Premium"
        ]
    },
    {
        "size": {
            "size": 500.0,
            "unit": "GB"
        },
        "supportedDiskTypes": [
            "pd-standard",
            "pd-ssd"
        ],
        "supportedOccmLicenses": [
            "Standard (BYOL)",
            "Cloud Volumes ONTAP Standard",
            "Cloud Volumes ONTAP Explore",
            "Standard (hourly)",
            "Cloud Volumes ONTAP BYOL",
            "Explore (hourly)",
            "Cloud Volumes ONTAP Premium"
        ]
    }
]