Attach SaaS subscription
You can use this workflow to attach a BlueXP SaaS subscription to a cloud provider account.
Step 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
Step 2. Determine the account identifier path parameter
Perform the workflow Get cloud provider accounts and choose the accountId
value for the account.
Step 3. Get the SaaS marketplace account
Perform the workflow Get SaaS marketplace account and choose the id
value for the subscriptionId
parameter.
Step 4. Attach the subscription
You can issue the REST API call to attach the subscription.
HTTP method | Resource path |
---|---|
POST |
/occm/api/occm/saas-mp-service/attach-subscription/{provider}/{cloudAccountId} |
Curl example
curl --request PUT
--location "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