info_tfgrid/collections/sysadmins/advanced/list_public_ips.md

23 lines
322 B
Markdown
Raw Normal View History

2024-04-29 17:49:02 +00:00
<h1> Listing Public IPs </h1>
<h2>Table of Contents </h2>
- [Introduction](#introduction)
- [Example](#example)
***
## Introduction
Listing public IPs can be done by asking graphQL for all IPs that has `contractId = 0`
## Example
```graphql
query MyQuery {
publicIps(where: {contractId_eq: 0}) {
ip
}
}
```