@hostinger/mcp 3.40.1 → 3.42.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/types.d.ts CHANGED
@@ -3372,6 +3372,178 @@ store currency. Returns the created variant.
3372
3372
  response: any; // Response structure will depend on the API
3373
3373
  };
3374
3374
 
3375
+ /**
3376
+ * Retrieve detailed information about a specified GPU instance, including its SSH keys.
3377
+
3378
+ Use this endpoint to follow the instance `status` after creating or deleting it.
3379
+ */
3380
+ "gpu_instances_get": {
3381
+ params: {
3382
+ /**
3383
+ * GPU instance ID
3384
+ */
3385
+ instanceId: number;
3386
+ };
3387
+ response: any; // Response structure will depend on the API
3388
+ };
3389
+
3390
+ /**
3391
+ * Delete a specified GPU instance.
3392
+
3393
+ The instance is destroyed asynchronously: a successful request returns immediately and the instance
3394
+ `status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`,
3395
+ `destroyed` or `abuse` status, or while another action is in progress on it.
3396
+
3397
+ Use this endpoint to stop billing for a GPU instance you no longer need.
3398
+ */
3399
+ "gpu_instances_delete": {
3400
+ params: {
3401
+ /**
3402
+ * GPU instance ID
3403
+ */
3404
+ instanceId: number;
3405
+ };
3406
+ response: any; // Response structure will depend on the API
3407
+ };
3408
+
3409
+ /**
3410
+ * Delete a specified exposed service of a GPU instance.
3411
+
3412
+ The service is removed asynchronously: a successful request returns immediately and the service
3413
+ stops being reachable from the internet shortly after.
3414
+
3415
+ Use this endpoint to close public access to a service on your GPU instance.
3416
+ */
3417
+ "gpu_exposed-services_delete": {
3418
+ params: {
3419
+ /**
3420
+ * GPU instance ID
3421
+ */
3422
+ instanceId: number;
3423
+ /**
3424
+ * Exposed service ID
3425
+ */
3426
+ exposedServiceId: number;
3427
+ };
3428
+ response: any; // Response structure will depend on the API
3429
+ };
3430
+
3431
+ /**
3432
+ * Retrieve the services exposed on a specified GPU instance.
3433
+
3434
+ A newly created service is listed once it gets its public hostname and external port.
3435
+
3436
+ Use this endpoint to find the public address of services running on your GPU instance.
3437
+ */
3438
+ "gpu_exposed-services_list": {
3439
+ params: {
3440
+ /**
3441
+ * GPU instance ID
3442
+ */
3443
+ instanceId: number;
3444
+ };
3445
+ response: any; // Response structure will depend on the API
3446
+ };
3447
+
3448
+ /**
3449
+ * Expose a service running on a specified GPU instance to the internet.
3450
+
3451
+ The service is exposed asynchronously: a successful request returns immediately, and the service
3452
+ appears in the exposed services list once it gets its public hostname and external port.
3453
+ Fails when the instance already has the maximum of 4 exposed services.
3454
+
3455
+ Use this endpoint to make an application on your GPU instance publicly reachable.
3456
+ */
3457
+ "gpu_exposed-services_create": {
3458
+ params: {
3459
+ /**
3460
+ * GPU instance ID
3461
+ */
3462
+ instanceId: number;
3463
+ /**
3464
+ * Service name, unique within the instance
3465
+ */
3466
+ name: string;
3467
+ /**
3468
+ * Port the service listens on inside the instance, unique within the instance
3469
+ */
3470
+ internal_port: number;
3471
+ /**
3472
+ * protocol parameter
3473
+ */
3474
+ protocol: string;
3475
+ /**
3476
+ * type parameter
3477
+ */
3478
+ type: string;
3479
+ };
3480
+ response: any; // Response structure will depend on the API
3481
+ };
3482
+
3483
+ /**
3484
+ * Retrieve all GPU instances of your account.
3485
+
3486
+ Use this endpoint to view your GPU instances with their status, pool, instance type and OS template.
3487
+ */
3488
+ "gpu_instances_list": {
3489
+ params: {
3490
+
3491
+ };
3492
+ response: any; // Response structure will depend on the API
3493
+ };
3494
+
3495
+ /**
3496
+ * Create a new GPU instance.
3497
+
3498
+ Pick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates
3499
+ available for that instance type. Your account must have enough credits to run the instance for its
3500
+ first hour.
3501
+
3502
+ The instance is created asynchronously: a successful request returns immediately, and the instance
3503
+ appears in the instance list while its `status` moves from `created` through `creating` to `running`.
3504
+
3505
+ Use this endpoint to provision GPU compute.
3506
+ */
3507
+ "gpu_instances_create": {
3508
+ params: {
3509
+ /**
3510
+ * Instance type ID from the pool instance types list
3511
+ */
3512
+ pool_instance_id: number;
3513
+ /**
3514
+ * OS template ID available for the selected instance type
3515
+ */
3516
+ os_template_id: number;
3517
+ /**
3518
+ * Instance name, unique among your instances. Letters, numbers, dashes and underscores only
3519
+ */
3520
+ name: string;
3521
+ /**
3522
+ * SSH public keys to add to the instance
3523
+ */
3524
+ public_keys?: array;
3525
+ };
3526
+ response: any; // Response structure will depend on the API
3527
+ };
3528
+
3529
+ /**
3530
+ * Retrieve utilisation metrics of a specified GPU instance for the last hour.
3531
+
3532
+ Each data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput.
3533
+ The list is empty until the instance is provisioned.
3534
+
3535
+ Use this endpoint to monitor GPU instance load.
3536
+ */
3537
+ "gpu_instances_metrics": {
3538
+ params: {
3539
+ /**
3540
+ * GPU instance ID
3541
+ */
3542
+ instanceId: number;
3543
+ };
3544
+ response: any; // Response structure will depend on the API
3545
+ };
3546
+
3375
3547
  /**
3376
3548
  * Retrieve GPU pool groups, ordered by name.
3377
3549