Get GCP packages

Contributors netapp-ranuk

You can perform this workflow to retrieve the pre-defined packages configuration.

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

Get GCP packages for single node

You can use this workflow to retrieve GCP packages in a single node working environment.

1. Get the packages

HTTP method Path

GET

/occm/api/gcp/vsa/metadata/packages

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

None

Output

The JSON output example includes the list of GCP packages.

JSON output example
[
    {
        "name": "gcp_poc",
        "displayName": "POC and small workloads",
        "description": "No description yet",
        "licenseType": "gcp-cot-explore-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "custom-4-16384"
            }
        ],
        "diskType": "pd-ssd",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": null,
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    },
    {
        "name": "gcp_standard",
        "displayName": "Database and application data production workloads",
        "description": "No description yet",
        "licenseType": "gcp-cot-standard-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "n1-standard-8"
            }
        ],
        "diskType": "pd-ssd",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": "GCP",
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    },
    {
        "name": "gcp_dr",
        "displayName": "Cost effective DR",
        "description": "No description yet",
        "licenseType": "gcp-cot-standard-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "n1-standard-8"
            }
        ],
        "diskType": "pd-standard",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": "GCP",
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    },
    {
        "name": "gcp_fastest",
        "displayName": "Highest performance production workloads",
        "description": "No description yet",
        "licenseType": "gcp-cot-premium-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "n1-standard-32"
            }
        ],
        "diskType": "pd-ssd",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": "GCP",
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    }
]

Get GCP packages for high availability pair

You can use this workflow to retrieve GCP packages in an HA working environment.

1. Get the packages

HTTP method Path

GET

/occm/api/gcp/ha/metadata/packages

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

None

Output

The JSON output example includes the list of GCP packages.

JSON output example
[
    {
        "name": "gcp_ha_poc",
        "displayName": "POC and small workloads",
        "description": "No description yet",
        "licenseType": "gcp-ha-cot-explore-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "custom-4-16384"
            }
        ],
        "diskType": "pd-ssd",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": null,
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    },
    {
        "name": "gcp_ha_standard",
        "displayName": "Database and application data production workloads",
        "description": "No description yet",
        "licenseType": "gcp-ha-cot-standard-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "n1-standard-8"
            }
        ],
        "diskType": "pd-ssd",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": "GCP",
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    },
    {
        "name": "gcp_ha_dr",
        "displayName": "Cost effective DR",
        "description": "No description yet",
        "licenseType": "gcp-ha-cot-standard-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "n1-standard-8"
            }
        ],
        "diskType": "pd-standard",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": "GCP",
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    },
    {
        "name": "gcp_ha_fastest",
        "displayName": "Highest performance production workloads",
        "description": "No description yet",
        "licenseType": "gcp-ha-cot-premium-paygo",
        "instanceTypeMapping": [
            {
                "region": "default",
                "instanceType": "n1-standard-32"
            }
        ],
        "diskType": "pd-ssd",
        "diskSize": {
            "size": 100.0,
            "unit": "GB"
        },
        "capacityTier": "GCP",
        "instanceTenancy": null,
        "writingSpeedState": "NORMAL"
    }
]