Skip to main content

Attach SaaS subscription

Contributors netapp-ranuk

You can use this workflow to attach a BlueXP SaaS subscription to a cloud provider account.

1. Select the cloud provider path parameter

Select the cloud provider from the list of allowed values below. You will use this value as the provider path parameter in the curl example in step 4.

  • aws

  • azure

  • gcp

2. Determine the account identifier path parameter

Perform the workflow Get cloud provider accounts and choose the accountId value for the account.

3. Get the SaaS marketplace account

Perform the workflow Get SaaS marketplace account and choose the id value for the subscriptionId pamater.

4. Attach the subscription

HTTP method Resource path

POST

/occm/api/occm/saas-mp-service/attach-subscription/{provider}/{cloudAccountId}

curl example
curl --location --request PUT 'https://cloudmanager.cloud.netapp.com/occm/api/occm/saas-mp-service/attach-subscription/<PROVIDER>/<CLOUD_ACC_ID>' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --header 'Content-Type: application/json' --d @JSONinput
Input parameters

The JSON input example includes the input parameter.

JSON input example
{
  "subscriptionId": "gcp-saasMpIntegrationProductId-saasMpCustomerIdentifier0"
}
Output

None