Skip to content

Networking and ingress

Generated from the gateway schema. Do not edit.

Queries

dnsAvailable

False where DNS records are not switched on; the lists are then empty and the other fields fail with NOT_CONFIGURED.

query { dnsAvailable: Boolean! }

Requires: an authenticated member of the tenant

Returns: Boolean!

dnsRecord

query { dnsRecord(id: ID!): DnsRecord! }

Requires: an authenticated member of the tenant

Argument Type Description
id ID!

Returns: DnsRecord!

dnsRecords

The records this tenant published, in one zone or in all of them.

query { dnsRecords(zone: String): [DnsRecord!]! }

Requires: an authenticated member of the tenant

Argument Type Description
zone String

Returns: [DnsRecord!]!

dnsZone

query { dnsZone(name: String!): DnsZone! }

Requires: an authenticated member of the tenant

Argument Type Description
name String!

Returns: DnsZone!

dnsZones

The zones in which this tenant can publish records.

query { dnsZones: [DnsZone!]! }

Requires: an authenticated member of the tenant

Returns: [DnsZone!]!

externalService

query { externalService(id: ID!): ExternalService! }

Requires: an authenticated member of the tenant

Argument Type Description
id ID!

Returns: ExternalService!

ingressByCluster

query { ingressByCluster(clusterId: ID, name: String!, namespace: String): Ingress }

Requires: an authenticated member of the tenant

Argument Type Description
clusterId ID Optional. Leave it out: the platform uses the cluster of your region.
name String!
namespace String

Returns: Ingress

ingressRoute

query { ingressRoute(id: ID!): IngressRoute! }

Requires: an authenticated member of the tenant

Argument Type Description
id ID!

Returns: IngressRoute!

ingressesByCluster

query { ingressesByCluster(clusterId: ID, namespace: String): IngressListResult! }

Requires: an authenticated member of the tenant

Argument Type Description
clusterId ID Optional. Leave it out: the platform uses the cluster of your region.
namespace String

Returns: IngressListResult!

middleware

query { middleware(id: ID!): IngressMiddleware! }

Requires: an authenticated member of the tenant

Argument Type Description
id ID!

Returns: IngressMiddleware!

networkInterface

query { networkInterface(id: ID!): NetworkInterface! }

Requires: an authenticated member of the tenant

Argument Type Description
id ID!

Returns: NetworkInterface!

subnets

query { subnets(vnetId: String!): [Subnet!]! }

Requires: an authenticated member of the tenant

Argument Type Description
vnetId String!

Returns: [Subnet!]!

vpc

The tenant's private network, by name.

query { vpc(name: String!): VPC! }

Requires: tenant VIEWER

Argument Type Description
name String!

Returns: VPC!

vpcs

The tenant's private network, as a list: one entry, or none when the tenant has no network.

query { vpcs: [VPC!]! }

Requires: tenant VIEWER

Returns: [VPC!]!

Mutations

createDnsRecord

Publishes a record. A name is held by the first tenant that publishes under it; a name that is taken, reserved, or directly above or below a name somebody else holds is refused with CONFLICT or a validation error. Several records may share a name (two A records, an A and a TXT).

mutation { createDnsRecord(input: CreateDnsRecordInput!): DnsRecord! }

Requires: tenant EDITOR

Argument Type Description
input CreateDnsRecordInput!

Returns: DnsRecord!

createDnsZone

Brings a domain of your own to the platform's DNS: the answer names the name servers to set at the domain's registrar. The zone is PENDING until that delegation is seen, then ACTIVE: records can be managed in it and hosts published under it. Asking again for a zone you have returns it.

mutation { createDnsZone(domain: String!): DnsZone! }

Requires: tenant ADMIN

Argument Type Description
domain String!

Returns: DnsZone!

createExternalService

mutation { createExternalService(input: CreateExternalServiceInput!): ExternalService! }

Requires: tenant EDITOR

Argument Type Description
input CreateExternalServiceInput!

Returns: ExternalService!

createIngressRoute

mutation { createIngressRoute(input: CreateIngressRouteInput!): IngressRoute! }

Requires: tenant EDITOR

Argument Type Description
input CreateIngressRouteInput!

Returns: IngressRoute!

createMiddleware

mutation { createMiddleware(input: CreateMiddlewareInput!): IngressMiddleware! }

Requires: tenant EDITOR

Argument Type Description
input CreateMiddlewareInput!

Returns: IngressMiddleware!

createSubnet

mutation { createSubnet(vnetId: String!, input: CreateSubnetInput!): Subnet! }

Requires: tenant EDITOR

Argument Type Description
vnetId String!
input CreateSubnetInput!

Returns: Subnet!

deleteDnsRecord

Removing the last record under a name gives the name up.

mutation { deleteDnsRecord(id: ID!): Boolean! }

Requires: tenant EDITOR

Argument Type Description
id ID!

Returns: Boolean!

deleteDnsZone

Stops hosting the zone: the domain no longer resolves through the platform. Refused while it has records or published hosts. confirm must repeat the zone's name.

mutation { deleteDnsZone(name: String!, confirm: String!): Boolean! }

Requires: tenant ADMIN

Argument Type Description
name String!
confirm String!

Returns: Boolean!

deleteExternalService

mutation { deleteExternalService(id: ID!): Boolean! }

Requires: tenant EDITOR

Argument Type Description
id ID!

Returns: Boolean!

deleteIngressRoute

mutation { deleteIngressRoute(id: ID!): Boolean! }

Requires: tenant EDITOR

Argument Type Description
id ID!

Returns: Boolean!

deleteMiddleware

mutation { deleteMiddleware(id: ID!): Boolean! }

Requires: tenant EDITOR

Argument Type Description
id ID!

Returns: Boolean!

deleteSubnet

mutation { deleteSubnet(vnetId: String!, id: ID!): Boolean! }

Requires: tenant EDITOR

Argument Type Description
vnetId String!
id ID!

Returns: Boolean!

updateDnsRecord

mutation { updateDnsRecord(id: ID!, input: UpdateDnsRecordInput!): DnsRecord! }

Requires: tenant EDITOR

Argument Type Description
id ID!
input UpdateDnsRecordInput!

Returns: DnsRecord!

updateSubnet

mutation { updateSubnet(vnetId: String!, id: ID!, input: UpdateSubnetInput!): Subnet! }

Requires: tenant EDITOR

Argument Type Description
vnetId String!
id ID!
input UpdateSubnetInput!

Returns: Subnet!