@pidginhost/sdk 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.d.ts CHANGED
@@ -86,6 +86,34 @@ export interface AttachVolume {
86
86
  */
87
87
  'vm': number;
88
88
  }
89
+ export interface CLISessionCreateResponse {
90
+ 'session_id': string;
91
+ 'verification_url': string;
92
+ 'expires_at': string;
93
+ /**
94
+ * Recommended polling interval in seconds
95
+ */
96
+ 'poll_interval': number;
97
+ }
98
+ export interface CLISessionPollResponse {
99
+ 'status': CLISessionPollResponseStatusEnum;
100
+ /**
101
+ * Only present when status is approved
102
+ */
103
+ 'token_key'?: string;
104
+ 'token_name'?: string;
105
+ 'token_scope'?: string;
106
+ }
107
+ /**
108
+ * * `pending` - pending * `approved` - approved * `expired` - expired * `denied` - denied
109
+ */
110
+ export declare const CLISessionPollResponseStatusEnum: {
111
+ readonly Pending: "pending";
112
+ readonly Approved: "approved";
113
+ readonly Expired: "expired";
114
+ readonly Denied: "denied";
115
+ };
116
+ export type CLISessionPollResponseStatusEnum = typeof CLISessionPollResponseStatusEnum[keyof typeof CLISessionPollResponseStatusEnum];
89
117
  export interface CancelServiceResponse {
90
118
  'message': string;
91
119
  'status': string;
@@ -752,6 +780,13 @@ export interface DomainRegistrant {
752
780
  'cif_cnp'?: string | null;
753
781
  'reg_com'?: string | null;
754
782
  }
783
+ export interface EligibleVM {
784
+ 'id': number;
785
+ 'hostname': string;
786
+ }
787
+ export interface EligibleVMsResponse {
788
+ 'vms': Array<EligibleVM>;
789
+ }
755
790
  export interface EmailHistory {
756
791
  'id': number;
757
792
  'subject': string;
@@ -1460,6 +1495,34 @@ export interface PatchedSSHKey {
1460
1495
  'fingerprint'?: string;
1461
1496
  'key'?: string;
1462
1497
  }
1498
+ export interface PatchedServerDetail {
1499
+ 'id'?: number;
1500
+ 'hostname'?: string;
1501
+ 'project'?: string;
1502
+ 'image'?: string;
1503
+ 'package'?: string;
1504
+ 'cpus'?: number;
1505
+ 'memory'?: number;
1506
+ 'disk_size'?: number;
1507
+ 'machine'?: {
1508
+ [key: string]: any;
1509
+ };
1510
+ 'volumes'?: Array<Volume>;
1511
+ 'networks'?: {
1512
+ [key: string]: any;
1513
+ };
1514
+ 'password'?: string;
1515
+ 'status'?: StatusA57Enum;
1516
+ 'username'?: string;
1517
+ /**
1518
+ * Prevents the server from being destroyed until disabled.
1519
+ */
1520
+ 'destroy_protection'?: boolean;
1521
+ /**
1522
+ * Enables Proxmox HA — automatic restart and migration on node failure.
1523
+ */
1524
+ 'ha_enabled'?: boolean;
1525
+ }
1463
1526
  /**
1464
1527
  * Serializer for TCPRoute resources with port validation.
1465
1528
  */
@@ -1706,9 +1769,9 @@ export interface Server {
1706
1769
  'project'?: string;
1707
1770
  'image': string;
1708
1771
  'package': string;
1709
- 'cpus': string;
1710
- 'memory': string;
1711
- 'disk_size': string;
1772
+ 'cpus': number;
1773
+ 'memory': number;
1774
+ 'disk_size': number;
1712
1775
  'status'?: StatusA57Enum;
1713
1776
  /**
1714
1777
  * Prevents the server from being destroyed until disabled.
@@ -1777,6 +1840,34 @@ export interface ServerAdd {
1777
1840
  export interface ServerAddResponse {
1778
1841
  'id': number;
1779
1842
  }
1843
+ export interface ServerDetail {
1844
+ 'id': number;
1845
+ 'hostname': string;
1846
+ 'project'?: string;
1847
+ 'image': string;
1848
+ 'package': string;
1849
+ 'cpus': number;
1850
+ 'memory': number;
1851
+ 'disk_size': number;
1852
+ 'machine': {
1853
+ [key: string]: any;
1854
+ };
1855
+ 'volumes': Array<Volume>;
1856
+ 'networks': {
1857
+ [key: string]: any;
1858
+ };
1859
+ 'password'?: string;
1860
+ 'status': StatusA57Enum;
1861
+ 'username': string;
1862
+ /**
1863
+ * Prevents the server from being destroyed until disabled.
1864
+ */
1865
+ 'destroy_protection': boolean;
1866
+ /**
1867
+ * Enables Proxmox HA — automatic restart and migration on node failure.
1868
+ */
1869
+ 'ha_enabled': boolean;
1870
+ }
1780
1871
  export interface ServerProduct {
1781
1872
  'id': number;
1782
1873
  'slug': string;
@@ -2069,6 +2160,10 @@ export interface ToggleAutoPaymentResponse {
2069
2160
  'message': string;
2070
2161
  'auto_payment': boolean;
2071
2162
  }
2163
+ export interface ToggleCloudVMAccessResponse {
2164
+ 'enabled': boolean;
2165
+ 'message': string;
2166
+ }
2072
2167
  export interface TransferRoDomain {
2073
2168
  /**
2074
2169
  * Domain with tld, ex: example.com
@@ -3238,6 +3333,130 @@ export declare class AccountApi extends BaseAPI {
3238
3333
  */
3239
3334
  accountSshKeysUpdate2(id: string, sSHKey?: SSHKey, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SSHKey, any, {}>>;
3240
3335
  }
3336
+ /**
3337
+ * AuthApi - axios parameter creator
3338
+ */
3339
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
3340
+ /**
3341
+ * Create a CLI authentication session for browser-based approval
3342
+ * @param {*} [options] Override http request option.
3343
+ * @throws {RequiredError}
3344
+ */
3345
+ authCliSessionCreate: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3346
+ /**
3347
+ * Create a CLI authentication session for browser-based approval
3348
+ * @param {*} [options] Override http request option.
3349
+ * @throws {RequiredError}
3350
+ */
3351
+ authCliSessionCreate2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3352
+ /**
3353
+ * Poll a CLI authentication session. Returns token when approved.
3354
+ * @param {string} sessionId
3355
+ * @param {*} [options] Override http request option.
3356
+ * @throws {RequiredError}
3357
+ */
3358
+ authCliSessionRetrieve: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3359
+ /**
3360
+ * Poll a CLI authentication session. Returns token when approved.
3361
+ * @param {string} sessionId
3362
+ * @param {*} [options] Override http request option.
3363
+ * @throws {RequiredError}
3364
+ */
3365
+ authCliSessionRetrieve2: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3366
+ };
3367
+ /**
3368
+ * AuthApi - functional programming interface
3369
+ */
3370
+ export declare const AuthApiFp: (configuration?: Configuration) => {
3371
+ /**
3372
+ * Create a CLI authentication session for browser-based approval
3373
+ * @param {*} [options] Override http request option.
3374
+ * @throws {RequiredError}
3375
+ */
3376
+ authCliSessionCreate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CLISessionCreateResponse>>;
3377
+ /**
3378
+ * Create a CLI authentication session for browser-based approval
3379
+ * @param {*} [options] Override http request option.
3380
+ * @throws {RequiredError}
3381
+ */
3382
+ authCliSessionCreate2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CLISessionCreateResponse>>;
3383
+ /**
3384
+ * Poll a CLI authentication session. Returns token when approved.
3385
+ * @param {string} sessionId
3386
+ * @param {*} [options] Override http request option.
3387
+ * @throws {RequiredError}
3388
+ */
3389
+ authCliSessionRetrieve(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CLISessionPollResponse>>;
3390
+ /**
3391
+ * Poll a CLI authentication session. Returns token when approved.
3392
+ * @param {string} sessionId
3393
+ * @param {*} [options] Override http request option.
3394
+ * @throws {RequiredError}
3395
+ */
3396
+ authCliSessionRetrieve2(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CLISessionPollResponse>>;
3397
+ };
3398
+ /**
3399
+ * AuthApi - factory interface
3400
+ */
3401
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3402
+ /**
3403
+ * Create a CLI authentication session for browser-based approval
3404
+ * @param {*} [options] Override http request option.
3405
+ * @throws {RequiredError}
3406
+ */
3407
+ authCliSessionCreate(options?: RawAxiosRequestConfig): AxiosPromise<CLISessionCreateResponse>;
3408
+ /**
3409
+ * Create a CLI authentication session for browser-based approval
3410
+ * @param {*} [options] Override http request option.
3411
+ * @throws {RequiredError}
3412
+ */
3413
+ authCliSessionCreate2(options?: RawAxiosRequestConfig): AxiosPromise<CLISessionCreateResponse>;
3414
+ /**
3415
+ * Poll a CLI authentication session. Returns token when approved.
3416
+ * @param {string} sessionId
3417
+ * @param {*} [options] Override http request option.
3418
+ * @throws {RequiredError}
3419
+ */
3420
+ authCliSessionRetrieve(sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<CLISessionPollResponse>;
3421
+ /**
3422
+ * Poll a CLI authentication session. Returns token when approved.
3423
+ * @param {string} sessionId
3424
+ * @param {*} [options] Override http request option.
3425
+ * @throws {RequiredError}
3426
+ */
3427
+ authCliSessionRetrieve2(sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<CLISessionPollResponse>;
3428
+ };
3429
+ /**
3430
+ * AuthApi - object-oriented interface
3431
+ */
3432
+ export declare class AuthApi extends BaseAPI {
3433
+ /**
3434
+ * Create a CLI authentication session for browser-based approval
3435
+ * @param {*} [options] Override http request option.
3436
+ * @throws {RequiredError}
3437
+ */
3438
+ authCliSessionCreate(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CLISessionCreateResponse, any, {}>>;
3439
+ /**
3440
+ * Create a CLI authentication session for browser-based approval
3441
+ * @param {*} [options] Override http request option.
3442
+ * @throws {RequiredError}
3443
+ */
3444
+ authCliSessionCreate2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CLISessionCreateResponse, any, {}>>;
3445
+ /**
3446
+ * Poll a CLI authentication session. Returns token when approved.
3447
+ * @param {string} sessionId
3448
+ * @param {*} [options] Override http request option.
3449
+ * @throws {RequiredError}
3450
+ */
3451
+ authCliSessionRetrieve(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CLISessionPollResponse, any, {}>>;
3452
+ /**
3453
+ * Poll a CLI authentication session. Returns token when approved.
3454
+ * @param {string} sessionId
3455
+ * @param {*} [options] Override http request option.
3456
+ * @throws {RequiredError}
3457
+ */
3458
+ authCliSessionRetrieve2(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CLISessionPollResponse, any, {}>>;
3459
+ }
3241
3460
  /**
3242
3461
  * BillingApi - axios parameter creator
3243
3462
  */
@@ -5013,17 +5232,19 @@ export declare const CloudApiAxiosParamCreator: (configuration?: Configuration)
5013
5232
  /**
5014
5233
  * Cloud servers
5015
5234
  * @param {number} id A unique integer value identifying this virtual machine.
5235
+ * @param {PatchedServerDetail} [patchedServerDetail]
5016
5236
  * @param {*} [options] Override http request option.
5017
5237
  * @throws {RequiredError}
5018
5238
  */
5019
- cloudServersPartialUpdate: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5239
+ cloudServersPartialUpdate: (id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5020
5240
  /**
5021
5241
  * Cloud servers
5022
5242
  * @param {number} id A unique integer value identifying this virtual machine.
5243
+ * @param {PatchedServerDetail} [patchedServerDetail]
5023
5244
  * @param {*} [options] Override http request option.
5024
5245
  * @throws {RequiredError}
5025
5246
  */
5026
- cloudServersPartialUpdate2: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5247
+ cloudServersPartialUpdate2: (id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5027
5248
  /**
5028
5249
  * Server power management
5029
5250
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -5199,17 +5420,19 @@ export declare const CloudApiAxiosParamCreator: (configuration?: Configuration)
5199
5420
  /**
5200
5421
  * Cloud servers
5201
5422
  * @param {number} id A unique integer value identifying this virtual machine.
5423
+ * @param {ServerDetail} [serverDetail]
5202
5424
  * @param {*} [options] Override http request option.
5203
5425
  * @throws {RequiredError}
5204
5426
  */
5205
- cloudServersUpdate: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5427
+ cloudServersUpdate: (id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5206
5428
  /**
5207
5429
  * Cloud servers
5208
5430
  * @param {number} id A unique integer value identifying this virtual machine.
5431
+ * @param {ServerDetail} [serverDetail]
5209
5432
  * @param {*} [options] Override http request option.
5210
5433
  * @throws {RequiredError}
5211
5434
  */
5212
- cloudServersUpdate2: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5435
+ cloudServersUpdate2: (id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5213
5436
  /**
5214
5437
  * Get current resource usage for a server.
5215
5438
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -6194,17 +6417,19 @@ export declare const CloudApiFp: (configuration?: Configuration) => {
6194
6417
  /**
6195
6418
  * Cloud servers
6196
6419
  * @param {number} id A unique integer value identifying this virtual machine.
6420
+ * @param {PatchedServerDetail} [patchedServerDetail]
6197
6421
  * @param {*} [options] Override http request option.
6198
6422
  * @throws {RequiredError}
6199
6423
  */
6200
- cloudServersPartialUpdate(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6424
+ cloudServersPartialUpdate(id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerDetail>>;
6201
6425
  /**
6202
6426
  * Cloud servers
6203
6427
  * @param {number} id A unique integer value identifying this virtual machine.
6428
+ * @param {PatchedServerDetail} [patchedServerDetail]
6204
6429
  * @param {*} [options] Override http request option.
6205
6430
  * @throws {RequiredError}
6206
6431
  */
6207
- cloudServersPartialUpdate2(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6432
+ cloudServersPartialUpdate2(id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerDetail>>;
6208
6433
  /**
6209
6434
  * Server power management
6210
6435
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -6285,14 +6510,14 @@ export declare const CloudApiFp: (configuration?: Configuration) => {
6285
6510
  * @param {*} [options] Override http request option.
6286
6511
  * @throws {RequiredError}
6287
6512
  */
6288
- cloudServersRetrieve(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6513
+ cloudServersRetrieve(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerDetail>>;
6289
6514
  /**
6290
6515
  * Cloud servers
6291
6516
  * @param {number} id A unique integer value identifying this virtual machine.
6292
6517
  * @param {*} [options] Override http request option.
6293
6518
  * @throws {RequiredError}
6294
6519
  */
6295
- cloudServersRetrieve2(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6520
+ cloudServersRetrieve2(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerDetail>>;
6296
6521
  /**
6297
6522
  * Retry provision in case of a failed server
6298
6523
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -6380,17 +6605,19 @@ export declare const CloudApiFp: (configuration?: Configuration) => {
6380
6605
  /**
6381
6606
  * Cloud servers
6382
6607
  * @param {number} id A unique integer value identifying this virtual machine.
6608
+ * @param {ServerDetail} [serverDetail]
6383
6609
  * @param {*} [options] Override http request option.
6384
6610
  * @throws {RequiredError}
6385
6611
  */
6386
- cloudServersUpdate(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6612
+ cloudServersUpdate(id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerDetail>>;
6387
6613
  /**
6388
6614
  * Cloud servers
6389
6615
  * @param {number} id A unique integer value identifying this virtual machine.
6616
+ * @param {ServerDetail} [serverDetail]
6390
6617
  * @param {*} [options] Override http request option.
6391
6618
  * @throws {RequiredError}
6392
6619
  */
6393
- cloudServersUpdate2(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6620
+ cloudServersUpdate2(id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerDetail>>;
6394
6621
  /**
6395
6622
  * Get current resource usage for a server.
6396
6623
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -7375,17 +7602,19 @@ export declare const CloudApiFactory: (configuration?: Configuration, basePath?:
7375
7602
  /**
7376
7603
  * Cloud servers
7377
7604
  * @param {number} id A unique integer value identifying this virtual machine.
7605
+ * @param {PatchedServerDetail} [patchedServerDetail]
7378
7606
  * @param {*} [options] Override http request option.
7379
7607
  * @throws {RequiredError}
7380
7608
  */
7381
- cloudServersPartialUpdate(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7609
+ cloudServersPartialUpdate(id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig): AxiosPromise<ServerDetail>;
7382
7610
  /**
7383
7611
  * Cloud servers
7384
7612
  * @param {number} id A unique integer value identifying this virtual machine.
7613
+ * @param {PatchedServerDetail} [patchedServerDetail]
7385
7614
  * @param {*} [options] Override http request option.
7386
7615
  * @throws {RequiredError}
7387
7616
  */
7388
- cloudServersPartialUpdate2(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7617
+ cloudServersPartialUpdate2(id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig): AxiosPromise<ServerDetail>;
7389
7618
  /**
7390
7619
  * Server power management
7391
7620
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -7466,14 +7695,14 @@ export declare const CloudApiFactory: (configuration?: Configuration, basePath?:
7466
7695
  * @param {*} [options] Override http request option.
7467
7696
  * @throws {RequiredError}
7468
7697
  */
7469
- cloudServersRetrieve(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7698
+ cloudServersRetrieve(id: number, options?: RawAxiosRequestConfig): AxiosPromise<ServerDetail>;
7470
7699
  /**
7471
7700
  * Cloud servers
7472
7701
  * @param {number} id A unique integer value identifying this virtual machine.
7473
7702
  * @param {*} [options] Override http request option.
7474
7703
  * @throws {RequiredError}
7475
7704
  */
7476
- cloudServersRetrieve2(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7705
+ cloudServersRetrieve2(id: number, options?: RawAxiosRequestConfig): AxiosPromise<ServerDetail>;
7477
7706
  /**
7478
7707
  * Retry provision in case of a failed server
7479
7708
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -7561,17 +7790,19 @@ export declare const CloudApiFactory: (configuration?: Configuration, basePath?:
7561
7790
  /**
7562
7791
  * Cloud servers
7563
7792
  * @param {number} id A unique integer value identifying this virtual machine.
7793
+ * @param {ServerDetail} [serverDetail]
7564
7794
  * @param {*} [options] Override http request option.
7565
7795
  * @throws {RequiredError}
7566
7796
  */
7567
- cloudServersUpdate(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7797
+ cloudServersUpdate(id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig): AxiosPromise<ServerDetail>;
7568
7798
  /**
7569
7799
  * Cloud servers
7570
7800
  * @param {number} id A unique integer value identifying this virtual machine.
7801
+ * @param {ServerDetail} [serverDetail]
7571
7802
  * @param {*} [options] Override http request option.
7572
7803
  * @throws {RequiredError}
7573
7804
  */
7574
- cloudServersUpdate2(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7805
+ cloudServersUpdate2(id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig): AxiosPromise<ServerDetail>;
7575
7806
  /**
7576
7807
  * Get current resource usage for a server.
7577
7808
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -8556,17 +8787,19 @@ export declare class CloudApi extends BaseAPI {
8556
8787
  /**
8557
8788
  * Cloud servers
8558
8789
  * @param {number} id A unique integer value identifying this virtual machine.
8790
+ * @param {PatchedServerDetail} [patchedServerDetail]
8559
8791
  * @param {*} [options] Override http request option.
8560
8792
  * @throws {RequiredError}
8561
8793
  */
8562
- cloudServersPartialUpdate(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8794
+ cloudServersPartialUpdate(id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerDetail, any, {}>>;
8563
8795
  /**
8564
8796
  * Cloud servers
8565
8797
  * @param {number} id A unique integer value identifying this virtual machine.
8798
+ * @param {PatchedServerDetail} [patchedServerDetail]
8566
8799
  * @param {*} [options] Override http request option.
8567
8800
  * @throws {RequiredError}
8568
8801
  */
8569
- cloudServersPartialUpdate2(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8802
+ cloudServersPartialUpdate2(id: number, patchedServerDetail?: PatchedServerDetail, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerDetail, any, {}>>;
8570
8803
  /**
8571
8804
  * Server power management
8572
8805
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -8647,14 +8880,14 @@ export declare class CloudApi extends BaseAPI {
8647
8880
  * @param {*} [options] Override http request option.
8648
8881
  * @throws {RequiredError}
8649
8882
  */
8650
- cloudServersRetrieve(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8883
+ cloudServersRetrieve(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerDetail, any, {}>>;
8651
8884
  /**
8652
8885
  * Cloud servers
8653
8886
  * @param {number} id A unique integer value identifying this virtual machine.
8654
8887
  * @param {*} [options] Override http request option.
8655
8888
  * @throws {RequiredError}
8656
8889
  */
8657
- cloudServersRetrieve2(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8890
+ cloudServersRetrieve2(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerDetail, any, {}>>;
8658
8891
  /**
8659
8892
  * Retry provision in case of a failed server
8660
8893
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -8742,17 +8975,19 @@ export declare class CloudApi extends BaseAPI {
8742
8975
  /**
8743
8976
  * Cloud servers
8744
8977
  * @param {number} id A unique integer value identifying this virtual machine.
8978
+ * @param {ServerDetail} [serverDetail]
8745
8979
  * @param {*} [options] Override http request option.
8746
8980
  * @throws {RequiredError}
8747
8981
  */
8748
- cloudServersUpdate(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8982
+ cloudServersUpdate(id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerDetail, any, {}>>;
8749
8983
  /**
8750
8984
  * Cloud servers
8751
8985
  * @param {number} id A unique integer value identifying this virtual machine.
8986
+ * @param {ServerDetail} [serverDetail]
8752
8987
  * @param {*} [options] Override http request option.
8753
8988
  * @throws {RequiredError}
8754
8989
  */
8755
- cloudServersUpdate2(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8990
+ cloudServersUpdate2(id: number, serverDetail?: ServerDetail, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerDetail, any, {}>>;
8756
8991
  /**
8757
8992
  * Get current resource usage for a server.
8758
8993
  * @param {number} id A unique integer value identifying this virtual machine.
@@ -11138,6 +11373,20 @@ export declare const KubernetesApiAxiosParamCreator: (configuration?: Configurat
11138
11373
  * @throws {RequiredError}
11139
11374
  */
11140
11375
  kubernetesClustersDisconnectVmCreate2: (id: string, disconnectVMRequest: DisconnectVMRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11376
+ /**
11377
+ * List cloud VMs eligible for connection to this cluster.
11378
+ * @param {string} id
11379
+ * @param {*} [options] Override http request option.
11380
+ * @throws {RequiredError}
11381
+ */
11382
+ kubernetesClustersEligibleVmsRetrieve: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11383
+ /**
11384
+ * List cloud VMs eligible for connection to this cluster.
11385
+ * @param {string} id
11386
+ * @param {*} [options] Override http request option.
11387
+ * @throws {RequiredError}
11388
+ */
11389
+ kubernetesClustersEligibleVmsRetrieve2: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11141
11390
  /**
11142
11391
  * Create new HTTPRoute
11143
11392
  * @param {number} clusterId
@@ -11816,6 +12065,20 @@ export declare const KubernetesApiAxiosParamCreator: (configuration?: Configurat
11816
12065
  * @throws {RequiredError}
11817
12066
  */
11818
12067
  kubernetesClustersTcproutesUpdate2: (clusterId: number, id: string, tCPRoute: TCPRoute, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12068
+ /**
12069
+ * Toggle cloud VM access for this cluster.
12070
+ * @param {string} id
12071
+ * @param {*} [options] Override http request option.
12072
+ * @throws {RequiredError}
12073
+ */
12074
+ kubernetesClustersToggleCloudVmAccessCreate: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12075
+ /**
12076
+ * Toggle cloud VM access for this cluster.
12077
+ * @param {string} id
12078
+ * @param {*} [options] Override http request option.
12079
+ * @throws {RequiredError}
12080
+ */
12081
+ kubernetesClustersToggleCloudVmAccessCreate2: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11819
12082
  /**
11820
12083
  * Create new UDPRoute
11821
12084
  * @param {number} clusterId
@@ -12039,6 +12302,20 @@ export declare const KubernetesApiFp: (configuration?: Configuration) => {
12039
12302
  * @throws {RequiredError}
12040
12303
  */
12041
12304
  kubernetesClustersDisconnectVmCreate2(id: string, disconnectVMRequest: DisconnectVMRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisconnectVMResponse>>;
12305
+ /**
12306
+ * List cloud VMs eligible for connection to this cluster.
12307
+ * @param {string} id
12308
+ * @param {*} [options] Override http request option.
12309
+ * @throws {RequiredError}
12310
+ */
12311
+ kubernetesClustersEligibleVmsRetrieve(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EligibleVMsResponse>>;
12312
+ /**
12313
+ * List cloud VMs eligible for connection to this cluster.
12314
+ * @param {string} id
12315
+ * @param {*} [options] Override http request option.
12316
+ * @throws {RequiredError}
12317
+ */
12318
+ kubernetesClustersEligibleVmsRetrieve2(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EligibleVMsResponse>>;
12042
12319
  /**
12043
12320
  * Create new HTTPRoute
12044
12321
  * @param {number} clusterId
@@ -12717,6 +12994,20 @@ export declare const KubernetesApiFp: (configuration?: Configuration) => {
12717
12994
  * @throws {RequiredError}
12718
12995
  */
12719
12996
  kubernetesClustersTcproutesUpdate2(clusterId: number, id: string, tCPRoute: TCPRoute, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TCPRoute>>;
12997
+ /**
12998
+ * Toggle cloud VM access for this cluster.
12999
+ * @param {string} id
13000
+ * @param {*} [options] Override http request option.
13001
+ * @throws {RequiredError}
13002
+ */
13003
+ kubernetesClustersToggleCloudVmAccessCreate(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ToggleCloudVMAccessResponse>>;
13004
+ /**
13005
+ * Toggle cloud VM access for this cluster.
13006
+ * @param {string} id
13007
+ * @param {*} [options] Override http request option.
13008
+ * @throws {RequiredError}
13009
+ */
13010
+ kubernetesClustersToggleCloudVmAccessCreate2(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ToggleCloudVMAccessResponse>>;
12720
13011
  /**
12721
13012
  * Create new UDPRoute
12722
13013
  * @param {number} clusterId
@@ -12940,6 +13231,20 @@ export declare const KubernetesApiFactory: (configuration?: Configuration, baseP
12940
13231
  * @throws {RequiredError}
12941
13232
  */
12942
13233
  kubernetesClustersDisconnectVmCreate2(id: string, disconnectVMRequest: DisconnectVMRequest, options?: RawAxiosRequestConfig): AxiosPromise<DisconnectVMResponse>;
13234
+ /**
13235
+ * List cloud VMs eligible for connection to this cluster.
13236
+ * @param {string} id
13237
+ * @param {*} [options] Override http request option.
13238
+ * @throws {RequiredError}
13239
+ */
13240
+ kubernetesClustersEligibleVmsRetrieve(id: string, options?: RawAxiosRequestConfig): AxiosPromise<EligibleVMsResponse>;
13241
+ /**
13242
+ * List cloud VMs eligible for connection to this cluster.
13243
+ * @param {string} id
13244
+ * @param {*} [options] Override http request option.
13245
+ * @throws {RequiredError}
13246
+ */
13247
+ kubernetesClustersEligibleVmsRetrieve2(id: string, options?: RawAxiosRequestConfig): AxiosPromise<EligibleVMsResponse>;
12943
13248
  /**
12944
13249
  * Create new HTTPRoute
12945
13250
  * @param {number} clusterId
@@ -13618,6 +13923,20 @@ export declare const KubernetesApiFactory: (configuration?: Configuration, baseP
13618
13923
  * @throws {RequiredError}
13619
13924
  */
13620
13925
  kubernetesClustersTcproutesUpdate2(clusterId: number, id: string, tCPRoute: TCPRoute, options?: RawAxiosRequestConfig): AxiosPromise<TCPRoute>;
13926
+ /**
13927
+ * Toggle cloud VM access for this cluster.
13928
+ * @param {string} id
13929
+ * @param {*} [options] Override http request option.
13930
+ * @throws {RequiredError}
13931
+ */
13932
+ kubernetesClustersToggleCloudVmAccessCreate(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ToggleCloudVMAccessResponse>;
13933
+ /**
13934
+ * Toggle cloud VM access for this cluster.
13935
+ * @param {string} id
13936
+ * @param {*} [options] Override http request option.
13937
+ * @throws {RequiredError}
13938
+ */
13939
+ kubernetesClustersToggleCloudVmAccessCreate2(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ToggleCloudVMAccessResponse>;
13621
13940
  /**
13622
13941
  * Create new UDPRoute
13623
13942
  * @param {number} clusterId
@@ -13841,6 +14160,20 @@ export declare class KubernetesApi extends BaseAPI {
13841
14160
  * @throws {RequiredError}
13842
14161
  */
13843
14162
  kubernetesClustersDisconnectVmCreate2(id: string, disconnectVMRequest: DisconnectVMRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DisconnectVMResponse, any, {}>>;
14163
+ /**
14164
+ * List cloud VMs eligible for connection to this cluster.
14165
+ * @param {string} id
14166
+ * @param {*} [options] Override http request option.
14167
+ * @throws {RequiredError}
14168
+ */
14169
+ kubernetesClustersEligibleVmsRetrieve(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EligibleVMsResponse, any, {}>>;
14170
+ /**
14171
+ * List cloud VMs eligible for connection to this cluster.
14172
+ * @param {string} id
14173
+ * @param {*} [options] Override http request option.
14174
+ * @throws {RequiredError}
14175
+ */
14176
+ kubernetesClustersEligibleVmsRetrieve2(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EligibleVMsResponse, any, {}>>;
13844
14177
  /**
13845
14178
  * Create new HTTPRoute
13846
14179
  * @param {number} clusterId
@@ -14519,6 +14852,20 @@ export declare class KubernetesApi extends BaseAPI {
14519
14852
  * @throws {RequiredError}
14520
14853
  */
14521
14854
  kubernetesClustersTcproutesUpdate2(clusterId: number, id: string, tCPRoute: TCPRoute, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TCPRoute, any, {}>>;
14855
+ /**
14856
+ * Toggle cloud VM access for this cluster.
14857
+ * @param {string} id
14858
+ * @param {*} [options] Override http request option.
14859
+ * @throws {RequiredError}
14860
+ */
14861
+ kubernetesClustersToggleCloudVmAccessCreate(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ToggleCloudVMAccessResponse, any, {}>>;
14862
+ /**
14863
+ * Toggle cloud VM access for this cluster.
14864
+ * @param {string} id
14865
+ * @param {*} [options] Override http request option.
14866
+ * @throws {RequiredError}
14867
+ */
14868
+ kubernetesClustersToggleCloudVmAccessCreate2(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ToggleCloudVMAccessResponse, any, {}>>;
14522
14869
  /**
14523
14870
  * Create new UDPRoute
14524
14871
  * @param {number} clusterId