campuses
Creates, updates, deletes, gets or lists a campuses resource.
Overview​
| Name | campuses |
| Type | Resource |
| Id | ovh.ip.campuses |
Fields​
The following fields are returned by SELECT queries:
- list
Campus of an IP address
| Name | Datatype | Description |
|---|---|---|
name | string | Campus name (BHS, ERI, GRA, HIL, LIM, MIL, PAR, RBX, SBG, SGP, SYD, VIN, WAW, YNM, YYZ) |
bring_your_own_ip_supported_rir_for_ip | array | List of RIRs whose IPs can be imported in the campus (wire: bringYourOwnIpSupportedRirForIp) |
datacenters | array | List of datacenters in the campus |
description | string | Description of the campus |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | List campuses. Returns each campus with its name, description, datacenters and the RIRs whose IP ranges it can import. (Beta version) |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
SELECT examples​
- list
List campuses. Returns each campus with its name, description, datacenters and the RIRs whose IP ranges it can import. (Beta version)
SELECT
name,
bring_your_own_ip_supported_rir_for_ip,
datacenters,
description
FROM ovh.ip.campuses
;