@gridscale/api
Version:
gridscale API Wrapper
82 lines (79 loc) • 2.18 kB
text/typescript
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import { IpRelation } from './IpRelation';
export type Ip = {
/**
* Defines the date and time the object was initially created.
*/
create_time?: string;
/**
* Status indicates the status of the object.
*/
status?: string;
relations?: IpRelation;
/**
* The UUID of an object is always unique, and refers to a specific object.
*/
object_uuid?: string;
/**
* The human-readable name of the location. It supports the full UTF-8 character set, with a maximum of 64 characters.
*/
location_country?: string;
/**
* The IP prefix.
*/
prefix?: string;
/**
* Defines if the object is administratively blocked. If true, it can not be deleted by the user.
*/
delete_block?: boolean;
/**
* Sets failover mode for this IP. If true, then this IP is no longer available for DHCP and can no longer be related to any server.
*/
failover?: boolean;
/**
* Helps to identify which data-center an object belongs to.
*/
location_uuid?: string;
/**
* The human-readable name of the location. It supports the full UTF-8 character set, with a maximum of 64 characters.
*/
location_name?: string;
/**
* List of labels.
*/
labels?: Array<string>;
/**
* Defines the date and time of the last object change.
*/
change_time?: string;
/**
* Defines the IP Address (v4 or v6).
*/
ip?: string;
/**
* The IP Address family (v4 or v6).
*/
family?: 4 | 6;
/**
* Uses IATA airport code, which works as a location identifier.
*/
location_iata?: string;
/**
* Defines the reverse DNS entry for the IP Address (PTR Resource Record).
*/
reverse_dns?: string;
/**
* Deprecated
*/
current_price?: number;
/**
* Total minutes the object has been running.
*/
usage_in_minutes?: number;
/**
* The human-readable name of the object. It supports the full UTF-8 character set, with a maximum of 64 characters.
*/
name?: string;
}