@@ -25,84 +25,84 @@ export type MACAddressType = 'unknown_type' | 'vmware' | 'xen' | 'kvm'
2525
2626/** Attach flexible i ps response. */
2727export interface AttachFlexibleIPsResponse {
28- /** Total count of Flexible IPs being updated. */
28+ /** Total count of flexible IPs that are being updated. */
2929 totalCount : number
30- /** Listing of Flexible IPs in updating state. */
30+ /** List of flexible IPs in an updating state. */
3131 flexibleIps : FlexibleIP [ ]
3232}
3333
3434/** Detach flexible i ps response. */
3535export interface DetachFlexibleIPsResponse {
36- /** Total count of Flexible IPs being detached. */
36+ /** Total count of flexible IPs that are being detached. */
3737 totalCount : number
38- /** Listing of Flexible IPs in detaching state. */
38+ /** List of flexible IPs in a detaching state. */
3939 flexibleIps : FlexibleIP [ ]
4040}
4141
4242/** Flexible ip. */
4343export interface FlexibleIP {
44- /** ID of the Flexible IP. */
44+ /** ID of the flexible IP. */
4545 id : string
46- /** Organization ID the Flexible IP is attached to. */
46+ /** ID of the Organization the flexible IP is attached to. */
4747 organizationId : string
48- /** Project ID the Flexible IP is attached to. */
48+ /** ID of the Project the flexible IP is attached to. */
4949 projectId : string
50- /** Description of the Flexible IP. */
50+ /** Flexible IP description . */
5151 description : string
52- /** Tags associated with the Flexible IP. */
52+ /** Flexible IP tags . */
5353 tags : string [ ]
54- /** Date of last update of the Flexible IP. */
54+ /** Date on which the flexible IP was last updated . */
5555 updatedAt ?: Date
56- /** Date of creation of the Flexible IP. */
56+ /** Date on which the flexible IP was created . */
5757 createdAt ?: Date
5858 /**
59- * Status of the Flexible IP.
59+ * Flexible IP status .
6060 *
61- * - Ready : Flexible IP is created and ready to be attached to a server or to
62- * have a virtual MAC generated .
63- * - Updating: Flexible IP is being attached to a server or a virtual MAC
61+ * - Ready : flexible IP is created and ready to be attached to a server or to
62+ * be associated with a virtual MAC.
63+ * - Updating: flexible IP is being attached to a server or a virtual MAC
6464 * operation is ongoing
65- * - Attached: Flexible IP is attached to a server
66- * - Error: a Flexible IP operation resulted in an error
67- * - Detaching: Flexible IP is being detached from a server
68- * - Locked: Flexible IP resource is locked.
65+ * - Attached: flexible IP is attached to a server
66+ * - Error: a flexible IP operation resulted in an error
67+ * - Detaching: flexible IP is being detached from a server
68+ * - Locked: the resource of the flexible IP is locked.
6969 */
7070 status : FlexibleIPStatus
71- /** IP of the Flexible IP. */
71+ /** IP of the flexible IP. */
7272 ipAddress : string
73- /** MAC address of the Flexible IP. */
73+ /** MAC address of the flexible IP. */
7474 macAddress ?: MACAddress
75- /** ID of the server linked to the Flexible IP. */
75+ /** ID of the server linked to the flexible IP. */
7676 serverId ?: string
7777 /** Reverse DNS value. */
7878 reverse : string
79- /** Flexible IP Availability Zone. */
79+ /** Availability Zone of the flexible IP . */
8080 zone : Zone
8181}
8282
8383/** List flexible i ps response. */
8484export interface ListFlexibleIPsResponse {
85- /** Total count of matching Flexible IPs. */
85+ /** Total count of matching flexible IPs. */
8686 totalCount : number
87- /** Listing of Flexible IPs. */
87+ /** List of all flexible IPs. */
8888 flexibleIps : FlexibleIP [ ]
8989}
9090
9191/** Mac address. */
9292export interface MACAddress {
93- /** ID of the Flexible IP. */
93+ /** ID of the flexible IP. */
9494 id : string
9595 /** MAC address of the Virtual MAC. */
9696 macAddress : string
97- /** Virtual MAC type . */
97+ /** Type of virtual MAC . */
9898 macType : MACAddressType
99- /** Virtual MAC status . */
99+ /** Status of virtual MAC . */
100100 status : MACAddressStatus
101- /** Date of last update of the Virtual MAC. */
101+ /** Date on which the virtual MAC was last updated . */
102102 updatedAt ?: Date
103- /** Date of creation of the Virtual MAC. */
103+ /** Date on which the virtual MAC was created . */
104104 createdAt ?: Date
105- /** MAC Addr IP Availability Zone. */
105+ /** MAC address IP Availability Zone. */
106106 zone : Zone
107107}
108108
@@ -111,94 +111,102 @@ export type CreateFlexibleIPRequest = {
111111 zone ?: Zone
112112 /** ID of the project to associate with the Flexible IP. */
113113 projectId ?: string
114- /** Description to associate with the Flexible IP, max 255 characters. */
114+ /** Flexible IP description ( max. of 255 characters) . */
115115 description : string
116- /** Tags to associate to the Flexible IP. */
116+ /** Tags to associate to the flexible IP. */
117117 tags ?: string [ ]
118- /** Server ID on which to attach the created Flexible IP. */
118+ /** ID of the server to which the newly created flexible IP will be attached . */
119119 serverId ?: string
120- /** Reverse DNS value . */
120+ /** Value of the reverse DNS . */
121121 reverse ?: string
122- /** If true, creates a Flexible IP with an ipv6 address. */
122+ /** Defines whether the flexible IP has an IPv6 address. */
123123 isIpv6 : boolean
124124}
125125
126126export type GetFlexibleIPRequest = {
127127 /** Zone to target. If none is passed will use default zone from the config. */
128128 zone ?: Zone
129- /** Flexible IP ID . */
129+ /** ID of the flexible IP . */
130130 fipId : string
131131}
132132
133133export type ListFlexibleIPsRequest = {
134134 /** Zone to target. If none is passed will use default zone from the config. */
135135 zone ?: Zone
136- /** The sort order of the returned Flexible IPs. */
136+ /** Sort order of the returned flexible IPs. */
137137 orderBy ?: ListFlexibleIPsRequestOrderBy
138- /** The page number for the returned Flexible IPs . */
138+ /** Page number. */
139139 page ?: number
140- /** The maximum number of Flexible IPs per page. */
140+ /** Maximum number of flexible IPs per page. */
141141 pageSize ?: number
142- /** Filter Flexible IPs with one or more matching tags. */
142+ /**
143+ * Filter by tag, only flexible IPs with one or more matching tags will be
144+ * returned.
145+ */
143146 tags ?: string [ ]
144- /** Filter Flexible IPs by status. */
147+ /** Filter by status, only flexible IPs with this status will be returned . */
145148 status ?: FlexibleIPStatus [ ]
146- /** Filter Flexible IPs by server IDs. */
149+ /**
150+ * Filter by server IDs, only flexible IPs with these server IDs will be
151+ * returned.
152+ */
147153 serverIds ?: string [ ]
148- /** Filter Flexible IPs by organization ID. */
154+ /**
155+ * Filter by Organization ID, only flexible IPs from this Organization will be
156+ * returned.
157+ */
149158 organizationId ?: string
150- /** Filter Flexible IPs by project ID . */
159+ /** Filter by Project ID, only flexible IPs from this Project will be returned . */
151160 projectId ?: string
152161}
153162
154163export type UpdateFlexibleIPRequest = {
155164 /** Zone to target. If none is passed will use default zone from the config. */
156165 zone ?: Zone
157- /** ID of the Flexible IP to update. */
166+ /** ID of the flexible IP to update. */
158167 fipId : string
159- /** Description to associate with the Flexible IP, max 255 characters. */
168+ /** Flexible IP description ( max. 255 characters) . */
160169 description ?: string
161- /** Tags to associate with the Flexible IP. */
170+ /** Tags associated with the flexible IP. */
162171 tags ?: string [ ]
163- /** Reverse DNS value . */
172+ /** Value of the reverse DNS . */
164173 reverse ?: string
165174}
166175
167176export type DeleteFlexibleIPRequest = {
168177 /** Zone to target. If none is passed will use default zone from the config. */
169178 zone ?: Zone
170- /** ID of the Flexible IP to delete. */
179+ /** ID of the flexible IP to delete. */
171180 fipId : string
172181}
173182
174183export type AttachFlexibleIPRequest = {
175184 /** Zone to target. If none is passed will use default zone from the config. */
176185 zone ?: Zone
177186 /**
178- * A list of Flexible IP IDs to attach. Multiple IDs can be provided as long
179- * as Flexible IPs belong to the same MAC groups (see details about MAC
180- * groups).
187+ * List of flexible IP IDs to attach to a server . Multiple IDs can be
188+ * provided, but note that flexible IPs must belong to the same MAC group (see
189+ * details about MAC groups).
181190 */
182191 fipsIds : string [ ]
183- /** A server ID on which to attach the Flexible IPs. */
192+ /** ID of the server on which to attach the flexible IPs. */
184193 serverId : string
185194}
186195
187196export type DetachFlexibleIPRequest = {
188197 /** Zone to target. If none is passed will use default zone from the config. */
189198 zone ?: Zone
190199 /**
191- * A list of Flexible IP IDs to detach. Multiple IDs can be provided as long
192- * as Flexible IPs belong to the same MAC groups (see details about MAC
193- * groups).
200+ * List of flexible IP IDs to detach from a server. Multiple IDs can be
201+ * provided. Note that flexible IPs must belong to the same MAC group.
194202 */
195203 fipsIds : string [ ]
196204}
197205
198206export type GenerateMACAddrRequest = {
199207 /** Zone to target. If none is passed will use default zone from the config. */
200208 zone ?: Zone
201- /** Flexible IP ID on which to generate a Virtual MAC. */
209+ /** ID of the flexible IP for which to generate a virtual MAC. */
202210 fipId : string
203211 /** TODO. */
204212 macType : MACAddressType
@@ -208,13 +216,13 @@ export type DuplicateMACAddrRequest = {
208216 /** Zone to target. If none is passed will use default zone from the config. */
209217 zone ?: Zone
210218 /**
211- * Flexible IP ID on which to duplicate the Virtual MAC. Flexible IPs need to
212- * be attached to the same server.
219+ * ID of the flexible IP on which to duplicate the virtual MAC. Note that the
220+ * flexible IPs need to be attached to the same server.
213221 */
214222 fipId : string
215223 /**
216- * Flexible IP ID to duplicate the Virtual MAC from. Flexible IPs need to be
217- * attached to the same server.
224+ * ID of the flexible IP to duplicate the Virtual MAC from. Note that flexible
225+ * IPs need to be attached to the same server.
218226 */
219227 duplicateFromFipId : string
220228}
@@ -230,9 +238,9 @@ export type DeleteMACAddrRequest = {
230238 /** Zone to target. If none is passed will use default zone from the config. */
231239 zone ?: Zone
232240 /**
233- * Flexible IP ID from which to delete the Virtual MAC. If the Flexible IP
234- * belongs to a MAC group, the MAC will be removed from the MAC group and from
235- * the Flexible IP.
241+ * ID of the flexible IP from which to delete the virtual MAC. If the flexible
242+ * IP belongs to a MAC group, the MAC will be removed from both the MAC group
243+ * and flexible IP.
236244 */
237245 fipId : string
238246}
0 commit comments