@scaleway/sdk 2.5.0 → 2.6.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
@@ -3099,10 +3099,10 @@ interface VolumeSpecifications {
3099
3099
  interface Reference$1 {
3100
3100
  /** UUID of the reference. */
3101
3101
  id: string;
3102
- /** Type of resoruce to which the reference is associated (snapshot or volume). */
3102
+ /** Type of resource to which the reference is associated. */
3103
3103
  productResourceType: string;
3104
3104
  /**
3105
- * UUID of the volume or the snapshot it refers to (according to the
3105
+ * UUID of the product resource it refers to (according to the
3106
3106
  * product_resource_type).
3107
3107
  */
3108
3108
  productResourceId: string;
@@ -12291,7 +12291,7 @@ declare namespace index$l {
12291
12291
  export { index_gen$i as v1alpha1 };
12292
12292
  }
12293
12293
 
12294
- type Arch = 'x86_64' | 'arm' | 'arm64';
12294
+ type Arch = 'unknown_arch' | 'x86_64' | 'arm' | 'arm64';
12295
12295
  type AttachServerVolumeRequestVolumeType = 'unknown_volume_type' | 'l_ssd' | 'b_ssd' | 'sbs_volume';
12296
12296
  type BootType = 'local' | 'bootscript' | 'rescue';
12297
12297
  type ImageState = 'available' | 'creating' | 'error';
@@ -12301,10 +12301,10 @@ type ListServersRequestOrder = 'creation_date_desc' | 'creation_date_asc' | 'mod
12301
12301
  type PlacementGroupPolicyMode = 'optional' | 'enforced';
12302
12302
  type PlacementGroupPolicyType = 'max_availability' | 'low_latency';
12303
12303
  type PrivateNICState = 'available' | 'syncing' | 'syncing_error';
12304
- type SecurityGroupPolicy = 'accept' | 'drop';
12305
- type SecurityGroupRuleAction = 'accept' | 'drop';
12306
- type SecurityGroupRuleDirection = 'inbound' | 'outbound';
12307
- type SecurityGroupRuleProtocol = 'TCP' | 'UDP' | 'ICMP' | 'ANY';
12304
+ type SecurityGroupPolicy = 'unknown_policy' | 'accept' | 'drop';
12305
+ type SecurityGroupRuleAction = 'unknown_action' | 'accept' | 'drop';
12306
+ type SecurityGroupRuleDirection = 'unknown_direction' | 'inbound' | 'outbound';
12307
+ type SecurityGroupRuleProtocol = 'unknown_protocol' | 'TCP' | 'UDP' | 'ICMP' | 'ANY';
12308
12308
  type SecurityGroupState = 'available' | 'syncing' | 'syncing_error';
12309
12309
  type ServerAction = 'poweron' | 'backup' | 'stop_in_place' | 'poweroff' | 'terminate' | 'reboot' | 'enable_routed_ip';
12310
12310
  type ServerIpIpFamily = 'inet' | 'inet6';
@@ -12879,6 +12879,10 @@ interface SetSecurityGroupRulesRequestRule {
12879
12879
  /** Zone of the rule. This field is ignored. */
12880
12880
  zone?: Zone;
12881
12881
  }
12882
+ interface VolumeImageUpdateTemplate {
12883
+ /** UUID of the snapshot. */
12884
+ id: string;
12885
+ }
12882
12886
  interface SecurityGroupTemplate {
12883
12887
  id: string;
12884
12888
  name: string;
@@ -12909,13 +12913,9 @@ type ApplyBlockMigrationRequest = {
12909
12913
  type AttachServerVolumeRequest = {
12910
12914
  /** Zone to target. If none is passed will use default zone from the config. */
12911
12915
  zone?: Zone;
12912
- /** UUID of the Instance. */
12913
12916
  serverId: string;
12914
- /** UUID of the Volume to attach. */
12915
12917
  volumeId: string;
12916
- /** Type of the volume to attach. */
12917
12918
  volumeType?: AttachServerVolumeRequestVolumeType;
12918
- /** Force the Instance to boot on this volume. */
12919
12919
  boot?: boolean;
12920
12920
  };
12921
12921
  interface AttachServerVolumeResponse {
@@ -13295,9 +13295,7 @@ type DeleteVolumeRequest$1 = {
13295
13295
  type DetachServerVolumeRequest = {
13296
13296
  /** Zone to target. If none is passed will use default zone from the config. */
13297
13297
  zone?: Zone;
13298
- /** UUID of the Instance. */
13299
13298
  serverId: string;
13300
- /** UUID of the Volume to detach. */
13301
13299
  volumeId: string;
13302
13300
  };
13303
13301
  interface DetachServerVolumeResponse {
@@ -13875,6 +13873,28 @@ type SetSecurityGroupRulesRequest = {
13875
13873
  interface SetSecurityGroupRulesResponse {
13876
13874
  rules: SecurityGroupRule[];
13877
13875
  }
13876
+ type UpdateImageRequest$1 = {
13877
+ /** Zone to target. If none is passed will use default zone from the config. */
13878
+ zone?: Zone;
13879
+ /** UUID of the image. */
13880
+ imageId: string;
13881
+ /** Name of the image. */
13882
+ name?: string;
13883
+ /** Architecture of the image. */
13884
+ arch?: Arch;
13885
+ /**
13886
+ * Additional snapshots of the image, with extra_volumeKey being the position
13887
+ * of the snapshot in the image.
13888
+ */
13889
+ extraVolumes?: Record<string, VolumeImageUpdateTemplate>;
13890
+ /** Tags of the image. */
13891
+ tags?: string[];
13892
+ /** True to set the image as public. */
13893
+ public?: boolean;
13894
+ };
13895
+ interface UpdateImageResponse {
13896
+ image?: Image$3;
13897
+ }
13878
13898
  type UpdateIpRequest$1 = {
13879
13899
  /** Zone to target. If none is passed will use default zone from the config. */
13880
13900
  zone?: Zone;
@@ -13930,6 +13950,67 @@ type UpdatePrivateNICRequest = {
13930
13950
  /** Tags used to select private NIC/s. */
13931
13951
  tags?: string[];
13932
13952
  };
13953
+ type UpdateSecurityGroupRequest = {
13954
+ /** Zone to target. If none is passed will use default zone from the config. */
13955
+ zone?: Zone;
13956
+ /** UUID of the security group. */
13957
+ securityGroupId: string;
13958
+ /** Name of the security group. */
13959
+ name?: string;
13960
+ /** Description of the security group. */
13961
+ description?: string;
13962
+ /**
13963
+ * True to block SMTP on IPv4 and IPv6. This feature is read only, please open
13964
+ * a support ticket if you need to make it configurable.
13965
+ */
13966
+ enableDefaultSecurity?: boolean;
13967
+ /** Default inbound policy. */
13968
+ inboundDefaultPolicy?: SecurityGroupPolicy;
13969
+ /** Tags of the security group. */
13970
+ tags?: string[];
13971
+ /** @deprecated Please use project_default instead. */
13972
+ organizationDefault?: boolean;
13973
+ /** True use this security group for future Instances created in this project. */
13974
+ projectDefault?: boolean;
13975
+ /** Default outbound policy. */
13976
+ outboundDefaultPolicy?: SecurityGroupPolicy;
13977
+ /** True to set the security group as stateful. */
13978
+ stateful?: boolean;
13979
+ };
13980
+ interface UpdateSecurityGroupResponse {
13981
+ securityGroup?: SecurityGroup;
13982
+ }
13983
+ type UpdateSecurityGroupRuleRequest = {
13984
+ /** Zone to target. If none is passed will use default zone from the config. */
13985
+ zone?: Zone;
13986
+ /** UUID of the security group. */
13987
+ securityGroupId: string;
13988
+ /** UUID of the rule. */
13989
+ securityGroupRuleId: string;
13990
+ /** Protocol family this rule applies to. */
13991
+ protocol?: SecurityGroupRuleProtocol;
13992
+ /** Direction the rule applies to. */
13993
+ direction?: SecurityGroupRuleDirection;
13994
+ /** Action to apply when the rule matches a packet. */
13995
+ action?: SecurityGroupRuleAction;
13996
+ /** Range of IP addresses these rules apply to. */
13997
+ ipRange?: string;
13998
+ /**
13999
+ * Beginning of the range of ports this rule applies to (inclusive). If 0 is
14000
+ * provided, unset the parameter.
14001
+ */
14002
+ destPortFrom?: number;
14003
+ /**
14004
+ * End of the range of ports this rule applies to (inclusive). If 0 is
14005
+ * provided, unset the parameter.
14006
+ */
14007
+ destPortTo?: number;
14008
+ /** Position of this rule in the security group rules list. */
14009
+ position?: number;
14010
+ };
14011
+ interface UpdateSecurityGroupRuleResponse {
14012
+ rule?: SecurityGroupRule;
14013
+ }
13933
14014
  type UpdateServerRequest = {
13934
14015
  /** Zone to target. If none is passed will use default zone from the config. */
13935
14016
  zone?: Zone;
@@ -13973,6 +14054,19 @@ type UpdateServerRequest = {
13973
14054
  interface UpdateServerResponse {
13974
14055
  server?: Server;
13975
14056
  }
14057
+ type UpdateSnapshotRequest$1 = {
14058
+ /** Zone to target. If none is passed will use default zone from the config. */
14059
+ zone?: Zone;
14060
+ /** UUID of the snapshot. */
14061
+ snapshotId: string;
14062
+ /** Name of the snapshot. */
14063
+ name?: string;
14064
+ /** Tags of the snapshot. */
14065
+ tags?: string[];
14066
+ };
14067
+ interface UpdateSnapshotResponse {
14068
+ snapshot?: Snapshot$1;
14069
+ }
13976
14070
  type UpdateVolumeRequest$1 = {
13977
14071
  /** Zone to target. If none is passed will use default zone from the config. */
13978
14072
  zone?: Zone;
@@ -13995,7 +14089,7 @@ interface SetImageResponse {
13995
14089
  type SetSecurityGroupRequest = {
13996
14090
  /** Zone to target. If none is passed will use default zone from the config. */
13997
14091
  zone?: Zone;
13998
- /** ID of the security group (will be ignored). */
14092
+ /** UUID of the security group. */
13999
14093
  id: string;
14000
14094
  /** Name of the security group. */
14001
14095
  name: string;
@@ -14238,19 +14332,7 @@ declare class API$i extends API$v {
14238
14332
  * @param request - The request {@link DeleteServerUserDataRequest}
14239
14333
  */
14240
14334
  deleteServerUserData: (request: Readonly<DeleteServerUserDataRequest>) => Promise<void>;
14241
- /**
14242
- * Attach a volume to a server.
14243
- *
14244
- * @param request - The request {@link AttachServerVolumeRequest}
14245
- * @returns A Promise of AttachServerVolumeResponse
14246
- */
14247
14335
  attachServerVolume: (request: Readonly<AttachServerVolumeRequest>) => Promise<AttachServerVolumeResponse>;
14248
- /**
14249
- * Detach a volume from a server.
14250
- *
14251
- * @param request - The request {@link DetachServerVolumeRequest}
14252
- * @returns A Promise of DetachServerVolumeResponse
14253
- */
14254
14336
  detachServerVolume: (request: Readonly<DetachServerVolumeRequest>) => Promise<DetachServerVolumeResponse>;
14255
14337
  protected pageOfListImages: (request?: Readonly<ListImagesRequest$3>) => Promise<ListImagesResponse$3>;
14256
14338
  /**
@@ -14279,6 +14361,13 @@ declare class API$i extends API$v {
14279
14361
  */
14280
14362
  createImage: (request: Readonly<CreateImageRequest>) => Promise<CreateImageResponse>;
14281
14363
  protected _setImage: (request: Readonly<SetImageRequest>) => Promise<SetImageResponse>;
14364
+ /**
14365
+ * Update image. Update the properties of an image.
14366
+ *
14367
+ * @param request - The request {@link UpdateImageRequest}
14368
+ * @returns A Promise of UpdateImageResponse
14369
+ */
14370
+ updateImage: (request: Readonly<UpdateImageRequest$1>) => Promise<UpdateImageResponse>;
14282
14371
  /**
14283
14372
  * Delete an Instance image. Delete the image with the specified ID.
14284
14373
  *
@@ -14314,6 +14403,13 @@ declare class API$i extends API$v {
14314
14403
  */
14315
14404
  getSnapshot: (request: Readonly<GetSnapshotRequest$1>) => Promise<GetSnapshotResponse>;
14316
14405
  protected _setSnapshot: (request: Readonly<SetSnapshotRequest>) => Promise<SetSnapshotResponse>;
14406
+ /**
14407
+ * Update a snapshot. Update the properties of a snapshot.
14408
+ *
14409
+ * @param request - The request {@link UpdateSnapshotRequest}
14410
+ * @returns A Promise of UpdateSnapshotResponse
14411
+ */
14412
+ updateSnapshot: (request: Readonly<UpdateSnapshotRequest$1>) => Promise<UpdateSnapshotResponse>;
14317
14413
  /**
14318
14414
  * Delete a snapshot. Delete the snapshot with the specified ID.
14319
14415
  *
@@ -14404,6 +14500,13 @@ declare class API$i extends API$v {
14404
14500
  */
14405
14501
  deleteSecurityGroup: (request: Readonly<DeleteSecurityGroupRequest>) => Promise<void>;
14406
14502
  protected _setSecurityGroup: (request: Readonly<SetSecurityGroupRequest>) => Promise<SetSecurityGroupResponse>;
14503
+ /**
14504
+ * Update a security group. Update the properties of security group.
14505
+ *
14506
+ * @param request - The request {@link UpdateSecurityGroupRequest}
14507
+ * @returns A Promise of UpdateSecurityGroupResponse
14508
+ */
14509
+ updateSecurityGroup: (request: Readonly<UpdateSecurityGroupRequest>) => Promise<UpdateSecurityGroupResponse>;
14407
14510
  /**
14408
14511
  * Get default rules. Lists the default rules applied to all the security
14409
14512
  * groups.
@@ -14454,6 +14557,14 @@ declare class API$i extends API$v {
14454
14557
  */
14455
14558
  getSecurityGroupRule: (request: Readonly<GetSecurityGroupRuleRequest>) => Promise<GetSecurityGroupRuleResponse>;
14456
14559
  protected _setSecurityGroupRule: (request: Readonly<SetSecurityGroupRuleRequest>) => Promise<SetSecurityGroupRuleResponse>;
14560
+ /**
14561
+ * Update security group rule. Update the properties of a rule from a
14562
+ * specified security group.
14563
+ *
14564
+ * @param request - The request {@link UpdateSecurityGroupRuleRequest}
14565
+ * @returns A Promise of UpdateSecurityGroupRuleResponse
14566
+ */
14567
+ updateSecurityGroupRule: (request: Readonly<UpdateSecurityGroupRuleRequest>) => Promise<UpdateSecurityGroupRuleResponse>;
14457
14568
  protected pageOfListPlacementGroups: (request?: Readonly<ListPlacementGroupsRequest>) => Promise<ListPlacementGroupsResponse>;
14458
14569
  /**
14459
14570
  * List placement groups. List all placement groups in a specified
@@ -14650,62 +14761,6 @@ declare class API$i extends API$v {
14650
14761
  applyBlockMigration: (request: Readonly<ApplyBlockMigrationRequest>) => Promise<void>;
14651
14762
  }
14652
14763
 
14653
- type UpdateSnapshotRequest$1 = {
14654
- /** Zone to target. If none is passed will use default zone from the config */
14655
- zone?: Zone;
14656
- /** UUID of the snapshot you want to update */
14657
- snapshotId: string;
14658
- /** Name of the snapshot */
14659
- name?: string;
14660
- };
14661
- interface UpdateSnapshotResponse {
14662
- snapshot?: Snapshot$1;
14663
- }
14664
- /** UpdateSecurityGroupRequest contains the parameters to update a security group */
14665
- type UpdateSecurityGroupRequest = {
14666
- /** Zone to target. If none is passed will use default zone from the config */
14667
- zone?: Zone;
14668
- securityGroupId: string;
14669
- name?: string;
14670
- description?: string;
14671
- inboundDefaultPolicy?: SecurityGroupPolicy;
14672
- outboundDefaultPolicy?: SecurityGroupPolicy;
14673
- stateful?: boolean;
14674
- organizationDefault?: boolean;
14675
- projectDefault?: boolean;
14676
- enableDefaultSecurity?: boolean;
14677
- };
14678
- interface UpdateSecurityGroupResponse {
14679
- securityGroup?: SecurityGroup;
14680
- }
14681
- /**
14682
- * UpdateSecurityGroupRuleRequest contains the parameters to update a security
14683
- * group rule
14684
- */
14685
- type UpdateSecurityGroupRuleRequest = {
14686
- /** Zone to target. If none is passed will use default zone from the config */
14687
- zone?: Zone;
14688
- securityGroupId: string;
14689
- securityGroupRuleId: string;
14690
- protocol?: SecurityGroupRuleProtocol;
14691
- direction?: SecurityGroupRuleDirection;
14692
- action?: SecurityGroupRuleAction;
14693
- ipRange?: string;
14694
- position?: number;
14695
- /**
14696
- * If set to 0, DestPortFrom will be removed. See
14697
- * SecurityGroupRule.DestPortFrom for more information
14698
- */
14699
- destPortFrom?: number;
14700
- /**
14701
- * If set to 0, DestPortTo will be removed. See SecurityGroupRule.DestPortTo
14702
- * for more information
14703
- */
14704
- destPortTo?: number;
14705
- };
14706
- interface UpdateSecurityGroupRuleResponse {
14707
- rule?: SecurityGroupRule;
14708
- }
14709
14764
  type AttachVolumeRequest = {
14710
14765
  zone?: Zone;
14711
14766
  serverId: string;
@@ -14723,16 +14778,6 @@ type DetachVolumeRequest = {
14723
14778
  interface DetachVolumeResponse {
14724
14779
  server?: Server;
14725
14780
  }
14726
- type UpdateImageRequest$1 = {
14727
- /** Zone to target. If none is passed will use default zone from the config */
14728
- zone?: Zone;
14729
- imageId: string;
14730
- name?: string;
14731
- tags?: string[];
14732
- };
14733
- interface UpdateImageResponse {
14734
- image?: Image$3;
14735
- }
14736
14781
  type GetServerUserDataRequest = {
14737
14782
  /** Zone to target. If none is passed will use default zone from the config */
14738
14783
  zone?: Zone;
@@ -14791,27 +14836,6 @@ declare class InstanceV1UtilsAPI extends API$i {
14791
14836
  * @returns A Promise of Volume
14792
14837
  */
14793
14838
  waitForVolume: (request: Readonly<GetVolumeRequest$1>, options?: Readonly<WaitForOptions<Volume$2>>) => Promise<Volume$2>;
14794
- /**
14795
- * Updates a snapshot.
14796
- *
14797
- * @param request - The request {@link UpdateSnapshotRequest}
14798
- * @returns A Promise of UpdateSnapshotResponse
14799
- */
14800
- updateSnapshot: (request: Readonly<UpdateSnapshotRequest$1>) => Promise<UpdateSnapshotResponse>;
14801
- /**
14802
- * Updates a security group.
14803
- *
14804
- * @param request - The request {@link UpdateSecurityGroupRequest}
14805
- * @returns A Promise of UpdateSecurityGroupResponse
14806
- */
14807
- updateSecurityGroup: (request: UpdateSecurityGroupRequest) => Promise<UpdateSecurityGroupResponse>;
14808
- /**
14809
- * Updates a security group rule.
14810
- *
14811
- * @param request - The request {@link UpdateSecurityGroupRuleRequest}
14812
- * @returns A Promise of UpdateSecurityGroupRuleResponse
14813
- */
14814
- updateSecurityGroupRule: (request: UpdateSecurityGroupRuleRequest) => Promise<UpdateSecurityGroupRuleResponse>;
14815
14839
  /**
14816
14840
  * Updates a server.
14817
14841
  *
@@ -14848,13 +14872,6 @@ declare class InstanceV1UtilsAPI extends API$i {
14848
14872
  * @returns A Promise of DetachVolumeResponse
14849
14873
  */
14850
14874
  detachVolume: (request: DetachVolumeRequest) => Promise<DetachVolumeResponse>;
14851
- /**
14852
- * Updates an image.
14853
- *
14854
- * @param request - The request {@link UpdateImageRequest}
14855
- * @returns A Promise of UpdateImageResponse
14856
- */
14857
- updateImage: (request: Readonly<UpdateImageRequest$1>) => Promise<UpdateImageResponse>;
14858
14875
  /**
14859
14876
  * Get the content of a user data on a server for the given key.
14860
14877
  *
@@ -15053,6 +15070,7 @@ type index$k_UpdateSnapshotResponse = UpdateSnapshotResponse;
15053
15070
  type index$k_UpdateVolumeResponse = UpdateVolumeResponse;
15054
15071
  declare const index$k_VOLUME_SERVER_TRANSIENT_STATUSES: typeof VOLUME_SERVER_TRANSIENT_STATUSES;
15055
15072
  declare const index$k_VOLUME_TRANSIENT_STATUSES: typeof VOLUME_TRANSIENT_STATUSES;
15073
+ type index$k_VolumeImageUpdateTemplate = VolumeImageUpdateTemplate;
15056
15074
  type index$k_VolumeServer = VolumeServer;
15057
15075
  type index$k_VolumeServerState = VolumeServerState;
15058
15076
  type index$k_VolumeServerTemplate = VolumeServerTemplate;
@@ -15064,7 +15082,7 @@ type index$k_VolumeTypeCapabilities = VolumeTypeCapabilities;
15064
15082
  type index$k_VolumeTypeConstraints = VolumeTypeConstraints;
15065
15083
  type index$k_VolumeVolumeType = VolumeVolumeType;
15066
15084
  declare namespace index$k {
15067
- 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 };
15085
+ 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_VolumeImageUpdateTemplate as VolumeImageUpdateTemplate, 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 };
15068
15086
  }
15069
15087
 
15070
15088
  declare namespace index$j {
@@ -17300,13 +17318,6 @@ type GetJobRunRequest = {
17300
17318
  region?: Region;
17301
17319
  jobRunId: string;
17302
17320
  };
17303
- type GetServiceInfoRequest = {
17304
- /**
17305
- * Region to target. If none is passed will use default region from the
17306
- * config.
17307
- */
17308
- region?: Region;
17309
- };
17310
17321
  type ListJobDefinitionsRequest$1 = {
17311
17322
  /**
17312
17323
  * Region to target. If none is passed will use default region from the
@@ -17375,7 +17386,6 @@ type UpdateJobDefinitionRequest$1 = {
17375
17386
  declare class API$e extends API$v {
17376
17387
  /** Lists the available regions of the API. */
17377
17388
  static readonly LOCALITIES: Region[];
17378
- getServiceInfo: (request?: Readonly<GetServiceInfoRequest>) => Promise<ServiceInfo>;
17379
17389
  createJobDefinition: (request: Readonly<CreateJobDefinitionRequest$1>) => Promise<JobDefinition>;
17380
17390
  getJobDefinition: (request: Readonly<GetJobDefinitionRequest>) => Promise<JobDefinition>;
17381
17391
  protected pageOfListJobDefinitions: (request?: Readonly<ListJobDefinitionsRequest$1>) => Promise<ListJobDefinitionsResponse>;
@@ -17456,7 +17466,6 @@ declare namespace validationRules_gen$4 {
17456
17466
  type index_gen$e_DeleteJobDefinitionRequest = DeleteJobDefinitionRequest;
17457
17467
  type index_gen$e_GetJobDefinitionRequest = GetJobDefinitionRequest;
17458
17468
  type index_gen$e_GetJobRunRequest = GetJobRunRequest;
17459
- type index_gen$e_GetServiceInfoRequest = GetServiceInfoRequest;
17460
17469
  declare const index_gen$e_JOB_RUN_TRANSIENT_STATUSES: typeof JOB_RUN_TRANSIENT_STATUSES;
17461
17470
  type index_gen$e_JobDefinition = JobDefinition;
17462
17471
  type index_gen$e_JobRun = JobRun;
@@ -17468,7 +17477,7 @@ type index_gen$e_ListJobRunsResponse = ListJobRunsResponse;
17468
17477
  type index_gen$e_StartJobDefinitionRequest = StartJobDefinitionRequest;
17469
17478
  type index_gen$e_StopJobRunRequest = StopJobRunRequest;
17470
17479
  declare namespace index_gen$e {
17471
- export { API$e as API, type CreateJobDefinitionRequest$1 as CreateJobDefinitionRequest, type index_gen$e_DeleteJobDefinitionRequest as DeleteJobDefinitionRequest, type index_gen$e_GetJobDefinitionRequest as GetJobDefinitionRequest, type index_gen$e_GetJobRunRequest as GetJobRunRequest, type index_gen$e_GetServiceInfoRequest as GetServiceInfoRequest, index_gen$e_JOB_RUN_TRANSIENT_STATUSES as JOB_RUN_TRANSIENT_STATUSES, type index_gen$e_JobDefinition as JobDefinition, type index_gen$e_JobRun as JobRun, type index_gen$e_JobRunState as JobRunState, type ListJobDefinitionsRequest$1 as ListJobDefinitionsRequest, type index_gen$e_ListJobDefinitionsRequestOrderBy as ListJobDefinitionsRequestOrderBy, type index_gen$e_ListJobDefinitionsResponse as ListJobDefinitionsResponse, type ListJobRunsRequest$1 as ListJobRunsRequest, type index_gen$e_ListJobRunsRequestOrderBy as ListJobRunsRequestOrderBy, type index_gen$e_ListJobRunsResponse as ListJobRunsResponse, type index_gen$e_StartJobDefinitionRequest as StartJobDefinitionRequest, type index_gen$e_StopJobRunRequest as StopJobRunRequest, type UpdateJobDefinitionRequest$1 as UpdateJobDefinitionRequest, validationRules_gen$4 as ValidationRules };
17480
+ export { API$e as API, type CreateJobDefinitionRequest$1 as CreateJobDefinitionRequest, type index_gen$e_DeleteJobDefinitionRequest as DeleteJobDefinitionRequest, type index_gen$e_GetJobDefinitionRequest as GetJobDefinitionRequest, type index_gen$e_GetJobRunRequest as GetJobRunRequest, index_gen$e_JOB_RUN_TRANSIENT_STATUSES as JOB_RUN_TRANSIENT_STATUSES, type index_gen$e_JobDefinition as JobDefinition, type index_gen$e_JobRun as JobRun, type index_gen$e_JobRunState as JobRunState, type ListJobDefinitionsRequest$1 as ListJobDefinitionsRequest, type index_gen$e_ListJobDefinitionsRequestOrderBy as ListJobDefinitionsRequestOrderBy, type index_gen$e_ListJobDefinitionsResponse as ListJobDefinitionsResponse, type ListJobRunsRequest$1 as ListJobRunsRequest, type index_gen$e_ListJobRunsRequestOrderBy as ListJobRunsRequestOrderBy, type index_gen$e_ListJobRunsResponse as ListJobRunsResponse, type index_gen$e_StartJobDefinitionRequest as StartJobDefinitionRequest, type index_gen$e_StopJobRunRequest as StopJobRunRequest, type UpdateJobDefinitionRequest$1 as UpdateJobDefinitionRequest, validationRules_gen$4 as ValidationRules };
17472
17481
  }
17473
17482
 
17474
17483
  declare namespace index$f {
@@ -18243,6 +18252,7 @@ interface ExternalNode {
18243
18252
  containerdVersion: string;
18244
18253
  runcVersion: string;
18245
18254
  cniPluginsVersion: string;
18255
+ nodeLabels: Record<string, string>;
18246
18256
  }
18247
18257
  type GetClusterKubeConfigRequest$1 = {
18248
18258
  /**
@@ -1,4 +1,4 @@
1
- const version = 'v2.4.2';
1
+ const version = 'v2.5.0';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
@@ -54,7 +54,6 @@ class ScalewayError extends Error {
54
54
  this.rawMessage = typeof body === 'object' && typeof body.message === 'string' ? body.message : undefined;
55
55
  Object.setPrototypeOf(this, new.target.prototype); // restore prototype chain
56
56
  }
57
-
58
57
  static fromJSON(status, obj) {
59
58
  return new ScalewayError(status, obj);
60
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -35,5 +35,5 @@
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "990ef36b2c2ec729089434af154e9ebdb9808c91"
38
+ "gitHead": "1724357e4968285f9d07165f76fbbac8d5941731"
39
39
  }
@@ -1,63 +0,0 @@
1
- const marshalVolumeSummary = (request, defaults) => ({
2
- id: request.id,
3
- name: request.name,
4
- size: request.size,
5
- volume_type: request.volumeType
6
- });
7
- const marshalServerSummary = (request, defaults) => ({
8
- id: request.id,
9
- name: request.name
10
- });
11
- const marshalBootscript = (request, defaults) => ({
12
- arch: request.arch,
13
- bootcmdargs: request.bootcmdargs,
14
- default: request.default,
15
- dtb: request.dtb,
16
- id: request.id,
17
- initrd: request.initrd,
18
- kernel: request.kernel,
19
- organization: request.organization,
20
- project: request.project,
21
- public: request.public,
22
- title: request.title,
23
- zone: request.zone
24
- });
25
- const marshalVolume = (request, defaults) => ({
26
- creation_date: request.creationDate,
27
- export_uri: request.exportUri,
28
- id: request.id,
29
- modification_date: request.modificationDate,
30
- name: request.name,
31
- organization: request.organization,
32
- project: request.project,
33
- server: request.server ? marshalServerSummary(request.server) : undefined,
34
- size: request.size,
35
- state: request.state,
36
- tags: request.tags,
37
- volume_type: request.volumeType,
38
- zone: request.zone
39
- });
40
- const marshalSetImageRequestWithID = (request, defaults) => ({
41
- arch: request.arch,
42
- creation_date: request.creationDate,
43
- default_bootscript: request.defaultBootscript ? marshalBootscript(request.defaultBootscript) : undefined,
44
- extra_volumes: request.extraVolumes ? Object.entries(request.extraVolumes).reduce((acc, _ref) => {
45
- let [key, value] = _ref;
46
- return {
47
- ...acc,
48
- [key]: marshalVolume(value)
49
- };
50
- }, {}) : undefined,
51
- from_server: request.fromServer,
52
- modification_date: request.modificationDate,
53
- id: request.id,
54
- name: request.name,
55
- organization: request.organization,
56
- project: request.project,
57
- public: request.public,
58
- root_volume: request.rootVolume ? marshalVolumeSummary(request.rootVolume) : undefined,
59
- state: request.state,
60
- tags: request.tags
61
- });
62
-
63
- export { marshalSetImageRequestWithID };