@scaleway/sdk 1.4.0 → 1.5.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/api/account/index.js +0 -2
- package/dist/api/baremetal/index.js +2 -2
- package/dist/api/billing/index.js +2 -0
- package/dist/api/billing/v2alpha1/api.gen.js +52 -0
- package/dist/api/billing/v2alpha1/index.gen.js +3 -0
- package/dist/api/billing/v2alpha1/marshalling.gen.js +52 -0
- package/dist/api/cockpit/v1beta1/api.gen.js +11 -6
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +2 -1
- package/dist/api/flexibleip/v1alpha1/api.gen.js +7 -0
- package/dist/api/function/v1beta1/marshalling.gen.js +3 -0
- package/dist/api/iam/v1alpha1/api.gen.js +7 -0
- package/dist/api/instance/index.js +2 -2
- package/dist/api/k8s/index.js +2 -2
- package/dist/api/k8s/v1/api.gen.js +13 -1
- package/dist/api/k8s/v1/marshalling.gen.js +6 -1
- package/dist/api/lb/index.js +2 -2
- package/dist/api/rdb/v1/api.gen.js +10 -10
- package/dist/api/redis/v1/api.gen.js +88 -26
- package/dist/api/secret/v1alpha1/api.gen.js +43 -19
- package/dist/api/tem/v1alpha1/api.gen.js +25 -13
- package/dist/api/webhosting/v1alpha1/api.gen.js +3 -2
- package/dist/helpers/is-response.js +10 -0
- package/dist/index.cjs +350 -246
- package/dist/index.d.ts +775 -602
- package/dist/index.js +44 -42
- package/dist/scw/constants.js +1 -1
- package/dist/scw/fetch/response-parser.js +2 -1
- package/package.json +2 -2
- package/dist/api/account/v2alpha1/api.gen.js +0 -85
- package/dist/api/account/v2alpha1/index.js +0 -1
- package/dist/api/account/v2alpha1/marshalling.gen.js +0 -57
package/dist/index.d.ts
CHANGED
|
@@ -748,7 +748,7 @@ declare namespace index$t {
|
|
|
748
748
|
*
|
|
749
749
|
* @internal
|
|
750
750
|
*/
|
|
751
|
-
declare abstract class API$
|
|
751
|
+
declare abstract class API$q {
|
|
752
752
|
protected client: Client;
|
|
753
753
|
constructor(client: Client);
|
|
754
754
|
}
|
|
@@ -902,131 +902,6 @@ declare const enrichForPagination: <K extends string, T extends PaginatedContent
|
|
|
902
902
|
[Symbol.asyncIterator]: () => AsyncGenerator<T[K], void, void>;
|
|
903
903
|
};
|
|
904
904
|
|
|
905
|
-
type ListSSHKeysRequestOrderBy$1 = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'name_asc' | 'name_desc';
|
|
906
|
-
/** List ssh keys response */
|
|
907
|
-
interface ListSSHKeysResponse$1 {
|
|
908
|
-
sshKeys: SSHKey$1[];
|
|
909
|
-
totalCount: number;
|
|
910
|
-
}
|
|
911
|
-
/** Ssh key */
|
|
912
|
-
interface SSHKey$1 {
|
|
913
|
-
id: string;
|
|
914
|
-
name: string;
|
|
915
|
-
publicKey: string;
|
|
916
|
-
fingerprint: string;
|
|
917
|
-
createdAt?: Date;
|
|
918
|
-
updatedAt?: Date;
|
|
919
|
-
creationInfo?: SSHKeyCreationInfo;
|
|
920
|
-
organizationId: string;
|
|
921
|
-
projectId: string;
|
|
922
|
-
}
|
|
923
|
-
interface SSHKeyCreationInfo {
|
|
924
|
-
address: string;
|
|
925
|
-
userAgent: string;
|
|
926
|
-
countryCode: string;
|
|
927
|
-
}
|
|
928
|
-
type ListSSHKeysRequest$2 = {
|
|
929
|
-
orderBy?: ListSSHKeysRequestOrderBy$1;
|
|
930
|
-
page?: number;
|
|
931
|
-
pageSize?: number;
|
|
932
|
-
name?: string;
|
|
933
|
-
organizationId?: string;
|
|
934
|
-
projectId?: string;
|
|
935
|
-
};
|
|
936
|
-
type CreateSSHKeyRequest$2 = {
|
|
937
|
-
/** The name of the SSH key */
|
|
938
|
-
name: string;
|
|
939
|
-
/**
|
|
940
|
-
* SSH public key. Currently ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa
|
|
941
|
-
* keys with NIST curves are supported
|
|
942
|
-
*/
|
|
943
|
-
publicKey: string;
|
|
944
|
-
/**
|
|
945
|
-
* @deprecated Use project_id field instead.
|
|
946
|
-
*
|
|
947
|
-
* One-of ('projectIdentifier'): at most one of 'organizationId', 'projectId'
|
|
948
|
-
* could be set.
|
|
949
|
-
*/
|
|
950
|
-
organizationId?: string;
|
|
951
|
-
/**
|
|
952
|
-
* Project owning the resource.
|
|
953
|
-
*
|
|
954
|
-
* One-of ('projectIdentifier'): at most one of 'organizationId', 'projectId'
|
|
955
|
-
* could be set.
|
|
956
|
-
*/
|
|
957
|
-
projectId?: string;
|
|
958
|
-
};
|
|
959
|
-
type GetSSHKeyRequest$1 = {
|
|
960
|
-
/** The ID of the SSH key */
|
|
961
|
-
sshKeyId: string;
|
|
962
|
-
};
|
|
963
|
-
type UpdateSSHKeyRequest$2 = {
|
|
964
|
-
sshKeyId: string;
|
|
965
|
-
/** Name of the SSH key */
|
|
966
|
-
name?: string;
|
|
967
|
-
};
|
|
968
|
-
type DeleteSSHKeyRequest$1 = {
|
|
969
|
-
sshKeyId: string;
|
|
970
|
-
};
|
|
971
|
-
|
|
972
|
-
/** Account API. */
|
|
973
|
-
declare class AccountV2Alpha1GenAPI extends API$p {
|
|
974
|
-
protected pageOfListSSHKeys: (request?: Readonly<ListSSHKeysRequest$2>) => Promise<ListSSHKeysResponse$1>;
|
|
975
|
-
/**
|
|
976
|
-
* List all SSH keys of your project
|
|
977
|
-
*
|
|
978
|
-
* @param request - The request {@link ListSSHKeysRequest}
|
|
979
|
-
* @returns A Promise of ListSSHKeysResponse
|
|
980
|
-
*/
|
|
981
|
-
listSSHKeys: (request?: Readonly<ListSSHKeysRequest$2>) => Promise<ListSSHKeysResponse$1> & {
|
|
982
|
-
all: () => Promise<SSHKey$1[]>;
|
|
983
|
-
[Symbol.asyncIterator]: () => AsyncGenerator<SSHKey$1[], void, void>;
|
|
984
|
-
};
|
|
985
|
-
/**
|
|
986
|
-
* Add an SSH key to your project
|
|
987
|
-
*
|
|
988
|
-
* @param request - The request {@link CreateSSHKeyRequest}
|
|
989
|
-
* @returns A Promise of SSHKey
|
|
990
|
-
*/
|
|
991
|
-
createSSHKey: (request: Readonly<CreateSSHKeyRequest$2>) => Promise<SSHKey$1>;
|
|
992
|
-
/**
|
|
993
|
-
* Get an SSH key from your project
|
|
994
|
-
*
|
|
995
|
-
* @param request - The request {@link GetSSHKeyRequest}
|
|
996
|
-
* @returns A Promise of SSHKey
|
|
997
|
-
*/
|
|
998
|
-
getSSHKey: (request: Readonly<GetSSHKeyRequest$1>) => Promise<SSHKey$1>;
|
|
999
|
-
/**
|
|
1000
|
-
* Update an SSH key on your project
|
|
1001
|
-
*
|
|
1002
|
-
* @param request - The request {@link UpdateSSHKeyRequest}
|
|
1003
|
-
* @returns A Promise of SSHKey
|
|
1004
|
-
*/
|
|
1005
|
-
updateSSHKey: (request: Readonly<UpdateSSHKeyRequest$2>) => Promise<SSHKey$1>;
|
|
1006
|
-
/**
|
|
1007
|
-
* Remove an SSH key from your project
|
|
1008
|
-
*
|
|
1009
|
-
* @param request - The request {@link DeleteSSHKeyRequest}
|
|
1010
|
-
*/
|
|
1011
|
-
deleteSSHKey: (request: Readonly<DeleteSSHKeyRequest$1>) => Promise<void>;
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
type index$s_SSHKeyCreationInfo = SSHKeyCreationInfo;
|
|
1015
|
-
declare namespace index$s {
|
|
1016
|
-
export {
|
|
1017
|
-
AccountV2Alpha1GenAPI as API,
|
|
1018
|
-
CreateSSHKeyRequest$2 as CreateSSHKeyRequest,
|
|
1019
|
-
DeleteSSHKeyRequest$1 as DeleteSSHKeyRequest,
|
|
1020
|
-
GetSSHKeyRequest$1 as GetSSHKeyRequest,
|
|
1021
|
-
ListSSHKeysRequest$2 as ListSSHKeysRequest,
|
|
1022
|
-
ListSSHKeysRequestOrderBy$1 as ListSSHKeysRequestOrderBy,
|
|
1023
|
-
ListSSHKeysResponse$1 as ListSSHKeysResponse,
|
|
1024
|
-
SSHKey$1 as SSHKey,
|
|
1025
|
-
index$s_SSHKeyCreationInfo as SSHKeyCreationInfo,
|
|
1026
|
-
UpdateSSHKeyRequest$2 as UpdateSSHKeyRequest,
|
|
1027
|
-
};
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
905
|
type ListProjectsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
1031
906
|
/** List projects response. */
|
|
1032
907
|
interface ListProjectsResponse {
|
|
@@ -1097,7 +972,7 @@ type UpdateProjectRequest = {
|
|
|
1097
972
|
*
|
|
1098
973
|
* User related data. This API allows you to manage projects.
|
|
1099
974
|
*/
|
|
1100
|
-
declare class API$
|
|
975
|
+
declare class API$p extends API$q {
|
|
1101
976
|
/**
|
|
1102
977
|
* Create a new Project for an Organization. Generate a new Project for an
|
|
1103
978
|
* Organization, specifying its configuration including name and description.
|
|
@@ -1148,32 +1023,31 @@ declare class API$o extends API$p {
|
|
|
1148
1023
|
updateProject: (request?: Readonly<UpdateProjectRequest>) => Promise<Project>;
|
|
1149
1024
|
}
|
|
1150
1025
|
|
|
1151
|
-
type index_gen$
|
|
1152
|
-
type index_gen$
|
|
1153
|
-
type index_gen$
|
|
1154
|
-
type index_gen$
|
|
1155
|
-
type index_gen$
|
|
1156
|
-
type index_gen$
|
|
1157
|
-
type index_gen$
|
|
1158
|
-
type index_gen$
|
|
1159
|
-
declare namespace index_gen$
|
|
1026
|
+
type index_gen$l_CreateProjectRequest = CreateProjectRequest;
|
|
1027
|
+
type index_gen$l_DeleteProjectRequest = DeleteProjectRequest;
|
|
1028
|
+
type index_gen$l_GetProjectRequest = GetProjectRequest;
|
|
1029
|
+
type index_gen$l_ListProjectsRequest = ListProjectsRequest;
|
|
1030
|
+
type index_gen$l_ListProjectsRequestOrderBy = ListProjectsRequestOrderBy;
|
|
1031
|
+
type index_gen$l_ListProjectsResponse = ListProjectsResponse;
|
|
1032
|
+
type index_gen$l_Project = Project;
|
|
1033
|
+
type index_gen$l_UpdateProjectRequest = UpdateProjectRequest;
|
|
1034
|
+
declare namespace index_gen$l {
|
|
1160
1035
|
export {
|
|
1161
|
-
API$
|
|
1162
|
-
index_gen$
|
|
1163
|
-
index_gen$
|
|
1164
|
-
index_gen$
|
|
1165
|
-
index_gen$
|
|
1166
|
-
index_gen$
|
|
1167
|
-
index_gen$
|
|
1168
|
-
index_gen$
|
|
1169
|
-
index_gen$
|
|
1036
|
+
API$p as API,
|
|
1037
|
+
index_gen$l_CreateProjectRequest as CreateProjectRequest,
|
|
1038
|
+
index_gen$l_DeleteProjectRequest as DeleteProjectRequest,
|
|
1039
|
+
index_gen$l_GetProjectRequest as GetProjectRequest,
|
|
1040
|
+
index_gen$l_ListProjectsRequest as ListProjectsRequest,
|
|
1041
|
+
index_gen$l_ListProjectsRequestOrderBy as ListProjectsRequestOrderBy,
|
|
1042
|
+
index_gen$l_ListProjectsResponse as ListProjectsResponse,
|
|
1043
|
+
index_gen$l_Project as Project,
|
|
1044
|
+
index_gen$l_UpdateProjectRequest as UpdateProjectRequest,
|
|
1170
1045
|
};
|
|
1171
1046
|
}
|
|
1172
1047
|
|
|
1173
|
-
declare namespace index$
|
|
1048
|
+
declare namespace index$s {
|
|
1174
1049
|
export {
|
|
1175
|
-
index_gen$
|
|
1176
|
-
index$s as v2alpha1,
|
|
1050
|
+
index_gen$l as v2,
|
|
1177
1051
|
};
|
|
1178
1052
|
}
|
|
1179
1053
|
|
|
@@ -1384,7 +1258,7 @@ type ReinstallServerRequest = {
|
|
|
1384
1258
|
* Cisco in the U.S. and other countries and is used by Apple under license.
|
|
1385
1259
|
* Scaleway is not affiliated with Apple Inc.
|
|
1386
1260
|
*/
|
|
1387
|
-
declare class API$
|
|
1261
|
+
declare class API$o extends API$q {
|
|
1388
1262
|
/** Lists the available zones of the API. */
|
|
1389
1263
|
static readonly LOCALITIES: Zone[];
|
|
1390
1264
|
/**
|
|
@@ -1502,47 +1376,47 @@ declare class API$n extends API$p {
|
|
|
1502
1376
|
/** Lists transient statutes of the enum {@link ServerStatus}. */
|
|
1503
1377
|
declare const SERVER_TRANSIENT_STATUSES$2: ServerStatus$1[];
|
|
1504
1378
|
|
|
1505
|
-
type index_gen$
|
|
1506
|
-
type index_gen$
|
|
1507
|
-
type index_gen$
|
|
1508
|
-
type index_gen$
|
|
1509
|
-
type index_gen$
|
|
1510
|
-
type index_gen$
|
|
1511
|
-
type index_gen$
|
|
1512
|
-
type index_gen$
|
|
1513
|
-
declare namespace index_gen$
|
|
1379
|
+
type index_gen$k_GetServerTypeRequest = GetServerTypeRequest;
|
|
1380
|
+
type index_gen$k_ListServerTypesRequest = ListServerTypesRequest;
|
|
1381
|
+
type index_gen$k_ListServerTypesResponse = ListServerTypesResponse;
|
|
1382
|
+
type index_gen$k_ReinstallServerRequest = ReinstallServerRequest;
|
|
1383
|
+
type index_gen$k_ServerTypeCPU = ServerTypeCPU;
|
|
1384
|
+
type index_gen$k_ServerTypeDisk = ServerTypeDisk;
|
|
1385
|
+
type index_gen$k_ServerTypeMemory = ServerTypeMemory;
|
|
1386
|
+
type index_gen$k_ServerTypeStock = ServerTypeStock;
|
|
1387
|
+
declare namespace index_gen$k {
|
|
1514
1388
|
export {
|
|
1515
|
-
API$
|
|
1389
|
+
API$o as API,
|
|
1516
1390
|
CreateServerRequest$3 as CreateServerRequest,
|
|
1517
1391
|
DeleteServerRequest$2 as DeleteServerRequest,
|
|
1518
1392
|
GetOSRequest$1 as GetOSRequest,
|
|
1519
1393
|
GetServerRequest$2 as GetServerRequest,
|
|
1520
|
-
index_gen$
|
|
1394
|
+
index_gen$k_GetServerTypeRequest as GetServerTypeRequest,
|
|
1521
1395
|
ListOSRequest$2 as ListOSRequest,
|
|
1522
1396
|
ListOSResponse$1 as ListOSResponse,
|
|
1523
|
-
index_gen$
|
|
1524
|
-
index_gen$
|
|
1397
|
+
index_gen$k_ListServerTypesRequest as ListServerTypesRequest,
|
|
1398
|
+
index_gen$k_ListServerTypesResponse as ListServerTypesResponse,
|
|
1525
1399
|
ListServersRequest$3 as ListServersRequest,
|
|
1526
1400
|
ListServersRequestOrderBy$1 as ListServersRequestOrderBy,
|
|
1527
1401
|
ListServersResponse$2 as ListServersResponse,
|
|
1528
1402
|
OS$1 as OS,
|
|
1529
1403
|
RebootServerRequest$1 as RebootServerRequest,
|
|
1530
|
-
index_gen$
|
|
1404
|
+
index_gen$k_ReinstallServerRequest as ReinstallServerRequest,
|
|
1531
1405
|
SERVER_TRANSIENT_STATUSES$2 as SERVER_TRANSIENT_STATUSES,
|
|
1532
1406
|
Server$2 as Server,
|
|
1533
1407
|
ServerStatus$1 as ServerStatus,
|
|
1534
1408
|
ServerType$1 as ServerType,
|
|
1535
|
-
index_gen$
|
|
1536
|
-
index_gen$
|
|
1537
|
-
index_gen$
|
|
1538
|
-
index_gen$
|
|
1409
|
+
index_gen$k_ServerTypeCPU as ServerTypeCPU,
|
|
1410
|
+
index_gen$k_ServerTypeDisk as ServerTypeDisk,
|
|
1411
|
+
index_gen$k_ServerTypeMemory as ServerTypeMemory,
|
|
1412
|
+
index_gen$k_ServerTypeStock as ServerTypeStock,
|
|
1539
1413
|
UpdateServerRequest$3 as UpdateServerRequest,
|
|
1540
1414
|
};
|
|
1541
1415
|
}
|
|
1542
1416
|
|
|
1543
|
-
declare namespace index$
|
|
1417
|
+
declare namespace index$r {
|
|
1544
1418
|
export {
|
|
1545
|
-
index_gen$
|
|
1419
|
+
index_gen$k as v1alpha1,
|
|
1546
1420
|
};
|
|
1547
1421
|
}
|
|
1548
1422
|
|
|
@@ -2256,7 +2130,7 @@ type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
|
|
|
2256
2130
|
*
|
|
2257
2131
|
* This API allows to manage your Elastic Metal server. Elastic Metal API.
|
|
2258
2132
|
*/
|
|
2259
|
-
declare class API$
|
|
2133
|
+
declare class API$n extends API$q {
|
|
2260
2134
|
/** Lists the available zones of the API. */
|
|
2261
2135
|
static readonly LOCALITIES: Zone[];
|
|
2262
2136
|
protected pageOfListServers: (request?: Readonly<ListServersRequest$2>) => Promise<ListServersResponse$1>;
|
|
@@ -2496,7 +2370,7 @@ declare class API$m extends API$p {
|
|
|
2496
2370
|
getOS: (request: Readonly<GetOSRequest>) => Promise<OS>;
|
|
2497
2371
|
}
|
|
2498
2372
|
/** Elastic Metal Private Network API. */
|
|
2499
|
-
declare class PrivateNetworkAPI extends API$
|
|
2373
|
+
declare class PrivateNetworkAPI extends API$q {
|
|
2500
2374
|
/** Lists the available zones of the API. */
|
|
2501
2375
|
static readonly LOCALITIES: Zone[];
|
|
2502
2376
|
/**
|
|
@@ -2536,7 +2410,7 @@ declare class PrivateNetworkAPI extends API$p {
|
|
|
2536
2410
|
deleteServerPrivateNetwork: (request: Readonly<PrivateNetworkApiDeleteServerPrivateNetworkRequest>) => Promise<void>;
|
|
2537
2411
|
}
|
|
2538
2412
|
|
|
2539
|
-
declare class BaremetalV1UtilsAPI extends API$
|
|
2413
|
+
declare class BaremetalV1UtilsAPI extends API$n {
|
|
2540
2414
|
/**
|
|
2541
2415
|
* Waits for {@link ServerInstall} to be in a final state.
|
|
2542
2416
|
*
|
|
@@ -2680,152 +2554,281 @@ declare namespace validationRules_gen$4 {
|
|
|
2680
2554
|
};
|
|
2681
2555
|
}
|
|
2682
2556
|
|
|
2683
|
-
type index$
|
|
2684
|
-
type index$
|
|
2685
|
-
type index$
|
|
2686
|
-
type index$
|
|
2687
|
-
type index$
|
|
2688
|
-
type index$
|
|
2689
|
-
type index$
|
|
2690
|
-
type index$
|
|
2691
|
-
type index$
|
|
2692
|
-
type index$
|
|
2693
|
-
type index$
|
|
2694
|
-
type index$
|
|
2695
|
-
type index$
|
|
2696
|
-
type index$
|
|
2697
|
-
type index$
|
|
2698
|
-
type index$
|
|
2699
|
-
type index$
|
|
2700
|
-
type index$
|
|
2701
|
-
type index$
|
|
2702
|
-
type index$
|
|
2703
|
-
type index$
|
|
2704
|
-
type index$
|
|
2705
|
-
type index$
|
|
2706
|
-
type index$
|
|
2707
|
-
type index$
|
|
2708
|
-
type index$
|
|
2709
|
-
type index$
|
|
2710
|
-
type index$
|
|
2711
|
-
type index$
|
|
2712
|
-
type index$
|
|
2713
|
-
type index$
|
|
2714
|
-
declare const index$
|
|
2715
|
-
type index$
|
|
2716
|
-
type index$
|
|
2717
|
-
type index$
|
|
2718
|
-
type index$
|
|
2719
|
-
type index$
|
|
2720
|
-
type index$
|
|
2721
|
-
declare const index$
|
|
2722
|
-
declare const index$
|
|
2723
|
-
type index$
|
|
2724
|
-
type index$
|
|
2725
|
-
type index$
|
|
2726
|
-
type index$
|
|
2727
|
-
type index$
|
|
2728
|
-
type index$
|
|
2729
|
-
type index$
|
|
2730
|
-
type index$
|
|
2731
|
-
type index$
|
|
2732
|
-
type index$
|
|
2733
|
-
type index$
|
|
2734
|
-
type index$
|
|
2735
|
-
type index$
|
|
2736
|
-
type index$
|
|
2737
|
-
type index$
|
|
2738
|
-
type index$
|
|
2739
|
-
type index$
|
|
2740
|
-
type index$
|
|
2741
|
-
type index$
|
|
2742
|
-
declare namespace index$
|
|
2557
|
+
type index$q_AddOptionServerRequest = AddOptionServerRequest;
|
|
2558
|
+
type index$q_BMCAccess = BMCAccess;
|
|
2559
|
+
type index$q_CPU = CPU;
|
|
2560
|
+
type index$q_DeleteOptionServerRequest = DeleteOptionServerRequest;
|
|
2561
|
+
type index$q_Disk = Disk;
|
|
2562
|
+
type index$q_GetBMCAccessRequest = GetBMCAccessRequest;
|
|
2563
|
+
type index$q_GetOSRequest = GetOSRequest;
|
|
2564
|
+
type index$q_GetOfferRequest = GetOfferRequest;
|
|
2565
|
+
type index$q_GetOptionRequest = GetOptionRequest;
|
|
2566
|
+
type index$q_GetServerMetricsRequest = GetServerMetricsRequest;
|
|
2567
|
+
type index$q_GetServerMetricsResponse = GetServerMetricsResponse;
|
|
2568
|
+
type index$q_IPReverseStatus = IPReverseStatus;
|
|
2569
|
+
type index$q_IPVersion = IPVersion;
|
|
2570
|
+
type index$q_ListOSResponse = ListOSResponse;
|
|
2571
|
+
type index$q_ListOptionsResponse = ListOptionsResponse;
|
|
2572
|
+
type index$q_ListServerEventsRequestOrderBy = ListServerEventsRequestOrderBy;
|
|
2573
|
+
type index$q_ListServerEventsResponse = ListServerEventsResponse;
|
|
2574
|
+
type index$q_ListServerPrivateNetworksRequestOrderBy = ListServerPrivateNetworksRequestOrderBy;
|
|
2575
|
+
type index$q_ListServerPrivateNetworksResponse = ListServerPrivateNetworksResponse;
|
|
2576
|
+
type index$q_ListServersRequestOrderBy = ListServersRequestOrderBy;
|
|
2577
|
+
type index$q_ListSettingsRequestOrderBy = ListSettingsRequestOrderBy;
|
|
2578
|
+
type index$q_ListSettingsResponse = ListSettingsResponse;
|
|
2579
|
+
type index$q_Memory = Memory;
|
|
2580
|
+
type index$q_OS = OS;
|
|
2581
|
+
type index$q_OSOSField = OSOSField;
|
|
2582
|
+
type index$q_OfferOptionOffer = OfferOptionOffer;
|
|
2583
|
+
type index$q_OfferStock = OfferStock;
|
|
2584
|
+
type index$q_OfferSubscriptionPeriod = OfferSubscriptionPeriod;
|
|
2585
|
+
type index$q_Option = Option;
|
|
2586
|
+
type index$q_PersistentMemory = PersistentMemory;
|
|
2587
|
+
type index$q_PrivateNetworkAPI = PrivateNetworkAPI;
|
|
2588
|
+
declare const index$q_PrivateNetworkAPI: typeof PrivateNetworkAPI;
|
|
2589
|
+
type index$q_PrivateNetworkApiAddServerPrivateNetworkRequest = PrivateNetworkApiAddServerPrivateNetworkRequest;
|
|
2590
|
+
type index$q_PrivateNetworkApiDeleteServerPrivateNetworkRequest = PrivateNetworkApiDeleteServerPrivateNetworkRequest;
|
|
2591
|
+
type index$q_PrivateNetworkApiListServerPrivateNetworksRequest = PrivateNetworkApiListServerPrivateNetworksRequest;
|
|
2592
|
+
type index$q_PrivateNetworkApiSetServerPrivateNetworksRequest = PrivateNetworkApiSetServerPrivateNetworksRequest;
|
|
2593
|
+
type index$q_RaidController = RaidController;
|
|
2594
|
+
type index$q_RebootServerRequest = RebootServerRequest;
|
|
2595
|
+
declare const index$q_SERVER_INSTALL_TRANSIENT_STATUSES: typeof SERVER_INSTALL_TRANSIENT_STATUSES;
|
|
2596
|
+
declare const index$q_SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: typeof SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES;
|
|
2597
|
+
type index$q_ServerBootType = ServerBootType;
|
|
2598
|
+
type index$q_ServerEvent = ServerEvent;
|
|
2599
|
+
type index$q_ServerInstall = ServerInstall;
|
|
2600
|
+
type index$q_ServerInstallStatus = ServerInstallStatus;
|
|
2601
|
+
type index$q_ServerOption = ServerOption;
|
|
2602
|
+
type index$q_ServerOptionOptionStatus = ServerOptionOptionStatus;
|
|
2603
|
+
type index$q_ServerPingStatus = ServerPingStatus;
|
|
2604
|
+
type index$q_ServerPrivateNetwork = ServerPrivateNetwork;
|
|
2605
|
+
type index$q_ServerPrivateNetworkStatus = ServerPrivateNetworkStatus;
|
|
2606
|
+
type index$q_ServerRescueServer = ServerRescueServer;
|
|
2607
|
+
type index$q_ServerStatus = ServerStatus;
|
|
2608
|
+
type index$q_SetServerPrivateNetworksResponse = SetServerPrivateNetworksResponse;
|
|
2609
|
+
type index$q_Setting = Setting;
|
|
2610
|
+
type index$q_SettingType = SettingType;
|
|
2611
|
+
type index$q_StartBMCAccessRequest = StartBMCAccessRequest;
|
|
2612
|
+
type index$q_StartServerRequest = StartServerRequest;
|
|
2613
|
+
type index$q_StopBMCAccessRequest = StopBMCAccessRequest;
|
|
2614
|
+
type index$q_StopServerRequest = StopServerRequest;
|
|
2615
|
+
type index$q_UpdateSettingRequest = UpdateSettingRequest;
|
|
2616
|
+
declare namespace index$q {
|
|
2743
2617
|
export {
|
|
2744
2618
|
BaremetalV1UtilsAPI as API,
|
|
2745
|
-
index$
|
|
2746
|
-
index$
|
|
2747
|
-
index$
|
|
2619
|
+
index$q_AddOptionServerRequest as AddOptionServerRequest,
|
|
2620
|
+
index$q_BMCAccess as BMCAccess,
|
|
2621
|
+
index$q_CPU as CPU,
|
|
2748
2622
|
CreateServerRequest$2 as CreateServerRequest,
|
|
2749
2623
|
CreateServerRequestInstall$1 as CreateServerRequestInstall,
|
|
2750
|
-
index$
|
|
2624
|
+
index$q_DeleteOptionServerRequest as DeleteOptionServerRequest,
|
|
2751
2625
|
DeleteServerRequest$1 as DeleteServerRequest,
|
|
2752
|
-
index$
|
|
2753
|
-
index$
|
|
2754
|
-
index$
|
|
2755
|
-
index$
|
|
2756
|
-
index$
|
|
2757
|
-
index$
|
|
2758
|
-
index$
|
|
2626
|
+
index$q_Disk as Disk,
|
|
2627
|
+
index$q_GetBMCAccessRequest as GetBMCAccessRequest,
|
|
2628
|
+
index$q_GetOSRequest as GetOSRequest,
|
|
2629
|
+
index$q_GetOfferRequest as GetOfferRequest,
|
|
2630
|
+
index$q_GetOptionRequest as GetOptionRequest,
|
|
2631
|
+
index$q_GetServerMetricsRequest as GetServerMetricsRequest,
|
|
2632
|
+
index$q_GetServerMetricsResponse as GetServerMetricsResponse,
|
|
2759
2633
|
GetServerRequest$1 as GetServerRequest,
|
|
2760
2634
|
IP$1 as IP,
|
|
2761
|
-
index$
|
|
2762
|
-
index$
|
|
2635
|
+
index$q_IPReverseStatus as IPReverseStatus,
|
|
2636
|
+
index$q_IPVersion as IPVersion,
|
|
2763
2637
|
InstallServerRequest$1 as InstallServerRequest,
|
|
2764
2638
|
ListOSRequest$1 as ListOSRequest,
|
|
2765
|
-
index$
|
|
2639
|
+
index$q_ListOSResponse as ListOSResponse,
|
|
2766
2640
|
ListOffersRequest$2 as ListOffersRequest,
|
|
2767
2641
|
ListOffersResponse$1 as ListOffersResponse,
|
|
2768
2642
|
ListOptionsRequest$1 as ListOptionsRequest,
|
|
2769
|
-
index$
|
|
2643
|
+
index$q_ListOptionsResponse as ListOptionsResponse,
|
|
2770
2644
|
ListServerEventsRequest$1 as ListServerEventsRequest,
|
|
2771
|
-
index$
|
|
2772
|
-
index$
|
|
2773
|
-
index$
|
|
2774
|
-
index$
|
|
2645
|
+
index$q_ListServerEventsRequestOrderBy as ListServerEventsRequestOrderBy,
|
|
2646
|
+
index$q_ListServerEventsResponse as ListServerEventsResponse,
|
|
2647
|
+
index$q_ListServerPrivateNetworksRequestOrderBy as ListServerPrivateNetworksRequestOrderBy,
|
|
2648
|
+
index$q_ListServerPrivateNetworksResponse as ListServerPrivateNetworksResponse,
|
|
2775
2649
|
ListServersRequest$2 as ListServersRequest,
|
|
2776
|
-
index$
|
|
2650
|
+
index$q_ListServersRequestOrderBy as ListServersRequestOrderBy,
|
|
2777
2651
|
ListServersResponse$1 as ListServersResponse,
|
|
2778
2652
|
ListSettingsRequest$1 as ListSettingsRequest,
|
|
2779
|
-
index$
|
|
2780
|
-
index$
|
|
2781
|
-
index$
|
|
2782
|
-
index$
|
|
2783
|
-
index$
|
|
2653
|
+
index$q_ListSettingsRequestOrderBy as ListSettingsRequestOrderBy,
|
|
2654
|
+
index$q_ListSettingsResponse as ListSettingsResponse,
|
|
2655
|
+
index$q_Memory as Memory,
|
|
2656
|
+
index$q_OS as OS,
|
|
2657
|
+
index$q_OSOSField as OSOSField,
|
|
2784
2658
|
Offer$1 as Offer,
|
|
2785
|
-
index$
|
|
2786
|
-
index$
|
|
2787
|
-
index$
|
|
2788
|
-
index$
|
|
2789
|
-
index$
|
|
2790
|
-
index$
|
|
2791
|
-
index$
|
|
2792
|
-
index$
|
|
2793
|
-
index$
|
|
2794
|
-
index$
|
|
2795
|
-
index$
|
|
2796
|
-
index$
|
|
2797
|
-
index$
|
|
2798
|
-
index$
|
|
2659
|
+
index$q_OfferOptionOffer as OfferOptionOffer,
|
|
2660
|
+
index$q_OfferStock as OfferStock,
|
|
2661
|
+
index$q_OfferSubscriptionPeriod as OfferSubscriptionPeriod,
|
|
2662
|
+
index$q_Option as Option,
|
|
2663
|
+
index$q_PersistentMemory as PersistentMemory,
|
|
2664
|
+
index$q_PrivateNetworkAPI as PrivateNetworkAPI,
|
|
2665
|
+
index$q_PrivateNetworkApiAddServerPrivateNetworkRequest as PrivateNetworkApiAddServerPrivateNetworkRequest,
|
|
2666
|
+
index$q_PrivateNetworkApiDeleteServerPrivateNetworkRequest as PrivateNetworkApiDeleteServerPrivateNetworkRequest,
|
|
2667
|
+
index$q_PrivateNetworkApiListServerPrivateNetworksRequest as PrivateNetworkApiListServerPrivateNetworksRequest,
|
|
2668
|
+
index$q_PrivateNetworkApiSetServerPrivateNetworksRequest as PrivateNetworkApiSetServerPrivateNetworksRequest,
|
|
2669
|
+
index$q_RaidController as RaidController,
|
|
2670
|
+
index$q_RebootServerRequest as RebootServerRequest,
|
|
2671
|
+
index$q_SERVER_INSTALL_TRANSIENT_STATUSES as SERVER_INSTALL_TRANSIENT_STATUSES,
|
|
2672
|
+
index$q_SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
|
|
2799
2673
|
SERVER_TRANSIENT_STATUSES$1 as SERVER_TRANSIENT_STATUSES,
|
|
2800
2674
|
Server$1 as Server,
|
|
2801
|
-
index$
|
|
2802
|
-
index$
|
|
2803
|
-
index$
|
|
2804
|
-
index$
|
|
2805
|
-
index$
|
|
2806
|
-
index$
|
|
2807
|
-
index$
|
|
2808
|
-
index$
|
|
2809
|
-
index$
|
|
2810
|
-
index$
|
|
2811
|
-
index$
|
|
2812
|
-
index$
|
|
2813
|
-
index$
|
|
2814
|
-
index$
|
|
2815
|
-
index$
|
|
2816
|
-
index$
|
|
2817
|
-
index$
|
|
2818
|
-
index$
|
|
2675
|
+
index$q_ServerBootType as ServerBootType,
|
|
2676
|
+
index$q_ServerEvent as ServerEvent,
|
|
2677
|
+
index$q_ServerInstall as ServerInstall,
|
|
2678
|
+
index$q_ServerInstallStatus as ServerInstallStatus,
|
|
2679
|
+
index$q_ServerOption as ServerOption,
|
|
2680
|
+
index$q_ServerOptionOptionStatus as ServerOptionOptionStatus,
|
|
2681
|
+
index$q_ServerPingStatus as ServerPingStatus,
|
|
2682
|
+
index$q_ServerPrivateNetwork as ServerPrivateNetwork,
|
|
2683
|
+
index$q_ServerPrivateNetworkStatus as ServerPrivateNetworkStatus,
|
|
2684
|
+
index$q_ServerRescueServer as ServerRescueServer,
|
|
2685
|
+
index$q_ServerStatus as ServerStatus,
|
|
2686
|
+
index$q_SetServerPrivateNetworksResponse as SetServerPrivateNetworksResponse,
|
|
2687
|
+
index$q_Setting as Setting,
|
|
2688
|
+
index$q_SettingType as SettingType,
|
|
2689
|
+
index$q_StartBMCAccessRequest as StartBMCAccessRequest,
|
|
2690
|
+
index$q_StartServerRequest as StartServerRequest,
|
|
2691
|
+
index$q_StopBMCAccessRequest as StopBMCAccessRequest,
|
|
2692
|
+
index$q_StopServerRequest as StopServerRequest,
|
|
2819
2693
|
UpdateIPRequest$1 as UpdateIPRequest,
|
|
2820
2694
|
UpdateServerRequest$2 as UpdateServerRequest,
|
|
2821
|
-
index$
|
|
2695
|
+
index$q_UpdateSettingRequest as UpdateSettingRequest,
|
|
2822
2696
|
validationRules_gen$4 as ValidationRules,
|
|
2823
2697
|
};
|
|
2824
2698
|
}
|
|
2825
2699
|
|
|
2700
|
+
declare namespace index$p {
|
|
2701
|
+
export {
|
|
2702
|
+
index$q as v1,
|
|
2703
|
+
};
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
type DownloadInvoiceRequestFileType = 'pdf';
|
|
2707
|
+
type InvoiceType = 'unknown_type' | 'periodic' | 'purchase';
|
|
2708
|
+
type ListInvoicesRequestOrderBy = 'invoice_number_desc' | 'invoice_number_asc' | 'start_date_desc' | 'start_date_asc' | 'issued_date_desc' | 'issued_date_asc' | 'due_date_desc' | 'due_date_asc' | 'total_untaxed_desc' | 'total_untaxed_asc' | 'total_taxed_desc' | 'total_taxed_asc' | 'invoice_type_desc' | 'invoice_type_asc';
|
|
2709
|
+
/** Get consumption response. */
|
|
2710
|
+
interface GetConsumptionResponse {
|
|
2711
|
+
/** Detailed consumption list. */
|
|
2712
|
+
consumptions: GetConsumptionResponseConsumption[];
|
|
2713
|
+
/** Last consumption update date. */
|
|
2714
|
+
updatedAt?: Date;
|
|
2715
|
+
}
|
|
2716
|
+
/** Get consumption response. consumption. */
|
|
2717
|
+
interface GetConsumptionResponseConsumption {
|
|
2718
|
+
/** Monetary value of the consumption. */
|
|
2719
|
+
value?: Money;
|
|
2720
|
+
/** Description of the consumption. */
|
|
2721
|
+
description: string;
|
|
2722
|
+
/** Project ID of the consumption. */
|
|
2723
|
+
projectId: string;
|
|
2724
|
+
/** Category of the consumption. */
|
|
2725
|
+
category: string;
|
|
2726
|
+
/** Unique identifier of the product. */
|
|
2727
|
+
operationPath: string;
|
|
2728
|
+
}
|
|
2729
|
+
/** Invoice. */
|
|
2730
|
+
interface Invoice {
|
|
2731
|
+
/** Invoice ID. */
|
|
2732
|
+
id: string;
|
|
2733
|
+
/** Start date of the billing period. */
|
|
2734
|
+
startDate?: Date;
|
|
2735
|
+
/** Date when the invoice was sent to the customer. */
|
|
2736
|
+
issuedDate?: Date;
|
|
2737
|
+
/** Payment time limit, set according to the Organization's payment conditions. */
|
|
2738
|
+
dueDate?: Date;
|
|
2739
|
+
/** Total amount, untaxed. */
|
|
2740
|
+
totalUntaxed?: Money;
|
|
2741
|
+
/** Total amount, taxed. */
|
|
2742
|
+
totalTaxed?: Money;
|
|
2743
|
+
/** Type of invoice. */
|
|
2744
|
+
invoiceType: InvoiceType;
|
|
2745
|
+
/** Invoice number. */
|
|
2746
|
+
number: number;
|
|
2747
|
+
}
|
|
2748
|
+
/** List invoices response. */
|
|
2749
|
+
interface ListInvoicesResponse {
|
|
2750
|
+
/** Total number of invoices. */
|
|
2751
|
+
totalCount: number;
|
|
2752
|
+
/** Paginated returned invoices. */
|
|
2753
|
+
invoices: Invoice[];
|
|
2754
|
+
}
|
|
2755
|
+
type GetConsumptionRequest = {
|
|
2756
|
+
/** Filter by organization ID. */
|
|
2757
|
+
organizationId?: string;
|
|
2758
|
+
};
|
|
2759
|
+
type ListInvoicesRequest = {
|
|
2760
|
+
/**
|
|
2761
|
+
* Organization ID to filter for, only invoices from this Organization will be
|
|
2762
|
+
* returned.
|
|
2763
|
+
*/
|
|
2764
|
+
organizationId?: string;
|
|
2765
|
+
/** Invoice's `start_date` is greater or equal to `started_after`. */
|
|
2766
|
+
startedAfter?: Date;
|
|
2767
|
+
/** Invoice's `start_date` precedes `started_before`. */
|
|
2768
|
+
startedBefore?: Date;
|
|
2769
|
+
/** Invoice type. It can either be `periodic` or `purchase`. */
|
|
2770
|
+
invoiceType?: InvoiceType;
|
|
2771
|
+
/** Positive integer to choose the page to return. */
|
|
2772
|
+
page?: number;
|
|
2773
|
+
/**
|
|
2774
|
+
* Positive integer lower or equal to 100 to select the number of items to
|
|
2775
|
+
* return.
|
|
2776
|
+
*/
|
|
2777
|
+
pageSize?: number;
|
|
2778
|
+
/** How invoices are ordered in the response. */
|
|
2779
|
+
orderBy?: ListInvoicesRequestOrderBy;
|
|
2780
|
+
};
|
|
2781
|
+
type DownloadInvoiceRequest = {
|
|
2782
|
+
/** Invoice ID. */
|
|
2783
|
+
invoiceId: string;
|
|
2784
|
+
/** Wanted file type. */
|
|
2785
|
+
fileType?: DownloadInvoiceRequestFileType;
|
|
2786
|
+
};
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* Billing API.
|
|
2790
|
+
*
|
|
2791
|
+
* This API allows you to query your consumption. Billing API.
|
|
2792
|
+
*/
|
|
2793
|
+
declare class API$m extends API$q {
|
|
2794
|
+
getConsumption: (request?: Readonly<GetConsumptionRequest>) => Promise<GetConsumptionResponse>;
|
|
2795
|
+
protected pageOfListInvoices: (request?: Readonly<ListInvoicesRequest>) => Promise<ListInvoicesResponse>;
|
|
2796
|
+
listInvoices: (request?: Readonly<ListInvoicesRequest>) => Promise<ListInvoicesResponse> & {
|
|
2797
|
+
all: () => Promise<Invoice[]>;
|
|
2798
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Invoice[], void, void>;
|
|
2799
|
+
};
|
|
2800
|
+
downloadInvoice: (request: Readonly<DownloadInvoiceRequest>) => Promise<Blob>;
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
type index_gen$j_DownloadInvoiceRequest = DownloadInvoiceRequest;
|
|
2804
|
+
type index_gen$j_DownloadInvoiceRequestFileType = DownloadInvoiceRequestFileType;
|
|
2805
|
+
type index_gen$j_GetConsumptionRequest = GetConsumptionRequest;
|
|
2806
|
+
type index_gen$j_GetConsumptionResponse = GetConsumptionResponse;
|
|
2807
|
+
type index_gen$j_GetConsumptionResponseConsumption = GetConsumptionResponseConsumption;
|
|
2808
|
+
type index_gen$j_Invoice = Invoice;
|
|
2809
|
+
type index_gen$j_InvoiceType = InvoiceType;
|
|
2810
|
+
type index_gen$j_ListInvoicesRequest = ListInvoicesRequest;
|
|
2811
|
+
type index_gen$j_ListInvoicesRequestOrderBy = ListInvoicesRequestOrderBy;
|
|
2812
|
+
type index_gen$j_ListInvoicesResponse = ListInvoicesResponse;
|
|
2813
|
+
declare namespace index_gen$j {
|
|
2814
|
+
export {
|
|
2815
|
+
API$m as API,
|
|
2816
|
+
index_gen$j_DownloadInvoiceRequest as DownloadInvoiceRequest,
|
|
2817
|
+
index_gen$j_DownloadInvoiceRequestFileType as DownloadInvoiceRequestFileType,
|
|
2818
|
+
index_gen$j_GetConsumptionRequest as GetConsumptionRequest,
|
|
2819
|
+
index_gen$j_GetConsumptionResponse as GetConsumptionResponse,
|
|
2820
|
+
index_gen$j_GetConsumptionResponseConsumption as GetConsumptionResponseConsumption,
|
|
2821
|
+
index_gen$j_Invoice as Invoice,
|
|
2822
|
+
index_gen$j_InvoiceType as InvoiceType,
|
|
2823
|
+
index_gen$j_ListInvoicesRequest as ListInvoicesRequest,
|
|
2824
|
+
index_gen$j_ListInvoicesRequestOrderBy as ListInvoicesRequestOrderBy,
|
|
2825
|
+
index_gen$j_ListInvoicesResponse as ListInvoicesResponse,
|
|
2826
|
+
};
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2826
2829
|
declare namespace index$o {
|
|
2827
2830
|
export {
|
|
2828
|
-
|
|
2831
|
+
index_gen$j as v2alpha1,
|
|
2829
2832
|
};
|
|
2830
2833
|
}
|
|
2831
2834
|
|
|
@@ -2929,7 +2932,7 @@ type ResetCockpitGrafanaRequest = {
|
|
|
2929
2932
|
};
|
|
2930
2933
|
type CreateTokenRequest$2 = {
|
|
2931
2934
|
projectId?: string;
|
|
2932
|
-
name
|
|
2935
|
+
name?: string;
|
|
2933
2936
|
scopes?: TokenScopes;
|
|
2934
2937
|
};
|
|
2935
2938
|
type ListTokensRequest$2 = {
|
|
@@ -2997,7 +3000,7 @@ type ResetGrafanaUserPasswordRequest = {
|
|
|
2997
3000
|
*
|
|
2998
3001
|
* This API allows to manage Cockpits. Cockpit API.
|
|
2999
3002
|
*/
|
|
3000
|
-
declare class API$l extends API$
|
|
3003
|
+
declare class API$l extends API$q {
|
|
3001
3004
|
/**
|
|
3002
3005
|
* Activate a cockpit. Activate a cockpit associated with the given project
|
|
3003
3006
|
* ID.
|
|
@@ -3043,7 +3046,7 @@ declare class API$l extends API$p {
|
|
|
3043
3046
|
* @param request - The request {@link CreateTokenRequest}
|
|
3044
3047
|
* @returns A Promise of Token
|
|
3045
3048
|
*/
|
|
3046
|
-
createToken: (request
|
|
3049
|
+
createToken: (request?: Readonly<CreateTokenRequest$2>) => Promise<Token$2>;
|
|
3047
3050
|
protected pageOfListTokens: (request?: Readonly<ListTokensRequest$2>) => Promise<ListTokensResponse$2>;
|
|
3048
3051
|
/**
|
|
3049
3052
|
* List tokens. List tokens associated with the given project ID.
|
|
@@ -3687,7 +3690,7 @@ type DeleteTokenRequest$1 = {
|
|
|
3687
3690
|
*
|
|
3688
3691
|
* Serverless Containers API. Containers API.
|
|
3689
3692
|
*/
|
|
3690
|
-
declare class API$k extends API$
|
|
3693
|
+
declare class API$k extends API$q {
|
|
3691
3694
|
/** Lists the available regions of the API. */
|
|
3692
3695
|
static readonly LOCALITIES: Region[];
|
|
3693
3696
|
protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest$3>) => Promise<ListNamespacesResponse$3>;
|
|
@@ -5076,7 +5079,7 @@ type RegistrarApiDeleteDomainHostRequest = {
|
|
|
5076
5079
|
*
|
|
5077
5080
|
* DNS API. Manage your DNS zones and records.
|
|
5078
5081
|
*/
|
|
5079
|
-
declare class API$j extends API$
|
|
5082
|
+
declare class API$j extends API$q {
|
|
5080
5083
|
protected pageOfListDNSZones: (request: Readonly<ListDNSZonesRequest>) => Promise<ListDNSZonesResponse>;
|
|
5081
5084
|
/**
|
|
5082
5085
|
* List DNS zones. Returns a list of manageable DNS zones. You can filter the
|
|
@@ -5308,7 +5311,7 @@ declare class API$j extends API$p {
|
|
|
5308
5311
|
*
|
|
5309
5312
|
* Domains registrar API. Manage your domains and contacts.
|
|
5310
5313
|
*/
|
|
5311
|
-
declare class RegistrarAPI extends API$
|
|
5314
|
+
declare class RegistrarAPI extends API$q {
|
|
5312
5315
|
protected pageOfListTasks: (request?: Readonly<RegistrarApiListTasksRequest>) => Promise<ListTasksResponse>;
|
|
5313
5316
|
/**
|
|
5314
5317
|
* List tasks. List all account tasks. You can filter the list by domain name.
|
|
@@ -6129,7 +6132,7 @@ type DeleteMACAddrRequest = {
|
|
|
6129
6132
|
};
|
|
6130
6133
|
|
|
6131
6134
|
/** Flexible IP API. */
|
|
6132
|
-
declare class API$i extends API$
|
|
6135
|
+
declare class API$i extends API$q {
|
|
6133
6136
|
/** Lists the available zones of the API. */
|
|
6134
6137
|
static readonly LOCALITIES: Zone[];
|
|
6135
6138
|
/**
|
|
@@ -6207,6 +6210,13 @@ declare class API$i extends API$p {
|
|
|
6207
6210
|
* @returns A Promise of FlexibleIP
|
|
6208
6211
|
*/
|
|
6209
6212
|
duplicateMACAddr: (request: Readonly<DuplicateMACAddrRequest>) => Promise<FlexibleIP>;
|
|
6213
|
+
/**
|
|
6214
|
+
* Move a virtual MAC. Move a Virtual MAC from a given Flexible IP onto
|
|
6215
|
+
* another Flexible IP.
|
|
6216
|
+
*
|
|
6217
|
+
* @param request - The request {@link MoveMACAddrRequest}
|
|
6218
|
+
* @returns A Promise of FlexibleIP
|
|
6219
|
+
*/
|
|
6210
6220
|
moveMACAddr: (request: Readonly<MoveMACAddrRequest>) => Promise<FlexibleIP>;
|
|
6211
6221
|
/**
|
|
6212
6222
|
* Remove a virtual MAC from a Flexible IP.
|
|
@@ -6459,6 +6469,7 @@ interface Runtime$1 {
|
|
|
6459
6469
|
statusMessage: string;
|
|
6460
6470
|
extension: string;
|
|
6461
6471
|
implementation: string;
|
|
6472
|
+
logoUrl: string;
|
|
6462
6473
|
}
|
|
6463
6474
|
interface Secret$1 {
|
|
6464
6475
|
key: string;
|
|
@@ -6511,12 +6522,14 @@ interface TriggerMnqNatsClientConfig {
|
|
|
6511
6522
|
subject: string;
|
|
6512
6523
|
mnqProjectId: string;
|
|
6513
6524
|
mnqRegion: string;
|
|
6525
|
+
mnqCredentialId?: string;
|
|
6514
6526
|
}
|
|
6515
6527
|
interface TriggerMnqSqsClientConfig {
|
|
6516
6528
|
mnqNamespaceId: string;
|
|
6517
6529
|
queue: string;
|
|
6518
6530
|
mnqProjectId: string;
|
|
6519
6531
|
mnqRegion: string;
|
|
6532
|
+
mnqCredentialId?: string;
|
|
6520
6533
|
}
|
|
6521
6534
|
interface TriggerSqsClientConfig {
|
|
6522
6535
|
endpoint: string;
|
|
@@ -6962,7 +6975,7 @@ type DeleteTriggerRequest = {
|
|
|
6962
6975
|
*
|
|
6963
6976
|
* Serverless functions API. Functions API.
|
|
6964
6977
|
*/
|
|
6965
|
-
declare class API$h extends API$
|
|
6978
|
+
declare class API$h extends API$q {
|
|
6966
6979
|
/** Lists the available regions of the API. */
|
|
6967
6980
|
static readonly LOCALITIES: Region[];
|
|
6968
6981
|
protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest$2>) => Promise<ListNamespacesResponse$2>;
|
|
@@ -8212,7 +8225,7 @@ type DeleteJWTRequest = {
|
|
|
8212
8225
|
};
|
|
8213
8226
|
|
|
8214
8227
|
/** IAM API. */
|
|
8215
|
-
declare class API$g extends API$
|
|
8228
|
+
declare class API$g extends API$q {
|
|
8216
8229
|
protected pageOfListSSHKeys: (request?: Readonly<ListSSHKeysRequest$1>) => Promise<ListSSHKeysResponse>;
|
|
8217
8230
|
/**
|
|
8218
8231
|
* List SSH keys. List SSH keys. By default, the SSH keys listed are ordered
|
|
@@ -8479,6 +8492,13 @@ declare class API$g extends API$p {
|
|
|
8479
8492
|
* @param request - The request {@link DeletePolicyRequest}
|
|
8480
8493
|
*/
|
|
8481
8494
|
deletePolicy: (request: Readonly<DeletePolicyRequest>) => Promise<void>;
|
|
8495
|
+
/**
|
|
8496
|
+
* Clone a policy. Clone a policy. You must define specify the `policy_id`
|
|
8497
|
+
* parameter in your request.
|
|
8498
|
+
*
|
|
8499
|
+
* @param request - The request {@link ClonePolicyRequest}
|
|
8500
|
+
* @returns A Promise of Policy
|
|
8501
|
+
*/
|
|
8482
8502
|
clonePolicy: (request: Readonly<ClonePolicyRequest>) => Promise<Policy>;
|
|
8483
8503
|
/**
|
|
8484
8504
|
* Set rules of a given policy. Overwrite the rules of a given policy. Any
|
|
@@ -10712,7 +10732,7 @@ type SetSecurityGroupRuleRequest = {
|
|
|
10712
10732
|
};
|
|
10713
10733
|
|
|
10714
10734
|
/** Instance API. */
|
|
10715
|
-
declare class API$f extends API$
|
|
10735
|
+
declare class API$f extends API$q {
|
|
10716
10736
|
/** Lists the available zones of the API. */
|
|
10717
10737
|
static readonly LOCALITIES: Zone[];
|
|
10718
10738
|
/**
|
|
@@ -12696,7 +12716,7 @@ type DeleteTwinDocumentsRequest = {
|
|
|
12696
12716
|
*
|
|
12697
12717
|
* This API allows you to manage IoT hubs and devices. IoT API.
|
|
12698
12718
|
*/
|
|
12699
|
-
declare class API$e extends API$
|
|
12719
|
+
declare class API$e extends API$q {
|
|
12700
12720
|
/** Lists the available regions of the API. */
|
|
12701
12721
|
static readonly LOCALITIES: Region[];
|
|
12702
12722
|
protected pageOfListHubs: (request?: Readonly<ListHubsRequest>) => Promise<ListHubsResponse>;
|
|
@@ -13231,6 +13251,8 @@ interface Cluster$1 {
|
|
|
13231
13251
|
* certificate.
|
|
13232
13252
|
*/
|
|
13233
13253
|
apiserverCertSans: string[];
|
|
13254
|
+
/** Private network ID for internal cluster communication. */
|
|
13255
|
+
privateNetworkId?: string;
|
|
13234
13256
|
}
|
|
13235
13257
|
/** Cluster. auto upgrade. */
|
|
13236
13258
|
interface ClusterAutoUpgrade {
|
|
@@ -13851,6 +13873,11 @@ type CreateClusterRequest$2 = {
|
|
|
13851
13873
|
* certificate.
|
|
13852
13874
|
*/
|
|
13853
13875
|
apiserverCertSans?: string[];
|
|
13876
|
+
/**
|
|
13877
|
+
* Private network ID for internal cluster communication (cannot be changed
|
|
13878
|
+
* later).
|
|
13879
|
+
*/
|
|
13880
|
+
privateNetworkId?: string;
|
|
13854
13881
|
};
|
|
13855
13882
|
type GetClusterRequest$1 = {
|
|
13856
13883
|
/**
|
|
@@ -13895,11 +13922,8 @@ type UpdateClusterRequest$2 = {
|
|
|
13895
13922
|
/** List of admission plugins to enable. */
|
|
13896
13923
|
admissionPlugins?: string[];
|
|
13897
13924
|
/**
|
|
13898
|
-
*
|
|
13899
|
-
*
|
|
13900
|
-
* update the [OpenID Connect
|
|
13901
|
-
* configuration](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#openid-connect-tokens)
|
|
13902
|
-
* of the Kubernetes API server.
|
|
13925
|
+
* OpenID Connect configuration of the cluster. This configuration enables to
|
|
13926
|
+
* update the OpenID Connect configuration of the Kubernetes API server.
|
|
13903
13927
|
*/
|
|
13904
13928
|
openIdConnectConfig?: UpdateClusterRequestOpenIDConnectConfig;
|
|
13905
13929
|
/**
|
|
@@ -13937,11 +13961,25 @@ type UpgradeClusterRequest = {
|
|
|
13937
13961
|
*/
|
|
13938
13962
|
version: string;
|
|
13939
13963
|
/**
|
|
13940
|
-
* Enablement of the pools upgrade. This field
|
|
13941
|
-
*
|
|
13964
|
+
* Enablement of the pools upgrade. This field also trigger pools upgrade once
|
|
13965
|
+
* the control plane is upgraded.
|
|
13942
13966
|
*/
|
|
13943
13967
|
upgradePools: boolean;
|
|
13944
13968
|
};
|
|
13969
|
+
type SetClusterTypeRequest = {
|
|
13970
|
+
/**
|
|
13971
|
+
* Region to target. If none is passed will use default region from the
|
|
13972
|
+
* config.
|
|
13973
|
+
*/
|
|
13974
|
+
region?: Region;
|
|
13975
|
+
/** ID of the cluster to migrate from one type to another. */
|
|
13976
|
+
clusterId: string;
|
|
13977
|
+
/**
|
|
13978
|
+
* Type of the cluster. Type of the cluster. Note that some migrations are not
|
|
13979
|
+
* possible (please refer to product documentation).
|
|
13980
|
+
*/
|
|
13981
|
+
type: string;
|
|
13982
|
+
};
|
|
13945
13983
|
type ListClusterAvailableVersionsRequest = {
|
|
13946
13984
|
/**
|
|
13947
13985
|
* Region to target. If none is passed will use default region from the
|
|
@@ -14200,7 +14238,7 @@ type GetClusterKubeConfigRequest = {
|
|
|
14200
14238
|
};
|
|
14201
14239
|
|
|
14202
14240
|
/** Kapsule API. */
|
|
14203
|
-
declare class API$d extends API$
|
|
14241
|
+
declare class API$d extends API$q {
|
|
14204
14242
|
/** Lists the available regions of the API. */
|
|
14205
14243
|
static readonly LOCALITIES: Region[];
|
|
14206
14244
|
protected pageOfListClusters: (request?: Readonly<ListClustersRequest$2>) => Promise<ListClustersResponse$1>;
|
|
@@ -14266,6 +14304,13 @@ declare class API$d extends API$p {
|
|
|
14266
14304
|
* @returns A Promise of Cluster
|
|
14267
14305
|
*/
|
|
14268
14306
|
upgradeCluster: (request: Readonly<UpgradeClusterRequest>) => Promise<Cluster$1>;
|
|
14307
|
+
/**
|
|
14308
|
+
* Change type of a cluster. Change type of a specific Kubernetes cluster.
|
|
14309
|
+
*
|
|
14310
|
+
* @param request - The request {@link SetClusterTypeRequest}
|
|
14311
|
+
* @returns A Promise of Cluster
|
|
14312
|
+
*/
|
|
14313
|
+
setClusterType: (request: Readonly<SetClusterTypeRequest>) => Promise<Cluster$1>;
|
|
14269
14314
|
/**
|
|
14270
14315
|
* List available versions for a cluster. List the versions that a specific
|
|
14271
14316
|
* Kubernetes cluster is allowed to upgrade to. Results will comprise every
|
|
@@ -14602,6 +14647,7 @@ type index$e_RebootNodeRequest = RebootNodeRequest;
|
|
|
14602
14647
|
type index$e_ReplaceNodeRequest = ReplaceNodeRequest;
|
|
14603
14648
|
type index$e_ResetClusterAdminTokenRequest = ResetClusterAdminTokenRequest;
|
|
14604
14649
|
type index$e_Runtime = Runtime;
|
|
14650
|
+
type index$e_SetClusterTypeRequest = SetClusterTypeRequest;
|
|
14605
14651
|
type index$e_UpdateClusterRequestAutoUpgrade = UpdateClusterRequestAutoUpgrade;
|
|
14606
14652
|
type index$e_UpdateClusterRequestOpenIDConnectConfig = UpdateClusterRequestOpenIDConnectConfig;
|
|
14607
14653
|
type index$e_UpdatePoolRequest = UpdatePoolRequest;
|
|
@@ -14666,6 +14712,7 @@ declare namespace index$e {
|
|
|
14666
14712
|
index$e_ReplaceNodeRequest as ReplaceNodeRequest,
|
|
14667
14713
|
index$e_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest,
|
|
14668
14714
|
index$e_Runtime as Runtime,
|
|
14715
|
+
index$e_SetClusterTypeRequest as SetClusterTypeRequest,
|
|
14669
14716
|
UpdateClusterRequest$2 as UpdateClusterRequest,
|
|
14670
14717
|
index$e_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade,
|
|
14671
14718
|
UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig,
|
|
@@ -17302,7 +17349,7 @@ type ZonedApiDetachPrivateNetworkRequest = {
|
|
|
17302
17349
|
*
|
|
17303
17350
|
* This API allows you to manage your load balancer service. Load balancer API.
|
|
17304
17351
|
*/
|
|
17305
|
-
declare class API$c extends API$
|
|
17352
|
+
declare class API$c extends API$q {
|
|
17306
17353
|
/** Lists the available regions of the API. */
|
|
17307
17354
|
static readonly LOCALITIES: Region[];
|
|
17308
17355
|
protected pageOfListLbs: (request?: Readonly<ListLbsRequest>) => Promise<ListLbsResponse>;
|
|
@@ -17730,7 +17777,7 @@ declare class API$c extends API$p {
|
|
|
17730
17777
|
* This API allows you to manage your Scaleway Load Balancer services. Load
|
|
17731
17778
|
* Balancer API.
|
|
17732
17779
|
*/
|
|
17733
|
-
declare class ZonedAPI extends API$
|
|
17780
|
+
declare class ZonedAPI extends API$q {
|
|
17734
17781
|
/** Lists the available zones of the API. */
|
|
17735
17782
|
static readonly LOCALITIES: Zone[];
|
|
17736
17783
|
protected pageOfListLbs: (request?: Readonly<ZonedApiListLbsRequest>) => Promise<ListLbsResponse>;
|
|
@@ -18809,7 +18856,7 @@ type GetVersionRequest$1 = {
|
|
|
18809
18856
|
};
|
|
18810
18857
|
|
|
18811
18858
|
/** Marketplace API. */
|
|
18812
|
-
declare class API$b extends API$
|
|
18859
|
+
declare class API$b extends API$q {
|
|
18813
18860
|
protected pageOfListImages: (request?: Readonly<ListImagesRequest$2>) => Promise<ListImagesResponse$2>;
|
|
18814
18861
|
/**
|
|
18815
18862
|
* List marketplace images.
|
|
@@ -18993,7 +19040,7 @@ type GetCategoryRequest = {
|
|
|
18993
19040
|
};
|
|
18994
19041
|
|
|
18995
19042
|
/** Marketplace API. */
|
|
18996
|
-
declare class API$a extends API$
|
|
19043
|
+
declare class API$a extends API$q {
|
|
18997
19044
|
protected pageOfListImages: (request: Readonly<ListImagesRequest$1>) => Promise<ListImagesResponse$1>;
|
|
18998
19045
|
/**
|
|
18999
19046
|
* List marketplace images.
|
|
@@ -19324,7 +19371,7 @@ type GetCredentialRequest = {
|
|
|
19324
19371
|
*
|
|
19325
19372
|
* This API allows you to manage Messaging or Queueing brokers. MnQ API (beta).
|
|
19326
19373
|
*/
|
|
19327
|
-
declare class API$9 extends API$
|
|
19374
|
+
declare class API$9 extends API$q {
|
|
19328
19375
|
/** Lists the available regions of the API. */
|
|
19329
19376
|
static readonly LOCALITIES: Region[];
|
|
19330
19377
|
protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest$1>) => Promise<ListNamespacesResponse$1>;
|
|
@@ -20825,7 +20872,7 @@ type MigrateEndpointRequest = {
|
|
|
20825
20872
|
};
|
|
20826
20873
|
|
|
20827
20874
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
20828
|
-
declare class API$8 extends API$
|
|
20875
|
+
declare class API$8 extends API$q {
|
|
20829
20876
|
/** Lists the available regions of the API. */
|
|
20830
20877
|
static readonly LOCALITIES: Region[];
|
|
20831
20878
|
protected pageOfListDatabaseEngines: (request?: Readonly<ListDatabaseEnginesRequest>) => Promise<ListDatabaseEnginesResponse>;
|
|
@@ -20843,8 +20890,8 @@ declare class API$8 extends API$p {
|
|
|
20843
20890
|
protected pageOfListNodeTypes: (request: Readonly<ListNodeTypesRequest$1>) => Promise<ListNodeTypesResponse$1>;
|
|
20844
20891
|
/**
|
|
20845
20892
|
* List available node types. List all available node types. By default, the
|
|
20846
|
-
*
|
|
20847
|
-
* order, though this can be modified via the order_by field.
|
|
20893
|
+
* node types returned in the list are ordered by creation date in ascending
|
|
20894
|
+
* order, though this can be modified via the `order_by` field.
|
|
20848
20895
|
*
|
|
20849
20896
|
* @param request - The request {@link ListNodeTypesRequest}
|
|
20850
20897
|
* @returns A Promise of ListNodeTypesResponse
|
|
@@ -20855,7 +20902,7 @@ declare class API$8 extends API$p {
|
|
|
20855
20902
|
};
|
|
20856
20903
|
protected pageOfListDatabaseBackups: (request?: Readonly<ListDatabaseBackupsRequest>) => Promise<ListDatabaseBackupsResponse>;
|
|
20857
20904
|
/**
|
|
20858
|
-
* List database backups. List all backups in a specified
|
|
20905
|
+
* List database backups. List all backups in a specified region, for a given
|
|
20859
20906
|
* Scaleway Organization or Scaleway Project. By default, the backups listed
|
|
20860
20907
|
* are ordered by creation date in ascending order. This can be modified via
|
|
20861
20908
|
* the `order_by` field.
|
|
@@ -20939,9 +20986,9 @@ declare class API$8 extends API$p {
|
|
|
20939
20986
|
upgradeInstance: (request: Readonly<UpgradeInstanceRequest>) => Promise<Instance>;
|
|
20940
20987
|
protected pageOfListInstances: (request?: Readonly<ListInstancesRequest>) => Promise<ListInstancesResponse>;
|
|
20941
20988
|
/**
|
|
20942
|
-
* List Database Instances. List all Database Instances in the specified
|
|
20943
|
-
* for a given Scaleway Organization or Scaleway Project. By default,
|
|
20944
|
-
* Database Instances returned in the list are ordered by creation date in
|
|
20989
|
+
* List Database Instances. List all Database Instances in the specified
|
|
20990
|
+
* region, for a given Scaleway Organization or Scaleway Project. By default,
|
|
20991
|
+
* the Database Instances returned in the list are ordered by creation date in
|
|
20945
20992
|
* ascending order, though this can be modified via the order_by field. You
|
|
20946
20993
|
* can define additional parameters for your query, such as `tags` and `name`.
|
|
20947
20994
|
* For the `name` parameter, the value you include will be checked against the
|
|
@@ -21040,7 +21087,7 @@ declare class API$8 extends API$p {
|
|
|
21040
21087
|
*/
|
|
21041
21088
|
renewInstanceCertificate: (request: Readonly<RenewInstanceCertificateRequest>) => Promise<void>;
|
|
21042
21089
|
/**
|
|
21043
|
-
* Get Database Instance metrics. Retrieve the time series metrics of a
|
|
21090
|
+
* Get Database Instance metrics. Retrieve the time series metrics of a given
|
|
21044
21091
|
* Database Instance. You can define the period from which to retrieve metrics
|
|
21045
21092
|
* by specifying the `start_date` and `end_date`.
|
|
21046
21093
|
*
|
|
@@ -21323,10 +21370,10 @@ declare class API$8 extends API$p {
|
|
|
21323
21370
|
protected pageOfListSnapshots: (request?: Readonly<ListSnapshotsRequest>) => Promise<ListSnapshotsResponse>;
|
|
21324
21371
|
/**
|
|
21325
21372
|
* List snapshots. List snapshots. You can include the `instance_id` or
|
|
21326
|
-
* `project_id` in your query to get the list of
|
|
21373
|
+
* `project_id` in your query to get the list of snapshots for specific
|
|
21327
21374
|
* Database Instances and/or Projects. By default, the details returned in the
|
|
21328
21375
|
* list are ordered by creation date in ascending order, though this can be
|
|
21329
|
-
* modified via the order_by field.
|
|
21376
|
+
* modified via the `order_by` field.
|
|
21330
21377
|
*
|
|
21331
21378
|
* @param request - The request {@link ListSnapshotsRequest}
|
|
21332
21379
|
* @returns A Promise of ListSnapshotsResponse
|
|
@@ -21394,7 +21441,7 @@ declare class API$8 extends API$p {
|
|
|
21394
21441
|
createInstanceFromSnapshot: (request: Readonly<CreateInstanceFromSnapshotRequest>) => Promise<Instance>;
|
|
21395
21442
|
/**
|
|
21396
21443
|
* Create a new Database Instance endpoint. Create a new endpoint for a
|
|
21397
|
-
* Database Instance. You can add `
|
|
21444
|
+
* Database Instance. You can add `load_balancer` and `private_network`
|
|
21398
21445
|
* specifications to the body of the request. Note that this action replaces
|
|
21399
21446
|
* your current endpoint, which means you might need to update any environment
|
|
21400
21447
|
* configurations that point to the old endpoint.
|
|
@@ -21743,16 +21790,16 @@ interface ACLRuleSpec {
|
|
|
21743
21790
|
}
|
|
21744
21791
|
/** Add acl rules response. */
|
|
21745
21792
|
interface AddAclRulesResponse {
|
|
21746
|
-
/** ACL Rules enabled
|
|
21793
|
+
/** ACL Rules enabled for the Database Instance. */
|
|
21747
21794
|
aclRules: ACLRule[];
|
|
21748
|
-
/** Total count of
|
|
21795
|
+
/** Total count of ACL rules of the Database Instance. */
|
|
21749
21796
|
totalCount: number;
|
|
21750
21797
|
}
|
|
21751
21798
|
/** Add endpoints response. */
|
|
21752
21799
|
interface AddEndpointsResponse {
|
|
21753
|
-
/** Endpoints defined on the
|
|
21800
|
+
/** Endpoints defined on the Database Instance. */
|
|
21754
21801
|
endpoints: Endpoint[];
|
|
21755
|
-
/** Total count of endpoints of the
|
|
21802
|
+
/** Total count of endpoints of the Database Instance. */
|
|
21756
21803
|
totalCount: number;
|
|
21757
21804
|
}
|
|
21758
21805
|
/** Available cluster setting. */
|
|
@@ -21761,7 +21808,7 @@ interface AvailableClusterSetting {
|
|
|
21761
21808
|
name: string;
|
|
21762
21809
|
/** Default value of the setting. */
|
|
21763
21810
|
defaultValue?: string;
|
|
21764
|
-
/** Type of
|
|
21811
|
+
/** Type of setting. */
|
|
21765
21812
|
type: AvailableClusterSettingPropertyType;
|
|
21766
21813
|
/** Description of the setting. */
|
|
21767
21814
|
description: string;
|
|
@@ -21771,26 +21818,26 @@ interface AvailableClusterSetting {
|
|
|
21771
21818
|
minValue?: number;
|
|
21772
21819
|
/** Optional validation rule of the setting. */
|
|
21773
21820
|
regex?: string;
|
|
21774
|
-
/** Whether the setting is deprecated. */
|
|
21821
|
+
/** Whether or not the setting is deprecated. */
|
|
21775
21822
|
deprecated: boolean;
|
|
21776
21823
|
}
|
|
21777
21824
|
/** Cluster. */
|
|
21778
21825
|
interface Cluster {
|
|
21779
|
-
/** UUID of the
|
|
21826
|
+
/** UUID of the Database Instance. */
|
|
21780
21827
|
id: string;
|
|
21781
|
-
/** Name of the
|
|
21828
|
+
/** Name of the Database Instance. */
|
|
21782
21829
|
name: string;
|
|
21783
|
-
/** Project ID the
|
|
21830
|
+
/** Project ID the Database Instance belongs to. */
|
|
21784
21831
|
projectId: string;
|
|
21785
|
-
/** Status of the
|
|
21832
|
+
/** Status of the Database Instance. */
|
|
21786
21833
|
status: ClusterStatus;
|
|
21787
|
-
/** Redis™ engine version of the
|
|
21834
|
+
/** Redis™ engine version of the Database Instance. */
|
|
21788
21835
|
version: string;
|
|
21789
|
-
/** List of
|
|
21836
|
+
/** List of Database Instance endpoints. */
|
|
21790
21837
|
endpoints: Endpoint[];
|
|
21791
|
-
/** List of tags applied to the
|
|
21838
|
+
/** List of tags applied to the Database Instance. */
|
|
21792
21839
|
tags: string[];
|
|
21793
|
-
/** Node type of the
|
|
21840
|
+
/** Node type of the Database Instance. */
|
|
21794
21841
|
nodeType: string;
|
|
21795
21842
|
/** Creation date (Format ISO 8601). */
|
|
21796
21843
|
createdAt?: Date;
|
|
@@ -21798,17 +21845,17 @@ interface Cluster {
|
|
|
21798
21845
|
updatedAt?: Date;
|
|
21799
21846
|
/** Whether or not TLS is enabled. */
|
|
21800
21847
|
tlsEnabled: boolean;
|
|
21801
|
-
/** List of
|
|
21848
|
+
/** List of Database Instance settings. */
|
|
21802
21849
|
clusterSettings: ClusterSetting[];
|
|
21803
|
-
/** List of
|
|
21850
|
+
/** List of ACL rules. */
|
|
21804
21851
|
aclRules: ACLRule[];
|
|
21805
|
-
/** Number of nodes of the cluster. */
|
|
21852
|
+
/** Number of nodes of the Database Instance cluster. */
|
|
21806
21853
|
clusterSize: number;
|
|
21807
|
-
/** Zone of the
|
|
21854
|
+
/** Zone of the Database Instance. */
|
|
21808
21855
|
zone: Zone;
|
|
21809
21856
|
/** Name of the user associated to the cluster. */
|
|
21810
21857
|
userName: string;
|
|
21811
|
-
/** List of versions the
|
|
21858
|
+
/** List of engine versions the Database Instance can upgrade to. */
|
|
21812
21859
|
upgradableVersions: string[];
|
|
21813
21860
|
}
|
|
21814
21861
|
/** Cluster metrics response. */
|
|
@@ -21825,20 +21872,20 @@ interface ClusterSetting {
|
|
|
21825
21872
|
}
|
|
21826
21873
|
/** Cluster settings response. */
|
|
21827
21874
|
interface ClusterSettingsResponse {
|
|
21828
|
-
/** Settings configured for a given
|
|
21875
|
+
/** Settings configured for a given Database Instance. */
|
|
21829
21876
|
settings: ClusterSetting[];
|
|
21830
21877
|
}
|
|
21831
21878
|
/** Cluster version. */
|
|
21832
21879
|
interface ClusterVersion {
|
|
21833
21880
|
/** Redis™ engine version. */
|
|
21834
21881
|
version: string;
|
|
21835
|
-
/** End of
|
|
21882
|
+
/** Date of End of Life. */
|
|
21836
21883
|
endOfLifeAt?: Date;
|
|
21837
|
-
/** Cluster settings available to be
|
|
21884
|
+
/** Cluster settings available to be updated. */
|
|
21838
21885
|
availableSettings: AvailableClusterSetting[];
|
|
21839
21886
|
/** Redis™ logo url. */
|
|
21840
21887
|
logoUrl: string;
|
|
21841
|
-
/** Zone of the
|
|
21888
|
+
/** Zone of the Redis™ Database Instance. */
|
|
21842
21889
|
zone: Zone;
|
|
21843
21890
|
}
|
|
21844
21891
|
/** Endpoint. */
|
|
@@ -21846,7 +21893,7 @@ interface Endpoint {
|
|
|
21846
21893
|
/** TCP port of the endpoint. */
|
|
21847
21894
|
port: number;
|
|
21848
21895
|
/**
|
|
21849
|
-
* Private
|
|
21896
|
+
* Private Network details.
|
|
21850
21897
|
*
|
|
21851
21898
|
* One-of ('details'): at most one of 'privateNetwork', 'publicNetwork' could
|
|
21852
21899
|
* be set.
|
|
@@ -21859,7 +21906,7 @@ interface Endpoint {
|
|
|
21859
21906
|
* be set.
|
|
21860
21907
|
*/
|
|
21861
21908
|
publicNetwork?: PublicNetwork;
|
|
21862
|
-
/**
|
|
21909
|
+
/** List of IPv4 addresses of the endpoint. */
|
|
21863
21910
|
ips: string[];
|
|
21864
21911
|
/** UUID of the endpoint. */
|
|
21865
21912
|
id: string;
|
|
@@ -21867,14 +21914,14 @@ interface Endpoint {
|
|
|
21867
21914
|
/** Endpoint spec. */
|
|
21868
21915
|
interface EndpointSpec {
|
|
21869
21916
|
/**
|
|
21870
|
-
* Private
|
|
21917
|
+
* Private Network specification details.
|
|
21871
21918
|
*
|
|
21872
21919
|
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
|
|
21873
21920
|
* could be set.
|
|
21874
21921
|
*/
|
|
21875
21922
|
privateNetwork?: EndpointSpecPrivateNetworkSpec;
|
|
21876
21923
|
/**
|
|
21877
|
-
* Public network
|
|
21924
|
+
* Public network specification details.
|
|
21878
21925
|
*
|
|
21879
21926
|
* One-of ('endpointType'): at most one of 'privateNetwork', 'publicNetwork'
|
|
21880
21927
|
* could be set.
|
|
@@ -21883,11 +21930,11 @@ interface EndpointSpec {
|
|
|
21883
21930
|
}
|
|
21884
21931
|
/** Endpoint spec. private network spec. */
|
|
21885
21932
|
interface EndpointSpecPrivateNetworkSpec {
|
|
21886
|
-
/** UUID of the
|
|
21933
|
+
/** UUID of the Private Network to connect to the Database Instance. */
|
|
21887
21934
|
id: string;
|
|
21888
21935
|
/**
|
|
21889
|
-
* Endpoint IPv4
|
|
21890
|
-
* IPv4 per node.
|
|
21936
|
+
* Endpoint IPv4 address with a CIDR notation. You must provide at least one
|
|
21937
|
+
* IPv4 per node.
|
|
21891
21938
|
*/
|
|
21892
21939
|
serviceIps: string[];
|
|
21893
21940
|
}
|
|
@@ -21896,110 +21943,110 @@ interface EndpointSpecPublicNetworkSpec {
|
|
|
21896
21943
|
}
|
|
21897
21944
|
/** List cluster versions response. */
|
|
21898
21945
|
interface ListClusterVersionsResponse {
|
|
21899
|
-
/** List of
|
|
21946
|
+
/** List of available Redis™ engine versions. */
|
|
21900
21947
|
versions: ClusterVersion[];
|
|
21901
21948
|
/** Total count of available Redis™ engine versions. */
|
|
21902
21949
|
totalCount: number;
|
|
21903
21950
|
}
|
|
21904
21951
|
/** List clusters response. */
|
|
21905
21952
|
interface ListClustersResponse {
|
|
21906
|
-
/** List all
|
|
21953
|
+
/** List all Database Instances. */
|
|
21907
21954
|
clusters: Cluster[];
|
|
21908
|
-
/** Total count of
|
|
21955
|
+
/** Total count of Database Instances. */
|
|
21909
21956
|
totalCount: number;
|
|
21910
21957
|
}
|
|
21911
21958
|
/** List node types response. */
|
|
21912
21959
|
interface ListNodeTypesResponse {
|
|
21913
|
-
/** Types of
|
|
21960
|
+
/** Types of node. */
|
|
21914
21961
|
nodeTypes: NodeType[];
|
|
21915
|
-
/** Total count of node
|
|
21962
|
+
/** Total count of node types available. */
|
|
21916
21963
|
totalCount: number;
|
|
21917
21964
|
}
|
|
21918
21965
|
/** Node type. */
|
|
21919
21966
|
interface NodeType {
|
|
21920
|
-
/** Node
|
|
21967
|
+
/** Node type name. */
|
|
21921
21968
|
name: string;
|
|
21922
|
-
/** Current stock status
|
|
21969
|
+
/** Current stock status of the node type. */
|
|
21923
21970
|
stockStatus: NodeTypeStock;
|
|
21924
|
-
/** Current
|
|
21971
|
+
/** Current specifications of the offer. */
|
|
21925
21972
|
description: string;
|
|
21926
21973
|
/** Number of virtual CPUs. */
|
|
21927
21974
|
vcpus: number;
|
|
21928
21975
|
/** Quantity of RAM. */
|
|
21929
21976
|
memory: number;
|
|
21930
|
-
/** The
|
|
21977
|
+
/** The node type is currently disabled. */
|
|
21931
21978
|
disabled: boolean;
|
|
21932
|
-
/** The
|
|
21979
|
+
/** The node type is currently in beta. */
|
|
21933
21980
|
beta: boolean;
|
|
21934
|
-
/** Zone the
|
|
21981
|
+
/** Zone of the node type. */
|
|
21935
21982
|
zone: Zone;
|
|
21936
21983
|
}
|
|
21937
21984
|
/** Private network. */
|
|
21938
21985
|
interface PrivateNetwork$1 {
|
|
21939
|
-
/** UUID of the
|
|
21986
|
+
/** UUID of the Private Network. */
|
|
21940
21987
|
id: string;
|
|
21941
21988
|
/** List of IPv4 CIDR notation addresses of the endpoint. */
|
|
21942
21989
|
serviceIps: string[];
|
|
21943
|
-
/** Private
|
|
21990
|
+
/** Zone of the Private Network. */
|
|
21944
21991
|
zone: Zone;
|
|
21945
21992
|
}
|
|
21946
21993
|
interface PublicNetwork {
|
|
21947
21994
|
}
|
|
21948
21995
|
/** Set acl rules response. */
|
|
21949
21996
|
interface SetAclRulesResponse {
|
|
21950
|
-
/** ACL Rules enabled
|
|
21997
|
+
/** ACL Rules enabled for the Database Instance. */
|
|
21951
21998
|
aclRules: ACLRule[];
|
|
21952
21999
|
}
|
|
21953
22000
|
/** Set endpoints response. */
|
|
21954
22001
|
interface SetEndpointsResponse {
|
|
21955
|
-
/** Endpoints defined on the
|
|
22002
|
+
/** Endpoints defined on the Database Instance. */
|
|
21956
22003
|
endpoints: Endpoint[];
|
|
21957
22004
|
}
|
|
21958
22005
|
type CreateClusterRequest = {
|
|
21959
22006
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
21960
22007
|
zone?: Zone;
|
|
21961
|
-
/** The
|
|
22008
|
+
/** The Project ID in which to create the Database Instance. */
|
|
21962
22009
|
projectId?: string;
|
|
21963
|
-
/** Name of the
|
|
22010
|
+
/** Name of the Database Instance. */
|
|
21964
22011
|
name?: string;
|
|
21965
|
-
/** Redis™ engine version of the
|
|
22012
|
+
/** Redis™ engine version of the Database Instance. */
|
|
21966
22013
|
version: string;
|
|
21967
|
-
/** Tags to apply to the
|
|
22014
|
+
/** Tags to apply to the Database Instance. */
|
|
21968
22015
|
tags?: string[];
|
|
21969
|
-
/** Type of node to use for the
|
|
22016
|
+
/** Type of node to use for the Database Instance. */
|
|
21970
22017
|
nodeType: string;
|
|
21971
|
-
/** Name of the user created
|
|
22018
|
+
/** Name of the user created upon Database Instance creation. */
|
|
21972
22019
|
userName: string;
|
|
21973
22020
|
/** Password of the user. */
|
|
21974
22021
|
password: string;
|
|
21975
|
-
/** Number of nodes
|
|
22022
|
+
/** Number of nodes in the Redis™ cluster. */
|
|
21976
22023
|
clusterSize?: number;
|
|
21977
22024
|
/** List of ACLRuleSpec used to secure your publicly exposed cluster. */
|
|
21978
22025
|
aclRules?: ACLRuleSpec[];
|
|
21979
22026
|
/**
|
|
21980
22027
|
* Zero or multiple EndpointSpec used to expose your cluster publicly and
|
|
21981
|
-
* inside
|
|
22028
|
+
* inside Private Networks. Zero or multiple EndpointSpec used to expose your
|
|
21982
22029
|
* cluster publicly and inside private networks. If no EndpoindSpec is given
|
|
21983
22030
|
* the cluster will be publicly exposed by default.
|
|
21984
22031
|
*/
|
|
21985
22032
|
endpoints?: EndpointSpec[];
|
|
21986
22033
|
/** Whether or not TLS is enabled. */
|
|
21987
22034
|
tlsEnabled: boolean;
|
|
21988
|
-
/** List of
|
|
22035
|
+
/** List of advanced settings to be set upon Database Instance initialization. */
|
|
21989
22036
|
clusterSettings?: ClusterSetting[];
|
|
21990
22037
|
};
|
|
21991
22038
|
type UpdateClusterRequest = {
|
|
21992
22039
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
21993
22040
|
zone?: Zone;
|
|
21994
|
-
/** UUID of the
|
|
22041
|
+
/** UUID of the Database Instance to update. */
|
|
21995
22042
|
clusterId: string;
|
|
21996
|
-
/** Name of the
|
|
22043
|
+
/** Name of the Database Instance. */
|
|
21997
22044
|
name?: string;
|
|
21998
|
-
/**
|
|
22045
|
+
/** Database Instance tags. */
|
|
21999
22046
|
tags?: string[];
|
|
22000
|
-
/** Name of the
|
|
22047
|
+
/** Name of the Database Instance user. */
|
|
22001
22048
|
userName?: string;
|
|
22002
|
-
/** Password of the
|
|
22049
|
+
/** Password of the Database Instance user. */
|
|
22003
22050
|
password?: string;
|
|
22004
22051
|
};
|
|
22005
22052
|
type GetClusterRequest = {
|
|
@@ -22011,17 +22058,17 @@ type GetClusterRequest = {
|
|
|
22011
22058
|
type ListClustersRequest = {
|
|
22012
22059
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22013
22060
|
zone?: Zone;
|
|
22014
|
-
/**
|
|
22061
|
+
/** Filter by Database Instance tags. */
|
|
22015
22062
|
tags?: string[];
|
|
22016
|
-
/**
|
|
22063
|
+
/** Filter by Database Instance names. */
|
|
22017
22064
|
name?: string;
|
|
22018
|
-
/** Criteria to use when ordering
|
|
22065
|
+
/** Criteria to use when ordering the list. */
|
|
22019
22066
|
orderBy?: ListClustersRequestOrderBy;
|
|
22020
|
-
/** Project ID
|
|
22067
|
+
/** Filter by Project ID. */
|
|
22021
22068
|
projectId?: string;
|
|
22022
|
-
/** Organization ID
|
|
22069
|
+
/** Filter by Organization ID. */
|
|
22023
22070
|
organizationId?: string;
|
|
22024
|
-
/**
|
|
22071
|
+
/** Filter by Redis™ engine version. */
|
|
22025
22072
|
version?: string;
|
|
22026
22073
|
page?: number;
|
|
22027
22074
|
pageSize?: number;
|
|
@@ -22029,24 +22076,24 @@ type ListClustersRequest = {
|
|
|
22029
22076
|
type MigrateClusterRequest = {
|
|
22030
22077
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22031
22078
|
zone?: Zone;
|
|
22032
|
-
/** UUID of the
|
|
22079
|
+
/** UUID of the Database Instance to update. */
|
|
22033
22080
|
clusterId: string;
|
|
22034
22081
|
/**
|
|
22035
|
-
* Redis™ engine version of the
|
|
22082
|
+
* Redis™ engine version of the Database Instance.
|
|
22036
22083
|
*
|
|
22037
22084
|
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize'
|
|
22038
22085
|
* could be set.
|
|
22039
22086
|
*/
|
|
22040
22087
|
version?: string;
|
|
22041
22088
|
/**
|
|
22042
|
-
* Type of node to use for the
|
|
22089
|
+
* Type of node to use for the Database Instance.
|
|
22043
22090
|
*
|
|
22044
22091
|
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize'
|
|
22045
22092
|
* could be set.
|
|
22046
22093
|
*/
|
|
22047
22094
|
nodeType?: string;
|
|
22048
22095
|
/**
|
|
22049
|
-
* Number of nodes for the
|
|
22096
|
+
* Number of nodes for the Database Instance.
|
|
22050
22097
|
*
|
|
22051
22098
|
* One-of ('action'): at most one of 'version', 'nodeType', 'clusterSize'
|
|
22052
22099
|
* could be set.
|
|
@@ -22056,7 +22103,7 @@ type MigrateClusterRequest = {
|
|
|
22056
22103
|
type DeleteClusterRequest = {
|
|
22057
22104
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22058
22105
|
zone?: Zone;
|
|
22059
|
-
/** UUID of the
|
|
22106
|
+
/** UUID of the Database Instance to delete. */
|
|
22060
22107
|
clusterId: string;
|
|
22061
22108
|
};
|
|
22062
22109
|
type GetClusterMetricsRequest = {
|
|
@@ -22064,9 +22111,9 @@ type GetClusterMetricsRequest = {
|
|
|
22064
22111
|
zone?: Zone;
|
|
22065
22112
|
/** UUID of the cluster. */
|
|
22066
22113
|
clusterId: string;
|
|
22067
|
-
/** Start date
|
|
22114
|
+
/** Start date. */
|
|
22068
22115
|
startAt?: Date;
|
|
22069
|
-
/** End date
|
|
22116
|
+
/** End date. */
|
|
22070
22117
|
endAt?: Date;
|
|
22071
22118
|
/** Name of the metric to gather. */
|
|
22072
22119
|
metricName?: string;
|
|
@@ -22108,15 +22155,15 @@ type RenewClusterCertificateRequest = {
|
|
|
22108
22155
|
type AddClusterSettingsRequest = {
|
|
22109
22156
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22110
22157
|
zone?: Zone;
|
|
22111
|
-
/** UUID of the
|
|
22158
|
+
/** UUID of the Database Instance you want to add settings to. */
|
|
22112
22159
|
clusterId: string;
|
|
22113
|
-
/** Settings to add
|
|
22160
|
+
/** Settings to add to the cluster. */
|
|
22114
22161
|
settings: ClusterSetting[];
|
|
22115
22162
|
};
|
|
22116
22163
|
type DeleteClusterSettingRequest = {
|
|
22117
22164
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22118
22165
|
zone?: Zone;
|
|
22119
|
-
/** UUID of the
|
|
22166
|
+
/** UUID of the Database Instance where the settings must be set. */
|
|
22120
22167
|
clusterId: string;
|
|
22121
22168
|
/** Setting name to delete. */
|
|
22122
22169
|
settingName: string;
|
|
@@ -22124,15 +22171,15 @@ type DeleteClusterSettingRequest = {
|
|
|
22124
22171
|
type SetClusterSettingsRequest = {
|
|
22125
22172
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22126
22173
|
zone?: Zone;
|
|
22127
|
-
/** UUID of the
|
|
22174
|
+
/** UUID of the Database Instance where the settings must be set. */
|
|
22128
22175
|
clusterId: string;
|
|
22129
|
-
/** Settings to define for the
|
|
22176
|
+
/** Settings to define for the Database Instance. */
|
|
22130
22177
|
settings: ClusterSetting[];
|
|
22131
22178
|
};
|
|
22132
22179
|
type SetAclRulesRequest = {
|
|
22133
22180
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22134
22181
|
zone?: Zone;
|
|
22135
|
-
/** UUID of the
|
|
22182
|
+
/** UUID of the Database Instance where the ACL rules have to be set. */
|
|
22136
22183
|
clusterId: string;
|
|
22137
22184
|
/** ACLs rules to define for the cluster. */
|
|
22138
22185
|
aclRules: ACLRuleSpec[];
|
|
@@ -22140,7 +22187,7 @@ type SetAclRulesRequest = {
|
|
|
22140
22187
|
type AddAclRulesRequest = {
|
|
22141
22188
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22142
22189
|
zone?: Zone;
|
|
22143
|
-
/** UUID of the
|
|
22190
|
+
/** UUID of the Database Instance you want to add ACL rules to. */
|
|
22144
22191
|
clusterId: string;
|
|
22145
22192
|
/** ACLs rules to add to the cluster. */
|
|
22146
22193
|
aclRules: ACLRuleSpec[];
|
|
@@ -22148,29 +22195,29 @@ type AddAclRulesRequest = {
|
|
|
22148
22195
|
type DeleteAclRuleRequest = {
|
|
22149
22196
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22150
22197
|
zone?: Zone;
|
|
22151
|
-
/** UUID of the
|
|
22198
|
+
/** UUID of the ACL rule you want to delete. */
|
|
22152
22199
|
aclId: string;
|
|
22153
22200
|
};
|
|
22154
22201
|
type GetAclRuleRequest = {
|
|
22155
22202
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22156
22203
|
zone?: Zone;
|
|
22157
|
-
/** UUID of the
|
|
22204
|
+
/** UUID of the ACL rule you want to get. */
|
|
22158
22205
|
aclId: string;
|
|
22159
22206
|
};
|
|
22160
22207
|
type SetEndpointsRequest = {
|
|
22161
22208
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22162
22209
|
zone?: Zone;
|
|
22163
|
-
/** UUID of the
|
|
22210
|
+
/** UUID of the Database Instance where the endpoints have to be set. */
|
|
22164
22211
|
clusterId: string;
|
|
22165
|
-
/** Endpoints to define for the
|
|
22212
|
+
/** Endpoints to define for the Database Instance. */
|
|
22166
22213
|
endpoints: EndpointSpec[];
|
|
22167
22214
|
};
|
|
22168
22215
|
type AddEndpointsRequest = {
|
|
22169
22216
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
22170
22217
|
zone?: Zone;
|
|
22171
|
-
/** UUID of the
|
|
22218
|
+
/** UUID of the Database Instance you want to add endpoints to. */
|
|
22172
22219
|
clusterId: string;
|
|
22173
|
-
/** Endpoints to add to the
|
|
22220
|
+
/** Endpoints to add to the Database Instance. */
|
|
22174
22221
|
endpoints: EndpointSpec[];
|
|
22175
22222
|
};
|
|
22176
22223
|
type DeleteEndpointRequest = {
|
|
@@ -22202,25 +22249,34 @@ type UpdateEndpointRequest = {
|
|
|
22202
22249
|
};
|
|
22203
22250
|
|
|
22204
22251
|
/** Managed Database for Redis™ API. */
|
|
22205
|
-
declare class API$7 extends API$
|
|
22252
|
+
declare class API$7 extends API$q {
|
|
22206
22253
|
/** Lists the available zones of the API. */
|
|
22207
22254
|
static readonly LOCALITIES: Zone[];
|
|
22208
22255
|
/**
|
|
22209
|
-
* Create a
|
|
22256
|
+
* Create a Redis™ Database Instance. Create a new Redis™ Database Instance
|
|
22257
|
+
* (Redis™ cluster). You must set the `zone`, `project_id`, `version`,
|
|
22258
|
+
* `node_type`, `user_name` and `password` parameters. Optionally you can
|
|
22259
|
+
* define `acl_rules`, `endpoints`, `tls_enabled` and `cluster_settings`.
|
|
22210
22260
|
*
|
|
22211
22261
|
* @param request - The request {@link CreateClusterRequest}
|
|
22212
22262
|
* @returns A Promise of Cluster
|
|
22213
22263
|
*/
|
|
22214
22264
|
createCluster: (request: Readonly<CreateClusterRequest>) => Promise<Cluster>;
|
|
22215
22265
|
/**
|
|
22216
|
-
* Update a
|
|
22266
|
+
* Update a Redis™ Database Instance. Update the parameters of a Redis™
|
|
22267
|
+
* Database Instance (Redis™ cluster), including `name`, `tags`, `user_name`
|
|
22268
|
+
* and `password`.
|
|
22217
22269
|
*
|
|
22218
22270
|
* @param request - The request {@link UpdateClusterRequest}
|
|
22219
22271
|
* @returns A Promise of Cluster
|
|
22220
22272
|
*/
|
|
22221
22273
|
updateCluster: (request: Readonly<UpdateClusterRequest>) => Promise<Cluster>;
|
|
22222
22274
|
/**
|
|
22223
|
-
* Get a
|
|
22275
|
+
* Get a Redis™ Database Instance. Retrieve information about a Redis™
|
|
22276
|
+
* Database Instance (Redis™ cluster). Specify the `cluster_id` and `region`
|
|
22277
|
+
* in your request to get information such as `id`, `status`, `version`,
|
|
22278
|
+
* `tls_enabled`, `cluster_settings`, `upgradable_versions` and `endpoints`
|
|
22279
|
+
* about your cluster in the response.
|
|
22224
22280
|
*
|
|
22225
22281
|
* @param request - The request {@link GetClusterRequest}
|
|
22226
22282
|
* @returns A Promise of Cluster
|
|
@@ -22236,7 +22292,12 @@ declare class API$7 extends API$p {
|
|
|
22236
22292
|
waitForCluster: (request: Readonly<GetClusterRequest>, options?: Readonly<WaitForOptions<Cluster>>) => Promise<Cluster>;
|
|
22237
22293
|
protected pageOfListClusters: (request?: Readonly<ListClustersRequest>) => Promise<ListClustersResponse>;
|
|
22238
22294
|
/**
|
|
22239
|
-
* List
|
|
22295
|
+
* List Redis™ Database Instances. List all Redis™ Database Instances (Redis™
|
|
22296
|
+
* cluster) in the specified zone. By default, the Database Instances returned
|
|
22297
|
+
* in the list are ordered by creation date in ascending order, though this
|
|
22298
|
+
* can be modified via the order_by field. You can define additional
|
|
22299
|
+
* parameters for your query, such as `tags`, `name`, `organization_id` and
|
|
22300
|
+
* `version`.
|
|
22240
22301
|
*
|
|
22241
22302
|
* @param request - The request {@link ListClustersRequest}
|
|
22242
22303
|
* @returns A Promise of ListClustersResponse
|
|
@@ -22246,25 +22307,32 @@ declare class API$7 extends API$p {
|
|
|
22246
22307
|
[Symbol.asyncIterator]: () => AsyncGenerator<Cluster[], void, void>;
|
|
22247
22308
|
};
|
|
22248
22309
|
/**
|
|
22249
|
-
*
|
|
22250
|
-
*
|
|
22251
|
-
* scaling
|
|
22252
|
-
*
|
|
22253
|
-
*
|
|
22310
|
+
* Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
|
|
22311
|
+
* Database Instance node, either by upgrading to a bigger node type (vertical
|
|
22312
|
+
* scaling) or by adding more nodes to your Database Instance to increase your
|
|
22313
|
+
* number of endpoints and distribute cache (horizontal scaling). Note that
|
|
22314
|
+
* scaling horizontally your Redis™ Database Instance will not renew its TLS
|
|
22315
|
+
* certificate. In order to refresh the TLS certificate, you must use the
|
|
22316
|
+
* Renew TLS certificate endpoint.
|
|
22254
22317
|
*
|
|
22255
22318
|
* @param request - The request {@link MigrateClusterRequest}
|
|
22256
22319
|
* @returns A Promise of Cluster
|
|
22257
22320
|
*/
|
|
22258
22321
|
migrateCluster: (request: Readonly<MigrateClusterRequest>) => Promise<Cluster>;
|
|
22259
22322
|
/**
|
|
22260
|
-
* Delete a
|
|
22323
|
+
* Delete a Redis™ Database Instance. Delete a Redis™ Database Instance
|
|
22324
|
+
* (Redis™ cluster), specified by the `region` and `cluster_id` parameters.
|
|
22325
|
+
* Deleting a Database Instance is permanent, and cannot be undone. Note that
|
|
22326
|
+
* upon deletion all your data will be lost.
|
|
22261
22327
|
*
|
|
22262
22328
|
* @param request - The request {@link DeleteClusterRequest}
|
|
22263
22329
|
* @returns A Promise of Cluster
|
|
22264
22330
|
*/
|
|
22265
22331
|
deleteCluster: (request: Readonly<DeleteClusterRequest>) => Promise<Cluster>;
|
|
22266
22332
|
/**
|
|
22267
|
-
* Get metrics of a
|
|
22333
|
+
* Get metrics of a Redis™ Database Instance. Retrieve the metrics of a Redis™
|
|
22334
|
+
* Database Instance (Redis™ cluster). You can define the period from which to
|
|
22335
|
+
* retrieve metrics by specifying the `start_date` and `end_date`.
|
|
22268
22336
|
*
|
|
22269
22337
|
* @param request - The request {@link GetClusterMetricsRequest}
|
|
22270
22338
|
* @returns A Promise of ClusterMetricsResponse
|
|
@@ -22272,7 +22340,9 @@ declare class API$7 extends API$p {
|
|
|
22272
22340
|
getClusterMetrics: (request: Readonly<GetClusterMetricsRequest>) => Promise<ClusterMetricsResponse>;
|
|
22273
22341
|
protected pageOfListNodeTypes: (request: Readonly<ListNodeTypesRequest>) => Promise<ListNodeTypesResponse>;
|
|
22274
22342
|
/**
|
|
22275
|
-
* List available node types.
|
|
22343
|
+
* List available node types. List all available node types. By default, the
|
|
22344
|
+
* node types returned in the list are ordered by creation date in ascending
|
|
22345
|
+
* order, though this can be modified via the `order_by` field.
|
|
22276
22346
|
*
|
|
22277
22347
|
* @param request - The request {@link ListNodeTypesRequest}
|
|
22278
22348
|
* @returns A Promise of ListNodeTypesResponse
|
|
@@ -22283,7 +22353,9 @@ declare class API$7 extends API$p {
|
|
|
22283
22353
|
};
|
|
22284
22354
|
protected pageOfListClusterVersions: (request: Readonly<ListClusterVersionsRequest>) => Promise<ListClusterVersionsResponse>;
|
|
22285
22355
|
/**
|
|
22286
|
-
* List available Redis™ versions.
|
|
22356
|
+
* List available Redis™ versions. List the Redis™ database engine versions
|
|
22357
|
+
* available. You can define additional parameters for your query, such as
|
|
22358
|
+
* `include_disabled`, `include_beta`, `include_deprecated` and `version`.
|
|
22287
22359
|
*
|
|
22288
22360
|
* @param request - The request {@link ListClusterVersionsRequest}
|
|
22289
22361
|
* @returns A Promise of ListClusterVersionsResponse
|
|
@@ -22293,96 +22365,133 @@ declare class API$7 extends API$p {
|
|
|
22293
22365
|
[Symbol.asyncIterator]: () => AsyncGenerator<ClusterVersion[], void, void>;
|
|
22294
22366
|
};
|
|
22295
22367
|
/**
|
|
22296
|
-
* Get the TLS certificate of a cluster.
|
|
22368
|
+
* Get the TLS certificate of a cluster. Retrieve information about the TLS
|
|
22369
|
+
* certificate of a Redis™ Database Instance (Redis™ cluster). Details like
|
|
22370
|
+
* name and content are returned in the response.
|
|
22297
22371
|
*
|
|
22298
22372
|
* @param request - The request {@link GetClusterCertificateRequest}
|
|
22299
22373
|
* @returns A Promise of Blob
|
|
22300
22374
|
*/
|
|
22301
22375
|
getClusterCertificate: (request: Readonly<GetClusterCertificateRequest>) => Promise<Blob>;
|
|
22302
22376
|
/**
|
|
22303
|
-
* Renew the TLS certificate of a cluster.
|
|
22377
|
+
* Renew the TLS certificate of a cluster. Renew a TLS certificate for a
|
|
22378
|
+
* Redis™ Database Instance (Redis™ cluster). Renewing a certificate means
|
|
22379
|
+
* that you will not be able to connect to your Database Instance using the
|
|
22380
|
+
* previous certificate. You will also need to download and update the new
|
|
22381
|
+
* certificate for all database clients.
|
|
22304
22382
|
*
|
|
22305
22383
|
* @param request - The request {@link RenewClusterCertificateRequest}
|
|
22306
22384
|
* @returns A Promise of Cluster
|
|
22307
22385
|
*/
|
|
22308
22386
|
renewClusterCertificate: (request: Readonly<RenewClusterCertificateRequest>) => Promise<Cluster>;
|
|
22309
22387
|
/**
|
|
22310
|
-
* Add
|
|
22388
|
+
* Add advanced settings. Add an advanced setting to a Redis™ Database
|
|
22389
|
+
* Instance (Redis™ cluster). You must set the `name` and the `value` of each
|
|
22390
|
+
* setting.
|
|
22311
22391
|
*
|
|
22312
22392
|
* @param request - The request {@link AddClusterSettingsRequest}
|
|
22313
22393
|
* @returns A Promise of ClusterSettingsResponse
|
|
22314
22394
|
*/
|
|
22315
22395
|
addClusterSettings: (request: Readonly<AddClusterSettingsRequest>) => Promise<ClusterSettingsResponse>;
|
|
22316
22396
|
/**
|
|
22317
|
-
* Delete a
|
|
22397
|
+
* Delete advanced setting. Delete an advanced setting in a Redis™ Database
|
|
22398
|
+
* Instance (Redis™ cluster). You must specify the names of the settings you
|
|
22399
|
+
* want to delete in the request body.
|
|
22318
22400
|
*
|
|
22319
22401
|
* @param request - The request {@link DeleteClusterSettingRequest}
|
|
22320
22402
|
* @returns A Promise of Cluster
|
|
22321
22403
|
*/
|
|
22322
22404
|
deleteClusterSetting: (request: Readonly<DeleteClusterSettingRequest>) => Promise<Cluster>;
|
|
22323
22405
|
/**
|
|
22324
|
-
* Set
|
|
22406
|
+
* Set advanced settings. Update an advanced setting for a Redis™ Database
|
|
22407
|
+
* Instance (Redis™ cluster). Settings added upon database engine
|
|
22408
|
+
* initalization can only be defined once, and cannot, therefore, be updated.
|
|
22325
22409
|
*
|
|
22326
22410
|
* @param request - The request {@link SetClusterSettingsRequest}
|
|
22327
22411
|
* @returns A Promise of ClusterSettingsResponse
|
|
22328
22412
|
*/
|
|
22329
22413
|
setClusterSettings: (request: Readonly<SetClusterSettingsRequest>) => Promise<ClusterSettingsResponse>;
|
|
22330
22414
|
/**
|
|
22331
|
-
* Set ACL rules for a
|
|
22415
|
+
* Set ACL rules for a cluster. Replace all the ACL rules of a Redis™ Database
|
|
22416
|
+
* Instance (Redis™ cluster).
|
|
22332
22417
|
*
|
|
22333
22418
|
* @param request - The request {@link SetAclRulesRequest}
|
|
22334
22419
|
* @returns A Promise of SetAclRulesResponse
|
|
22335
22420
|
*/
|
|
22336
22421
|
setAclRules: (request: Readonly<SetAclRulesRequest>) => Promise<SetAclRulesResponse>;
|
|
22337
22422
|
/**
|
|
22338
|
-
* Add ACL rules for a
|
|
22423
|
+
* Add ACL rules for a cluster. Add an additional ACL rule to a Redis™
|
|
22424
|
+
* Database Instance (Redis™ cluster).
|
|
22339
22425
|
*
|
|
22340
22426
|
* @param request - The request {@link AddAclRulesRequest}
|
|
22341
22427
|
* @returns A Promise of AddAclRulesResponse
|
|
22342
22428
|
*/
|
|
22343
22429
|
addAclRules: (request: Readonly<AddAclRulesRequest>) => Promise<AddAclRulesResponse>;
|
|
22344
22430
|
/**
|
|
22345
|
-
* Delete an ACL rule for a
|
|
22431
|
+
* Delete an ACL rule for a cluster. Delete an ACL rule of a Redis™ Database
|
|
22432
|
+
* Instance (Redis™ cluster). You must specify the `acl_id` of the rule you
|
|
22433
|
+
* want to delete in your request.
|
|
22346
22434
|
*
|
|
22347
22435
|
* @param request - The request {@link DeleteAclRuleRequest}
|
|
22348
22436
|
* @returns A Promise of Cluster
|
|
22349
22437
|
*/
|
|
22350
22438
|
deleteAclRule: (request: Readonly<DeleteAclRuleRequest>) => Promise<Cluster>;
|
|
22351
22439
|
/**
|
|
22352
|
-
* Get an ACL rule.
|
|
22440
|
+
* Get an ACL rule. Retrieve information about an ACL rule of a Redis™
|
|
22441
|
+
* Database Instance (Redis™ cluster). You must specify the `acl_id` of the
|
|
22442
|
+
* rule in your request.
|
|
22353
22443
|
*
|
|
22354
22444
|
* @param request - The request {@link GetAclRuleRequest}
|
|
22355
22445
|
* @returns A Promise of ACLRule
|
|
22356
22446
|
*/
|
|
22357
22447
|
getAclRule: (request: Readonly<GetAclRuleRequest>) => Promise<ACLRule>;
|
|
22358
22448
|
/**
|
|
22359
|
-
* Set endpoints for a
|
|
22449
|
+
* Set endpoints for a cluster. Update an endpoint for a Redis™ Database
|
|
22450
|
+
* Instance (Redis™ cluster). You must specify the `cluster_id` and the
|
|
22451
|
+
* `endpoints` parameters in your request.
|
|
22360
22452
|
*
|
|
22361
22453
|
* @param request - The request {@link SetEndpointsRequest}
|
|
22362
22454
|
* @returns A Promise of SetEndpointsResponse
|
|
22363
22455
|
*/
|
|
22364
22456
|
setEndpoints: (request: Readonly<SetEndpointsRequest>) => Promise<SetEndpointsResponse>;
|
|
22365
22457
|
/**
|
|
22366
|
-
* Add endpoints for a
|
|
22458
|
+
* Add endpoints for a cluster. Add a new endpoint for a Redis™ Database
|
|
22459
|
+
* Instance (Redis™ cluster). You can add `private_network` or
|
|
22460
|
+
* `public_network` specifications to the body of the request.
|
|
22367
22461
|
*
|
|
22368
22462
|
* @param request - The request {@link AddEndpointsRequest}
|
|
22369
22463
|
* @returns A Promise of AddEndpointsResponse
|
|
22370
22464
|
*/
|
|
22371
22465
|
addEndpoints: (request: Readonly<AddEndpointsRequest>) => Promise<AddEndpointsResponse>;
|
|
22372
22466
|
/**
|
|
22373
|
-
* Delete an endpoint for a
|
|
22467
|
+
* Delete an endpoint for a cluster. Delete the endpoint of a Redis™ Database
|
|
22468
|
+
* Instance (Redis™ cluster). You must specify the `region` and `endpoint_id`
|
|
22469
|
+
* parameters of the endpoint you want to delete. Note that might need to
|
|
22470
|
+
* update any environment configurations that point to the deleted endpoint.
|
|
22374
22471
|
*
|
|
22375
22472
|
* @param request - The request {@link DeleteEndpointRequest}
|
|
22376
22473
|
* @returns A Promise of Cluster
|
|
22377
22474
|
*/
|
|
22378
22475
|
deleteEndpoint: (request: Readonly<DeleteEndpointRequest>) => Promise<Cluster>;
|
|
22379
22476
|
/**
|
|
22380
|
-
* Get an endpoint.
|
|
22477
|
+
* Get an endpoint. Retrieve information about a Redis™ Database Instance
|
|
22478
|
+
* (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`,
|
|
22479
|
+
* `port`, `private_network` and `public_network` specifications are returned
|
|
22480
|
+
* in the response.
|
|
22381
22481
|
*
|
|
22382
22482
|
* @param request - The request {@link GetEndpointRequest}
|
|
22383
22483
|
* @returns A Promise of Endpoint
|
|
22384
22484
|
*/
|
|
22385
22485
|
getEndpoint: (request: Readonly<GetEndpointRequest>) => Promise<Endpoint>;
|
|
22486
|
+
/**
|
|
22487
|
+
* Update an endpoint. Update information about a Redis™ Database Instance
|
|
22488
|
+
* (Redis™ cluster) endpoint. Full details about the endpoint, like `ips`,
|
|
22489
|
+
* `port`, `private_network` and `public_network` specifications are returned
|
|
22490
|
+
* in the response.
|
|
22491
|
+
*
|
|
22492
|
+
* @param request - The request {@link UpdateEndpointRequest}
|
|
22493
|
+
* @returns A Promise of Endpoint
|
|
22494
|
+
*/
|
|
22386
22495
|
updateEndpoint: (request: Readonly<UpdateEndpointRequest>) => Promise<Endpoint>;
|
|
22387
22496
|
}
|
|
22388
22497
|
|
|
@@ -22800,7 +22909,7 @@ type DeleteTagRequest = {
|
|
|
22800
22909
|
*
|
|
22801
22910
|
* Container registry API. Registry API.
|
|
22802
22911
|
*/
|
|
22803
|
-
declare class API$6 extends API$
|
|
22912
|
+
declare class API$6 extends API$q {
|
|
22804
22913
|
/** Lists the available regions of the API. */
|
|
22805
22914
|
static readonly LOCALITIES: Region[];
|
|
22806
22915
|
protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest>) => Promise<ListNamespacesResponse>;
|
|
@@ -23007,71 +23116,77 @@ type SecretStatus = 'ready' | 'locked';
|
|
|
23007
23116
|
type SecretVersionStatus = 'unknown' | 'enabled' | 'disabled' | 'destroyed';
|
|
23008
23117
|
/** Access secret version response. */
|
|
23009
23118
|
interface AccessSecretVersionResponse {
|
|
23010
|
-
/** ID of the
|
|
23119
|
+
/** ID of the secret. */
|
|
23011
23120
|
secretId: string;
|
|
23012
|
-
/**
|
|
23121
|
+
/**
|
|
23122
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23123
|
+
* subsequent revisions augment by 1.
|
|
23124
|
+
*/
|
|
23013
23125
|
revision: number;
|
|
23014
|
-
/** The base64-encoded secret payload of the
|
|
23126
|
+
/** The base64-encoded secret payload of the version. */
|
|
23015
23127
|
data: string;
|
|
23016
23128
|
}
|
|
23017
23129
|
/** List secret versions response. */
|
|
23018
23130
|
interface ListSecretVersionsResponse {
|
|
23019
|
-
/**
|
|
23131
|
+
/** Number of versions. */
|
|
23020
23132
|
totalCount: number;
|
|
23021
|
-
/** Single page of
|
|
23133
|
+
/** Single page of versions. */
|
|
23022
23134
|
versions: SecretVersion[];
|
|
23023
23135
|
}
|
|
23024
23136
|
/** List secrets response. */
|
|
23025
23137
|
interface ListSecretsResponse {
|
|
23026
|
-
/** Count of all
|
|
23138
|
+
/** Count of all secrets matching the requested criteria. */
|
|
23027
23139
|
totalCount: number;
|
|
23028
|
-
/** Single page of
|
|
23140
|
+
/** Single page of secrets matching the requested criteria. */
|
|
23029
23141
|
secrets: Secret[];
|
|
23030
23142
|
}
|
|
23031
23143
|
/** Secret. */
|
|
23032
23144
|
interface Secret {
|
|
23033
|
-
/** ID of the
|
|
23145
|
+
/** ID of the secret. */
|
|
23034
23146
|
id: string;
|
|
23035
|
-
/** ID of the
|
|
23147
|
+
/** ID of the Project containing the secret. */
|
|
23036
23148
|
projectId: string;
|
|
23037
|
-
/** Name of the
|
|
23149
|
+
/** Name of the secret. */
|
|
23038
23150
|
name: string;
|
|
23039
23151
|
/**
|
|
23040
|
-
* Current status of the
|
|
23041
|
-
*
|
|
23152
|
+
* Current status of the secret. `ready`: the secret is ready. `locked`: the
|
|
23153
|
+
* secret is locked.
|
|
23042
23154
|
*/
|
|
23043
23155
|
status: SecretStatus;
|
|
23044
|
-
/**
|
|
23156
|
+
/** Date and time of the secret's creation. */
|
|
23045
23157
|
createdAt?: Date;
|
|
23046
|
-
/**
|
|
23158
|
+
/** Last update of the secret. */
|
|
23047
23159
|
updatedAt?: Date;
|
|
23048
|
-
/** List of
|
|
23160
|
+
/** List of the secret's tags. */
|
|
23049
23161
|
tags: string[];
|
|
23050
|
-
/** Region of the
|
|
23162
|
+
/** Region of the secret. */
|
|
23051
23163
|
region: Region;
|
|
23052
|
-
/**
|
|
23164
|
+
/** Number of versions for this secret. */
|
|
23053
23165
|
versionCount: number;
|
|
23054
|
-
/**
|
|
23166
|
+
/** Updated description of the secret. */
|
|
23055
23167
|
description?: string;
|
|
23056
23168
|
}
|
|
23057
23169
|
/** Secret version. */
|
|
23058
23170
|
interface SecretVersion {
|
|
23059
|
-
/** ID of the
|
|
23171
|
+
/** ID of the secret. */
|
|
23060
23172
|
secretId: string;
|
|
23061
|
-
/**
|
|
23173
|
+
/**
|
|
23174
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23175
|
+
* subsequent revisions augment by 1.
|
|
23176
|
+
*/
|
|
23062
23177
|
revision: number;
|
|
23063
23178
|
/**
|
|
23064
|
-
* Current status of the
|
|
23065
|
-
*
|
|
23066
|
-
*
|
|
23067
|
-
*
|
|
23179
|
+
* Current status of the version. `unknown`: the version is in an invalid
|
|
23180
|
+
* state. `enabled`: the version is accessible. `disabled`: the version is not
|
|
23181
|
+
* accessible but can be enabled. `destroyed`: the version is permanently
|
|
23182
|
+
* deleted. It is not possible to recover it.
|
|
23068
23183
|
*/
|
|
23069
23184
|
status: SecretVersionStatus;
|
|
23070
|
-
/**
|
|
23185
|
+
/** Date and time of the version's creation. */
|
|
23071
23186
|
createdAt?: Date;
|
|
23072
|
-
/**
|
|
23187
|
+
/** Last update of the version. */
|
|
23073
23188
|
updatedAt?: Date;
|
|
23074
|
-
/** Description of the
|
|
23189
|
+
/** Description of the version. */
|
|
23075
23190
|
description?: string;
|
|
23076
23191
|
}
|
|
23077
23192
|
type CreateSecretRequest = {
|
|
@@ -23080,13 +23195,13 @@ type CreateSecretRequest = {
|
|
|
23080
23195
|
* config.
|
|
23081
23196
|
*/
|
|
23082
23197
|
region?: Region;
|
|
23083
|
-
/** ID of the
|
|
23198
|
+
/** ID of the Project containing the secret. */
|
|
23084
23199
|
projectId?: string;
|
|
23085
|
-
/** Name of the
|
|
23200
|
+
/** Name of the secret. */
|
|
23086
23201
|
name: string;
|
|
23087
|
-
/** List of
|
|
23202
|
+
/** List of the secret's tags. */
|
|
23088
23203
|
tags?: string[];
|
|
23089
|
-
/** Description of the
|
|
23204
|
+
/** Description of the secret. */
|
|
23090
23205
|
description?: string;
|
|
23091
23206
|
};
|
|
23092
23207
|
type GetSecretRequest = {
|
|
@@ -23095,7 +23210,7 @@ type GetSecretRequest = {
|
|
|
23095
23210
|
* config.
|
|
23096
23211
|
*/
|
|
23097
23212
|
region?: Region;
|
|
23098
|
-
/** ID of the
|
|
23213
|
+
/** ID of the secret. */
|
|
23099
23214
|
secretId: string;
|
|
23100
23215
|
};
|
|
23101
23216
|
type GetSecretByNameRequest = {
|
|
@@ -23104,7 +23219,7 @@ type GetSecretByNameRequest = {
|
|
|
23104
23219
|
* config.
|
|
23105
23220
|
*/
|
|
23106
23221
|
region?: Region;
|
|
23107
|
-
/** Name of the
|
|
23222
|
+
/** Name of the secret. */
|
|
23108
23223
|
secretName: string;
|
|
23109
23224
|
};
|
|
23110
23225
|
type UpdateSecretRequest = {
|
|
@@ -23113,13 +23228,13 @@ type UpdateSecretRequest = {
|
|
|
23113
23228
|
* config.
|
|
23114
23229
|
*/
|
|
23115
23230
|
region?: Region;
|
|
23116
|
-
/** ID of the
|
|
23231
|
+
/** ID of the secret. */
|
|
23117
23232
|
secretId: string;
|
|
23118
|
-
/**
|
|
23233
|
+
/** Secret's updated name (optional). */
|
|
23119
23234
|
name?: string;
|
|
23120
|
-
/**
|
|
23235
|
+
/** Secret's updated list of tags (optional). */
|
|
23121
23236
|
tags?: string[];
|
|
23122
|
-
/** Description of the
|
|
23237
|
+
/** Description of the secret. */
|
|
23123
23238
|
description?: string;
|
|
23124
23239
|
};
|
|
23125
23240
|
type ListSecretsRequest = {
|
|
@@ -23128,11 +23243,11 @@ type ListSecretsRequest = {
|
|
|
23128
23243
|
* config.
|
|
23129
23244
|
*/
|
|
23130
23245
|
region?: Region;
|
|
23131
|
-
/**
|
|
23246
|
+
/** Filter by Organization ID (optional). */
|
|
23132
23247
|
organizationId?: string;
|
|
23133
|
-
/**
|
|
23248
|
+
/** Filter by Project ID (optional). */
|
|
23134
23249
|
projectId?: string;
|
|
23135
|
-
/**
|
|
23250
|
+
/** Filter by secret name (optional). */
|
|
23136
23251
|
name?: string;
|
|
23137
23252
|
/** List of tags to filter on (optional). */
|
|
23138
23253
|
tags?: string[];
|
|
@@ -23146,7 +23261,7 @@ type DeleteSecretRequest = {
|
|
|
23146
23261
|
* config.
|
|
23147
23262
|
*/
|
|
23148
23263
|
region?: Region;
|
|
23149
|
-
/** ID of the
|
|
23264
|
+
/** ID of the secret. */
|
|
23150
23265
|
secretId: string;
|
|
23151
23266
|
};
|
|
23152
23267
|
type CreateSecretVersionRequest = {
|
|
@@ -23155,11 +23270,11 @@ type CreateSecretVersionRequest = {
|
|
|
23155
23270
|
* config.
|
|
23156
23271
|
*/
|
|
23157
23272
|
region?: Region;
|
|
23158
|
-
/** ID of the
|
|
23273
|
+
/** ID of the secret. */
|
|
23159
23274
|
secretId: string;
|
|
23160
|
-
/** The base64-encoded secret payload of the
|
|
23275
|
+
/** The base64-encoded secret payload of the version. */
|
|
23161
23276
|
data: string;
|
|
23162
|
-
/** Description of the
|
|
23277
|
+
/** Description of the version. */
|
|
23163
23278
|
description?: string;
|
|
23164
23279
|
};
|
|
23165
23280
|
type GetSecretVersionRequest = {
|
|
@@ -23168,9 +23283,12 @@ type GetSecretVersionRequest = {
|
|
|
23168
23283
|
* config.
|
|
23169
23284
|
*/
|
|
23170
23285
|
region?: Region;
|
|
23171
|
-
/** ID of the
|
|
23286
|
+
/** ID of the secret. */
|
|
23172
23287
|
secretId: string;
|
|
23173
|
-
/**
|
|
23288
|
+
/**
|
|
23289
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23290
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23291
|
+
*/
|
|
23174
23292
|
revision: string;
|
|
23175
23293
|
};
|
|
23176
23294
|
type GetSecretVersionByNameRequest = {
|
|
@@ -23179,9 +23297,12 @@ type GetSecretVersionByNameRequest = {
|
|
|
23179
23297
|
* config.
|
|
23180
23298
|
*/
|
|
23181
23299
|
region?: Region;
|
|
23182
|
-
/** Name of the
|
|
23300
|
+
/** Name of the secret. */
|
|
23183
23301
|
secretName: string;
|
|
23184
|
-
/**
|
|
23302
|
+
/**
|
|
23303
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23304
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23305
|
+
*/
|
|
23185
23306
|
revision: string;
|
|
23186
23307
|
};
|
|
23187
23308
|
type UpdateSecretVersionRequest = {
|
|
@@ -23190,11 +23311,14 @@ type UpdateSecretVersionRequest = {
|
|
|
23190
23311
|
* config.
|
|
23191
23312
|
*/
|
|
23192
23313
|
region?: Region;
|
|
23193
|
-
/** ID of the
|
|
23314
|
+
/** ID of the secret. */
|
|
23194
23315
|
secretId: string;
|
|
23195
|
-
/**
|
|
23316
|
+
/**
|
|
23317
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23318
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23319
|
+
*/
|
|
23196
23320
|
revision: string;
|
|
23197
|
-
/** Description of the
|
|
23321
|
+
/** Description of the version. */
|
|
23198
23322
|
description?: string;
|
|
23199
23323
|
};
|
|
23200
23324
|
type ListSecretVersionsRequest = {
|
|
@@ -23203,7 +23327,7 @@ type ListSecretVersionsRequest = {
|
|
|
23203
23327
|
* config.
|
|
23204
23328
|
*/
|
|
23205
23329
|
region?: Region;
|
|
23206
|
-
/** ID of the
|
|
23330
|
+
/** ID of the secret. */
|
|
23207
23331
|
secretId: string;
|
|
23208
23332
|
page?: number;
|
|
23209
23333
|
pageSize?: number;
|
|
@@ -23216,7 +23340,7 @@ type ListSecretVersionsByNameRequest = {
|
|
|
23216
23340
|
* config.
|
|
23217
23341
|
*/
|
|
23218
23342
|
region?: Region;
|
|
23219
|
-
/** Name of the
|
|
23343
|
+
/** Name of the secret. */
|
|
23220
23344
|
secretName: string;
|
|
23221
23345
|
page?: number;
|
|
23222
23346
|
pageSize?: number;
|
|
@@ -23229,9 +23353,12 @@ type DestroySecretVersionRequest = {
|
|
|
23229
23353
|
* config.
|
|
23230
23354
|
*/
|
|
23231
23355
|
region?: Region;
|
|
23232
|
-
/** ID of the
|
|
23356
|
+
/** ID of the secret. */
|
|
23233
23357
|
secretId: string;
|
|
23234
|
-
/**
|
|
23358
|
+
/**
|
|
23359
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23360
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23361
|
+
*/
|
|
23235
23362
|
revision: string;
|
|
23236
23363
|
};
|
|
23237
23364
|
type EnableSecretVersionRequest = {
|
|
@@ -23240,9 +23367,12 @@ type EnableSecretVersionRequest = {
|
|
|
23240
23367
|
* config.
|
|
23241
23368
|
*/
|
|
23242
23369
|
region?: Region;
|
|
23243
|
-
/** ID of the
|
|
23370
|
+
/** ID of the secret. */
|
|
23244
23371
|
secretId: string;
|
|
23245
|
-
/**
|
|
23372
|
+
/**
|
|
23373
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23374
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23375
|
+
*/
|
|
23246
23376
|
revision: string;
|
|
23247
23377
|
};
|
|
23248
23378
|
type DisableSecretVersionRequest = {
|
|
@@ -23251,9 +23381,12 @@ type DisableSecretVersionRequest = {
|
|
|
23251
23381
|
* config.
|
|
23252
23382
|
*/
|
|
23253
23383
|
region?: Region;
|
|
23254
|
-
/** ID of the
|
|
23384
|
+
/** ID of the secret. */
|
|
23255
23385
|
secretId: string;
|
|
23256
|
-
/**
|
|
23386
|
+
/**
|
|
23387
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23388
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23389
|
+
*/
|
|
23257
23390
|
revision: string;
|
|
23258
23391
|
};
|
|
23259
23392
|
type AccessSecretVersionRequest = {
|
|
@@ -23262,9 +23395,12 @@ type AccessSecretVersionRequest = {
|
|
|
23262
23395
|
* config.
|
|
23263
23396
|
*/
|
|
23264
23397
|
region?: Region;
|
|
23265
|
-
/** ID of the
|
|
23398
|
+
/** ID of the secret. */
|
|
23266
23399
|
secretId: string;
|
|
23267
|
-
/**
|
|
23400
|
+
/**
|
|
23401
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23402
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23403
|
+
*/
|
|
23268
23404
|
revision: string;
|
|
23269
23405
|
};
|
|
23270
23406
|
type AccessSecretVersionByNameRequest = {
|
|
@@ -23273,44 +23409,51 @@ type AccessSecretVersionByNameRequest = {
|
|
|
23273
23409
|
* config.
|
|
23274
23410
|
*/
|
|
23275
23411
|
region?: Region;
|
|
23276
|
-
/** Name of the
|
|
23412
|
+
/** Name of the secret. */
|
|
23277
23413
|
secretName: string;
|
|
23278
|
-
/**
|
|
23414
|
+
/**
|
|
23415
|
+
* Version number. The first version of the secret is numbered 1, and all
|
|
23416
|
+
* subsequent revisions augment by 1. Value can be a number or "latest".
|
|
23417
|
+
*/
|
|
23279
23418
|
revision: string;
|
|
23280
23419
|
};
|
|
23281
23420
|
|
|
23282
23421
|
/**
|
|
23283
|
-
* Secret API
|
|
23422
|
+
* Secret Manager API documentation.
|
|
23284
23423
|
*
|
|
23285
23424
|
* This API allows you to conveniently store, access and share sensitive data.
|
|
23286
|
-
* Secret API
|
|
23425
|
+
* Secret Manager API documentation.
|
|
23287
23426
|
*/
|
|
23288
|
-
declare class API$5 extends API$
|
|
23427
|
+
declare class API$5 extends API$q {
|
|
23289
23428
|
/** Lists the available regions of the API. */
|
|
23290
23429
|
static readonly LOCALITIES: Region[];
|
|
23291
23430
|
/**
|
|
23292
|
-
* Create a
|
|
23431
|
+
* Create a secret. You must sepcify the `region` to create a secret.
|
|
23293
23432
|
*
|
|
23294
23433
|
* @param request - The request {@link CreateSecretRequest}
|
|
23295
23434
|
* @returns A Promise of Secret
|
|
23296
23435
|
*/
|
|
23297
23436
|
createSecret: (request: Readonly<CreateSecretRequest>) => Promise<Secret>;
|
|
23298
23437
|
/**
|
|
23299
|
-
* Get metadata of a
|
|
23438
|
+
* Get metadata using the secret's name. Retrieve the metadata of a secret
|
|
23439
|
+
* specified by the `region` and the `secret_name` parameters.
|
|
23300
23440
|
*
|
|
23301
23441
|
* @param request - The request {@link GetSecretRequest}
|
|
23302
23442
|
* @returns A Promise of Secret
|
|
23303
23443
|
*/
|
|
23304
23444
|
getSecret: (request: Readonly<GetSecretRequest>) => Promise<Secret>;
|
|
23305
23445
|
/**
|
|
23306
|
-
* Get metadata of a
|
|
23446
|
+
* Get metadata using the secret's ID. Retrieve the metadata of a secret
|
|
23447
|
+
* specified by the `region` and the `secret_id` parameters.
|
|
23307
23448
|
*
|
|
23308
23449
|
* @param request - The request {@link GetSecretByNameRequest}
|
|
23309
23450
|
* @returns A Promise of Secret
|
|
23310
23451
|
*/
|
|
23311
23452
|
getSecretByName: (request: Readonly<GetSecretByNameRequest>) => Promise<Secret>;
|
|
23312
23453
|
/**
|
|
23313
|
-
* Update metadata of a
|
|
23454
|
+
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s)
|
|
23455
|
+
* and description. The secret to update is specified by the `secret_id` and
|
|
23456
|
+
* `region` parameters.
|
|
23314
23457
|
*
|
|
23315
23458
|
* @param request - The request {@link UpdateSecretRequest}
|
|
23316
23459
|
* @returns A Promise of Secret
|
|
@@ -23318,7 +23461,9 @@ declare class API$5 extends API$p {
|
|
|
23318
23461
|
updateSecret: (request: Readonly<UpdateSecretRequest>) => Promise<Secret>;
|
|
23319
23462
|
protected pageOfListSecrets: (request?: Readonly<ListSecretsRequest>) => Promise<ListSecretsResponse>;
|
|
23320
23463
|
/**
|
|
23321
|
-
* List
|
|
23464
|
+
* List secrets. Retrieve the list of secrets created within an Organization
|
|
23465
|
+
* and/or Project. You must specify either the `organization_id` or the
|
|
23466
|
+
* `project_id` and the `region`.
|
|
23322
23467
|
*
|
|
23323
23468
|
* @param request - The request {@link ListSecretsRequest}
|
|
23324
23469
|
* @returns A Promise of ListSecretsResponse
|
|
@@ -23328,34 +23473,41 @@ declare class API$5 extends API$p {
|
|
|
23328
23473
|
[Symbol.asyncIterator]: () => AsyncGenerator<Secret[], void, void>;
|
|
23329
23474
|
};
|
|
23330
23475
|
/**
|
|
23331
|
-
* Delete a secret.
|
|
23476
|
+
* Delete a secret. Delete a given secret specified by the `region` and
|
|
23477
|
+
* `secret_id` parameters.
|
|
23332
23478
|
*
|
|
23333
23479
|
* @param request - The request {@link DeleteSecretRequest}
|
|
23334
23480
|
*/
|
|
23335
23481
|
deleteSecret: (request: Readonly<DeleteSecretRequest>) => Promise<void>;
|
|
23336
23482
|
/**
|
|
23337
|
-
* Create a
|
|
23483
|
+
* Create a version. Create a version of a given secret specified by the
|
|
23484
|
+
* `region` and `secret_id` parameters.
|
|
23338
23485
|
*
|
|
23339
23486
|
* @param request - The request {@link CreateSecretVersionRequest}
|
|
23340
23487
|
* @returns A Promise of SecretVersion
|
|
23341
23488
|
*/
|
|
23342
23489
|
createSecretVersion: (request: Readonly<CreateSecretVersionRequest>) => Promise<SecretVersion>;
|
|
23343
23490
|
/**
|
|
23344
|
-
* Get metadata of a
|
|
23491
|
+
* Get metadata of a secret's version using the secret's ID. Retrieve the
|
|
23492
|
+
* metadata of a secret's given version specified by the `region`, `secret_id`
|
|
23493
|
+
* and `revision` parameters.
|
|
23345
23494
|
*
|
|
23346
23495
|
* @param request - The request {@link GetSecretVersionRequest}
|
|
23347
23496
|
* @returns A Promise of SecretVersion
|
|
23348
23497
|
*/
|
|
23349
23498
|
getSecretVersion: (request: Readonly<GetSecretVersionRequest>) => Promise<SecretVersion>;
|
|
23350
23499
|
/**
|
|
23351
|
-
* Get metadata of a
|
|
23500
|
+
* Get metadata of a secret's version using the secret's name. Retrieve the
|
|
23501
|
+
* metadata of a secret's given version specified by the `region`,
|
|
23502
|
+
* `secret_name` and `revision` parameters.
|
|
23352
23503
|
*
|
|
23353
23504
|
* @param request - The request {@link GetSecretVersionByNameRequest}
|
|
23354
23505
|
* @returns A Promise of SecretVersion
|
|
23355
23506
|
*/
|
|
23356
23507
|
getSecretVersionByName: (request: Readonly<GetSecretVersionByNameRequest>) => Promise<SecretVersion>;
|
|
23357
23508
|
/**
|
|
23358
|
-
* Update metadata of a
|
|
23509
|
+
* Update metadata of a version. Edit the metadata of a secret's given
|
|
23510
|
+
* version, specified by the `region`, `secret_id` and `revision` parameters.
|
|
23359
23511
|
*
|
|
23360
23512
|
* @param request - The request {@link UpdateSecretVersionRequest}
|
|
23361
23513
|
* @returns A Promise of SecretVersion
|
|
@@ -23363,7 +23515,9 @@ declare class API$5 extends API$p {
|
|
|
23363
23515
|
updateSecretVersion: (request: Readonly<UpdateSecretVersionRequest>) => Promise<SecretVersion>;
|
|
23364
23516
|
protected pageOfListSecretVersions: (request: Readonly<ListSecretVersionsRequest>) => Promise<ListSecretVersionsResponse>;
|
|
23365
23517
|
/**
|
|
23366
|
-
* List versions of a secret
|
|
23518
|
+
* List versions of a secret using the secret's ID. Retrieve the list of a
|
|
23519
|
+
* given secret's versions specified by the `secret_id` and `region`
|
|
23520
|
+
* parameters.
|
|
23367
23521
|
*
|
|
23368
23522
|
* @param request - The request {@link ListSecretVersionsRequest}
|
|
23369
23523
|
* @returns A Promise of ListSecretVersionsResponse
|
|
@@ -23374,7 +23528,9 @@ declare class API$5 extends API$p {
|
|
|
23374
23528
|
};
|
|
23375
23529
|
protected pageOfListSecretVersionsByName: (request: Readonly<ListSecretVersionsByNameRequest>) => Promise<ListSecretVersionsResponse>;
|
|
23376
23530
|
/**
|
|
23377
|
-
* List versions of a secret
|
|
23531
|
+
* List versions of a secret using the secret's name. Retrieve the list of a
|
|
23532
|
+
* given secret's versions specified by the `secret_name` and `region`
|
|
23533
|
+
* parameters.
|
|
23378
23534
|
*
|
|
23379
23535
|
* @param request - The request {@link ListSecretVersionsByNameRequest}
|
|
23380
23536
|
* @returns A Promise of ListSecretVersionsResponse
|
|
@@ -23384,35 +23540,42 @@ declare class API$5 extends API$p {
|
|
|
23384
23540
|
[Symbol.asyncIterator]: () => AsyncGenerator<SecretVersion[], void, void>;
|
|
23385
23541
|
};
|
|
23386
23542
|
/**
|
|
23387
|
-
*
|
|
23543
|
+
* Delete a version. Delete a secret's version and the sensitive data
|
|
23544
|
+
* contained in it. Deleting a version is permanent and cannot be undone.
|
|
23388
23545
|
*
|
|
23389
23546
|
* @param request - The request {@link DestroySecretVersionRequest}
|
|
23390
23547
|
* @returns A Promise of SecretVersion
|
|
23391
23548
|
*/
|
|
23392
23549
|
destroySecretVersion: (request: Readonly<DestroySecretVersionRequest>) => Promise<SecretVersion>;
|
|
23393
23550
|
/**
|
|
23394
|
-
* Enable a
|
|
23551
|
+
* Enable a version. Make a specific version accessible. You must specify the
|
|
23552
|
+
* `region`, `secret_id` and `revision` parameters.
|
|
23395
23553
|
*
|
|
23396
23554
|
* @param request - The request {@link EnableSecretVersionRequest}
|
|
23397
23555
|
* @returns A Promise of SecretVersion
|
|
23398
23556
|
*/
|
|
23399
23557
|
enableSecretVersion: (request: Readonly<EnableSecretVersionRequest>) => Promise<SecretVersion>;
|
|
23400
23558
|
/**
|
|
23401
|
-
* Disable a
|
|
23559
|
+
* Disable a version. Make a specific version inaccessible. You must specify
|
|
23560
|
+
* the `region`, `secret_id` and `revision` parameters.
|
|
23402
23561
|
*
|
|
23403
23562
|
* @param request - The request {@link DisableSecretVersionRequest}
|
|
23404
23563
|
* @returns A Promise of SecretVersion
|
|
23405
23564
|
*/
|
|
23406
23565
|
disableSecretVersion: (request: Readonly<DisableSecretVersionRequest>) => Promise<SecretVersion>;
|
|
23407
23566
|
/**
|
|
23408
|
-
* Access a
|
|
23567
|
+
* Access a secret's version using the secret's ID. Access sensitive data in a
|
|
23568
|
+
* secret's version specified by the `region`, `secret_id` and `revision`
|
|
23569
|
+
* parameters.
|
|
23409
23570
|
*
|
|
23410
23571
|
* @param request - The request {@link AccessSecretVersionRequest}
|
|
23411
23572
|
* @returns A Promise of AccessSecretVersionResponse
|
|
23412
23573
|
*/
|
|
23413
23574
|
accessSecretVersion: (request: Readonly<AccessSecretVersionRequest>) => Promise<AccessSecretVersionResponse>;
|
|
23414
23575
|
/**
|
|
23415
|
-
* Access a
|
|
23576
|
+
* Access a secret's version using the secret's name. Access sensitive data in
|
|
23577
|
+
* a secret's version specified by the `region`, `secret_name` and `revision`
|
|
23578
|
+
* parameters.
|
|
23416
23579
|
*
|
|
23417
23580
|
* @param request - The request {@link AccessSecretVersionByNameRequest}
|
|
23418
23581
|
* @returns A Promise of AccessSecretVersionResponse
|
|
@@ -23585,7 +23748,7 @@ type SmokeHumanRequest = {
|
|
|
23585
23748
|
* access-key. Then, you can use other test commands by setting the
|
|
23586
23749
|
* SCW_SECRET_KEY env variable.
|
|
23587
23750
|
*/
|
|
23588
|
-
declare class API$4 extends API$
|
|
23751
|
+
declare class API$4 extends API$q {
|
|
23589
23752
|
/**
|
|
23590
23753
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
23591
23754
|
* that must be used in all other commands.
|
|
@@ -23714,19 +23877,16 @@ type EmailStatus = 'unknown' | 'new' | 'sending' | 'sent' | 'failed' | 'canceled
|
|
|
23714
23877
|
interface CreateEmailRequestAddress {
|
|
23715
23878
|
/** Email address. */
|
|
23716
23879
|
email: string;
|
|
23717
|
-
/** Optional
|
|
23880
|
+
/** (Optional) Name displayed. */
|
|
23718
23881
|
name?: string;
|
|
23719
23882
|
}
|
|
23720
23883
|
/** Create email request. attachment. */
|
|
23721
23884
|
interface CreateEmailRequestAttachment {
|
|
23722
23885
|
/** Filename of the attachment. */
|
|
23723
23886
|
name: string;
|
|
23724
|
-
/**
|
|
23725
|
-
* MIME type of the attachment (Currently only allow, text files, pdf and html
|
|
23726
|
-
* files).
|
|
23727
|
-
*/
|
|
23887
|
+
/** MIME type of the attachment. */
|
|
23728
23888
|
type: string;
|
|
23729
|
-
/** Content of the attachment
|
|
23889
|
+
/** Content of the attachment encoded in base64. */
|
|
23730
23890
|
content: string;
|
|
23731
23891
|
}
|
|
23732
23892
|
/** Create email response. */
|
|
@@ -23738,27 +23898,27 @@ interface CreateEmailResponse {
|
|
|
23738
23898
|
interface Domain {
|
|
23739
23899
|
/** ID of the domain. */
|
|
23740
23900
|
id: string;
|
|
23741
|
-
/** ID of the
|
|
23901
|
+
/** ID of the domain's Organization. */
|
|
23742
23902
|
organizationId: string;
|
|
23743
|
-
/** ID of the
|
|
23903
|
+
/** ID of the domain's Project. */
|
|
23744
23904
|
projectId: string;
|
|
23745
23905
|
/** Domain name (example.com). */
|
|
23746
23906
|
name: string;
|
|
23747
23907
|
/** Status of the domain. */
|
|
23748
23908
|
status: DomainStatus;
|
|
23749
|
-
/** Date and time of domain
|
|
23909
|
+
/** Date and time of domain creation. */
|
|
23750
23910
|
createdAt?: Date;
|
|
23751
23911
|
/** Date and time of the next scheduled check. */
|
|
23752
23912
|
nextCheckAt?: Date;
|
|
23753
|
-
/** Date and time the domain was last
|
|
23913
|
+
/** Date and time the domain was last valid. */
|
|
23754
23914
|
lastValidAt?: Date;
|
|
23755
|
-
/** Date and time of the
|
|
23915
|
+
/** Date and time of the domain's deletion. */
|
|
23756
23916
|
revokedAt?: Date;
|
|
23757
|
-
/** Error message if the last check failed. */
|
|
23917
|
+
/** Error message returned if the last check failed. */
|
|
23758
23918
|
lastError?: string;
|
|
23759
|
-
/** Snippet of the SPF record
|
|
23919
|
+
/** Snippet of the SPF record to register in the DNS zone. */
|
|
23760
23920
|
spfConfig: string;
|
|
23761
|
-
/** DKIM public key
|
|
23921
|
+
/** DKIM public key to record in the DNS zone. */
|
|
23762
23922
|
dkimConfig: string;
|
|
23763
23923
|
/** Domain's statistics. */
|
|
23764
23924
|
statistics?: DomainStatistics;
|
|
@@ -23774,36 +23934,36 @@ interface DomainStatistics {
|
|
|
23774
23934
|
interface Email {
|
|
23775
23935
|
/** Technical ID of the email. */
|
|
23776
23936
|
id: string;
|
|
23777
|
-
/**
|
|
23937
|
+
/** Message ID of the email. */
|
|
23778
23938
|
messageId: string;
|
|
23779
|
-
/** ID of the
|
|
23939
|
+
/** ID of the Project to which the email belongs. */
|
|
23780
23940
|
projectId: string;
|
|
23781
23941
|
/** Email address of the sender. */
|
|
23782
23942
|
mailFrom: string;
|
|
23783
23943
|
/** Email address of the recipient. */
|
|
23784
23944
|
rcptTo: string;
|
|
23785
|
-
/** Type of
|
|
23945
|
+
/** Type of recipient. */
|
|
23786
23946
|
rcptType: EmailRcptType;
|
|
23787
23947
|
/** Subject of the email. */
|
|
23788
23948
|
subject: string;
|
|
23789
23949
|
/** Creation date of the email object. */
|
|
23790
23950
|
createdAt?: Date;
|
|
23791
|
-
/** Last update
|
|
23951
|
+
/** Last update of the email object. */
|
|
23792
23952
|
updatedAt?: Date;
|
|
23793
23953
|
/** Status of the email. */
|
|
23794
23954
|
status: EmailStatus;
|
|
23795
|
-
/** Additional information
|
|
23955
|
+
/** Additional status information. */
|
|
23796
23956
|
statusDetails?: string;
|
|
23797
|
-
/**
|
|
23957
|
+
/** Number of attempts to send the email. */
|
|
23798
23958
|
tryCount: number;
|
|
23799
|
-
/**
|
|
23959
|
+
/** Information about the last three attempts to send the email. */
|
|
23800
23960
|
lastTries: EmailTry[];
|
|
23801
23961
|
}
|
|
23802
23962
|
/** Email. try. */
|
|
23803
23963
|
interface EmailTry {
|
|
23804
23964
|
/** Rank number of this attempt to send the email. */
|
|
23805
23965
|
rank: number;
|
|
23806
|
-
/** Date of the attempt. */
|
|
23966
|
+
/** Date of the attempt to send the email. */
|
|
23807
23967
|
triedAt?: Date;
|
|
23808
23968
|
/**
|
|
23809
23969
|
* The SMTP status code received after the attempt. 0 if the attempt did not
|
|
@@ -23811,14 +23971,14 @@ interface EmailTry {
|
|
|
23811
23971
|
*/
|
|
23812
23972
|
code: number;
|
|
23813
23973
|
/**
|
|
23814
|
-
* The SMTP message received
|
|
23815
|
-
*
|
|
23974
|
+
* The SMTP message received. If the attempt did not reach an SMTP server, the
|
|
23975
|
+
* message returned explains what happened.
|
|
23816
23976
|
*/
|
|
23817
23977
|
message: string;
|
|
23818
23978
|
}
|
|
23819
23979
|
/** List domains response. */
|
|
23820
23980
|
interface ListDomainsResponse {
|
|
23821
|
-
/**
|
|
23981
|
+
/** Number of domains that match the request (without pagination). */
|
|
23822
23982
|
totalCount: number;
|
|
23823
23983
|
domains: Domain[];
|
|
23824
23984
|
}
|
|
@@ -23831,31 +23991,31 @@ interface ListEmailsResponse {
|
|
|
23831
23991
|
}
|
|
23832
23992
|
/** Statistics. */
|
|
23833
23993
|
interface Statistics {
|
|
23834
|
-
/** Total number of emails matching the
|
|
23994
|
+
/** Total number of emails matching the requested criteria. */
|
|
23835
23995
|
totalCount: number;
|
|
23836
23996
|
/**
|
|
23837
|
-
* Number of emails still in the `new` transient state
|
|
23838
|
-
* not yet processed
|
|
23997
|
+
* Number of emails still in the `new` transient state. This means emails
|
|
23998
|
+
* received from the API but not yet processed.
|
|
23839
23999
|
*/
|
|
23840
24000
|
newCount: number;
|
|
23841
24001
|
/**
|
|
23842
|
-
* Number of emails still in the `sending` transient state
|
|
23843
|
-
* API
|
|
24002
|
+
* Number of emails still in the `sending` transient state. This means emails
|
|
24003
|
+
* received from the API but not yet in their final status.
|
|
23844
24004
|
*/
|
|
23845
24005
|
sendingCount: number;
|
|
23846
24006
|
/**
|
|
23847
|
-
* Number of emails in the final `sent` state
|
|
23848
|
-
* target mail system
|
|
24007
|
+
* Number of emails in the final `sent` state. This means emails that have
|
|
24008
|
+
* been delivered to the target mail system.
|
|
23849
24009
|
*/
|
|
23850
24010
|
sentCount: number;
|
|
23851
24011
|
/**
|
|
23852
|
-
* Number of emails in the final `failed` state
|
|
23853
|
-
* system with a final error status
|
|
24012
|
+
* Number of emails in the final `failed` state. This means emails that have
|
|
24013
|
+
* been refused by the target mail system with a final error status.
|
|
23854
24014
|
*/
|
|
23855
24015
|
failedCount: number;
|
|
23856
24016
|
/**
|
|
23857
|
-
* Number of emails in the final `canceled` state
|
|
23858
|
-
* request
|
|
24017
|
+
* Number of emails in the final `canceled` state. This meanns emails that
|
|
24018
|
+
* have been canceled upon request.
|
|
23859
24019
|
*/
|
|
23860
24020
|
canceledCount: number;
|
|
23861
24021
|
}
|
|
@@ -23865,7 +24025,7 @@ type CreateEmailRequest = {
|
|
|
23865
24025
|
* config.
|
|
23866
24026
|
*/
|
|
23867
24027
|
region?: Region;
|
|
23868
|
-
/** Sender information
|
|
24028
|
+
/** Sender information. Must be from a checked domain declared in the Project. */
|
|
23869
24029
|
from?: CreateEmailRequestAddress;
|
|
23870
24030
|
/** Array of recipient information (limited to 1 recipient). */
|
|
23871
24031
|
to?: CreateEmailRequestAddress[];
|
|
@@ -23873,17 +24033,17 @@ type CreateEmailRequest = {
|
|
|
23873
24033
|
cc?: CreateEmailRequestAddress[];
|
|
23874
24034
|
/** Array of recipient information (unimplemented). */
|
|
23875
24035
|
bcc?: CreateEmailRequestAddress[];
|
|
23876
|
-
/**
|
|
24036
|
+
/** Subject of the email. */
|
|
23877
24037
|
subject: string;
|
|
23878
24038
|
/** Text content. */
|
|
23879
24039
|
text: string;
|
|
23880
24040
|
/** HTML content. */
|
|
23881
24041
|
html: string;
|
|
23882
|
-
/** ID of the
|
|
24042
|
+
/** ID of the Project in which to create the email. */
|
|
23883
24043
|
projectId?: string;
|
|
23884
24044
|
/** Array of attachments. */
|
|
23885
24045
|
attachments?: CreateEmailRequestAttachment[];
|
|
23886
|
-
/** Maximum date to deliver
|
|
24046
|
+
/** Maximum date to deliver the email. */
|
|
23887
24047
|
sendBefore?: Date;
|
|
23888
24048
|
};
|
|
23889
24049
|
type GetEmailRequest = {
|
|
@@ -23903,24 +24063,24 @@ type ListEmailsRequest = {
|
|
|
23903
24063
|
region?: Region;
|
|
23904
24064
|
page?: number;
|
|
23905
24065
|
pageSize?: number;
|
|
23906
|
-
/**
|
|
24066
|
+
/** ID of the Project in which to list the emails (optional). */
|
|
23907
24067
|
projectId?: string;
|
|
23908
|
-
/**
|
|
24068
|
+
/** ID of the domain for which to list the emails (optional). */
|
|
23909
24069
|
domainId?: string;
|
|
23910
|
-
/**
|
|
24070
|
+
/** ID of the message for which to list the emails (optional). */
|
|
23911
24071
|
messageId?: string;
|
|
23912
|
-
/**
|
|
24072
|
+
/** Subject of the email. */
|
|
24073
|
+
subject?: string;
|
|
24074
|
+
/** List emails created after this date (optional). */
|
|
23913
24075
|
since?: Date;
|
|
23914
|
-
/**
|
|
24076
|
+
/** List emails created before this date (optional). */
|
|
23915
24077
|
until?: Date;
|
|
23916
|
-
/**
|
|
24078
|
+
/** List emails sent with this `mail_from` sender's address (optional). */
|
|
23917
24079
|
mailFrom?: string;
|
|
23918
|
-
/**
|
|
24080
|
+
/** List emails sent with this `mail_to` recipient's address (optional). */
|
|
23919
24081
|
mailTo?: string;
|
|
23920
|
-
/**
|
|
24082
|
+
/** List emails having any of this status (optional). */
|
|
23921
24083
|
statuses?: EmailStatus[];
|
|
23922
|
-
/** Optional, list emails having this subject. */
|
|
23923
|
-
subject?: string;
|
|
23924
24084
|
};
|
|
23925
24085
|
type GetStatisticsRequest = {
|
|
23926
24086
|
/**
|
|
@@ -23928,18 +24088,18 @@ type GetStatisticsRequest = {
|
|
|
23928
24088
|
* config.
|
|
23929
24089
|
*/
|
|
23930
24090
|
region?: Region;
|
|
23931
|
-
/**
|
|
24091
|
+
/** Number of emails for this Project (optional). */
|
|
23932
24092
|
projectId?: string;
|
|
23933
24093
|
/**
|
|
23934
|
-
*
|
|
23935
|
-
* `project_id` and the `organization_id`).
|
|
24094
|
+
* Number of emails sent from this domain (must be coherent with the
|
|
24095
|
+
* `project_id` and the `organization_id`) (optional).
|
|
23936
24096
|
*/
|
|
23937
24097
|
domainId?: string;
|
|
23938
|
-
/**
|
|
24098
|
+
/** Number of emails created after this date (optional). */
|
|
23939
24099
|
since?: Date;
|
|
23940
|
-
/**
|
|
24100
|
+
/** Number of emails created before this date (optional). */
|
|
23941
24101
|
until?: Date;
|
|
23942
|
-
/**
|
|
24102
|
+
/** Number of emails sent with this `mail_from` sender's address (optional). */
|
|
23943
24103
|
mailFrom?: string;
|
|
23944
24104
|
};
|
|
23945
24105
|
type CancelEmailRequest = {
|
|
@@ -23961,7 +24121,7 @@ type CreateDomainRequest = {
|
|
|
23961
24121
|
projectId?: string;
|
|
23962
24122
|
/** Fully qualified domain dame. */
|
|
23963
24123
|
domainName: string;
|
|
23964
|
-
/** Accept
|
|
24124
|
+
/** Accept Scaleway's Terms of Service. */
|
|
23965
24125
|
acceptTos: boolean;
|
|
23966
24126
|
};
|
|
23967
24127
|
type GetDomainRequest = {
|
|
@@ -23979,7 +24139,7 @@ type ListDomainsRequest = {
|
|
|
23979
24139
|
* config.
|
|
23980
24140
|
*/
|
|
23981
24141
|
region?: Region;
|
|
23982
|
-
/**
|
|
24142
|
+
/** Requested page number. Value must be greater or equal to 1. */
|
|
23983
24143
|
page?: number;
|
|
23984
24144
|
/** Page size. */
|
|
23985
24145
|
pageSize?: number;
|
|
@@ -23994,7 +24154,7 @@ type RevokeDomainRequest = {
|
|
|
23994
24154
|
* config.
|
|
23995
24155
|
*/
|
|
23996
24156
|
region?: Region;
|
|
23997
|
-
/** ID of the domain to
|
|
24157
|
+
/** ID of the domain to delete. */
|
|
23998
24158
|
domainId: string;
|
|
23999
24159
|
};
|
|
24000
24160
|
type CheckDomainRequest = {
|
|
@@ -24008,22 +24168,26 @@ type CheckDomainRequest = {
|
|
|
24008
24168
|
};
|
|
24009
24169
|
|
|
24010
24170
|
/**
|
|
24011
|
-
* Transactional Email API.
|
|
24171
|
+
* Transactional Email API documentation.
|
|
24012
24172
|
*
|
|
24013
|
-
* Tem. Transactional Email API.
|
|
24173
|
+
* Tem. Transactional Email API documentation.
|
|
24014
24174
|
*/
|
|
24015
|
-
declare class API$3 extends API$
|
|
24175
|
+
declare class API$3 extends API$q {
|
|
24016
24176
|
/** Lists the available regions of the API. */
|
|
24017
24177
|
static readonly LOCALITIES: Region[];
|
|
24018
24178
|
/**
|
|
24019
|
-
* Send an email.
|
|
24179
|
+
* Send an email. You must specify the `region`, the sender and the
|
|
24180
|
+
* recipient's information and the `project_id` to send an email from a
|
|
24181
|
+
* checked domain. The subject of the email must contain at least 6
|
|
24182
|
+
* characters.
|
|
24020
24183
|
*
|
|
24021
24184
|
* @param request - The request {@link CreateEmailRequest}
|
|
24022
24185
|
* @returns A Promise of CreateEmailResponse
|
|
24023
24186
|
*/
|
|
24024
24187
|
createEmail: (request: Readonly<CreateEmailRequest>) => Promise<CreateEmailResponse>;
|
|
24025
24188
|
/**
|
|
24026
|
-
* Get information about
|
|
24189
|
+
* Get an email. Retrieve information about a specific email using the
|
|
24190
|
+
* `email_id` and `region` parameters.
|
|
24027
24191
|
*
|
|
24028
24192
|
* @param request - The request {@link GetEmailRequest}
|
|
24029
24193
|
* @returns A Promise of Email
|
|
@@ -24039,8 +24203,8 @@ declare class API$3 extends API$p {
|
|
|
24039
24203
|
waitForEmail: (request: Readonly<GetEmailRequest>, options?: Readonly<WaitForOptions<Email>>) => Promise<Email>;
|
|
24040
24204
|
protected pageOfListEmails: (request?: Readonly<ListEmailsRequest>) => Promise<ListEmailsResponse>;
|
|
24041
24205
|
/**
|
|
24042
|
-
* List emails
|
|
24043
|
-
*
|
|
24206
|
+
* List emails. Retrieve the list of emails sent from a specific domain or for
|
|
24207
|
+
* a specific Project or Organization. You must specify the `region`.
|
|
24044
24208
|
*
|
|
24045
24209
|
* @param request - The request {@link ListEmailsRequest}
|
|
24046
24210
|
* @returns A Promise of ListEmailsResponse
|
|
@@ -24050,28 +24214,32 @@ declare class API$3 extends API$p {
|
|
|
24050
24214
|
[Symbol.asyncIterator]: () => AsyncGenerator<Email[], void, void>;
|
|
24051
24215
|
};
|
|
24052
24216
|
/**
|
|
24053
|
-
* Get
|
|
24217
|
+
* Email statuses. Get information on your emails' statuses.
|
|
24054
24218
|
*
|
|
24055
24219
|
* @param request - The request {@link GetStatisticsRequest}
|
|
24056
24220
|
* @returns A Promise of Statistics
|
|
24057
24221
|
*/
|
|
24058
24222
|
getStatistics: (request?: Readonly<GetStatisticsRequest>) => Promise<Statistics>;
|
|
24059
24223
|
/**
|
|
24060
|
-
*
|
|
24224
|
+
* Cancel an email. You can cancel the sending of an email if it has not been
|
|
24225
|
+
* sent yet. You must specify the `region` and the `email_id` of the email you
|
|
24226
|
+
* want to cancel.
|
|
24061
24227
|
*
|
|
24062
24228
|
* @param request - The request {@link CancelEmailRequest}
|
|
24063
24229
|
* @returns A Promise of Email
|
|
24064
24230
|
*/
|
|
24065
24231
|
cancelEmail: (request: Readonly<CancelEmailRequest>) => Promise<Email>;
|
|
24066
24232
|
/**
|
|
24067
|
-
* Register a domain in a project.
|
|
24233
|
+
* Register a domain in a project. You must specify the `region`, `project_id`
|
|
24234
|
+
* and `domain_name` to register a domain in a specific Project.
|
|
24068
24235
|
*
|
|
24069
24236
|
* @param request - The request {@link CreateDomainRequest}
|
|
24070
24237
|
* @returns A Promise of Domain
|
|
24071
24238
|
*/
|
|
24072
24239
|
createDomain: (request: Readonly<CreateDomainRequest>) => Promise<Domain>;
|
|
24073
24240
|
/**
|
|
24074
|
-
* Get information about a domain.
|
|
24241
|
+
* Get information about a domain. Retrieve information about a specific
|
|
24242
|
+
* domain using the `region` and `domain_id` parameters.
|
|
24075
24243
|
*
|
|
24076
24244
|
* @param request - The request {@link GetDomainRequest}
|
|
24077
24245
|
* @returns A Promise of Domain
|
|
@@ -24087,7 +24255,8 @@ declare class API$3 extends API$p {
|
|
|
24087
24255
|
waitForDomain: (request: Readonly<GetDomainRequest>, options?: Readonly<WaitForOptions<Domain>>) => Promise<Domain>;
|
|
24088
24256
|
protected pageOfListDomains: (request?: Readonly<ListDomainsRequest>) => Promise<ListDomainsResponse>;
|
|
24089
24257
|
/**
|
|
24090
|
-
* List domains in a project
|
|
24258
|
+
* List domains. Retrieve domains in a specific project or in a specific
|
|
24259
|
+
* Organization using the `region` parameter.
|
|
24091
24260
|
*
|
|
24092
24261
|
* @param request - The request {@link ListDomainsRequest}
|
|
24093
24262
|
* @returns A Promise of ListDomainsResponse
|
|
@@ -24097,14 +24266,17 @@ declare class API$3 extends API$p {
|
|
|
24097
24266
|
[Symbol.asyncIterator]: () => AsyncGenerator<Domain[], void, void>;
|
|
24098
24267
|
};
|
|
24099
24268
|
/**
|
|
24100
|
-
*
|
|
24269
|
+
* Delete a domain. You must specify the domain you want to delete by the
|
|
24270
|
+
* `region` and `domain_id`. Deleting a domain is permanent and cannot be
|
|
24271
|
+
* undone.
|
|
24101
24272
|
*
|
|
24102
24273
|
* @param request - The request {@link RevokeDomainRequest}
|
|
24103
24274
|
* @returns A Promise of Domain
|
|
24104
24275
|
*/
|
|
24105
24276
|
revokeDomain: (request: Readonly<RevokeDomainRequest>) => Promise<Domain>;
|
|
24106
24277
|
/**
|
|
24107
|
-
*
|
|
24278
|
+
* Domain DNS check. Perform an immediate DNS check of a domain using the
|
|
24279
|
+
* `region` and `domain_id` parameters.
|
|
24108
24280
|
*
|
|
24109
24281
|
* @param request - The request {@link CheckDomainRequest}
|
|
24110
24282
|
* @returns A Promise of Domain
|
|
@@ -24263,7 +24435,7 @@ type DeletePrivateNetworkRequest = {
|
|
|
24263
24435
|
};
|
|
24264
24436
|
|
|
24265
24437
|
/** VPC API. */
|
|
24266
|
-
declare class API$2 extends API$
|
|
24438
|
+
declare class API$2 extends API$q {
|
|
24267
24439
|
/** Lists the available zones of the API. */
|
|
24268
24440
|
static readonly LOCALITIES: Zone[];
|
|
24269
24441
|
protected pageOfListPrivateNetworks: (request?: Readonly<ListPrivateNetworksRequest>) => Promise<ListPrivateNetworksResponse>;
|
|
@@ -25197,7 +25369,7 @@ type RefreshSSHKeysRequest = {
|
|
|
25197
25369
|
};
|
|
25198
25370
|
|
|
25199
25371
|
/** Public Gateways API. */
|
|
25200
|
-
declare class API$1 extends API$
|
|
25372
|
+
declare class API$1 extends API$q {
|
|
25201
25373
|
/** Lists the available zones of the API. */
|
|
25202
25374
|
static readonly LOCALITIES: Zone[];
|
|
25203
25375
|
protected pageOfListGateways: (request?: Readonly<ListGatewaysRequest>) => Promise<ListGatewaysResponse>;
|
|
@@ -25968,7 +26140,7 @@ type ListOffersRequest = {
|
|
|
25968
26140
|
};
|
|
25969
26141
|
|
|
25970
26142
|
/** Webhosting API. */
|
|
25971
|
-
declare class API extends API$
|
|
26143
|
+
declare class API extends API$q {
|
|
25972
26144
|
/** Lists the available regions of the API. */
|
|
25973
26145
|
static readonly LOCALITIES: Region[];
|
|
25974
26146
|
/**
|
|
@@ -26019,14 +26191,15 @@ declare class API extends API$p {
|
|
|
26019
26191
|
*/
|
|
26020
26192
|
deleteHosting: (request: Readonly<DeleteHostingRequest>) => Promise<Hosting>;
|
|
26021
26193
|
/**
|
|
26022
|
-
*
|
|
26194
|
+
* Restore a hosting. Restore a hosting with the given ID.
|
|
26023
26195
|
*
|
|
26024
26196
|
* @param request - The request {@link RestoreHostingRequest}
|
|
26025
26197
|
* @returns A Promise of Hosting
|
|
26026
26198
|
*/
|
|
26027
26199
|
restoreHosting: (request: Readonly<RestoreHostingRequest>) => Promise<Hosting>;
|
|
26028
26200
|
/**
|
|
26029
|
-
* Get the DNS records.
|
|
26201
|
+
* Get the DNS records. The set of DNS record of a specific domain associated
|
|
26202
|
+
* to a hosting.
|
|
26030
26203
|
*
|
|
26031
26204
|
* @param request - The request {@link GetDomainDnsRecordsRequest}
|
|
26032
26205
|
* @returns A Promise of DnsRecords
|
|
@@ -26131,4 +26304,4 @@ declare namespace index {
|
|
|
26131
26304
|
};
|
|
26132
26305
|
}
|
|
26133
26306
|
|
|
26134
|
-
export { API$
|
|
26307
|
+
export { API$q as API, index$s as Account, index$r as AppleSilicon, index$p as BareMetal, index$o as Billing, Client, ClientConfig, index$n as Cockpit, index$m as Container, DefaultValues, index$l as Domain, index$t as Errors, index$k as FlexibleIP, index$j as Function, index$i as IAM, index$f as IOT, index$g as Instance, index$d as K8S, index$b as LB, Logger, index$9 as MNQ, index$a as Marketplace, Money, Profile, index$8 as RDB, index$7 as Redis, Region, index$6 as Registry, RequestInterceptor, ResponseInterceptor, ScwFile, index$5 as Secret, ServiceInfo, Settings, index$4 as Test, TimeSeries, index$3 as TransactionalEmail, index$2 as VPC, index$1 as VPCGW, WaitForOptions, WaitForStopCondition, index as Webhosting, Zone, authenticateWithSessionToken, createAdvancedClient, createClient, enableConsoleLogger, enrichForPagination, isJSONObject, marshalMoney, marshalScwFile, marshalTimeSeries, resolveOneOf, setLogger, unmarshalArrayOfObject, unmarshalDate, unmarshalMapOfObject, unmarshalMoney, unmarshalScwFile, unmarshalServiceInfo, unmarshalTimeSeries, unmarshalTimeSeriesPoint, urlParams, validatePathParam, waitForResource, withDefaultPageSize, withHTTPClient, withProfile, withUserAgent, withUserAgentSuffix };
|