@scaleway/sdk 2.1.0 → 2.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/index.d.ts CHANGED
@@ -3159,6 +3159,8 @@ interface Volume$4 {
3159
3159
  zone: Zone;
3160
3160
  /** Specifications of the volume. */
3161
3161
  specs?: VolumeSpecifications;
3162
+ /** Last time the volume was detached. */
3163
+ lastDetachedAt?: Date;
3162
3164
  }
3163
3165
  type CreateSnapshotRequest$4 = {
3164
3166
  /** Zone to target. If none is passed will use default zone from the config. */
@@ -3660,6 +3662,11 @@ interface Datasource {
3660
3662
  url: string;
3661
3663
  /** Datasource type. */
3662
3664
  type: DatasourceType;
3665
+ /**
3666
+ * Specifies that the datasource receives data from Scaleway products and is
3667
+ * managed by Scaleway.
3668
+ */
3669
+ isManagedByScaleway: boolean;
3663
3670
  }
3664
3671
  /** Grafana dashboard. */
3665
3672
  interface GrafanaProductDashboard {
@@ -3742,6 +3749,8 @@ type CreateDatasourceRequest = {
3742
3749
  name: string;
3743
3750
  /** Datasource type. */
3744
3751
  type?: DatasourceType;
3752
+ /** Specifies that the returned output is the default datasource per type. */
3753
+ isDefault: boolean;
3745
3754
  };
3746
3755
  /** Request to create a Grafana user. */
3747
3756
  type CreateGrafanaUserRequest = {
@@ -3852,6 +3861,8 @@ type ListDatasourcesRequest = {
3852
3861
  projectId?: string;
3853
3862
  /** Filter by datasource types. */
3854
3863
  types?: DatasourceType[];
3864
+ /** Filter by managed datasources. */
3865
+ isManagedByScaleway?: boolean;
3855
3866
  };
3856
3867
  interface ListDatasourcesResponse {
3857
3868
  /** Count of all datasources corresponding to the request. */
@@ -3925,10 +3936,6 @@ interface ListTokensResponse$2 {
3925
3936
  /** List of all tokens created. */
3926
3937
  tokens: Token$2[];
3927
3938
  }
3928
- type ResetCockpitGrafanaRequest = {
3929
- /** ID of the Project the Cockpit belongs to. */
3930
- projectId?: string;
3931
- };
3932
3939
  /** Request to reset a Grafana user's password. */
3933
3940
  type ResetGrafanaUserPasswordRequest = {
3934
3941
  /** ID of the Grafana user. */
@@ -3994,13 +4001,6 @@ declare class API$q extends API$w {
3994
4001
  * @returns A Promise of Cockpit
3995
4002
  */
3996
4003
  deactivateCockpit: (request?: Readonly<DeactivateCockpitRequest>) => Promise<Cockpit>;
3997
- /**
3998
- * Reset your Cockpit's Grafana associated with the specified Project ID.
3999
- *
4000
- * @param request - The request {@link ResetCockpitGrafanaRequest}
4001
- * @returns A Promise of Cockpit
4002
- */
4003
- resetCockpitGrafana: (request?: Readonly<ResetCockpitGrafanaRequest>) => Promise<Cockpit>;
4004
4004
  /**
4005
4005
  * Create a datasource for the specified Project ID and the given type.
4006
4006
  *
@@ -4210,14 +4210,13 @@ type index_gen$p_ListPlansRequestOrderBy = ListPlansRequestOrderBy;
4210
4210
  type index_gen$p_ListPlansResponse = ListPlansResponse;
4211
4211
  type index_gen$p_Plan = Plan;
4212
4212
  type index_gen$p_PlanName = PlanName;
4213
- type index_gen$p_ResetCockpitGrafanaRequest = ResetCockpitGrafanaRequest;
4214
4213
  type index_gen$p_ResetGrafanaUserPasswordRequest = ResetGrafanaUserPasswordRequest;
4215
4214
  type index_gen$p_SelectPlanRequest = SelectPlanRequest;
4216
4215
  type index_gen$p_SelectPlanResponse = SelectPlanResponse;
4217
4216
  type index_gen$p_TokenScopes = TokenScopes;
4218
4217
  type index_gen$p_TriggerTestAlertRequest = TriggerTestAlertRequest;
4219
4218
  declare namespace index_gen$p {
4220
- export { API$q as API, type index_gen$p_ActivateCockpitRequest as ActivateCockpitRequest, index_gen$p_COCKPIT_TRANSIENT_STATUSES as COCKPIT_TRANSIENT_STATUSES, type index_gen$p_Cockpit as Cockpit, type index_gen$p_CockpitEndpoints as CockpitEndpoints, type index_gen$p_CockpitMetrics as CockpitMetrics, type index_gen$p_CockpitStatus as CockpitStatus, type index_gen$p_ContactPoint as ContactPoint, type index_gen$p_ContactPointEmail as ContactPointEmail, type index_gen$p_CreateContactPointRequest as CreateContactPointRequest, type index_gen$p_CreateDatasourceRequest as CreateDatasourceRequest, type index_gen$p_CreateGrafanaUserRequest as CreateGrafanaUserRequest, type CreateTokenRequest$2 as CreateTokenRequest, type index_gen$p_Datasource as Datasource, type index_gen$p_DatasourceType as DatasourceType, type index_gen$p_DeactivateCockpitRequest as DeactivateCockpitRequest, type index_gen$p_DeleteContactPointRequest as DeleteContactPointRequest, type index_gen$p_DeleteGrafanaUserRequest as DeleteGrafanaUserRequest, type DeleteTokenRequest$2 as DeleteTokenRequest, type index_gen$p_DisableManagedAlertsRequest as DisableManagedAlertsRequest, type index_gen$p_EnableManagedAlertsRequest as EnableManagedAlertsRequest, type index_gen$p_GetCockpitMetricsRequest as GetCockpitMetricsRequest, type index_gen$p_GetCockpitRequest as GetCockpitRequest, type index_gen$p_GetGrafanaProductDashboardRequest as GetGrafanaProductDashboardRequest, type GetTokenRequest$2 as GetTokenRequest, type index_gen$p_GrafanaProductDashboard as GrafanaProductDashboard, type index_gen$p_GrafanaUser as GrafanaUser, type index_gen$p_GrafanaUserRole as GrafanaUserRole, type index_gen$p_ListContactPointsRequest as ListContactPointsRequest, type index_gen$p_ListContactPointsResponse as ListContactPointsResponse, type index_gen$p_ListDatasourcesRequest as ListDatasourcesRequest, type index_gen$p_ListDatasourcesRequestOrderBy as ListDatasourcesRequestOrderBy, type index_gen$p_ListDatasourcesResponse as ListDatasourcesResponse, type index_gen$p_ListGrafanaProductDashboardsRequest as ListGrafanaProductDashboardsRequest, type index_gen$p_ListGrafanaProductDashboardsResponse as ListGrafanaProductDashboardsResponse, type index_gen$p_ListGrafanaUsersRequest as ListGrafanaUsersRequest, type index_gen$p_ListGrafanaUsersRequestOrderBy as ListGrafanaUsersRequestOrderBy, type index_gen$p_ListGrafanaUsersResponse as ListGrafanaUsersResponse, type index_gen$p_ListPlansRequest as ListPlansRequest, type index_gen$p_ListPlansRequestOrderBy as ListPlansRequestOrderBy, type index_gen$p_ListPlansResponse as ListPlansResponse, type ListTokensRequest$2 as ListTokensRequest, type ListTokensRequestOrderBy$2 as ListTokensRequestOrderBy, type ListTokensResponse$2 as ListTokensResponse, type index_gen$p_Plan as Plan, type index_gen$p_PlanName as PlanName, type index_gen$p_ResetCockpitGrafanaRequest as ResetCockpitGrafanaRequest, type index_gen$p_ResetGrafanaUserPasswordRequest as ResetGrafanaUserPasswordRequest, type index_gen$p_SelectPlanRequest as SelectPlanRequest, type index_gen$p_SelectPlanResponse as SelectPlanResponse, type Token$2 as Token, type index_gen$p_TokenScopes as TokenScopes, type index_gen$p_TriggerTestAlertRequest as TriggerTestAlertRequest };
4219
+ export { API$q as API, type index_gen$p_ActivateCockpitRequest as ActivateCockpitRequest, index_gen$p_COCKPIT_TRANSIENT_STATUSES as COCKPIT_TRANSIENT_STATUSES, type index_gen$p_Cockpit as Cockpit, type index_gen$p_CockpitEndpoints as CockpitEndpoints, type index_gen$p_CockpitMetrics as CockpitMetrics, type index_gen$p_CockpitStatus as CockpitStatus, type index_gen$p_ContactPoint as ContactPoint, type index_gen$p_ContactPointEmail as ContactPointEmail, type index_gen$p_CreateContactPointRequest as CreateContactPointRequest, type index_gen$p_CreateDatasourceRequest as CreateDatasourceRequest, type index_gen$p_CreateGrafanaUserRequest as CreateGrafanaUserRequest, type CreateTokenRequest$2 as CreateTokenRequest, type index_gen$p_Datasource as Datasource, type index_gen$p_DatasourceType as DatasourceType, type index_gen$p_DeactivateCockpitRequest as DeactivateCockpitRequest, type index_gen$p_DeleteContactPointRequest as DeleteContactPointRequest, type index_gen$p_DeleteGrafanaUserRequest as DeleteGrafanaUserRequest, type DeleteTokenRequest$2 as DeleteTokenRequest, type index_gen$p_DisableManagedAlertsRequest as DisableManagedAlertsRequest, type index_gen$p_EnableManagedAlertsRequest as EnableManagedAlertsRequest, type index_gen$p_GetCockpitMetricsRequest as GetCockpitMetricsRequest, type index_gen$p_GetCockpitRequest as GetCockpitRequest, type index_gen$p_GetGrafanaProductDashboardRequest as GetGrafanaProductDashboardRequest, type GetTokenRequest$2 as GetTokenRequest, type index_gen$p_GrafanaProductDashboard as GrafanaProductDashboard, type index_gen$p_GrafanaUser as GrafanaUser, type index_gen$p_GrafanaUserRole as GrafanaUserRole, type index_gen$p_ListContactPointsRequest as ListContactPointsRequest, type index_gen$p_ListContactPointsResponse as ListContactPointsResponse, type index_gen$p_ListDatasourcesRequest as ListDatasourcesRequest, type index_gen$p_ListDatasourcesRequestOrderBy as ListDatasourcesRequestOrderBy, type index_gen$p_ListDatasourcesResponse as ListDatasourcesResponse, type index_gen$p_ListGrafanaProductDashboardsRequest as ListGrafanaProductDashboardsRequest, type index_gen$p_ListGrafanaProductDashboardsResponse as ListGrafanaProductDashboardsResponse, type index_gen$p_ListGrafanaUsersRequest as ListGrafanaUsersRequest, type index_gen$p_ListGrafanaUsersRequestOrderBy as ListGrafanaUsersRequestOrderBy, type index_gen$p_ListGrafanaUsersResponse as ListGrafanaUsersResponse, type index_gen$p_ListPlansRequest as ListPlansRequest, type index_gen$p_ListPlansRequestOrderBy as ListPlansRequestOrderBy, type index_gen$p_ListPlansResponse as ListPlansResponse, type ListTokensRequest$2 as ListTokensRequest, type ListTokensRequestOrderBy$2 as ListTokensRequestOrderBy, type ListTokensResponse$2 as ListTokensResponse, type index_gen$p_Plan as Plan, type index_gen$p_PlanName as PlanName, type index_gen$p_ResetGrafanaUserPasswordRequest as ResetGrafanaUserPasswordRequest, type index_gen$p_SelectPlanRequest as SelectPlanRequest, type index_gen$p_SelectPlanResponse as SelectPlanResponse, type Token$2 as Token, type index_gen$p_TokenScopes as TokenScopes, type index_gen$p_TriggerTestAlertRequest as TriggerTestAlertRequest };
4221
4220
  }
4222
4221
 
4223
4222
  declare namespace index$r {
@@ -4251,13 +4250,16 @@ interface TriggerMnqNatsClientConfig$1 {
4251
4250
  mnqNamespaceId?: string;
4252
4251
  /** Name of the NATS subject the trigger listens to. */
4253
4252
  subject: string;
4254
- /** ID of the M&Q NATS account. */
4253
+ /** ID of the Messaging and Queuing NATS account. */
4255
4254
  mnqNatsAccountId: string;
4256
- /** ID of the M&Q project. */
4255
+ /** ID of the Messaging and Queuing project. */
4257
4256
  mnqProjectId: string;
4258
- /** Region of the M&Q project. */
4257
+ /** Currently, only the `fr-par` region is available. */
4259
4258
  mnqRegion: string;
4260
- /** ID of the M&Q credentials used to subscribe to the NATS subject. */
4259
+ /**
4260
+ * ID of the Messaging and Queuing credentials used to subscribe to the NATS
4261
+ * subject.
4262
+ */
4261
4263
  mnqCredentialId?: string;
4262
4264
  }
4263
4265
  interface TriggerMnqSqsClientConfig$1 {
@@ -4265,11 +4267,14 @@ interface TriggerMnqSqsClientConfig$1 {
4265
4267
  mnqNamespaceId?: string;
4266
4268
  /** Name of the SQS queue the trigger listens to. */
4267
4269
  queue: string;
4268
- /** ID of the M&Q project. */
4270
+ /** ID of the Messaging and Queuing project. */
4269
4271
  mnqProjectId: string;
4270
- /** Region in which the M&Q project is activated. */
4272
+ /** Currently, only the `fr-par` region is available. */
4271
4273
  mnqRegion: string;
4272
- /** ID of the M&Q credentials used to read from the SQS queue. */
4274
+ /**
4275
+ * ID of the Messaging and Queuing credentials used to read from the SQS
4276
+ * queue.
4277
+ */
4273
4278
  mnqCredentialId?: string;
4274
4279
  }
4275
4280
  interface TriggerSqsClientConfig$1 {
@@ -4287,11 +4292,11 @@ interface CreateTriggerRequestMnqNatsClientConfig$3 {
4287
4292
  mnqNamespaceId?: string;
4288
4293
  /** Name of the NATS subject the trigger should listen to. */
4289
4294
  subject: string;
4290
- /** ID of the M&Q NATS account. */
4295
+ /** ID of the Messaging and Queuing NATS account. */
4291
4296
  mnqNatsAccountId: string;
4292
- /** ID of the M&Q project. */
4297
+ /** ID of the Messaging and Queuing project. */
4293
4298
  mnqProjectId: string;
4294
- /** Region of the M&Q project. */
4299
+ /** Currently, only the `fr-par` region is available. */
4295
4300
  mnqRegion: string;
4296
4301
  }
4297
4302
  interface CreateTriggerRequestMnqSqsClientConfig$3 {
@@ -4301,7 +4306,7 @@ interface CreateTriggerRequestMnqSqsClientConfig$3 {
4301
4306
  queue: string;
4302
4307
  /** You must have activated SQS on this project. */
4303
4308
  mnqProjectId: string;
4304
- /** Region in which the M&Q project is activated. */
4309
+ /** Currently, only the `fr-par` region is available. */
4305
4310
  mnqRegion: string;
4306
4311
  }
4307
4312
  interface CreateTriggerRequestSqsClientConfig$1 {
@@ -4470,14 +4475,14 @@ interface Trigger$1 {
4470
4475
  /** Error message of the trigger. */
4471
4476
  errorMessage?: string;
4472
4477
  /**
4473
- * Configuration for a Scaleway M&Q SQS queue.
4478
+ * Configuration for a Scaleway Messaging and Queuing SQS queue.
4474
4479
  *
4475
4480
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
4476
4481
  * 'sqsConfig' could be set.
4477
4482
  */
4478
4483
  scwSqsConfig?: TriggerMnqSqsClientConfig$1;
4479
4484
  /**
4480
- * Configuration for a Scaleway M&Q NATS subject.
4485
+ * Configuration for a Scaleway Messaging and Queuing NATS subject.
4481
4486
  *
4482
4487
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
4483
4488
  * 'sqsConfig' could be set.
@@ -4622,14 +4627,14 @@ type CreateTriggerRequest$3 = {
4622
4627
  /** Description of the trigger. */
4623
4628
  description?: string;
4624
4629
  /**
4625
- * Configuration for a Scaleway M&Q SQS queue.
4630
+ * Configuration for a Scaleway Messaging and Queuing SQS queue.
4626
4631
  *
4627
4632
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
4628
4633
  * 'sqsConfig' could be set.
4629
4634
  */
4630
4635
  scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig$3;
4631
4636
  /**
4632
- * Configuration for a Scaleway M&Q NATS subject.
4637
+ * Configuration for a Scaleway Messaging and Queuing NATS subject.
4633
4638
  *
4634
4639
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
4635
4640
  * 'sqsConfig' could be set.
@@ -5255,6 +5260,8 @@ declare class API$p extends API$w {
5255
5260
  */
5256
5261
  deleteDomain: (request: Readonly<DeleteDomainRequest$1>) => Promise<Domain$3>;
5257
5262
  /**
5263
+ * Create a JWT token. Deprecated in favor of CreateToken.
5264
+ *
5258
5265
  * @deprecated
5259
5266
  * @param request - The request {@link IssueJWTRequest}
5260
5267
  * @returns A Promise of Token
@@ -9315,13 +9322,16 @@ interface TriggerMnqNatsClientConfig {
9315
9322
  mnqNamespaceId?: string;
9316
9323
  /** Name of the NATS subject the trigger listens to. */
9317
9324
  subject: string;
9318
- /** ID of the M&Q NATS account. */
9325
+ /** ID of the Messaging and Queuing NATS account. */
9319
9326
  mnqNatsAccountId: string;
9320
- /** ID of the M&Q project. */
9327
+ /** ID of the Messaging and Queuing project. */
9321
9328
  mnqProjectId: string;
9322
- /** Region of the M&Q project. */
9329
+ /** Currently, only the `fr-par` region is available. */
9323
9330
  mnqRegion: string;
9324
- /** ID of the M&Q credentials used to subscribe to the NATS subject. */
9331
+ /**
9332
+ * ID of the Messaging and Queuing credentials used to subscribe to the NATS
9333
+ * subject.
9334
+ */
9325
9335
  mnqCredentialId?: string;
9326
9336
  }
9327
9337
  interface TriggerMnqSqsClientConfig {
@@ -9329,11 +9339,14 @@ interface TriggerMnqSqsClientConfig {
9329
9339
  mnqNamespaceId?: string;
9330
9340
  /** Name of the SQS queue the trigger listens to. */
9331
9341
  queue: string;
9332
- /** ID of the M&Q project. */
9342
+ /** ID of the Messaging and Queuing project. */
9333
9343
  mnqProjectId: string;
9334
- /** Region in which the M&Q project is activated. */
9344
+ /** Currently, only the `fr-par` region is available. */
9335
9345
  mnqRegion: string;
9336
- /** ID of the M&Q credentials used to read from the SQS queue. */
9346
+ /**
9347
+ * ID of the Messaging and Queuing credentials used to read from the SQS
9348
+ * queue.
9349
+ */
9337
9350
  mnqCredentialId?: string;
9338
9351
  }
9339
9352
  interface TriggerSqsClientConfig {
@@ -9351,11 +9364,11 @@ interface CreateTriggerRequestMnqNatsClientConfig$1 {
9351
9364
  mnqNamespaceId?: string;
9352
9365
  /** Name of the NATS subject the trigger should listen to. */
9353
9366
  subject: string;
9354
- /** ID of the M&Q NATS account. */
9367
+ /** ID of the Messaging and Queuing NATS account. */
9355
9368
  mnqNatsAccountId: string;
9356
- /** ID of the M&Q project. */
9369
+ /** ID of the Messaging and Queuing project. */
9357
9370
  mnqProjectId: string;
9358
- /** Region of the M&Q project. */
9371
+ /** Currently, only the `fr-par` region is available. */
9359
9372
  mnqRegion: string;
9360
9373
  }
9361
9374
  interface CreateTriggerRequestMnqSqsClientConfig$1 {
@@ -9365,7 +9378,7 @@ interface CreateTriggerRequestMnqSqsClientConfig$1 {
9365
9378
  queue: string;
9366
9379
  /** You must have activated SQS on this project. */
9367
9380
  mnqProjectId: string;
9368
- /** Region in which the M&Q project is activated. */
9381
+ /** Currently, only the `fr-par` region is available. */
9369
9382
  mnqRegion: string;
9370
9383
  }
9371
9384
  interface CreateTriggerRequestSqsClientConfig {
@@ -9545,14 +9558,14 @@ interface Trigger {
9545
9558
  /** Error message of the trigger. */
9546
9559
  errorMessage?: string;
9547
9560
  /**
9548
- * Configuration for a Scaleway M&Q SQS queue.
9561
+ * Configuration for a Scaleway Messaging and Queuing SQS queue.
9549
9562
  *
9550
9563
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
9551
9564
  * 'sqsConfig' could be set.
9552
9565
  */
9553
9566
  scwSqsConfig?: TriggerMnqSqsClientConfig;
9554
9567
  /**
9555
- * Configuration for a Scaleway M&Q NATS subject.
9568
+ * Configuration for a Scaleway Messaging and Queuing NATS subject.
9556
9569
  *
9557
9570
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
9558
9571
  * 'sqsConfig' could be set.
@@ -9686,14 +9699,14 @@ type CreateTriggerRequest$1 = {
9686
9699
  /** Description of the trigger. */
9687
9700
  description?: string;
9688
9701
  /**
9689
- * Configuration for a Scaleway M&Q SQS queue.
9702
+ * Configuration for a Scaleway Messaging and Queuing SQS queue.
9690
9703
  *
9691
9704
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
9692
9705
  * 'sqsConfig' could be set.
9693
9706
  */
9694
9707
  scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig$1;
9695
9708
  /**
9696
- * Configuration for a Scaleway M&Q NATS subject.
9709
+ * Configuration for a Scaleway Messaging and Queuing NATS subject.
9697
9710
  *
9698
9711
  * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
9699
9712
  * 'sqsConfig' could be set.
@@ -10384,6 +10397,8 @@ declare class API$l extends API$w {
10384
10397
  */
10385
10398
  deleteDomain: (request: Readonly<DeleteDomainRequest>) => Promise<Domain$1>;
10386
10399
  /**
10400
+ * Create a JWT token. Deprecated in favor of CreateToken.
10401
+ *
10387
10402
  * @deprecated
10388
10403
  * @param request - The request {@link IssueJWTRequest}
10389
10404
  * @returns A Promise of Token
@@ -12179,6 +12194,7 @@ declare namespace index$l {
12179
12194
  }
12180
12195
 
12181
12196
  type Arch = 'x86_64' | 'arm' | 'arm64';
12197
+ type AttachServerVolumeRequestVolumeType = 'unknown_volume_type' | 'l_ssd' | 'b_ssd' | 'sbs_volume';
12182
12198
  type BootType = 'local' | 'bootscript' | 'rescue';
12183
12199
  type ImageState = 'available' | 'creating' | 'error';
12184
12200
  type IpState = 'unknown_state' | 'detached' | 'attached' | 'pending' | 'error';
@@ -12436,6 +12452,72 @@ interface VolumeTypeConstraints {
12436
12452
  min: number;
12437
12453
  max: number;
12438
12454
  }
12455
+ interface Server {
12456
+ /** Instance unique ID. */
12457
+ id: string;
12458
+ /** Instance name. */
12459
+ name: string;
12460
+ /** Instance Organization ID. */
12461
+ organization: string;
12462
+ /** Instance Project ID. */
12463
+ project: string;
12464
+ /** List of allowed actions on the Instance. */
12465
+ allowedActions: ServerAction[];
12466
+ /** Tags associated with the Instance. */
12467
+ tags: string[];
12468
+ /** Instance commercial type (eg. GP1-M). */
12469
+ commercialType: string;
12470
+ /** Instance creation date. */
12471
+ creationDate?: Date;
12472
+ /** True if a dynamic IPv4 is required. */
12473
+ dynamicIpRequired: boolean;
12474
+ /** True to configure the instance so it uses the new routed IP mode. */
12475
+ routedIpEnabled: boolean;
12476
+ /** True if IPv6 is enabled. */
12477
+ enableIpv6: boolean;
12478
+ /** Instance host name. */
12479
+ hostname: string;
12480
+ /** Information about the Instance image. */
12481
+ image?: Image$3;
12482
+ /** Defines whether the Instance protection option is activated. */
12483
+ protected: boolean;
12484
+ /** Private IP address of the Instance. */
12485
+ privateIp?: string;
12486
+ /** Information about the public IP. */
12487
+ publicIp?: ServerIp;
12488
+ /** Information about all the public IPs attached to the server. */
12489
+ publicIps: ServerIp[];
12490
+ /** The server's MAC address. */
12491
+ macAddress: string;
12492
+ /** Instance modification date. */
12493
+ modificationDate?: Date;
12494
+ /** Instance state. */
12495
+ state: ServerState;
12496
+ /** Instance location. */
12497
+ location?: ServerLocation;
12498
+ /** Instance IPv6 address. */
12499
+ ipv6?: ServerIpv6;
12500
+ /** @deprecated Instance bootscript. */
12501
+ bootscript?: Bootscript;
12502
+ /** Instance boot type. */
12503
+ bootType: BootType;
12504
+ /** Instance volumes. */
12505
+ volumes: Record<string, VolumeServer>;
12506
+ /** Instance security group. */
12507
+ securityGroup?: SecurityGroupSummary;
12508
+ /** Instance planned maintenance. */
12509
+ maintenances: ServerMaintenance[];
12510
+ /** Detailed information about the Instance state. */
12511
+ stateDetail: string;
12512
+ /** Instance architecture. */
12513
+ arch: Arch;
12514
+ /** Instance placement group. */
12515
+ placementGroup?: PlacementGroup;
12516
+ /** Instance private NICs. */
12517
+ privateNics: PrivateNIC[];
12518
+ /** Zone in which the Instance is located. */
12519
+ zone: Zone;
12520
+ }
12439
12521
  interface VolumeTemplate {
12440
12522
  /** UUID of the volume. */
12441
12523
  id: string;
@@ -12547,72 +12629,6 @@ interface VolumeServerTemplate {
12547
12629
  /** Project ID of the volume. */
12548
12630
  project?: string;
12549
12631
  }
12550
- interface Server {
12551
- /** Instance unique ID. */
12552
- id: string;
12553
- /** Instance name. */
12554
- name: string;
12555
- /** Instance Organization ID. */
12556
- organization: string;
12557
- /** Instance Project ID. */
12558
- project: string;
12559
- /** List of allowed actions on the Instance. */
12560
- allowedActions: ServerAction[];
12561
- /** Tags associated with the Instance. */
12562
- tags: string[];
12563
- /** Instance commercial type (eg. GP1-M). */
12564
- commercialType: string;
12565
- /** Instance creation date. */
12566
- creationDate?: Date;
12567
- /** True if a dynamic IPv4 is required. */
12568
- dynamicIpRequired: boolean;
12569
- /** True to configure the instance so it uses the new routed IP mode. */
12570
- routedIpEnabled: boolean;
12571
- /** True if IPv6 is enabled. */
12572
- enableIpv6: boolean;
12573
- /** Instance host name. */
12574
- hostname: string;
12575
- /** Information about the Instance image. */
12576
- image?: Image$3;
12577
- /** Defines whether the Instance protection option is activated. */
12578
- protected: boolean;
12579
- /** Private IP address of the Instance. */
12580
- privateIp?: string;
12581
- /** Information about the public IP. */
12582
- publicIp?: ServerIp;
12583
- /** Information about all the public IPs attached to the server. */
12584
- publicIps: ServerIp[];
12585
- /** The server's MAC address. */
12586
- macAddress: string;
12587
- /** Instance modification date. */
12588
- modificationDate?: Date;
12589
- /** Instance state. */
12590
- state: ServerState;
12591
- /** Instance location. */
12592
- location?: ServerLocation;
12593
- /** Instance IPv6 address. */
12594
- ipv6?: ServerIpv6;
12595
- /** @deprecated Instance bootscript. */
12596
- bootscript?: Bootscript;
12597
- /** Instance boot type. */
12598
- bootType: BootType;
12599
- /** Instance volumes. */
12600
- volumes: Record<string, VolumeServer>;
12601
- /** Instance security group. */
12602
- securityGroup?: SecurityGroupSummary;
12603
- /** Instance planned maintenance. */
12604
- maintenances: ServerMaintenance[];
12605
- /** Detailed information about the Instance state. */
12606
- stateDetail: string;
12607
- /** Instance architecture. */
12608
- arch: Arch;
12609
- /** Instance placement group. */
12610
- placementGroup?: PlacementGroup;
12611
- /** Instance private NICs. */
12612
- privateNics: PrivateNIC[];
12613
- /** Zone in which the Instance is located. */
12614
- zone: Zone;
12615
- }
12616
12632
  interface Snapshot$1 {
12617
12633
  /** Snapshot ID. */
12618
12634
  id: string;
@@ -12792,6 +12808,21 @@ type ApplyBlockMigrationRequest = {
12792
12808
  */
12793
12809
  validationKey: string;
12794
12810
  };
12811
+ type AttachServerVolumeRequest = {
12812
+ /** Zone to target. If none is passed will use default zone from the config. */
12813
+ zone?: Zone;
12814
+ /** UUID of the Instance. */
12815
+ serverId: string;
12816
+ /** UUID of the Volume to attach. */
12817
+ volumeId: string;
12818
+ /** Type of the volume to attach. */
12819
+ volumeType?: AttachServerVolumeRequestVolumeType;
12820
+ /** Force the Instance to boot on this volume. */
12821
+ boot?: boolean;
12822
+ };
12823
+ interface AttachServerVolumeResponse {
12824
+ server?: Server;
12825
+ }
12795
12826
  type CreateImageRequest = {
12796
12827
  /** Zone to target. If none is passed will use default zone from the config. */
12797
12828
  zone?: Zone;
@@ -13092,10 +13123,10 @@ type CreateVolumeRequest$1 = {
13092
13123
  */
13093
13124
  size?: number;
13094
13125
  /**
13095
- * ID of the volume on which this volume will be based.
13126
+ * @deprecated ID of the volume on which this volume will be based.
13096
13127
  *
13097
- * One-of ('from'): at most one of 'size', 'baseVolume', 'baseSnapshot' could
13098
- * be set.
13128
+ * One-of ('from'): at most one of 'size', 'baseVolume', 'baseSnapshot' could
13129
+ * be set.
13099
13130
  */
13100
13131
  baseVolume?: string;
13101
13132
  /**
@@ -13172,6 +13203,17 @@ type DeleteVolumeRequest$1 = {
13172
13203
  /** UUID of the volume you want to delete. */
13173
13204
  volumeId: string;
13174
13205
  };
13206
+ type DetachServerVolumeRequest = {
13207
+ /** Zone to target. If none is passed will use default zone from the config. */
13208
+ zone?: Zone;
13209
+ /** UUID of the Instance. */
13210
+ serverId: string;
13211
+ /** UUID of the Volume to detach. */
13212
+ volumeId: string;
13213
+ };
13214
+ interface DetachServerVolumeResponse {
13215
+ server?: Server;
13216
+ }
13175
13217
  type ExportSnapshotRequest = {
13176
13218
  /** Zone to target. If none is passed will use default zone from the config. */
13177
13219
  zone?: Zone;
@@ -14107,6 +14149,20 @@ declare class API$j extends API$w {
14107
14149
  * @param request - The request {@link DeleteServerUserDataRequest}
14108
14150
  */
14109
14151
  deleteServerUserData: (request: Readonly<DeleteServerUserDataRequest>) => Promise<void>;
14152
+ /**
14153
+ * Attach a volume to a server.
14154
+ *
14155
+ * @param request - The request {@link AttachServerVolumeRequest}
14156
+ * @returns A Promise of AttachServerVolumeResponse
14157
+ */
14158
+ attachServerVolume: (request: Readonly<AttachServerVolumeRequest>) => Promise<AttachServerVolumeResponse>;
14159
+ /**
14160
+ * Detach a volume from a server.
14161
+ *
14162
+ * @param request - The request {@link DetachServerVolumeRequest}
14163
+ * @returns A Promise of DetachServerVolumeResponse
14164
+ */
14165
+ detachServerVolume: (request: Readonly<DetachServerVolumeRequest>) => Promise<DetachServerVolumeResponse>;
14110
14166
  protected pageOfListImages: (request?: Readonly<ListImagesRequest$3>) => Promise<ListImagesResponse$3>;
14111
14167
  /**
14112
14168
  * List Instance images. List all existing Instance images.
@@ -14748,6 +14804,9 @@ declare const VOLUME_TRANSIENT_STATUSES: VolumeState[];
14748
14804
 
14749
14805
  type index$k_ApplyBlockMigrationRequest = ApplyBlockMigrationRequest;
14750
14806
  type index$k_Arch = Arch;
14807
+ type index$k_AttachServerVolumeRequest = AttachServerVolumeRequest;
14808
+ type index$k_AttachServerVolumeRequestVolumeType = AttachServerVolumeRequestVolumeType;
14809
+ type index$k_AttachServerVolumeResponse = AttachServerVolumeResponse;
14751
14810
  type index$k_AttachVolumeRequest = AttachVolumeRequest;
14752
14811
  type index$k_AttachVolumeResponse = AttachVolumeResponse;
14753
14812
  type index$k_BootType = BootType;
@@ -14775,6 +14834,8 @@ type index$k_DeleteSecurityGroupRequest = DeleteSecurityGroupRequest;
14775
14834
  type index$k_DeleteSecurityGroupRuleRequest = DeleteSecurityGroupRuleRequest;
14776
14835
  type index$k_DeleteServerRequest = DeleteServerRequest;
14777
14836
  type index$k_DeleteServerUserDataRequest = DeleteServerUserDataRequest;
14837
+ type index$k_DetachServerVolumeRequest = DetachServerVolumeRequest;
14838
+ type index$k_DetachServerVolumeResponse = DetachServerVolumeResponse;
14778
14839
  type index$k_DetachVolumeRequest = DetachVolumeRequest;
14779
14840
  type index$k_DetachVolumeResponse = DetachVolumeResponse;
14780
14841
  type index$k_ExportSnapshotRequest = ExportSnapshotRequest;
@@ -14914,7 +14975,7 @@ type index$k_VolumeTypeCapabilities = VolumeTypeCapabilities;
14914
14975
  type index$k_VolumeTypeConstraints = VolumeTypeConstraints;
14915
14976
  type index$k_VolumeVolumeType = VolumeVolumeType;
14916
14977
  declare namespace index$k {
14917
- export { InstanceV1UtilsAPI as API, type index$k_ApplyBlockMigrationRequest as ApplyBlockMigrationRequest, type index$k_Arch as Arch, type index$k_AttachVolumeRequest as AttachVolumeRequest, type index$k_AttachVolumeResponse as AttachVolumeResponse, type index$k_BootType as BootType, type index$k_Bootscript as Bootscript, type index$k_CreateImageRequest as CreateImageRequest, type index$k_CreateImageResponse as CreateImageResponse, type CreateIpRequest$1 as CreateIpRequest, type index$k_CreateIpResponse as CreateIpResponse, type index$k_CreatePlacementGroupRequest as CreatePlacementGroupRequest, type index$k_CreatePlacementGroupResponse as CreatePlacementGroupResponse, type index$k_CreatePrivateNICRequest as CreatePrivateNICRequest, type index$k_CreatePrivateNICResponse as CreatePrivateNICResponse, type index$k_CreateSecurityGroupRequest as CreateSecurityGroupRequest, type index$k_CreateSecurityGroupResponse as CreateSecurityGroupResponse, type index$k_CreateSecurityGroupRuleRequest as CreateSecurityGroupRuleRequest, type index$k_CreateSecurityGroupRuleResponse as CreateSecurityGroupRuleResponse, type index$k_CreateServerRequest as CreateServerRequest, type index$k_CreateServerResponse as CreateServerResponse, type CreateSnapshotRequest$1 as CreateSnapshotRequest, type index$k_CreateSnapshotResponse as CreateSnapshotResponse, type CreateVolumeRequest$1 as CreateVolumeRequest, type index$k_CreateVolumeResponse as CreateVolumeResponse, type index$k_Dashboard as Dashboard, type DeleteImageRequest$1 as DeleteImageRequest, type index$k_DeleteIpRequest as DeleteIpRequest, type index$k_DeletePlacementGroupRequest as DeletePlacementGroupRequest, type index$k_DeletePrivateNICRequest as DeletePrivateNICRequest, type index$k_DeleteSecurityGroupRequest as DeleteSecurityGroupRequest, type index$k_DeleteSecurityGroupRuleRequest as DeleteSecurityGroupRuleRequest, type index$k_DeleteServerRequest as DeleteServerRequest, type index$k_DeleteServerUserDataRequest as DeleteServerUserDataRequest, type DeleteSnapshotRequest$1 as DeleteSnapshotRequest, type DeleteVolumeRequest$1 as DeleteVolumeRequest, type index$k_DetachVolumeRequest as DetachVolumeRequest, type index$k_DetachVolumeResponse as DetachVolumeResponse, type index$k_ExportSnapshotRequest as ExportSnapshotRequest, type index$k_ExportSnapshotResponse as ExportSnapshotResponse, type index$k_GetBootscriptRequest as GetBootscriptRequest, type index$k_GetBootscriptResponse as GetBootscriptResponse, type index$k_GetDashboardRequest as GetDashboardRequest, type index$k_GetDashboardResponse as GetDashboardResponse, type GetImageRequest$3 as GetImageRequest, type GetImageResponse$1 as GetImageResponse, type GetIpRequest$1 as GetIpRequest, type index$k_GetIpResponse as GetIpResponse, type index$k_GetPlacementGroupRequest as GetPlacementGroupRequest, type index$k_GetPlacementGroupResponse as GetPlacementGroupResponse, type index$k_GetPlacementGroupServersRequest as GetPlacementGroupServersRequest, type index$k_GetPlacementGroupServersResponse as GetPlacementGroupServersResponse, type index$k_GetPrivateNICRequest as GetPrivateNICRequest, type index$k_GetPrivateNICResponse as GetPrivateNICResponse, type index$k_GetSecurityGroupRequest as GetSecurityGroupRequest, type index$k_GetSecurityGroupResponse as GetSecurityGroupResponse, type index$k_GetSecurityGroupRuleRequest as GetSecurityGroupRuleRequest, type index$k_GetSecurityGroupRuleResponse as GetSecurityGroupRuleResponse, type index$k_GetServerRequest as GetServerRequest, type index$k_GetServerResponse as GetServerResponse, type index$k_GetServerTypesAvailabilityRequest as GetServerTypesAvailabilityRequest, type index$k_GetServerTypesAvailabilityResponse as GetServerTypesAvailabilityResponse, type index$k_GetServerTypesAvailabilityResponseAvailability as GetServerTypesAvailabilityResponseAvailability, type index$k_GetServerUserDataRequest as GetServerUserDataRequest, type GetSnapshotRequest$1 as GetSnapshotRequest, type index$k_GetSnapshotResponse as GetSnapshotResponse, type GetVolumeRequest$1 as GetVolumeRequest, type index$k_GetVolumeResponse as GetVolumeResponse, IMAGE_TRANSIENT_STATUSES$1 as IMAGE_TRANSIENT_STATUSES, index$k_IP_TRANSIENT_STATUSES as IP_TRANSIENT_STATUSES, type Image$3 as Image, type index$k_ImageState as ImageState, type Ip$1 as Ip, type index$k_IpState as IpState, type index$k_IpType as IpType, type index$k_ListBootscriptsRequest as ListBootscriptsRequest, type index$k_ListBootscriptsResponse as ListBootscriptsResponse, type index$k_ListDefaultSecurityGroupRulesRequest as ListDefaultSecurityGroupRulesRequest, type ListImagesRequest$3 as ListImagesRequest, type ListImagesResponse$3 as ListImagesResponse, type index$k_ListIpsRequest as ListIpsRequest, type ListIpsResponse$1 as ListIpsResponse, type index$k_ListPlacementGroupsRequest as ListPlacementGroupsRequest, type index$k_ListPlacementGroupsResponse as ListPlacementGroupsResponse, type index$k_ListPrivateNICsRequest as ListPrivateNICsRequest, type index$k_ListPrivateNICsResponse as ListPrivateNICsResponse, type index$k_ListSecurityGroupRulesRequest as ListSecurityGroupRulesRequest, type index$k_ListSecurityGroupRulesResponse as ListSecurityGroupRulesResponse, type index$k_ListSecurityGroupsRequest as ListSecurityGroupsRequest, type index$k_ListSecurityGroupsResponse as ListSecurityGroupsResponse, type index$k_ListServerActionsRequest as ListServerActionsRequest, type index$k_ListServerActionsResponse as ListServerActionsResponse, type index$k_ListServerUserDataRequest as ListServerUserDataRequest, type index$k_ListServerUserDataResponse as ListServerUserDataResponse, type index$k_ListServersRequest as ListServersRequest, type index$k_ListServersRequestOrder as ListServersRequestOrder, type index$k_ListServersResponse as ListServersResponse, type index$k_ListServersTypesRequest as ListServersTypesRequest, type index$k_ListServersTypesResponse as ListServersTypesResponse, type ListSnapshotsRequest$1 as ListSnapshotsRequest, type ListSnapshotsResponse$1 as ListSnapshotsResponse, type ListVolumesRequest$1 as ListVolumesRequest, type ListVolumesResponse$1 as ListVolumesResponse, type index$k_ListVolumesTypesRequest as ListVolumesTypesRequest, type index$k_ListVolumesTypesResponse as ListVolumesTypesResponse, type index$k_MigrationPlan as MigrationPlan, index$k_PRIVATE_NIC_TRANSIENT_STATUSES as PRIVATE_NIC_TRANSIENT_STATUSES, type index$k_PlacementGroup as PlacementGroup, type index$k_PlacementGroupPolicyMode as PlacementGroupPolicyMode, type index$k_PlacementGroupPolicyType as PlacementGroupPolicyType, type index$k_PlacementGroupServer as PlacementGroupServer, type index$k_PlanBlockMigrationRequest as PlanBlockMigrationRequest, type index$k_PrivateNIC as PrivateNIC, type index$k_PrivateNICState as PrivateNICState, index$k_SECURITY_GROUP_TRANSIENT_STATUSES as SECURITY_GROUP_TRANSIENT_STATUSES, index$k_SERVER_IP_TRANSIENT_STATUSES as SERVER_IP_TRANSIENT_STATUSES, index$k_SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES$1 as SNAPSHOT_TRANSIENT_STATUSES, type index$k_SecurityGroup as SecurityGroup, type index$k_SecurityGroupPolicy as SecurityGroupPolicy, type index$k_SecurityGroupRule as SecurityGroupRule, type index$k_SecurityGroupRuleAction as SecurityGroupRuleAction, type index$k_SecurityGroupRuleDirection as SecurityGroupRuleDirection, type index$k_SecurityGroupRuleProtocol as SecurityGroupRuleProtocol, type index$k_SecurityGroupState as SecurityGroupState, type index$k_SecurityGroupSummary as SecurityGroupSummary, type index$k_SecurityGroupTemplate as SecurityGroupTemplate, type index$k_Server as Server, type index$k_ServerAction as ServerAction, type index$k_ServerActionRequest as ServerActionRequest, type index$k_ServerActionRequestVolumeBackupTemplate as ServerActionRequestVolumeBackupTemplate, type index$k_ServerActionResponse as ServerActionResponse, type index$k_ServerIp as ServerIp, type index$k_ServerIpIpFamily as ServerIpIpFamily, type index$k_ServerIpProvisioningMode as ServerIpProvisioningMode, type index$k_ServerIpState as ServerIpState, type index$k_ServerIpv6 as ServerIpv6, type index$k_ServerLocation as ServerLocation, type index$k_ServerMaintenance as ServerMaintenance, type index$k_ServerState as ServerState, type index$k_ServerSummary as ServerSummary, type index$k_ServerType as ServerType, type index$k_ServerTypeCapabilities as ServerTypeCapabilities, type index$k_ServerTypeNetwork as ServerTypeNetwork, type index$k_ServerTypeNetworkInterface as ServerTypeNetworkInterface, type index$k_ServerTypeVolumeConstraintSizes as ServerTypeVolumeConstraintSizes, type index$k_ServerTypeVolumeConstraintsByType as ServerTypeVolumeConstraintsByType, type index$k_ServerTypesAvailability as ServerTypesAvailability, type index$k_SetImageRequest as SetImageRequest, type index$k_SetPlacementGroupRequest as SetPlacementGroupRequest, type index$k_SetPlacementGroupResponse as SetPlacementGroupResponse, type index$k_SetPlacementGroupServersRequest as SetPlacementGroupServersRequest, type index$k_SetPlacementGroupServersResponse as SetPlacementGroupServersResponse, type index$k_SetSecurityGroupRulesRequest as SetSecurityGroupRulesRequest, type index$k_SetSecurityGroupRulesRequestRule as SetSecurityGroupRulesRequestRule, type index$k_SetSecurityGroupRulesResponse as SetSecurityGroupRulesResponse, type index$k_SetServerUserDataRequest as SetServerUserDataRequest, type Snapshot$1 as Snapshot, type index$k_SnapshotBaseVolume as SnapshotBaseVolume, type index$k_SnapshotState as SnapshotState, type index$k_SnapshotVolumeType as SnapshotVolumeType, index$k_TASK_TRANSIENT_STATUSES as TASK_TRANSIENT_STATUSES, type index$k_Task as Task, type index$k_TaskStatus as TaskStatus, type UpdateImageRequest$1 as UpdateImageRequest, type index$k_UpdateImageResponse as UpdateImageResponse, type UpdateIpRequest$1 as UpdateIpRequest, type index$k_UpdateIpResponse as UpdateIpResponse, type index$k_UpdatePlacementGroupRequest as UpdatePlacementGroupRequest, type index$k_UpdatePlacementGroupResponse as UpdatePlacementGroupResponse, type index$k_UpdatePlacementGroupServersRequest as UpdatePlacementGroupServersRequest, type index$k_UpdatePlacementGroupServersResponse as UpdatePlacementGroupServersResponse, type index$k_UpdatePrivateNICRequest as UpdatePrivateNICRequest, type index$k_UpdateSecurityGroupRequest as UpdateSecurityGroupRequest, type index$k_UpdateSecurityGroupResponse as UpdateSecurityGroupResponse, type index$k_UpdateSecurityGroupRuleRequest as UpdateSecurityGroupRuleRequest, type index$k_UpdateSecurityGroupRuleResponse as UpdateSecurityGroupRuleResponse, type index$k_UpdateServerRequest as UpdateServerRequest, type index$k_UpdateServerResponse as UpdateServerResponse, type UpdateSnapshotRequest$1 as UpdateSnapshotRequest, type index$k_UpdateSnapshotResponse as UpdateSnapshotResponse, type UpdateVolumeRequest$1 as UpdateVolumeRequest, type index$k_UpdateVolumeResponse as UpdateVolumeResponse, index$k_VOLUME_SERVER_TRANSIENT_STATUSES as VOLUME_SERVER_TRANSIENT_STATUSES, index$k_VOLUME_TRANSIENT_STATUSES as VOLUME_TRANSIENT_STATUSES, type Volume$2 as Volume, type index$k_VolumeServer as VolumeServer, type index$k_VolumeServerState as VolumeServerState, type index$k_VolumeServerTemplate as VolumeServerTemplate, type index$k_VolumeServerVolumeType as VolumeServerVolumeType, type index$k_VolumeState as VolumeState, type index$k_VolumeSummary as VolumeSummary, type index$k_VolumeTemplate as VolumeTemplate, type VolumeType$1 as VolumeType, type index$k_VolumeTypeCapabilities as VolumeTypeCapabilities, type index$k_VolumeTypeConstraints as VolumeTypeConstraints, type index$k_VolumeVolumeType as VolumeVolumeType };
14978
+ export { InstanceV1UtilsAPI as API, type index$k_ApplyBlockMigrationRequest as ApplyBlockMigrationRequest, type index$k_Arch as Arch, type index$k_AttachServerVolumeRequest as AttachServerVolumeRequest, type index$k_AttachServerVolumeRequestVolumeType as AttachServerVolumeRequestVolumeType, type index$k_AttachServerVolumeResponse as AttachServerVolumeResponse, type index$k_AttachVolumeRequest as AttachVolumeRequest, type index$k_AttachVolumeResponse as AttachVolumeResponse, type index$k_BootType as BootType, type index$k_Bootscript as Bootscript, type index$k_CreateImageRequest as CreateImageRequest, type index$k_CreateImageResponse as CreateImageResponse, type CreateIpRequest$1 as CreateIpRequest, type index$k_CreateIpResponse as CreateIpResponse, type index$k_CreatePlacementGroupRequest as CreatePlacementGroupRequest, type index$k_CreatePlacementGroupResponse as CreatePlacementGroupResponse, type index$k_CreatePrivateNICRequest as CreatePrivateNICRequest, type index$k_CreatePrivateNICResponse as CreatePrivateNICResponse, type index$k_CreateSecurityGroupRequest as CreateSecurityGroupRequest, type index$k_CreateSecurityGroupResponse as CreateSecurityGroupResponse, type index$k_CreateSecurityGroupRuleRequest as CreateSecurityGroupRuleRequest, type index$k_CreateSecurityGroupRuleResponse as CreateSecurityGroupRuleResponse, type index$k_CreateServerRequest as CreateServerRequest, type index$k_CreateServerResponse as CreateServerResponse, type CreateSnapshotRequest$1 as CreateSnapshotRequest, type index$k_CreateSnapshotResponse as CreateSnapshotResponse, type CreateVolumeRequest$1 as CreateVolumeRequest, type index$k_CreateVolumeResponse as CreateVolumeResponse, type index$k_Dashboard as Dashboard, type DeleteImageRequest$1 as DeleteImageRequest, type index$k_DeleteIpRequest as DeleteIpRequest, type index$k_DeletePlacementGroupRequest as DeletePlacementGroupRequest, type index$k_DeletePrivateNICRequest as DeletePrivateNICRequest, type index$k_DeleteSecurityGroupRequest as DeleteSecurityGroupRequest, type index$k_DeleteSecurityGroupRuleRequest as DeleteSecurityGroupRuleRequest, type index$k_DeleteServerRequest as DeleteServerRequest, type index$k_DeleteServerUserDataRequest as DeleteServerUserDataRequest, type DeleteSnapshotRequest$1 as DeleteSnapshotRequest, type DeleteVolumeRequest$1 as DeleteVolumeRequest, type index$k_DetachServerVolumeRequest as DetachServerVolumeRequest, type index$k_DetachServerVolumeResponse as DetachServerVolumeResponse, type index$k_DetachVolumeRequest as DetachVolumeRequest, type index$k_DetachVolumeResponse as DetachVolumeResponse, type index$k_ExportSnapshotRequest as ExportSnapshotRequest, type index$k_ExportSnapshotResponse as ExportSnapshotResponse, type index$k_GetBootscriptRequest as GetBootscriptRequest, type index$k_GetBootscriptResponse as GetBootscriptResponse, type index$k_GetDashboardRequest as GetDashboardRequest, type index$k_GetDashboardResponse as GetDashboardResponse, type GetImageRequest$3 as GetImageRequest, type GetImageResponse$1 as GetImageResponse, type GetIpRequest$1 as GetIpRequest, type index$k_GetIpResponse as GetIpResponse, type index$k_GetPlacementGroupRequest as GetPlacementGroupRequest, type index$k_GetPlacementGroupResponse as GetPlacementGroupResponse, type index$k_GetPlacementGroupServersRequest as GetPlacementGroupServersRequest, type index$k_GetPlacementGroupServersResponse as GetPlacementGroupServersResponse, type index$k_GetPrivateNICRequest as GetPrivateNICRequest, type index$k_GetPrivateNICResponse as GetPrivateNICResponse, type index$k_GetSecurityGroupRequest as GetSecurityGroupRequest, type index$k_GetSecurityGroupResponse as GetSecurityGroupResponse, type index$k_GetSecurityGroupRuleRequest as GetSecurityGroupRuleRequest, type index$k_GetSecurityGroupRuleResponse as GetSecurityGroupRuleResponse, type index$k_GetServerRequest as GetServerRequest, type index$k_GetServerResponse as GetServerResponse, type index$k_GetServerTypesAvailabilityRequest as GetServerTypesAvailabilityRequest, type index$k_GetServerTypesAvailabilityResponse as GetServerTypesAvailabilityResponse, type index$k_GetServerTypesAvailabilityResponseAvailability as GetServerTypesAvailabilityResponseAvailability, type index$k_GetServerUserDataRequest as GetServerUserDataRequest, type GetSnapshotRequest$1 as GetSnapshotRequest, type index$k_GetSnapshotResponse as GetSnapshotResponse, type GetVolumeRequest$1 as GetVolumeRequest, type index$k_GetVolumeResponse as GetVolumeResponse, IMAGE_TRANSIENT_STATUSES$1 as IMAGE_TRANSIENT_STATUSES, index$k_IP_TRANSIENT_STATUSES as IP_TRANSIENT_STATUSES, type Image$3 as Image, type index$k_ImageState as ImageState, type Ip$1 as Ip, type index$k_IpState as IpState, type index$k_IpType as IpType, type index$k_ListBootscriptsRequest as ListBootscriptsRequest, type index$k_ListBootscriptsResponse as ListBootscriptsResponse, type index$k_ListDefaultSecurityGroupRulesRequest as ListDefaultSecurityGroupRulesRequest, type ListImagesRequest$3 as ListImagesRequest, type ListImagesResponse$3 as ListImagesResponse, type index$k_ListIpsRequest as ListIpsRequest, type ListIpsResponse$1 as ListIpsResponse, type index$k_ListPlacementGroupsRequest as ListPlacementGroupsRequest, type index$k_ListPlacementGroupsResponse as ListPlacementGroupsResponse, type index$k_ListPrivateNICsRequest as ListPrivateNICsRequest, type index$k_ListPrivateNICsResponse as ListPrivateNICsResponse, type index$k_ListSecurityGroupRulesRequest as ListSecurityGroupRulesRequest, type index$k_ListSecurityGroupRulesResponse as ListSecurityGroupRulesResponse, type index$k_ListSecurityGroupsRequest as ListSecurityGroupsRequest, type index$k_ListSecurityGroupsResponse as ListSecurityGroupsResponse, type index$k_ListServerActionsRequest as ListServerActionsRequest, type index$k_ListServerActionsResponse as ListServerActionsResponse, type index$k_ListServerUserDataRequest as ListServerUserDataRequest, type index$k_ListServerUserDataResponse as ListServerUserDataResponse, type index$k_ListServersRequest as ListServersRequest, type index$k_ListServersRequestOrder as ListServersRequestOrder, type index$k_ListServersResponse as ListServersResponse, type index$k_ListServersTypesRequest as ListServersTypesRequest, type index$k_ListServersTypesResponse as ListServersTypesResponse, type ListSnapshotsRequest$1 as ListSnapshotsRequest, type ListSnapshotsResponse$1 as ListSnapshotsResponse, type ListVolumesRequest$1 as ListVolumesRequest, type ListVolumesResponse$1 as ListVolumesResponse, type index$k_ListVolumesTypesRequest as ListVolumesTypesRequest, type index$k_ListVolumesTypesResponse as ListVolumesTypesResponse, type index$k_MigrationPlan as MigrationPlan, index$k_PRIVATE_NIC_TRANSIENT_STATUSES as PRIVATE_NIC_TRANSIENT_STATUSES, type index$k_PlacementGroup as PlacementGroup, type index$k_PlacementGroupPolicyMode as PlacementGroupPolicyMode, type index$k_PlacementGroupPolicyType as PlacementGroupPolicyType, type index$k_PlacementGroupServer as PlacementGroupServer, type index$k_PlanBlockMigrationRequest as PlanBlockMigrationRequest, type index$k_PrivateNIC as PrivateNIC, type index$k_PrivateNICState as PrivateNICState, index$k_SECURITY_GROUP_TRANSIENT_STATUSES as SECURITY_GROUP_TRANSIENT_STATUSES, index$k_SERVER_IP_TRANSIENT_STATUSES as SERVER_IP_TRANSIENT_STATUSES, index$k_SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES$1 as SNAPSHOT_TRANSIENT_STATUSES, type index$k_SecurityGroup as SecurityGroup, type index$k_SecurityGroupPolicy as SecurityGroupPolicy, type index$k_SecurityGroupRule as SecurityGroupRule, type index$k_SecurityGroupRuleAction as SecurityGroupRuleAction, type index$k_SecurityGroupRuleDirection as SecurityGroupRuleDirection, type index$k_SecurityGroupRuleProtocol as SecurityGroupRuleProtocol, type index$k_SecurityGroupState as SecurityGroupState, type index$k_SecurityGroupSummary as SecurityGroupSummary, type index$k_SecurityGroupTemplate as SecurityGroupTemplate, type index$k_Server as Server, type index$k_ServerAction as ServerAction, type index$k_ServerActionRequest as ServerActionRequest, type index$k_ServerActionRequestVolumeBackupTemplate as ServerActionRequestVolumeBackupTemplate, type index$k_ServerActionResponse as ServerActionResponse, type index$k_ServerIp as ServerIp, type index$k_ServerIpIpFamily as ServerIpIpFamily, type index$k_ServerIpProvisioningMode as ServerIpProvisioningMode, type index$k_ServerIpState as ServerIpState, type index$k_ServerIpv6 as ServerIpv6, type index$k_ServerLocation as ServerLocation, type index$k_ServerMaintenance as ServerMaintenance, type index$k_ServerState as ServerState, type index$k_ServerSummary as ServerSummary, type index$k_ServerType as ServerType, type index$k_ServerTypeCapabilities as ServerTypeCapabilities, type index$k_ServerTypeNetwork as ServerTypeNetwork, type index$k_ServerTypeNetworkInterface as ServerTypeNetworkInterface, type index$k_ServerTypeVolumeConstraintSizes as ServerTypeVolumeConstraintSizes, type index$k_ServerTypeVolumeConstraintsByType as ServerTypeVolumeConstraintsByType, type index$k_ServerTypesAvailability as ServerTypesAvailability, type index$k_SetImageRequest as SetImageRequest, type index$k_SetPlacementGroupRequest as SetPlacementGroupRequest, type index$k_SetPlacementGroupResponse as SetPlacementGroupResponse, type index$k_SetPlacementGroupServersRequest as SetPlacementGroupServersRequest, type index$k_SetPlacementGroupServersResponse as SetPlacementGroupServersResponse, type index$k_SetSecurityGroupRulesRequest as SetSecurityGroupRulesRequest, type index$k_SetSecurityGroupRulesRequestRule as SetSecurityGroupRulesRequestRule, type index$k_SetSecurityGroupRulesResponse as SetSecurityGroupRulesResponse, type index$k_SetServerUserDataRequest as SetServerUserDataRequest, type Snapshot$1 as Snapshot, type index$k_SnapshotBaseVolume as SnapshotBaseVolume, type index$k_SnapshotState as SnapshotState, type index$k_SnapshotVolumeType as SnapshotVolumeType, index$k_TASK_TRANSIENT_STATUSES as TASK_TRANSIENT_STATUSES, type index$k_Task as Task, type index$k_TaskStatus as TaskStatus, type UpdateImageRequest$1 as UpdateImageRequest, type index$k_UpdateImageResponse as UpdateImageResponse, type UpdateIpRequest$1 as UpdateIpRequest, type index$k_UpdateIpResponse as UpdateIpResponse, type index$k_UpdatePlacementGroupRequest as UpdatePlacementGroupRequest, type index$k_UpdatePlacementGroupResponse as UpdatePlacementGroupResponse, type index$k_UpdatePlacementGroupServersRequest as UpdatePlacementGroupServersRequest, type index$k_UpdatePlacementGroupServersResponse as UpdatePlacementGroupServersResponse, type index$k_UpdatePrivateNICRequest as UpdatePrivateNICRequest, type index$k_UpdateSecurityGroupRequest as UpdateSecurityGroupRequest, type index$k_UpdateSecurityGroupResponse as UpdateSecurityGroupResponse, type index$k_UpdateSecurityGroupRuleRequest as UpdateSecurityGroupRuleRequest, type index$k_UpdateSecurityGroupRuleResponse as UpdateSecurityGroupRuleResponse, type index$k_UpdateServerRequest as UpdateServerRequest, type index$k_UpdateServerResponse as UpdateServerResponse, type UpdateSnapshotRequest$1 as UpdateSnapshotRequest, type index$k_UpdateSnapshotResponse as UpdateSnapshotResponse, type UpdateVolumeRequest$1 as UpdateVolumeRequest, type index$k_UpdateVolumeResponse as UpdateVolumeResponse, index$k_VOLUME_SERVER_TRANSIENT_STATUSES as VOLUME_SERVER_TRANSIENT_STATUSES, index$k_VOLUME_TRANSIENT_STATUSES as VOLUME_TRANSIENT_STATUSES, type Volume$2 as Volume, type index$k_VolumeServer as VolumeServer, type index$k_VolumeServerState as VolumeServerState, type index$k_VolumeServerTemplate as VolumeServerTemplate, type index$k_VolumeServerVolumeType as VolumeServerVolumeType, type index$k_VolumeState as VolumeState, type index$k_VolumeSummary as VolumeSummary, type index$k_VolumeTemplate as VolumeTemplate, type VolumeType$1 as VolumeType, type index$k_VolumeTypeCapabilities as VolumeTypeCapabilities, type index$k_VolumeTypeConstraints as VolumeTypeConstraints, type index$k_VolumeVolumeType as VolumeVolumeType };
14918
14979
  }
14919
14980
 
14920
14981
  declare namespace index$j {
@@ -16901,6 +16962,20 @@ declare class API$g extends API$w {
16901
16962
  * @returns A Promise of Pin
16902
16963
  */
16903
16964
  createPinByCID: (request: Readonly<CreatePinByCIDRequest>) => Promise<Pin>;
16965
+ /**
16966
+ * Replace pin by CID. Deletes the given resource ID and pins the new CID in
16967
+ * its place. Will fetch and store the content pointed by the provided CID.
16968
+ * The content must be available on the public IPFS network. The content (IPFS
16969
+ * blocks) is hosted by the pinning service until the pin is deleted. While
16970
+ * the content is available any other IPFS peer can fetch and host your
16971
+ * content. For this reason, we recommend that you pin either public or
16972
+ * encrypted content. Several different pin requests can target the same CID.
16973
+ * A pin is defined by its ID (UUID), its status (queued, pinning, pinned or
16974
+ * failed) and target CID.
16975
+ *
16976
+ * @param request - The request {@link ReplacePinRequest}
16977
+ * @returns A Promise of ReplacePinResponse
16978
+ */
16904
16979
  replacePin: (request: Readonly<ReplacePinRequest>) => Promise<ReplacePinResponse>;
16905
16980
  /**
16906
16981
  * Get pin information. Retrieve information about the provided **pin ID**,
@@ -26971,13 +27046,18 @@ type UpdateClusterRequest = {
26971
27046
  type UpdateEndpointRequest = {
26972
27047
  /** Zone to target. If none is passed will use default zone from the config. */
26973
27048
  zone?: Zone;
27049
+ /** UUID of the endpoint you want to get. */
26974
27050
  endpointId: string;
26975
27051
  /**
27052
+ * Private Network details.
27053
+ *
26976
27054
  * One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
26977
27055
  * could be set.
26978
27056
  */
26979
27057
  privateNetwork?: EndpointSpecPrivateNetworkSpec;
26980
27058
  /**
27059
+ * Public network details.
27060
+ *
26981
27061
  * One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
26982
27062
  * could be set.
26983
27063
  */
@@ -28512,6 +28592,13 @@ declare class API$6 extends API$w {
28512
28592
  * metadata of a secret's given version specified by the `region`,
28513
28593
  * `secret_name`, `revision` and `project_id` parameters.
28514
28594
  *
28595
+ * This method is deprecated.
28596
+ *
28597
+ * Scaleway recommends that you use the `ListSecrets` request with the `name`
28598
+ * filter to specify the secret version desired, then use the
28599
+ * `GetSecretVersion` request.
28600
+ *
28601
+ * @deprecated
28515
28602
  * @param request - The request {@link GetSecretVersionByNameRequest}
28516
28603
  * @returns A Promise of SecretVersion
28517
28604
  */
@@ -28543,6 +28630,13 @@ declare class API$6 extends API$w {
28543
28630
  * given secret's versions specified by the `secret_name`,`region` and
28544
28631
  * `project_id` parameters.
28545
28632
  *
28633
+ * This method is deprecated.
28634
+ *
28635
+ * Scaleway recommends that you use the `ListSecrets` request with the `name`
28636
+ * filter to specify the secret version desired, then use the
28637
+ * `ListSecretVersions` request.
28638
+ *
28639
+ * @deprecated
28546
28640
  * @param request - The request {@link ListSecretVersionsByNameRequest}
28547
28641
  * @returns A Promise of ListSecretVersionsResponse
28548
28642
  */
@@ -28580,6 +28674,13 @@ declare class API$6 extends API$w {
28580
28674
  * a secret's version specified by the `region`, `secret_name`, `revision` and
28581
28675
  * `project_id` parameters.
28582
28676
  *
28677
+ * This method is deprecated.
28678
+ *
28679
+ * Scaleway recommends that you use the `ListSecrets` request with the `name`
28680
+ * filter to specify the secret version desired, then use the
28681
+ * `AccessSecretVersion` request.
28682
+ *
28683
+ * @deprecated
28583
28684
  * @param request - The request {@link AccessSecretVersionByNameRequest}
28584
28685
  * @returns A Promise of AccessSecretVersionResponse
28585
28686
  */
@@ -31457,6 +31558,14 @@ interface Nameserver {
31457
31558
  /** Defines whether the nameserver is the default one. */
31458
31559
  isDefault: boolean;
31459
31560
  }
31561
+ interface ControlPanel {
31562
+ /** Control panel name. */
31563
+ name: string;
31564
+ /** Define if the control panel type is available to order. */
31565
+ available: boolean;
31566
+ /** URL of this control panel's logo. */
31567
+ logoUrl: string;
31568
+ }
31460
31569
  interface Hosting {
31461
31570
  /** ID of the Web Hosting plan. */
31462
31571
  id: string;
@@ -31492,6 +31601,8 @@ interface Hosting {
31492
31601
  username: string;
31493
31602
  /** Indicates if the hosting offer has reached its end of life. */
31494
31603
  offerEndOfLife: boolean;
31604
+ /** Name of the control panel. */
31605
+ controlPanelName: string;
31495
31606
  /** Region where the Web Hosting plan is hosted. */
31496
31607
  region: Region;
31497
31608
  }
@@ -31513,6 +31624,8 @@ interface Offer {
31513
31624
  quotaWarnings: OfferQuotaWarning[];
31514
31625
  /** Indicates if the offer has reached its end of life. */
31515
31626
  endOfLife: boolean;
31627
+ /** Name of the control panel. */
31628
+ controlPanelName: string;
31516
31629
  }
31517
31630
  type CreateHostingRequest = {
31518
31631
  /**
@@ -31571,6 +31684,29 @@ type GetHostingRequest = {
31571
31684
  /** Hosting ID. */
31572
31685
  hostingId: string;
31573
31686
  };
31687
+ type ListControlPanelsRequest$1 = {
31688
+ /**
31689
+ * Region to target. If none is passed will use default region from the
31690
+ * config.
31691
+ */
31692
+ region?: Region;
31693
+ /**
31694
+ * Page number to return, from the paginated results (must be a positive
31695
+ * integer).
31696
+ */
31697
+ page?: number;
31698
+ /**
31699
+ * Number of control panels to return (must be a positive integer lower or
31700
+ * equal to 100).
31701
+ */
31702
+ pageSize?: number;
31703
+ };
31704
+ interface ListControlPanelsResponse {
31705
+ /** Number of control panels returned. */
31706
+ totalCount: number;
31707
+ /** List of control panels. */
31708
+ controlPanels: ControlPanel[];
31709
+ }
31574
31710
  type ListHostingsRequest$1 = {
31575
31711
  /**
31576
31712
  * Region to target. If none is passed will use default region from the
@@ -31614,6 +31750,11 @@ type ListHostingsRequest$1 = {
31614
31750
  * Organization will be returned.
31615
31751
  */
31616
31752
  organizationId?: string;
31753
+ /**
31754
+ * Name of the control panel to filter for, only Web Hosting plans from this
31755
+ * control panel will be returned.
31756
+ */
31757
+ controlPanels?: string[];
31617
31758
  };
31618
31759
  interface ListHostingsResponse {
31619
31760
  /** Number of Web Hosting plans returned. */
@@ -31764,11 +31905,32 @@ declare class API extends API$w {
31764
31905
  * @returns A Promise of ListOffersResponse
31765
31906
  */
31766
31907
  listOffers: (request: Readonly<ListOffersRequest>) => Promise<ListOffersResponse>;
31908
+ protected pageOfListControlPanels: (request?: Readonly<ListControlPanelsRequest$1>) => Promise<ListControlPanelsResponse>;
31909
+ /**
31910
+ * List all control panels type. List the control panels type: cpanel or
31911
+ * plesk.
31912
+ *
31913
+ * @param request - The request {@link ListControlPanelsRequest}
31914
+ * @returns A Promise of ListControlPanelsResponse
31915
+ */
31916
+ listControlPanels: (request?: Readonly<ListControlPanelsRequest$1>) => Promise<ListControlPanelsResponse> & {
31917
+ all: () => Promise<ControlPanel[]>;
31918
+ [Symbol.asyncIterator]: () => AsyncGenerator<ControlPanel[], void, void>;
31919
+ };
31767
31920
  }
31768
31921
 
31769
31922
  /** Lists transient statutes of the enum {@link HostingStatus}. */
31770
31923
  declare const HOSTING_TRANSIENT_STATUSES: HostingStatus[];
31771
31924
 
31925
+ declare const ListControlPanelsRequest: {
31926
+ page: {
31927
+ greaterThan: number;
31928
+ };
31929
+ pageSize: {
31930
+ greaterThan: number;
31931
+ lessThanOrEqual: number;
31932
+ };
31933
+ };
31772
31934
  declare const ListHostingsRequest: {
31773
31935
  page: {
31774
31936
  greaterThan: number;
@@ -31779,13 +31941,15 @@ declare const ListHostingsRequest: {
31779
31941
  };
31780
31942
  };
31781
31943
 
31944
+ declare const validationRules_gen_ListControlPanelsRequest: typeof ListControlPanelsRequest;
31782
31945
  declare const validationRules_gen_ListHostingsRequest: typeof ListHostingsRequest;
31783
31946
  declare namespace validationRules_gen {
31784
- export { validationRules_gen_ListHostingsRequest as ListHostingsRequest };
31947
+ export { validationRules_gen_ListControlPanelsRequest as ListControlPanelsRequest, validationRules_gen_ListHostingsRequest as ListHostingsRequest };
31785
31948
  }
31786
31949
 
31787
31950
  type index_gen_API = API;
31788
31951
  declare const index_gen_API: typeof API;
31952
+ type index_gen_ControlPanel = ControlPanel;
31789
31953
  type index_gen_CreateHostingRequest = CreateHostingRequest;
31790
31954
  type index_gen_DeleteHostingRequest = DeleteHostingRequest;
31791
31955
  type index_gen_DnsRecord = DnsRecord;
@@ -31801,6 +31965,7 @@ type index_gen_HostingCpanelUrls = HostingCpanelUrls;
31801
31965
  type index_gen_HostingDnsStatus = HostingDnsStatus;
31802
31966
  type index_gen_HostingOption = HostingOption;
31803
31967
  type index_gen_HostingStatus = HostingStatus;
31968
+ type index_gen_ListControlPanelsResponse = ListControlPanelsResponse;
31804
31969
  type index_gen_ListHostingsRequestOrderBy = ListHostingsRequestOrderBy;
31805
31970
  type index_gen_ListHostingsResponse = ListHostingsResponse;
31806
31971
  type index_gen_ListOffersRequest = ListOffersRequest;
@@ -31814,7 +31979,7 @@ type index_gen_OfferQuotaWarning = OfferQuotaWarning;
31814
31979
  type index_gen_RestoreHostingRequest = RestoreHostingRequest;
31815
31980
  type index_gen_UpdateHostingRequest = UpdateHostingRequest;
31816
31981
  declare namespace index_gen {
31817
- export { index_gen_API as API, type index_gen_CreateHostingRequest as CreateHostingRequest, type index_gen_DeleteHostingRequest as DeleteHostingRequest, type index_gen_DnsRecord as DnsRecord, type index_gen_DnsRecordStatus as DnsRecordStatus, type index_gen_DnsRecordType as DnsRecordType, type index_gen_DnsRecords as DnsRecords, type index_gen_DnsRecordsStatus as DnsRecordsStatus, type index_gen_GetDomainDnsRecordsRequest as GetDomainDnsRecordsRequest, type index_gen_GetHostingRequest as GetHostingRequest, index_gen_HOSTING_TRANSIENT_STATUSES as HOSTING_TRANSIENT_STATUSES, type index_gen_Hosting as Hosting, type index_gen_HostingCpanelUrls as HostingCpanelUrls, type index_gen_HostingDnsStatus as HostingDnsStatus, type index_gen_HostingOption as HostingOption, type index_gen_HostingStatus as HostingStatus, type ListHostingsRequest$1 as ListHostingsRequest, type index_gen_ListHostingsRequestOrderBy as ListHostingsRequestOrderBy, type index_gen_ListHostingsResponse as ListHostingsResponse, type index_gen_ListOffersRequest as ListOffersRequest, type index_gen_ListOffersRequestOrderBy as ListOffersRequestOrderBy, type index_gen_ListOffersResponse as ListOffersResponse, type index_gen_Nameserver as Nameserver, type index_gen_NameserverStatus as NameserverStatus, type index_gen_Offer as Offer, type index_gen_OfferProduct as OfferProduct, type index_gen_OfferQuotaWarning as OfferQuotaWarning, type index_gen_RestoreHostingRequest as RestoreHostingRequest, type index_gen_UpdateHostingRequest as UpdateHostingRequest, validationRules_gen as ValidationRules };
31982
+ export { index_gen_API as API, type index_gen_ControlPanel as ControlPanel, type index_gen_CreateHostingRequest as CreateHostingRequest, type index_gen_DeleteHostingRequest as DeleteHostingRequest, type index_gen_DnsRecord as DnsRecord, type index_gen_DnsRecordStatus as DnsRecordStatus, type index_gen_DnsRecordType as DnsRecordType, type index_gen_DnsRecords as DnsRecords, type index_gen_DnsRecordsStatus as DnsRecordsStatus, type index_gen_GetDomainDnsRecordsRequest as GetDomainDnsRecordsRequest, type index_gen_GetHostingRequest as GetHostingRequest, index_gen_HOSTING_TRANSIENT_STATUSES as HOSTING_TRANSIENT_STATUSES, type index_gen_Hosting as Hosting, type index_gen_HostingCpanelUrls as HostingCpanelUrls, type index_gen_HostingDnsStatus as HostingDnsStatus, type index_gen_HostingOption as HostingOption, type index_gen_HostingStatus as HostingStatus, type ListControlPanelsRequest$1 as ListControlPanelsRequest, type index_gen_ListControlPanelsResponse as ListControlPanelsResponse, type ListHostingsRequest$1 as ListHostingsRequest, type index_gen_ListHostingsRequestOrderBy as ListHostingsRequestOrderBy, type index_gen_ListHostingsResponse as ListHostingsResponse, type index_gen_ListOffersRequest as ListOffersRequest, type index_gen_ListOffersRequestOrderBy as ListOffersRequestOrderBy, type index_gen_ListOffersResponse as ListOffersResponse, type index_gen_Nameserver as Nameserver, type index_gen_NameserverStatus as NameserverStatus, type index_gen_Offer as Offer, type index_gen_OfferProduct as OfferProduct, type index_gen_OfferQuotaWarning as OfferQuotaWarning, type index_gen_RestoreHostingRequest as RestoreHostingRequest, type index_gen_UpdateHostingRequest as UpdateHostingRequest, validationRules_gen as ValidationRules };
31818
31983
  }
31819
31984
 
31820
31985
  declare namespace index {