@scaleway/sdk 2.64.0 → 2.66.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.
Files changed (112) hide show
  1. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
  2. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +17 -0
  3. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +17 -0
  4. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +21 -0
  5. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
  6. package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +1 -1
  7. package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +9 -0
  8. package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +9 -0
  9. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +24 -16
  10. package/dist/api/baremetal/v1/api.gen.d.ts +3 -3
  11. package/dist/api/baremetal/v1/types.gen.d.ts +33 -33
  12. package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
  13. package/dist/api/baremetal/v3/types.gen.d.ts +5 -5
  14. package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
  15. package/dist/api/block/v1alpha1/types.gen.d.ts +17 -17
  16. package/dist/api/cockpit/v1/api.gen.cjs +19 -1
  17. package/dist/api/cockpit/v1/api.gen.d.ts +4 -3
  18. package/dist/api/cockpit/v1/api.gen.js +20 -2
  19. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  20. package/dist/api/cockpit/v1/marshalling.gen.cjs +13 -0
  21. package/dist/api/cockpit/v1/marshalling.gen.d.ts +2 -1
  22. package/dist/api/cockpit/v1/marshalling.gen.js +13 -0
  23. package/dist/api/cockpit/v1/types.gen.d.ts +50 -31
  24. package/dist/api/container/v1beta1/api.gen.cjs +5 -1
  25. package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
  26. package/dist/api/container/v1beta1/api.gen.js +5 -1
  27. package/dist/api/container/v1beta1/types.gen.d.ts +32 -32
  28. package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
  29. package/dist/api/dedibox/v1/types.gen.d.ts +51 -51
  30. package/dist/api/edge_services/v1alpha1/index.gen.d.ts +1 -1
  31. package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +21 -2
  32. package/dist/api/edge_services/v1alpha1/marshalling.gen.js +22 -3
  33. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +34 -0
  34. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
  35. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +14 -14
  36. package/dist/api/function/v1beta1/api.gen.cjs +5 -1
  37. package/dist/api/function/v1beta1/api.gen.d.ts +2 -2
  38. package/dist/api/function/v1beta1/api.gen.js +5 -1
  39. package/dist/api/function/v1beta1/types.gen.d.ts +35 -35
  40. package/dist/api/iot/v1/api.gen.d.ts +2 -2
  41. package/dist/api/iot/v1/types.gen.d.ts +38 -38
  42. package/dist/api/ipam/v1/api.gen.cjs +5 -1
  43. package/dist/api/ipam/v1/api.gen.d.ts +2 -2
  44. package/dist/api/ipam/v1/api.gen.js +5 -1
  45. package/dist/api/ipam/v1/types.gen.d.ts +13 -13
  46. package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -1
  47. package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
  48. package/dist/api/jobs/v1alpha1/api.gen.js +5 -1
  49. package/dist/api/jobs/v1alpha1/types.gen.d.ts +19 -19
  50. package/dist/api/k8s/v1/api.gen.cjs +5 -1
  51. package/dist/api/k8s/v1/api.gen.d.ts +2 -2
  52. package/dist/api/k8s/v1/api.gen.js +5 -1
  53. package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
  54. package/dist/api/k8s/v1/marshalling.gen.js +1 -0
  55. package/dist/api/k8s/v1/types.gen.d.ts +42 -41
  56. package/dist/api/key_manager/v1alpha1/api.gen.cjs +41 -37
  57. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +38 -38
  58. package/dist/api/key_manager/v1alpha1/api.gen.js +41 -37
  59. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +31 -30
  60. package/dist/api/lb/v1/api.gen.cjs +5 -1
  61. package/dist/api/lb/v1/api.gen.d.ts +3 -3
  62. package/dist/api/lb/v1/api.gen.js +5 -1
  63. package/dist/api/lb/v1/types.gen.d.ts +116 -116
  64. package/dist/api/marketplace/v2/types.gen.d.ts +3 -3
  65. package/dist/api/mnq/v1beta1/api.gen.d.ts +4 -4
  66. package/dist/api/mnq/v1beta1/types.gen.d.ts +31 -31
  67. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +3 -3
  68. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +24 -24
  69. package/dist/api/rdb/v1/api.gen.cjs +5 -1
  70. package/dist/api/rdb/v1/api.gen.d.ts +2 -2
  71. package/dist/api/rdb/v1/api.gen.js +5 -1
  72. package/dist/api/rdb/v1/types.gen.d.ts +67 -67
  73. package/dist/api/redis/v1/api.gen.d.ts +2 -2
  74. package/dist/api/redis/v1/types.gen.d.ts +28 -28
  75. package/dist/api/registry/v1/api.gen.cjs +5 -1
  76. package/dist/api/registry/v1/api.gen.d.ts +2 -2
  77. package/dist/api/registry/v1/api.gen.js +5 -1
  78. package/dist/api/registry/v1/types.gen.d.ts +14 -14
  79. package/dist/api/secret/v1beta1/api.gen.cjs +5 -1
  80. package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
  81. package/dist/api/secret/v1beta1/api.gen.js +5 -1
  82. package/dist/api/secret/v1beta1/types.gen.d.ts +22 -22
  83. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
  84. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +12 -12
  85. package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
  86. package/dist/api/tem/v1alpha1/types.gen.d.ts +25 -25
  87. package/dist/api/vpcgw/v1/api.gen.d.ts +2 -2
  88. package/dist/api/vpcgw/v1/types.gen.d.ts +44 -44
  89. package/dist/api/vpcgw/v2/api.gen.d.ts +2 -2
  90. package/dist/api/vpcgw/v2/types.gen.d.ts +33 -33
  91. package/dist/api/webhosting/v1/api.gen.cjs +58 -2
  92. package/dist/api/webhosting/v1/api.gen.d.ts +31 -3
  93. package/dist/api/webhosting/v1/api.gen.js +60 -4
  94. package/dist/api/webhosting/v1/content.gen.cjs +4 -0
  95. package/dist/api/webhosting/v1/content.gen.d.ts +5 -1
  96. package/dist/api/webhosting/v1/content.gen.js +4 -0
  97. package/dist/api/webhosting/v1/index.gen.cjs +2 -0
  98. package/dist/api/webhosting/v1/index.gen.d.ts +1 -1
  99. package/dist/api/webhosting/v1/index.gen.js +3 -1
  100. package/dist/api/webhosting/v1/marshalling.gen.cjs +45 -0
  101. package/dist/api/webhosting/v1/marshalling.gen.d.ts +3 -1
  102. package/dist/api/webhosting/v1/marshalling.gen.js +45 -0
  103. package/dist/api/webhosting/v1/types.gen.d.ts +66 -0
  104. package/dist/api/webhosting/v1alpha1/api.gen.cjs +1 -1
  105. package/dist/api/webhosting/v1alpha1/api.gen.js +1 -1
  106. package/dist/scw/client-settings.cjs +2 -2
  107. package/dist/scw/client-settings.d.ts +2 -2
  108. package/dist/scw/client-settings.js +2 -2
  109. package/dist/scw/constants.cjs +1 -1
  110. package/dist/scw/constants.d.ts +2 -2
  111. package/dist/scw/constants.js +1 -1
  112. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import type { Region, Zone } from '../../../bridge';
