@scaleway/sdk-autoscaling 2.10.0 → 2.11.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.
@@ -0,0 +1,13 @@
1
+ import type { AlertAlertType, GroupGroupStatus, GroupLoadBalancerConfigurationBackendAddressFamily, GroupSummaryScalingPolicyTargetType, ListGroupsRequestOrderBy, LogLogLevel } from './types.gen.js';
2
+ /** Lists all values of the enum {@link AlertAlertType}. */
3
+ export declare const ALERT_ALERT_TYPES: AlertAlertType[];
4
+ /** Lists all values of the enum {@link GroupGroupStatus}. */
5
+ export declare const GROUP_GROUP_STATUSES: GroupGroupStatus[];
6
+ /** Lists all values of the enum {@link GroupLoadBalancerConfigurationBackendAddressFamily}. */
7
+ export declare const GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES: GroupLoadBalancerConfigurationBackendAddressFamily[];
8
+ /** Lists all values of the enum {@link GroupSummaryScalingPolicyTargetType}. */
9
+ export declare const GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES: GroupSummaryScalingPolicyTargetType[];
10
+ /** Lists all values of the enum {@link ListGroupsRequestOrderBy}. */
11
+ export declare const LIST_GROUPS_REQUEST_ORDER_BIES: ListGroupsRequestOrderBy[];
12
+ /** Lists all values of the enum {@link LogLogLevel}. */
13
+ export declare const LOG_LOG_LEVELS: LogLogLevel[];
@@ -0,0 +1,50 @@
1
+ //#region src/v1alpha2/constants.gen.ts
2
+ /** Lists all values of the enum {@link AlertAlertType}. */
3
+ const ALERT_ALERT_TYPES = [
4
+ "unknown_alert_type",
5
+ "quotas_exceeded",
6
+ "out_of_stock",
7
+ "invalid_template",
8
+ "template_not_found",
9
+ "invalid_instance",
10
+ "template_permissions_denied",
11
+ "load_balancer_not_found",
12
+ "load_balancer_permissions_denied",
13
+ "backend_not_found",
14
+ "backend_permissions_denied"
15
+ ];
16
+ /** Lists all values of the enum {@link GroupGroupStatus}. */
17
+ const GROUP_GROUP_STATUSES = [
18
+ "unknown_group_status",
19
+ "active",
20
+ "scaling_out",
21
+ "scaling_in",
22
+ "refreshing",
23
+ "healing",
24
+ "scaling_failure",
25
+ "deleting"
26
+ ];
27
+ /** Lists all values of the enum {@link GroupLoadBalancerConfigurationBackendAddressFamily}. */
28
+ const GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES = [
29
+ "unknown_address_family",
30
+ "ipv4",
31
+ "ipv6"
32
+ ];
33
+ /** Lists all values of the enum {@link GroupSummaryScalingPolicyTargetType}. */
34
+ const GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES = [
35
+ "unknown_scaling_policy_target_type",
36
+ "fixed_size",
37
+ "cpu_target",
38
+ "memory_target"
39
+ ];
40
+ /** Lists all values of the enum {@link ListGroupsRequestOrderBy}. */
41
+ const LIST_GROUPS_REQUEST_ORDER_BIES = ["created_at_desc", "created_at_asc"];
42
+ /** Lists all values of the enum {@link LogLogLevel}. */
43
+ const LOG_LOG_LEVELS = [
44
+ "unknown_log_level",
45
+ "info",
46
+ "warning",
47
+ "error"
48
+ ];
49
+ //#endregion
50
+ export { ALERT_ALERT_TYPES, GROUP_GROUP_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS };
@@ -1,5 +1,6 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
+ export * from './constants.gen.js';
3
4
  export * from './marshalling.gen.js';
4
5
  export type { Alert, AlertAlertType, CreateGroupRequest, DeleteGroupRequest, GetGroupRequest, Group, GroupGroupStatus, GroupLoadBalancerConfiguration, GroupLoadBalancerConfigurationAutoHealing, GroupLoadBalancerConfigurationBackend, GroupLoadBalancerConfigurationBackendAddressFamily, GroupScalingPolicy, GroupScalingPolicyScalingPolicyCpuTarget, GroupScalingPolicyScalingPolicyFixedSize, GroupScalingPolicyScalingPolicyMemoryTarget, GroupSummary, GroupSummaryScalingPolicyTargetType, ListAlertsRequest, ListAlertsResponse, ListGroupsRequest, ListGroupsRequestOrderBy, ListGroupsResponse, ListLogsRequest, ListLogsResponse, ListServersRequest, ListServersResponse, LoadBalancerConfigurationSpec, LoadBalancerConfigurationSpecAutoHealing, LoadBalancerConfigurationSpecBackend, Log, LogLogLevel, ScalingPolicySpec, Server, UpdateGroupRequest, } from './types.gen.js';
5
6
  export * as ValidationRules from './validation-rules.gen.js';
@@ -2,11 +2,18 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { GROUP_GROUP_TRANSIENT_STATUSES } from "./content.gen.js";
3
3
  import { marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse } from "./marshalling.gen.js";
4
4
  import { API } from "./api.gen.js";
5
+ import { ALERT_ALERT_TYPES, GROUP_GROUP_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS } from "./constants.gen.js";
5
6
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
6
7
  //#region src/v1alpha2/index.gen.ts
7
8
  var index_gen_exports = /* @__PURE__ */ __exportAll({
9
+ ALERT_ALERT_TYPES: () => ALERT_ALERT_TYPES,
8
10
  API: () => API,
11
+ GROUP_GROUP_STATUSES: () => GROUP_GROUP_STATUSES,
9
12
  GROUP_GROUP_TRANSIENT_STATUSES: () => GROUP_GROUP_TRANSIENT_STATUSES,
13
+ GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES: () => GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES,
14
+ GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES: () => GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES,
15
+ LIST_GROUPS_REQUEST_ORDER_BIES: () => LIST_GROUPS_REQUEST_ORDER_BIES,
16
+ LOG_LOG_LEVELS: () => LOG_LOG_LEVELS,
10
17
  ValidationRules: () => validation_rules_gen_exports,
11
18
  marshalCreateGroupRequest: () => marshalCreateGroupRequest,
12
19
  marshalUpdateGroupRequest: () => marshalUpdateGroupRequest,
@@ -17,4 +24,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
17
24
  unmarshalListServersResponse: () => unmarshalListServersResponse
18
25
  });
19
26
  //#endregion
20
- export { API, GROUP_GROUP_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };
27
+ export { ALERT_ALERT_TYPES, API, GROUP_GROUP_STATUSES, GROUP_GROUP_TRANSIENT_STATUSES, GROUP_LOAD_BALANCER_CONFIGURATION_BACKEND_ADDRESS_FAMILIES, GROUP_SUMMARY_SCALING_POLICY_TARGET_TYPES, LIST_GROUPS_REQUEST_ORDER_BIES, LOG_LOG_LEVELS, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateGroupRequest, marshalUpdateGroupRequest, unmarshalGroup, unmarshalListAlertsResponse, unmarshalListGroupsResponse, unmarshalListLogsResponse, unmarshalListServersResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-autoscaling",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Scaleway SDK autoscaling",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.6.0"
36
+ "@scaleway/sdk-std": "2.7.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",