I am new in GCP. I'm trying to create Partner Interconnect by using GCP rest api, and receiving the following error:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Invalid value for field 'resource.interconnectType': 'PARTNER'. Only approved partners can create interconnects with type PARTNER."
}
],
"code": 400,
"message": "Invalid value for field 'resource.interconnectType': 'PARTNER'. Only approved partners can create interconnects with type PARTNER."
}
}
My Request body is:
{
"description": "tesinterconnect",
"name": "testintrconnect",
"linkType": "LINK_TYPE_ETHERNET_10G_LR",
"interconnectType": "PARTNER",
"adminEnabled": true,
"customerName": "equinix"
}
My project is connected with official partners of GCP(Equinix) and I'm able to create Partner interconnect using GCP console.
Anything is missing in my request body or I'm doing something wrong?
Thanks