1
+ import type { Region as ScwRegion, Zone as ScwZone } from '../../../bridge';
2
2
  export type AclActionRedirectRedirectType = 'location' | 'scheme';
3
3
  export type AclActionType = 'allow' | 'deny' | 'redirect';
4
4
  export type AclHttpFilter = 'acl_http_filter_none' | 'path_begin' | 'path_end' | 'regex' | 'http_header_match';
@@ -97,9 +97,9 @@ export interface Instance {
97
97
  /** Date on which the Instance was last updated. */
98
98
  updatedAt?: Date;
99
99
  /** @deprecated The region the Instance is in. */
100
- region?: Region;
100
+ region?: ScwRegion;
101
101
  /** The zone the Instance is in. */
102
- zone: Zone;
102
+ zone: ScwZone;
103
103
  }
104
104
  export interface Ip {
105
105
  /** IP address ID. */
@@ -117,9 +117,9 @@ export interface Ip {
117
117
  /** IP tags. */
118
118
  tags: string[];
119
119
  /** @deprecated The region the IP address is in. */
120
- region?: Region;
120
+ region?: ScwRegion;
121
121
  /** The zone the IP address is in. */
122
- zone: Zone;
122
+ zone: ScwZone;
123
123
  }
124
124
  /** Subscriber. */
125
125
  export interface Subscriber {
@@ -262,9 +262,9 @@ export interface Lb {
262
262
  /** Number of routes configured on the Load Balancer. */
263
263
  routeCount: number;
264
264
  /** @deprecated The region the Load Balancer is in. */
265
- region?: Region;
265
+ region?: ScwRegion;
266
266
  /** The zone the Load Balancer is in. */
267
- zone: Zone;
267
+ zone: ScwZone;
268
268
  }
269
269
  export interface AclActionRedirect {
270
270
  /** Redirect type. */
@@ -583,9 +583,9 @@ export interface LbType {
583
583
  /** Load Balancer commercial offer type description. */
584
584
  description: string;
585
585
  /** @deprecated The region the Load Balancer stock is in. */
586
- region?: Region;
586
+ region?: ScwRegion;
587
587
  /** The zone the Load Balancer stock is in. */
588
- zone: Zone;
588
+ zone: ScwZone;
589
589
  }
590
590
  export interface Route {
591
591
  /** Route ID. */
@@ -629,7 +629,7 @@ export type AddBackendServersRequest = {
629
629
  * Region to target. If none is passed will use default region from the
630
630
  * config.
631
631
  */
632
- region?: Region;
632
+ region?: ScwRegion;
633
633
  /** Backend ID. */
634
634
  backendId: string;
635
635
  /** List of IP addresses to add to backend servers. */
@@ -640,7 +640,7 @@ export type AttachPrivateNetworkRequest = {
640
640
  * Region to target. If none is passed will use default region from the
641
641
  * config.
642
642
  */
643
- region?: Region;
643
+ region?: ScwRegion;
644
644
  /** Load Balancer ID. */
645
645
  lbId: string;
646
646
  /** Private Network ID. */
@@ -682,7 +682,7 @@ export type CreateAclRequest = {
682
682
  * Region to target. If none is passed will use default region from the
683
683
  * config.
684
684
  */
685
- region?: Region;
685
+ region?: ScwRegion;
686
686
  /** Frontend ID to attach the ACL to. */
687
687
  frontendId: string;
688
688
  /** ACL name. */
@@ -707,7 +707,7 @@ export type CreateBackendRequest = {
707
707
  * Region to target. If none is passed will use default region from the
708
708
  * config.
709
709
  */
710
- region?: Region;
710
+ region?: ScwRegion;
711
711
  /** Load Balancer ID. */
712
712
  lbId: string;
713
713
  /** Name for the backend. */
@@ -793,7 +793,7 @@ export type CreateCertificateRequest = {
793
793
  * Region to target. If none is passed will use default region from the
794
794
  * config.
795
795
  */
796
- region?: Region;
796
+ region?: ScwRegion;
797
797
  /** Load Balancer ID. */
798
798
  lbId: string;
799
799
  /** Name for the certificate. */
@@ -818,7 +818,7 @@ export type CreateFrontendRequest = {
818
818
  * Region to target. If none is passed will use default region from the
819
819
  * config.
820
820
  */
821
- region?: Region;
821
+ region?: ScwRegion;
822
822
  /** Load Balancer ID (ID of the Load Balancer to attach the frontend to). */
823
823
  lbId: string;
824
824
  /** Name for the frontend. */
@@ -841,7 +841,7 @@ export type CreateIpRequest = {
841
841
  * Region to target. If none is passed will use default region from the
842
842
  * config.
843
843
  */
844
- region?: Region;
844
+ region?: ScwRegion;
845
845
  /**
846
846
  * @deprecated Organization ID of the Organization where the IP address should
847
847
  * be created.
@@ -869,7 +869,7 @@ export type CreateLbRequest = {
869
869
  * Region to target. If none is passed will use default region from the
870
870
  * config.
871
871
  */
872
- region?: Region;
872
+ region?: ScwRegion;
873
873
  /**
874
874
  * @deprecated Scaleway Organization to create the Load Balancer in.
875
875
  *
@@ -927,7 +927,7 @@ export type CreateRouteRequest = {
927
927
  * Region to target. If none is passed will use default region from the
928
928
  * config.
929
929
  */
930
- region?: Region;
930
+ region?: ScwRegion;
931
931
  /** ID of the source frontend to create the route on. */
932
932
  frontendId: string;
933
933
  /** ID of the target backend for the route. */
@@ -946,7 +946,7 @@ export type CreateSubscriberRequest = {
946
946
  * Region to target. If none is passed will use default region from the
947
947
  * config.
948
948
  */
949
- region?: Region;
949
+ region?: ScwRegion;
950
950
  /** Subscriber name. */
951
951
  name: string;
952
952
  /**
@@ -983,7 +983,7 @@ export type DeleteAclRequest = {
983
983
  * Region to target. If none is passed will use default region from the
984
984
  * config.
985
985
  */
986
- region?: Region;
986
+ region?: ScwRegion;
987
987
  /** ACL ID. */
988
988
  aclId: string;
989
989
  };
@@ -992,7 +992,7 @@ export type DeleteBackendRequest = {
992
992
  * Region to target. If none is passed will use default region from the
993
993
  * config.
994
994
  */
995
- region?: Region;
995
+ region?: ScwRegion;
996
996
  /** ID of the backend to delete. */
997
997
  backendId: string;
998
998
  };
@@ -1001,7 +1001,7 @@ export type DeleteCertificateRequest = {
1001
1001
  * Region to target. If none is passed will use default region from the
1002
1002
  * config.
1003
1003
  */
1004
- region?: Region;
1004
+ region?: ScwRegion;
1005
1005
  /** Certificate ID. */
1006
1006
  certificateId: string;
1007
1007
  };
@@ -1010,7 +1010,7 @@ export type DeleteFrontendRequest = {
1010
1010
  * Region to target. If none is passed will use default region from the
1011
1011
  * config.
1012
1012
  */
1013
- region?: Region;
1013
+ region?: ScwRegion;
1014
1014
  /** ID of the frontend to delete. */
1015
1015
  frontendId: string;
1016
1016
  };
@@ -1019,7 +1019,7 @@ export type DeleteLbRequest = {
1019
1019
  * Region to target. If none is passed will use default region from the
1020
1020
  * config.
1021
1021
  */
1022
- region?: Region;
1022
+ region?: ScwRegion;
1023
1023
  /** ID of the Load Balancer to delete. */
1024
1024
  lbId: string;
1025
1025
  /**
@@ -1034,7 +1034,7 @@ export type DeleteRouteRequest = {
1034
1034
  * Region to target. If none is passed will use default region from the
1035
1035
  * config.
1036
1036
  */
1037
- region?: Region;
1037
+ region?: ScwRegion;
1038
1038
  /** Route ID. */
1039
1039
  routeId: string;
1040
1040
  };
@@ -1043,7 +1043,7 @@ export type DeleteSubscriberRequest = {
1043
1043
  * Region to target. If none is passed will use default region from the
1044
1044
  * config.
1045
1045
  */
1046
- region?: Region;
1046
+ region?: ScwRegion;
1047
1047
  /** Subscriber ID. */
1048
1048
  subscriberId: string;
1049
1049
  };
@@ -1052,7 +1052,7 @@ export type DetachPrivateNetworkRequest = {
1052
1052
  * Region to target. If none is passed will use default region from the
1053
1053
  * config.
1054
1054
  */
1055
- region?: Region;
1055
+ region?: ScwRegion;
1056
1056
  /** Load balancer ID. */
1057
1057
  lbId: string;
1058
1058
  /** Set your instance private network id. */
@@ -1063,7 +1063,7 @@ export type GetAclRequest = {
1063
1063
  * Region to target. If none is passed will use default region from the
1064
1064
  * config.
1065
1065
  */
1066
- region?: Region;
1066
+ region?: ScwRegion;
1067
1067
  /** ACL ID. */
1068
1068
  aclId: string;
1069
1069
  };
@@ -1072,7 +1072,7 @@ export type GetBackendRequest = {
1072
1072
  * Region to target. If none is passed will use default region from the
1073
1073
  * config.
1074
1074
  */
1075
- region?: Region;
1075
+ region?: ScwRegion;
1076
1076
  /** Backend ID. */
1077
1077
  backendId: string;
1078
1078
  };
@@ -1081,7 +1081,7 @@ export type GetCertificateRequest = {
1081
1081
  * Region to target. If none is passed will use default region from the
1082
1082
  * config.
1083
1083
  */
1084
- region?: Region;
1084
+ region?: ScwRegion;
1085
1085
  /** Certificate ID. */
1086
1086
  certificateId: string;
1087
1087
  };
@@ -1090,7 +1090,7 @@ export type GetFrontendRequest = {
1090
1090
  * Region to target. If none is passed will use default region from the
1091
1091
  * config.
1092
1092
  */
1093
- region?: Region;
1093
+ region?: ScwRegion;
1094
1094
  /** Frontend ID. */
1095
1095
  frontendId: string;
1096
1096
  };
@@ -1099,7 +1099,7 @@ export type GetIpRequest = {
1099
1099
  * Region to target. If none is passed will use default region from the
1100
1100
  * config.
1101
1101
  */
1102
- region?: Region;
1102
+ region?: ScwRegion;
1103
1103
  /** IP address ID. */
1104
1104
  ipId: string;
1105
1105
  };
@@ -1108,7 +1108,7 @@ export type GetLbRequest = {
1108
1108
  * Region to target. If none is passed will use default region from the
1109
1109
  * config.
1110
1110
  */
1111
- region?: Region;
1111
+ region?: ScwRegion;
1112
1112
  /** Load Balancer ID. */
1113
1113
  lbId: string;
1114
1114
  };
@@ -1118,7 +1118,7 @@ export type GetLbStatsRequest = {
1118
1118
  * Region to target. If none is passed will use default region from the
1119
1119
  * config.
1120
1120
  */
1121
- region?: Region;
1121
+ region?: ScwRegion;
1122
1122
  /** Load Balancer ID. */
1123
1123
  lbId: string;
1124
1124
  /** ID of the backend. */
@@ -1129,7 +1129,7 @@ export type GetRouteRequest = {
1129
1129
  * Region to target. If none is passed will use default region from the
1130
1130
  * config.
1131
1131
  */
1132
- region?: Region;
1132
+ region?: ScwRegion;
1133
1133
  /** Route ID. */
1134
1134
  routeId: string;
1135
1135
  };
@@ -1138,7 +1138,7 @@ export type GetSubscriberRequest = {
1138
1138
  * Region to target. If none is passed will use default region from the
1139
1139
  * config.
1140
1140
  */
1141
- region?: Region;
1141
+ region?: ScwRegion;
1142
1142
  /** Subscriber ID. */
1143
1143
  subscriberId: string;
1144
1144
  };
@@ -1157,7 +1157,7 @@ export type ListAclsRequest = {
1157
1157
  * Region to target. If none is passed will use default region from the
1158
1158
  * config.
1159
1159
  */
1160
- region?: Region;
1160
+ region?: ScwRegion;
1161
1161
  /**
1162
1162
  * Frontend ID (ACLs attached to this frontend will be returned in the
1163
1163
  * response).
@@ -1177,7 +1177,7 @@ export type ListBackendStatsRequest = {
1177
1177
  * Region to target. If none is passed will use default region from the
1178
1178
  * config.
1179
1179
  */
1180
- region?: Region;
1180
+ region?: ScwRegion;
1181
1181
  /** Load Balancer ID. */
1182
1182
  lbId: string;
1183
1183
  /** The page number to return, from the paginated results. */
@@ -1198,7 +1198,7 @@ export type ListBackendsRequest = {
1198
1198
  * Region to target. If none is passed will use default region from the
1199
1199
  * config.
1200
1200
  */
1201
- region?: Region;
1201
+ region?: ScwRegion;
1202
1202
  /** Load Balancer ID. */
1203
1203
  lbId: string;
1204
1204
  /** Name of the backend to filter for. */
@@ -1221,7 +1221,7 @@ export type ListCertificatesRequest = {
1221
1221
  * Region to target. If none is passed will use default region from the
1222
1222
  * config.
1223
1223
  */
1224
- region?: Region;
1224
+ region?: ScwRegion;
1225
1225
  /** Load Balancer ID. */
1226
1226
  lbId: string;
1227
1227
  /** Sort order of certificates in the response. */
@@ -1247,7 +1247,7 @@ export type ListFrontendsRequest = {
1247
1247
  * Region to target. If none is passed will use default region from the
1248
1248
  * config.
1249
1249
  */
1250
- region?: Region;
1250
+ region?: ScwRegion;
1251
1251
  /** Load Balancer ID. */
1252
1252
  lbId: string;
1253
1253
  /** Name of the frontend to filter for. */
@@ -1270,7 +1270,7 @@ export type ListIPsRequest = {
1270
1270
  * Region to target. If none is passed will use default region from the
1271
1271
  * config.
1272
1272
  */
1273
- region?: Region;
1273
+ region?: ScwRegion;
1274
1274
  /** The page number to return, from the paginated results. */
1275
1275
  page?: number;
1276
1276
  /** Number of IP addresses to return. */
@@ -1306,7 +1306,7 @@ export type ListLbPrivateNetworksRequest = {
1306
1306
  * Region to target. If none is passed will use default region from the
1307
1307
  * config.
1308
1308
  */
1309
- region?: Region;
1309
+ region?: ScwRegion;
1310
1310
  /** Load Balancer ID. */
1311
1311
  lbId: string;
1312
1312
  /** Sort order of Private Network objects in the response. */
@@ -1327,7 +1327,7 @@ export type ListLbTypesRequest = {
1327
1327
  * Region to target. If none is passed will use default region from the
1328
1328
  * config.
1329
1329
  */
1330
- region?: Region;
1330
+ region?: ScwRegion;
1331
1331
  /** The page number to return, from the paginated results. */
1332
1332
  page?: number;
1333
1333
  /** The number of items to return. */
@@ -1344,7 +1344,7 @@ export type ListLbsRequest = {
1344
1344
  * Region to target. If none is passed will use default region from the
1345
1345
  * config.
1346
1346
  */
1347
- region?: Region;
1347
+ region?: ScwRegion;
1348
1348
  /** Load Balancer name to filter for. */
1349
1349
  name?: string;
1350
1350
  /** Sort order of Load Balancers in the response. */
@@ -1380,7 +1380,7 @@ export type ListRoutesRequest = {
1380
1380
  * Region to target. If none is passed will use default region from the
1381
1381
  * config.
1382
1382
  */
1383
- region?: Region;
1383
+ region?: ScwRegion;
1384
1384
  /** Sort order of routes in the response. */
1385
1385
  orderBy?: ListRoutesRequestOrderBy;
1386
1386
  /** The number of route objects to return. */
@@ -1401,7 +1401,7 @@ export type ListSubscriberRequest = {
1401
1401
  * Region to target. If none is passed will use default region from the
1402
1402
  * config.
1403
1403
  */
1404
- region?: Region;
1404
+ region?: ScwRegion;
1405
1405
  /** Sort order of subscribers in the response. */
1406
1406
  orderBy?: ListSubscriberRequestOrderBy;
1407
1407
  /** The page number to return, from the paginated results. */
@@ -1426,7 +1426,7 @@ export type MigrateLbRequest = {
1426
1426
  * Region to target. If none is passed will use default region from the
1427
1427
  * config.
1428
1428
  */
1429
- region?: Region;
1429
+ region?: ScwRegion;
1430
1430
  /** Load Balancer ID. */
1431
1431
  lbId: string;
1432
1432
  /**
@@ -1440,7 +1440,7 @@ export type ReleaseIpRequest = {
1440
1440
  * Region to target. If none is passed will use default region from the
1441
1441
  * config.
1442
1442
  */
1443
- region?: Region;
1443
+ region?: ScwRegion;
1444
1444
  /** IP address ID. */
1445
1445
  ipId: string;
1446
1446
  };
@@ -1449,7 +1449,7 @@ export type RemoveBackendServersRequest = {
1449
1449
  * Region to target. If none is passed will use default region from the
1450
1450
  * config.
1451
1451
  */
1452
- region?: Region;
1452
+ region?: ScwRegion;
1453
1453
  /** Backend ID. */
1454
1454
  backendId: string;
1455
1455
  /** List of IP addresses to remove from backend servers. */
@@ -1466,7 +1466,7 @@ export type SetBackendServersRequest = {
1466
1466
  * Region to target. If none is passed will use default region from the
1467
1467
  * config.
1468
1468
  */
1469
- region?: Region;
1469
+ region?: ScwRegion;
1470
1470
  /** Backend ID. */
1471
1471
  backendId: string;
1472
1472
  /**
@@ -1480,7 +1480,7 @@ export type SubscribeToLbRequest = {
1480
1480
  * Region to target. If none is passed will use default region from the
1481
1481
  * config.
1482
1482
  */
1483
- region?: Region;
1483
+ region?: ScwRegion;
1484
1484
  /** Load Balancer ID. */
1485
1485
  lbId: string;
1486
1486
  /** Subscriber ID. */
@@ -1491,7 +1491,7 @@ export type UnsubscribeFromLbRequest = {
1491
1491
  * Region to target. If none is passed will use default region from the
1492
1492
  * config.
1493
1493
  */
1494
- region?: Region;
1494
+ region?: ScwRegion;
1495
1495
  /** Load Balancer ID. */
1496
1496
  lbId: string;
1497
1497
  };
@@ -1500,7 +1500,7 @@ export type UpdateAclRequest = {
1500
1500
  * Region to target. If none is passed will use default region from the
1501
1501
  * config.
1502
1502
  */
1503
- region?: Region;
1503
+ region?: ScwRegion;
1504
1504
  /** ACL ID. */
1505
1505
  aclId: string;
1506
1506
  /** ACL name. */
@@ -1525,7 +1525,7 @@ export type UpdateBackendRequest = {
1525
1525
  * Region to target. If none is passed will use default region from the
1526
1526
  * config.
1527
1527
  */
1528
- region?: Region;
1528
+ region?: ScwRegion;
1529
1529
  /** Backend ID. */
1530
1530
  backendId: string;
1531
1531
  /** Backend name. */
@@ -1601,7 +1601,7 @@ export type UpdateCertificateRequest = {
1601
1601
  * Region to target. If none is passed will use default region from the
1602
1602
  * config.
1603
1603
  */
1604
- region?: Region;
1604
+ region?: ScwRegion;
1605
1605
  /** Certificate ID. */
1606
1606
  certificateId: string;
1607
1607
  /** Certificate name. */
@@ -1612,7 +1612,7 @@ export type UpdateFrontendRequest = {
1612
1612
  * Region to target. If none is passed will use default region from the
1613
1613
  * config.
1614
1614
  */
1615
- region?: Region;
1615
+ region?: ScwRegion;
1616
1616
  /** Frontend ID. */
1617
1617
  frontendId: string;
1618
1618
  /** Frontend name. */
@@ -1635,7 +1635,7 @@ export type UpdateHealthCheckRequest = {
1635
1635
  * Region to target. If none is passed will use default region from the
1636
1636
  * config.
1637
1637
  */
1638
- region?: Region;
1638
+ region?: ScwRegion;
1639
1639
  /** Backend ID. */
1640
1640
  backendId: string;
1641
1641
  /** Port to use for the backend server health check. */
@@ -1721,7 +1721,7 @@ export type UpdateIpRequest = {
1721
1721
  * Region to target. If none is passed will use default region from the
1722
1722
  * config.
1723
1723
  */
1724
- region?: Region;
1724
+ region?: ScwRegion;
1725
1725
  /** IP address ID. */
1726
1726
  ipId: string;
1727
1727
  /** Reverse DNS (domain name) for the IP address. */
@@ -1736,7 +1736,7 @@ export type UpdateLbRequest = {
1736
1736
  * Region to target. If none is passed will use default region from the
1737
1737
  * config.
1738
1738
  */
1739
- region?: Region;
1739
+ region?: ScwRegion;
1740
1740
  /** Load Balancer ID. */
1741
1741
  lbId: string;
1742
1742
  /** Load Balancer name. */
@@ -1760,7 +1760,7 @@ export type UpdateRouteRequest = {
1760
1760
  * Region to target. If none is passed will use default region from the
1761
1761
  * config.
1762
1762
  */
1763
- region?: Region;
1763
+ region?: ScwRegion;
1764
1764
  /** Route ID. */
1765
1765
  routeId: string;
1766
1766
  /** ID of the target backend for the route. */
@@ -1778,7 +1778,7 @@ export type UpdateSubscriberRequest = {
1778
1778
  * Region to target. If none is passed will use default region from the
1779
1779
  * config.
1780
1780
  */
1781
- region?: Region;
1781
+ region?: ScwRegion;
1782
1782
  /** Subscriber ID. */
1783
1783
  subscriberId: string;
1784
1784
  /** Subscriber name. */
@@ -1800,7 +1800,7 @@ export type UpdateSubscriberRequest = {
1800
1800
  };
1801
1801
  export type ZonedApiAddBackendServersRequest = {
1802
1802
  /** Zone to target. If none is passed will use default zone from the config. */
1803
- zone?: Zone;
1803
+ zone?: ScwZone;
1804
1804
  /** Backend ID. */
1805
1805
  backendId: string;
1806
1806
  /** List of IP addresses to add to backend servers. */
@@ -1808,7 +1808,7 @@ export type ZonedApiAddBackendServersRequest = {
1808
1808
  };
1809
1809
  export type ZonedApiAttachPrivateNetworkRequest = {
1810
1810
  /** Zone to target. If none is passed will use default zone from the config. */
1811
- zone?: Zone;
1811
+ zone?: ScwZone;
1812
1812
  /** Load Balancer ID. */
1813
1813
  lbId: string;
1814
1814
  /** Private Network ID. */
@@ -1847,7 +1847,7 @@ export type ZonedApiAttachPrivateNetworkRequest = {
1847
1847
  /** Add an ACL to a Load Balancer frontend. */
1848
1848
  export type ZonedApiCreateAclRequest = {
1849
1849
  /** Zone to target. If none is passed will use default zone from the config. */
1850
- zone?: Zone;
1850
+ zone?: ScwZone;
1851
1851
  /** Frontend ID to attach the ACL to. */
1852
1852
  frontendId: string;
1853
1853
  /** ACL name. */
@@ -1869,7 +1869,7 @@ export type ZonedApiCreateAclRequest = {
1869
1869
  };
1870
1870
  export type ZonedApiCreateBackendRequest = {
1871
1871
  /** Zone to target. If none is passed will use default zone from the config. */
1872
- zone?: Zone;
1872
+ zone?: ScwZone;
1873
1873
  /** Load Balancer ID. */
1874
1874
  lbId: string;
1875
1875
  /** Name for the backend. */
@@ -1952,7 +1952,7 @@ export type ZonedApiCreateBackendRequest = {
1952
1952
  };
1953
1953
  export type ZonedApiCreateCertificateRequest = {
1954
1954
  /** Zone to target. If none is passed will use default zone from the config. */
1955
- zone?: Zone;
1955
+ zone?: ScwZone;
1956
1956
  /** Load Balancer ID. */
1957
1957
  lbId: string;
1958
1958
  /** Name for the certificate. */
@@ -1974,7 +1974,7 @@ export type ZonedApiCreateCertificateRequest = {
1974
1974
  };
1975
1975
  export type ZonedApiCreateFrontendRequest = {
1976
1976
  /** Zone to target. If none is passed will use default zone from the config. */
1977
- zone?: Zone;
1977
+ zone?: ScwZone;
1978
1978
  /** Load Balancer ID (ID of the Load Balancer to attach the frontend to). */
1979
1979
  lbId: string;
1980
1980
  /** Name for the frontend. */
@@ -1994,7 +1994,7 @@ export type ZonedApiCreateFrontendRequest = {
1994
1994
  };
1995
1995
  export type ZonedApiCreateIpRequest = {
1996
1996
  /** Zone to target. If none is passed will use default zone from the config. */
1997
- zone?: Zone;
1997
+ zone?: ScwZone;
1998
1998
  /**
1999
1999
  * @deprecated Organization ID of the Organization where the IP address should
2000
2000
  * be created.
@@ -2019,7 +2019,7 @@ export type ZonedApiCreateIpRequest = {
2019
2019
  };
2020
2020
  export type ZonedApiCreateLbRequest = {
2021
2021
  /** Zone to target. If none is passed will use default zone from the config. */
2022
- zone?: Zone;
2022
+ zone?: ScwZone;
2023
2023
  /**
2024
2024
  * @deprecated Scaleway Organization to create the Load Balancer in.
2025
2025
  *
@@ -2074,7 +2074,7 @@ export type ZonedApiCreateLbRequest = {
2074
2074
  };
2075
2075
  export type ZonedApiCreateRouteRequest = {
2076
2076
  /** Zone to target. If none is passed will use default zone from the config. */
2077
- zone?: Zone;
2077
+ zone?: ScwZone;
2078
2078
  /** ID of the source frontend to create the route on. */
2079
2079
  frontendId: string;
2080
2080
  /** ID of the target backend for the route. */
@@ -2090,7 +2090,7 @@ export type ZonedApiCreateRouteRequest = {
2090
2090
  /** Create a new alert subscriber (webhook or email). */
2091
2091
  export type ZonedApiCreateSubscriberRequest = {
2092
2092
  /** Zone to target. If none is passed will use default zone from the config. */
2093
- zone?: Zone;
2093
+ zone?: ScwZone;
2094
2094
  /** Subscriber name. */
2095
2095
  name: string;
2096
2096
  /**
@@ -2124,31 +2124,31 @@ export type ZonedApiCreateSubscriberRequest = {
2124
2124
  };
2125
2125
  export type ZonedApiDeleteAclRequest = {
2126
2126
  /** Zone to target. If none is passed will use default zone from the config. */
2127
- zone?: Zone;
2127
+ zone?: ScwZone;
2128
2128
  /** ACL ID. */
2129
2129
  aclId: string;
2130
2130
  };
2131
2131
  export type ZonedApiDeleteBackendRequest = {
2132
2132
  /** Zone to target. If none is passed will use default zone from the config. */
2133
- zone?: Zone;
2133
+ zone?: ScwZone;
2134
2134
  /** ID of the backend to delete. */
2135
2135
  backendId: string;
2136
2136
  };
2137
2137
  export type ZonedApiDeleteCertificateRequest = {
2138
2138
  /** Zone to target. If none is passed will use default zone from the config. */
2139
- zone?: Zone;
2139
+ zone?: ScwZone;
2140
2140
  /** Certificate ID. */
2141
2141
  certificateId: string;
2142
2142
  };
2143
2143
  export type ZonedApiDeleteFrontendRequest = {
2144
2144
  /** Zone to target. If none is passed will use default zone from the config. */
2145
- zone?: Zone;
2145
+ zone?: ScwZone;
2146
2146
  /** ID of the frontend to delete. */
2147
2147
  frontendId: string;
2148
2148
  };
2149
2149
  export type ZonedApiDeleteLbRequest = {
2150
2150
  /** Zone to target. If none is passed will use default zone from the config. */
2151
- zone?: Zone;
2151
+ zone?: ScwZone;
2152
2152
  /** ID of the Load Balancer to delete. */
2153
2153
  lbId: string;
2154
2154
  /**
@@ -2160,19 +2160,19 @@ export type ZonedApiDeleteLbRequest = {
2160
2160
  };
2161
2161
  export type ZonedApiDeleteRouteRequest = {
2162
2162
  /** Zone to target. If none is passed will use default zone from the config. */
2163
- zone?: Zone;
2163
+ zone?: ScwZone;
2164
2164
  /** Route ID. */
2165
2165
  routeId: string;
2166
2166
  };
2167
2167
  export type ZonedApiDeleteSubscriberRequest = {
2168
2168
  /** Zone to target. If none is passed will use default zone from the config. */
2169
- zone?: Zone;
2169
+ zone?: ScwZone;
2170
2170
  /** Subscriber ID. */
2171
2171
  subscriberId: string;
2172
2172
  };
2173
2173
  export type ZonedApiDetachPrivateNetworkRequest = {
2174
2174
  /** Zone to target. If none is passed will use default zone from the config. */
2175
- zone?: Zone;
2175
+ zone?: ScwZone;
2176
2176
  /** Load balancer ID. */
2177
2177
  lbId: string;
2178
2178
  /** Set your instance private network id. */
@@ -2180,44 +2180,44 @@ export type ZonedApiDetachPrivateNetworkRequest = {
2180
2180
  };
2181
2181
  export type ZonedApiGetAclRequest = {
2182
2182
  /** Zone to target. If none is passed will use default zone from the config. */
2183
- zone?: Zone;
2183
+ zone?: ScwZone;
2184
2184
  /** ACL ID. */
2185
2185
  aclId: string;
2186
2186
  };
2187
2187
  export type ZonedApiGetBackendRequest = {
2188
2188
  /** Zone to target. If none is passed will use default zone from the config. */
2189
- zone?: Zone;
2189
+ zone?: ScwZone;
2190
2190
  /** Backend ID. */
2191
2191
  backendId: string;
2192
2192
  };
2193
2193
  export type ZonedApiGetCertificateRequest = {
2194
2194
  /** Zone to target. If none is passed will use default zone from the config. */
2195
- zone?: Zone;
2195
+ zone?: ScwZone;
2196
2196
  /** Certificate ID. */
2197
2197
  certificateId: string;
2198
2198
  };
2199
2199
  export type ZonedApiGetFrontendRequest = {
2200
2200
  /** Zone to target. If none is passed will use default zone from the config. */
2201
- zone?: Zone;
2201
+ zone?: ScwZone;
2202
2202
  /** Frontend ID. */
2203
2203
  frontendId: string;
2204
2204
  };
2205
2205
  export type ZonedApiGetIpRequest = {
2206
2206
  /** Zone to target. If none is passed will use default zone from the config. */
2207
- zone?: Zone;
2207
+ zone?: ScwZone;
2208
2208
  /** IP address ID. */
2209
2209
  ipId: string;
2210
2210
  };
2211
2211
  export type ZonedApiGetLbRequest = {
2212
2212
  /** Zone to target. If none is passed will use default zone from the config. */
2213
- zone?: Zone;
2213
+ zone?: ScwZone;
2214
2214
  /** Load Balancer ID. */
2215
2215
  lbId: string;
2216
2216
  };
2217
2217
  /** Get Load Balancer stats. */
2218
2218
  export type ZonedApiGetLbStatsRequest = {
2219
2219
  /** Zone to target. If none is passed will use default zone from the config. */
2220
- zone?: Zone;
2220
+ zone?: ScwZone;
2221
2221
  /** Load Balancer ID. */
2222
2222
  lbId: string;
2223
2223
  /** ID of the backend. */
@@ -2225,19 +2225,19 @@ export type ZonedApiGetLbStatsRequest = {
2225
2225
  };
2226
2226
  export type ZonedApiGetRouteRequest = {
2227
2227
  /** Zone to target. If none is passed will use default zone from the config. */
2228
- zone?: Zone;
2228
+ zone?: ScwZone;
2229
2229
  /** Route ID. */
2230
2230
  routeId: string;
2231
2231
  };
2232
2232
  export type ZonedApiGetSubscriberRequest = {
2233
2233
  /** Zone to target. If none is passed will use default zone from the config. */
2234
- zone?: Zone;
2234
+ zone?: ScwZone;
2235
2235
  /** Subscriber ID. */
2236
2236
  subscriberId: string;
2237
2237
  };
2238
2238
  export type ZonedApiListAclsRequest = {
2239
2239
  /** Zone to target. If none is passed will use default zone from the config. */
2240
- zone?: Zone;
2240
+ zone?: ScwZone;
2241
2241
  /**
2242
2242
  * Frontend ID (ACLs attached to this frontend will be returned in the
2243
2243
  * response).
@@ -2254,7 +2254,7 @@ export type ZonedApiListAclsRequest = {
2254
2254
  };
2255
2255
  export type ZonedApiListBackendStatsRequest = {
2256
2256
  /** Zone to target. If none is passed will use default zone from the config. */
2257
- zone?: Zone;
2257
+ zone?: ScwZone;
2258
2258
  /** Load Balancer ID. */
2259
2259
  lbId: string;
2260
2260
  /** The page number to return, from the paginated results. */
@@ -2266,7 +2266,7 @@ export type ZonedApiListBackendStatsRequest = {
2266
2266
  };
2267
2267
  export type ZonedApiListBackendsRequest = {
2268
2268
  /** Zone to target. If none is passed will use default zone from the config. */
2269
- zone?: Zone;
2269
+ zone?: ScwZone;
2270
2270
  /** Load Balancer ID. */
2271
2271
  lbId: string;
2272
2272
  /** Name of the backend to filter for. */
@@ -2280,7 +2280,7 @@ export type ZonedApiListBackendsRequest = {
2280
2280
  };
2281
2281
  export type ZonedApiListCertificatesRequest = {
2282
2282
  /** Zone to target. If none is passed will use default zone from the config. */
2283
- zone?: Zone;
2283
+ zone?: ScwZone;
2284
2284
  /** Load Balancer ID. */
2285
2285
  lbId: string;
2286
2286
  /** Sort order of certificates in the response. */
@@ -2297,7 +2297,7 @@ export type ZonedApiListCertificatesRequest = {
2297
2297
  };
2298
2298
  export type ZonedApiListFrontendsRequest = {
2299
2299
  /** Zone to target. If none is passed will use default zone from the config. */
2300
- zone?: Zone;
2300
+ zone?: ScwZone;
2301
2301
  /** Load Balancer ID. */
2302
2302
  lbId: string;
2303
2303
  /** Name of the frontend to filter for. */
@@ -2311,7 +2311,7 @@ export type ZonedApiListFrontendsRequest = {
2311
2311
  };
2312
2312
  export type ZonedApiListIPsRequest = {
2313
2313
  /** Zone to target. If none is passed will use default zone from the config. */
2314
- zone?: Zone;
2314
+ zone?: ScwZone;
2315
2315
  /** The page number to return, from the paginated results. */
2316
2316
  page?: number;
2317
2317
  /** Number of IP addresses to return. */
@@ -2338,7 +2338,7 @@ export type ZonedApiListIPsRequest = {
2338
2338
  };
2339
2339
  export type ZonedApiListLbPrivateNetworksRequest = {
2340
2340
  /** Zone to target. If none is passed will use default zone from the config. */
2341
- zone?: Zone;
2341
+ zone?: ScwZone;
2342
2342
  /** Load Balancer ID. */
2343
2343
  lbId: string;
2344
2344
  /** Sort order of Private Network objects in the response. */
@@ -2350,7 +2350,7 @@ export type ZonedApiListLbPrivateNetworksRequest = {
2350
2350
  };
2351
2351
  export type ZonedApiListLbTypesRequest = {
2352
2352
  /** Zone to target. If none is passed will use default zone from the config. */
2353
- zone?: Zone;
2353
+ zone?: ScwZone;
2354
2354
  /** The page number to return, from the paginated results. */
2355
2355
  page?: number;
2356
2356
  /** The number of items to return. */
@@ -2358,7 +2358,7 @@ export type ZonedApiListLbTypesRequest = {
2358
2358
  };
2359
2359
  export type ZonedApiListLbsRequest = {
2360
2360
  /** Zone to target. If none is passed will use default zone from the config. */
2361
- zone?: Zone;
2361
+ zone?: ScwZone;
2362
2362
  /** Load Balancer name to filter for. */
2363
2363
  name?: string;
2364
2364
  /** Sort order of Load Balancers in the response. */
@@ -2385,7 +2385,7 @@ export type ZonedApiListLbsRequest = {
2385
2385
  };
2386
2386
  export type ZonedApiListRoutesRequest = {
2387
2387
  /** Zone to target. If none is passed will use default zone from the config. */
2388
- zone?: Zone;
2388
+ zone?: ScwZone;
2389
2389
  /** Sort order of routes in the response. */
2390
2390
  orderBy?: ListRoutesRequestOrderBy;
2391
2391
  /** The number of route objects to return. */
@@ -2397,7 +2397,7 @@ export type ZonedApiListRoutesRequest = {
2397
2397
  };
2398
2398
  export type ZonedApiListSubscriberRequest = {
2399
2399
  /** Zone to target. If none is passed will use default zone from the config. */
2400
- zone?: Zone;
2400
+ zone?: ScwZone;
2401
2401
  /** Sort order of subscribers in the response. */
2402
2402
  orderBy?: ListSubscriberRequestOrderBy;
2403
2403
  /** The page number to return, from the paginated results. */
@@ -2413,7 +2413,7 @@ export type ZonedApiListSubscriberRequest = {
2413
2413
  };
2414
2414
  export type ZonedApiMigrateLbRequest = {
2415
2415
  /** Zone to target. If none is passed will use default zone from the config. */
2416
- zone?: Zone;
2416
+ zone?: ScwZone;
2417
2417
  /** Load Balancer ID. */
2418
2418
  lbId: string;
2419
2419
  /**
@@ -2424,13 +2424,13 @@ export type ZonedApiMigrateLbRequest = {
2424
2424
  };
2425
2425
  export type ZonedApiReleaseIpRequest = {
2426
2426
  /** Zone to target. If none is passed will use default zone from the config. */
2427
- zone?: Zone;
2427
+ zone?: ScwZone;
2428
2428
  /** IP address ID. */
2429
2429
  ipId: string;
2430
2430
  };
2431
2431
  export type ZonedApiRemoveBackendServersRequest = {
2432
2432
  /** Zone to target. If none is passed will use default zone from the config. */
2433
- zone?: Zone;
2433
+ zone?: ScwZone;
2434
2434
  /** Backend ID. */
2435
2435
  backendId: string;
2436
2436
  /** List of IP addresses to remove from backend servers. */
@@ -2438,7 +2438,7 @@ export type ZonedApiRemoveBackendServersRequest = {
2438
2438
  };
2439
2439
  export type ZonedApiSetAclsRequest = {
2440
2440
  /** Zone to target. If none is passed will use default zone from the config. */
2441
- zone?: Zone;
2441
+ zone?: ScwZone;
2442
2442
  /** Frontend ID. */
2443
2443
  frontendId: string;
2444
2444
  /**
@@ -2449,7 +2449,7 @@ export type ZonedApiSetAclsRequest = {
2449
2449
  };
2450
2450
  export type ZonedApiSetBackendServersRequest = {
2451
2451
  /** Zone to target. If none is passed will use default zone from the config. */
2452
- zone?: Zone;
2452
+ zone?: ScwZone;
2453
2453
  /** Backend ID. */
2454
2454
  backendId: string;
2455
2455
  /**
@@ -2460,7 +2460,7 @@ export type ZonedApiSetBackendServersRequest = {
2460
2460
  };
2461
2461
  export type ZonedApiSubscribeToLbRequest = {
2462
2462
  /** Zone to target. If none is passed will use default zone from the config. */
2463
- zone?: Zone;
2463
+ zone?: ScwZone;
2464
2464
  /** Load Balancer ID. */
2465
2465
  lbId: string;
2466
2466
  /** Subscriber ID. */
@@ -2468,13 +2468,13 @@ export type ZonedApiSubscribeToLbRequest = {
2468
2468
  };
2469
2469
  export type ZonedApiUnsubscribeFromLbRequest = {
2470
2470
  /** Zone to target. If none is passed will use default zone from the config. */
2471
- zone?: Zone;
2471
+ zone?: ScwZone;
2472
2472
  /** Load Balancer ID. */
2473
2473
  lbId: string;
2474
2474
  };
2475
2475
  export type ZonedApiUpdateAclRequest = {
2476
2476
  /** Zone to target. If none is passed will use default zone from the config. */
2477
- zone?: Zone;
2477
+ zone?: ScwZone;
2478
2478
  /** ACL ID. */
2479
2479
  aclId: string;
2480
2480
  /** ACL name. */
@@ -2496,7 +2496,7 @@ export type ZonedApiUpdateAclRequest = {
2496
2496
  };
2497
2497
  export type ZonedApiUpdateBackendRequest = {
2498
2498
  /** Zone to target. If none is passed will use default zone from the config. */
2499
- zone?: Zone;
2499
+ zone?: ScwZone;
2500
2500
  /** Backend ID. */
2501
2501
  backendId: string;
2502
2502
  /** Backend name. */
@@ -2569,7 +2569,7 @@ export type ZonedApiUpdateBackendRequest = {
2569
2569
  };
2570
2570
  export type ZonedApiUpdateCertificateRequest = {
2571
2571
  /** Zone to target. If none is passed will use default zone from the config. */
2572
- zone?: Zone;
2572
+ zone?: ScwZone;
2573
2573
  /** Certificate ID. */
2574
2574
  certificateId: string;
2575
2575
  /** Certificate name. */
@@ -2577,7 +2577,7 @@ export type ZonedApiUpdateCertificateRequest = {
2577
2577
  };
2578
2578
  export type ZonedApiUpdateFrontendRequest = {
2579
2579
  /** Zone to target. If none is passed will use default zone from the config. */
2580
- zone?: Zone;
2580
+ zone?: ScwZone;
2581
2581
  /** Frontend ID. */
2582
2582
  frontendId: string;
2583
2583
  /** Frontend name. */
@@ -2597,7 +2597,7 @@ export type ZonedApiUpdateFrontendRequest = {
2597
2597
  };
2598
2598
  export type ZonedApiUpdateHealthCheckRequest = {
2599
2599
  /** Zone to target. If none is passed will use default zone from the config. */
2600
- zone?: Zone;
2600
+ zone?: ScwZone;
2601
2601
  /** Backend ID. */
2602
2602
  backendId: string;
2603
2603
  /** Port to use for the backend server health check. */
@@ -2680,7 +2680,7 @@ export type ZonedApiUpdateHealthCheckRequest = {
2680
2680
  };
2681
2681
  export type ZonedApiUpdateIpRequest = {
2682
2682
  /** Zone to target. If none is passed will use default zone from the config. */
2683
- zone?: Zone;
2683
+ zone?: ScwZone;
2684
2684
  /** IP address ID. */
2685
2685
  ipId: string;
2686
2686
  /** Reverse DNS (domain name) for the IP address. */
@@ -2692,7 +2692,7 @@ export type ZonedApiUpdateIpRequest = {
2692
2692
  };
2693
2693
  export type ZonedApiUpdateLbRequest = {
2694
2694
  /** Zone to target. If none is passed will use default zone from the config. */
2695
- zone?: Zone;
2695
+ zone?: ScwZone;
2696
2696
  /** Load Balancer ID. */
2697
2697
  lbId: string;
2698
2698
  /** Load Balancer name. */
@@ -2713,7 +2713,7 @@ export type ZonedApiUpdateLbRequest = {
2713
2713
  };
2714
2714
  export type ZonedApiUpdateRouteRequest = {
2715
2715
  /** Zone to target. If none is passed will use default zone from the config. */
2716
- zone?: Zone;
2716
+ zone?: ScwZone;
2717
2717
  /** Route ID. */
2718
2718
  routeId: string;
2719
2719
  /** ID of the target backend for the route. */
@@ -2728,7 +2728,7 @@ export type ZonedApiUpdateRouteRequest = {
2728
2728
  };
2729
2729
  export type ZonedApiUpdateSubscriberRequest = {
2730
2730
  /** Zone to target. If none is passed will use default zone from the config. */
2731
- zone?: Zone;
2731
+ zone?: ScwZone;
2732
2732
  /** Subscriber ID. */
2733
2733
  subscriberId: string;
2734
2734
  /** Subscriber name. */