Skip to main content

Get Google Cloud disk types

Contributors netapp-ranuk

This workflow retrieves the Google Cloud supported disk types.

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

Get Google Cloud disk types for single node

You can use this workflow to retrieve Google Cloud 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 Google Cloud 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 Google Cloud disk types for high availability pair

You can use this workflow to retrieve Google Cloud 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 Google Cloud 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"
        ]
    }
]