Skip to content

Commit 9dae8e2

Browse files
authored
Merge pull request #3 from genesiscloud/add-dns-name-field-instance
Add support for DNS name inside instance object
2 parents 76773a8 + 1b1330b commit 9dae8e2

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/schemas.gen.ts

+9
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ export const $Instance = {
423423
hostname: {
424424
$ref: "#/components/schemas/Instance.Hostname",
425425
},
426+
dns_name: {
427+
$ref: "#/components/schemas/Instance.DNSName",
428+
},
426429
reservation_id: {
427430
type: "string",
428431
description:
@@ -554,6 +557,7 @@ export const $Instance = {
554557
"id",
555558
"name",
556559
"hostname",
560+
"dns_name",
557561
"type",
558562
"os_type",
559563
"public_ip",
@@ -580,6 +584,11 @@ export const $Instance_Hostname = {
580584
description: "The hostname of your instance.",
581585
} as const;
582586

587+
export const $Instance_DNSName = {
588+
type: "string",
589+
description: "The dns name of your instance.",
590+
} as const;
591+
583592
export const $ImageId = {
584593
type: "string",
585594
description:

src/types.gen.ts

+6
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ export type Instance = {
235235
id: string;
236236
name: Instance_Name;
237237
hostname: Instance_Hostname;
238+
dns_name: Instance_DNSName;
238239
/**
239240
* The unique ID of the reservation the instance is associated with.
240241
*/
@@ -324,6 +325,11 @@ export type Instance_Name = string;
324325
*/
325326
export type Instance_Hostname = string;
326327

328+
/**
329+
* The dns name of your instance.
330+
*/
331+
export type Instance_DNSName = string;
332+
327333
/**
328334
* A unique number that can be used to identify and reference a specific image.
329335
*/

0 commit comments

Comments
 (0)