Skip to content

Commit

Permalink
Add support for DNS name inside instance object
Browse files Browse the repository at this point in the history
  • Loading branch information
diogopms committed Jul 8, 2024
1 parent 76773a8 commit 1b1330b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ export const $Instance = {
hostname: {
$ref: "#/components/schemas/Instance.Hostname",
},
dns_name: {
$ref: "#/components/schemas/Instance.DNSName",
},
reservation_id: {
type: "string",
description:
Expand Down Expand Up @@ -554,6 +557,7 @@ export const $Instance = {
"id",
"name",
"hostname",
"dns_name",
"type",
"os_type",
"public_ip",
Expand All @@ -580,6 +584,11 @@ export const $Instance_Hostname = {
description: "The hostname of your instance.",
} as const;

export const $Instance_DNSName = {
type: "string",
description: "The dns name of your instance.",
} as const;

export const $ImageId = {
type: "string",
description:
Expand Down
6 changes: 6 additions & 0 deletions src/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ export type Instance = {
id: string;
name: Instance_Name;
hostname: Instance_Hostname;
dns_name: Instance_DNSName;
/**
* The unique ID of the reservation the instance is associated with.
*/
Expand Down Expand Up @@ -324,6 +325,11 @@ export type Instance_Name = string;
*/
export type Instance_Hostname = string;

/**
* The dns name of your instance.
*/
export type Instance_DNSName = string;

/**
* A unique number that can be used to identify and reference a specific image.
*/
Expand Down

0 comments on commit 1b1330b

Please sign in to comment.