mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 21:00:06 +01:00
3.0 KiB
3.0 KiB
DtoClusterResponse
Properties
| Name | Type |
|---|---|
apps_load_balancer |
DtoLoadBalancerResponse |
bastion_server |
DtoServerResponse |
captain_domain |
DtoDomainResponse |
certificate_key |
string |
cluster_provider |
string |
control_plane_fqdn |
string |
control_plane_record_set |
DtoRecordSetResponse |
created_at |
string |
docker_image |
string |
docker_tag |
string |
glueops_load_balancer |
DtoLoadBalancerResponse |
id |
string |
last_error |
string |
name |
string |
node_pools |
Array<DtoNodePoolResponse> |
random_token |
string |
region |
string |
status |
string |
updated_at |
string |
Example
import type { DtoClusterResponse } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
apps_load_balancer: null,
bastion_server: null,
captain_domain: null,
certificate_key: null,
cluster_provider: null,
control_plane_fqdn: null,
control_plane_record_set: null,
created_at: null,
docker_image: null,
docker_tag: null,
glueops_load_balancer: null,
id: null,
last_error: null,
name: null,
node_pools: null,
random_token: null,
region: null,
status: null,
updated_at: null,
} satisfies DtoClusterResponse;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoClusterResponse;
console.log(exampleParsed);
[Back to top] [Back to API list] [Back to Model list] [Back to README]