GitHub: Hosted compute schemas
2 GitHub schemas with complete fields and constraints.
← Hosted compute operations · All schemas
Get a hosted compute network configuration for an organization — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A hosted compute network configuration. |
compute_service | string | Optional | The hosted compute service the network configuration supports. Known values: none, actions, codespaces |
created_on | JSON | Required within parent | |
created_on (anyOf 1) | string | Alternative | The time at which the network configuration was created, in ISO 8601 format. Format: date-time |
created_on (anyOf 2) | null | Alternative | |
failover_network_enabled | boolean | Optional | Indicates whether the failover network resource is enabled. |
failover_network_settings_ids | array | Optional | The unique identifier of each failover network settings in the configuration. |
failover_network_settings_ids[] | string | Each item | |
id | string | Required within parent | The unique identifier of the network configuration. |
name | string | Required within parent | The name of the network configuration. |
network_settings_ids | array | Optional | The unique identifier of each network settings in the configuration. |
network_settings_ids[] | string | Each item |
Get a hosted compute network settings resource for an organization — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A hosted compute network settings resource. |
id | string | Required within parent | The unique identifier of the network settings resource. |
name | string | Required within parent | The name of the network settings resource. |
network_configuration_id | string | Optional | The identifier of the network configuration that is using this settings resource. |
region | string | Required within parent | The location of the subnet this network settings resource is configured for. |
subnet_id | string | Required within parent | The subnet this network settings resource is configured for. |