@scaleway/sdk-lb 1.2.0 → 1.2.1
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/v1/api.gen.cjs +23 -17
- package/dist/v1/api.gen.d.ts +11 -5
- package/dist/v1/api.gen.js +25 -19
- package/dist/v1/index.gen.cjs +2 -0
- package/dist/v1/index.gen.d.ts +1 -0
- package/dist/v1/index.gen.js +2 -0
- package/dist/v1/marshalling.gen.js +1 -1
- package/dist/v1/validation-rules.gen.cjs +14 -0
- package/dist/v1/validation-rules.gen.d.ts +10 -0
- package/dist/v1/validation-rules.gen.js +14 -0
- package/package.json +4 -4
package/dist/v1/api.gen.cjs
CHANGED
|
@@ -7,17 +7,22 @@ const jsonContentHeaders = {
|
|
|
7
7
|
"Content-Type": "application/json; charset=utf-8"
|
|
8
8
|
};
|
|
9
9
|
class ZonedAPI extends sdkClient.API {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Locality of this API.
|
|
12
|
+
* type ∈ {'zone','region','global','unspecified'}
|
|
13
|
+
*/
|
|
14
|
+
static LOCALITY = sdkClient.toApiLocality({
|
|
15
|
+
zones: [
|
|
16
|
+
"fr-par-1",
|
|
17
|
+
"fr-par-2",
|
|
18
|
+
"nl-ams-1",
|
|
19
|
+
"nl-ams-2",
|
|
20
|
+
"nl-ams-3",
|
|
21
|
+
"pl-waw-1",
|
|
22
|
+
"pl-waw-2",
|
|
23
|
+
"pl-waw-3"
|
|
24
|
+
]
|
|
25
|
+
});
|
|
21
26
|
pageOfListLbs = (request = {}) => this.client.fetch(
|
|
22
27
|
{
|
|
23
28
|
method: "GET",
|
|
@@ -963,12 +968,13 @@ class ZonedAPI extends sdkClient.API {
|
|
|
963
968
|
});
|
|
964
969
|
}
|
|
965
970
|
class API extends sdkClient.API {
|
|
966
|
-
/**
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
971
|
+
/**
|
|
972
|
+
* Locality of this API.
|
|
973
|
+
* type ∈ {'zone','region','global','unspecified'}
|
|
974
|
+
*/
|
|
975
|
+
static LOCALITY = sdkClient.toApiLocality({
|
|
976
|
+
regions: ["fr-par", "nl-ams", "pl-waw"]
|
|
977
|
+
});
|
|
972
978
|
pageOfListLbs = (request = {}) => this.client.fetch(
|
|
973
979
|
{
|
|
974
980
|
method: "GET",
|
package/dist/v1/api.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
|
|
3
3
|
import type { Acl, AddBackendServersRequest, AttachPrivateNetworkRequest, Backend, Certificate, CreateAclRequest, CreateBackendRequest, CreateCertificateRequest, CreateFrontendRequest, CreateIpRequest, CreateLbRequest, CreateRouteRequest, CreateSubscriberRequest, DeleteAclRequest, DeleteBackendRequest, DeleteCertificateRequest, DeleteFrontendRequest, DeleteLbRequest, DeleteRouteRequest, DeleteSubscriberRequest, DetachPrivateNetworkRequest, Frontend, GetAclRequest, GetBackendRequest, GetCertificateRequest, GetFrontendRequest, GetIpRequest, GetLbRequest, GetLbStatsRequest, GetRouteRequest, GetSubscriberRequest, HealthCheck, Ip, Lb, LbStats, ListAclResponse, ListAclsRequest, ListBackendStatsRequest, ListBackendStatsResponse, ListBackendsRequest, ListBackendsResponse, ListCertificatesRequest, ListCertificatesResponse, ListFrontendsRequest, ListFrontendsResponse, ListIPsRequest, ListIpsResponse, ListLbPrivateNetworksRequest, ListLbPrivateNetworksResponse, ListLbTypesRequest, ListLbTypesResponse, ListLbsRequest, ListLbsResponse, ListRoutesRequest, ListRoutesResponse, ListSubscriberRequest, ListSubscriberResponse, MigrateLbRequest, PrivateNetwork, ReleaseIpRequest, RemoveBackendServersRequest, Route, SetAclsResponse, SetBackendServersRequest, SubscribeToLbRequest, Subscriber, UnsubscribeFromLbRequest, UpdateAclRequest, UpdateBackendRequest, UpdateCertificateRequest, UpdateFrontendRequest, UpdateHealthCheckRequest, UpdateIpRequest, UpdateLbRequest, UpdateRouteRequest, UpdateSubscriberRequest, ZonedApiAddBackendServersRequest, ZonedApiAttachPrivateNetworkRequest, ZonedApiCreateAclRequest, ZonedApiCreateBackendRequest, ZonedApiCreateCertificateRequest, ZonedApiCreateFrontendRequest, ZonedApiCreateIpRequest, ZonedApiCreateLbRequest, ZonedApiCreateRouteRequest, ZonedApiCreateSubscriberRequest, ZonedApiDeleteAclRequest, ZonedApiDeleteBackendRequest, ZonedApiDeleteCertificateRequest, ZonedApiDeleteFrontendRequest, ZonedApiDeleteLbRequest, ZonedApiDeleteRouteRequest, ZonedApiDeleteSubscriberRequest, ZonedApiDetachPrivateNetworkRequest, ZonedApiGetAclRequest, ZonedApiGetBackendRequest, ZonedApiGetCertificateRequest, ZonedApiGetFrontendRequest, ZonedApiGetIpRequest, ZonedApiGetLbRequest, ZonedApiGetLbStatsRequest, ZonedApiGetRouteRequest, ZonedApiGetSubscriberRequest, ZonedApiListAclsRequest, ZonedApiListBackendStatsRequest, ZonedApiListBackendsRequest, ZonedApiListCertificatesRequest, ZonedApiListFrontendsRequest, ZonedApiListIPsRequest, ZonedApiListLbPrivateNetworksRequest, ZonedApiListLbTypesRequest, ZonedApiListLbsRequest, ZonedApiListRoutesRequest, ZonedApiListSubscriberRequest, ZonedApiMigrateLbRequest, ZonedApiReleaseIpRequest, ZonedApiRemoveBackendServersRequest, ZonedApiSetAclsRequest, ZonedApiSetBackendServersRequest, ZonedApiSubscribeToLbRequest, ZonedApiUnsubscribeFromLbRequest, ZonedApiUpdateAclRequest, ZonedApiUpdateBackendRequest, ZonedApiUpdateCertificateRequest, ZonedApiUpdateFrontendRequest, ZonedApiUpdateHealthCheckRequest, ZonedApiUpdateIpRequest, ZonedApiUpdateLbRequest, ZonedApiUpdateRouteRequest, ZonedApiUpdateSubscriberRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Load Balancer API.
|
|
@@ -7,8 +7,11 @@ import type { Acl, AddBackendServersRequest, AttachPrivateNetworkRequest, Backen
|
|
|
7
7
|
This API allows you to manage your Scaleway Load Balancer services.
|
|
8
8
|
*/
|
|
9
9
|
export declare class ZonedAPI extends ParentAPI {
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Locality of this API.
|
|
12
|
+
* type ∈ {'zone','region','global','unspecified'}
|
|
13
|
+
*/
|
|
14
|
+
static readonly LOCALITY: ApiLocality;
|
|
12
15
|
protected pageOfListLbs: (request?: Readonly<ZonedApiListLbsRequest>) => Promise<ListLbsResponse>;
|
|
13
16
|
/**
|
|
14
17
|
* List Load Balancers. List all Load Balancers in the specified zone, for a Scaleway Organization or Scaleway Project. By default, the Load Balancers returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
@@ -446,8 +449,11 @@ export declare class ZonedAPI extends ParentAPI {
|
|
|
446
449
|
This API allows you to manage your Load Balancers.
|
|
447
450
|
*/
|
|
448
451
|
export declare class API extends ParentAPI {
|
|
449
|
-
/**
|
|
450
|
-
|
|
452
|
+
/**
|
|
453
|
+
* Locality of this API.
|
|
454
|
+
* type ∈ {'zone','region','global','unspecified'}
|
|
455
|
+
*/
|
|
456
|
+
static readonly LOCALITY: ApiLocality;
|
|
451
457
|
protected pageOfListLbs: (request?: Readonly<ListLbsRequest>) => Promise<ListLbsResponse>;
|
|
452
458
|
/**
|
|
453
459
|
* List load balancers.
|
package/dist/v1/api.gen.js
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import { API as API$1, urlParams, validatePathParam, enrichForPagination, waitForResource } from "@scaleway/sdk-client";
|
|
1
|
+
import { API as API$1, toApiLocality, urlParams, validatePathParam, enrichForPagination, waitForResource } from "@scaleway/sdk-client";
|
|
2
2
|
import { LB_TRANSIENT_STATUSES, CERTIFICATE_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
|
-
import { unmarshalListLbsResponse,
|
|
3
|
+
import { unmarshalListLbsResponse, marshalZonedApiCreateLbRequest, unmarshalLb, marshalZonedApiUpdateLbRequest, marshalZonedApiMigrateLbRequest, unmarshalListIpsResponse, marshalZonedApiCreateIpRequest, unmarshalIp, marshalZonedApiUpdateIpRequest, unmarshalListBackendsResponse, marshalZonedApiCreateBackendRequest, unmarshalBackend, marshalZonedApiUpdateBackendRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiUpdateHealthCheckRequest, unmarshalHealthCheck, unmarshalListFrontendsResponse, marshalZonedApiCreateFrontendRequest, unmarshalFrontend, marshalZonedApiUpdateFrontendRequest, unmarshalListRoutesResponse, marshalZonedApiCreateRouteRequest, unmarshalRoute, marshalZonedApiUpdateRouteRequest, unmarshalLbStats, unmarshalListBackendStatsResponse, unmarshalListAclResponse, marshalZonedApiCreateAclRequest, unmarshalAcl, marshalZonedApiUpdateAclRequest, marshalZonedApiSetAclsRequest, unmarshalSetAclsResponse, marshalZonedApiCreateCertificateRequest, unmarshalCertificate, unmarshalListCertificatesResponse, marshalZonedApiUpdateCertificateRequest, unmarshalListLbTypesResponse, marshalZonedApiCreateSubscriberRequest, unmarshalSubscriber, unmarshalListSubscriberResponse, marshalZonedApiUpdateSubscriberRequest, marshalZonedApiSubscribeToLbRequest, unmarshalListLbPrivateNetworksResponse, marshalZonedApiAttachPrivateNetworkRequest, unmarshalPrivateNetwork, marshalZonedApiDetachPrivateNetworkRequest, marshalCreateLbRequest, marshalUpdateLbRequest, marshalMigrateLbRequest, marshalCreateIpRequest, marshalUpdateIpRequest, marshalCreateBackendRequest, marshalUpdateBackendRequest, marshalAddBackendServersRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalUpdateHealthCheckRequest, marshalCreateFrontendRequest, marshalUpdateFrontendRequest, marshalCreateRouteRequest, marshalUpdateRouteRequest, marshalCreateAclRequest, marshalUpdateAclRequest, marshalCreateCertificateRequest, marshalUpdateCertificateRequest, marshalCreateSubscriberRequest, marshalUpdateSubscriberRequest, marshalSubscribeToLbRequest, marshalAttachPrivateNetworkRequest } from "./marshalling.gen.js";
|
|
4
4
|
const jsonContentHeaders = {
|
|
5
5
|
"Content-Type": "application/json; charset=utf-8"
|
|
6
6
|
};
|
|
7
7
|
class ZonedAPI extends API$1 {
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Locality of this API.
|
|
10
|
+
* type ∈ {'zone','region','global','unspecified'}
|
|
11
|
+
*/
|
|
12
|
+
static LOCALITY = toApiLocality({
|
|
13
|
+
zones: [
|
|
14
|
+
"fr-par-1",
|
|
15
|
+
"fr-par-2",
|
|
16
|
+
"nl-ams-1",
|
|
17
|
+
"nl-ams-2",
|
|
18
|
+
"nl-ams-3",
|
|
19
|
+
"pl-waw-1",
|
|
20
|
+
"pl-waw-2",
|
|
21
|
+
"pl-waw-3"
|
|
22
|
+
]
|
|
23
|
+
});
|
|
19
24
|
pageOfListLbs = (request = {}) => this.client.fetch(
|
|
20
25
|
{
|
|
21
26
|
method: "GET",
|
|
@@ -961,12 +966,13 @@ class ZonedAPI extends API$1 {
|
|
|
961
966
|
});
|
|
962
967
|
}
|
|
963
968
|
class API extends API$1 {
|
|
964
|
-
/**
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
969
|
+
/**
|
|
970
|
+
* Locality of this API.
|
|
971
|
+
* type ∈ {'zone','region','global','unspecified'}
|
|
972
|
+
*/
|
|
973
|
+
static LOCALITY = toApiLocality({
|
|
974
|
+
regions: ["fr-par", "nl-ams", "pl-waw"]
|
|
975
|
+
});
|
|
970
976
|
pageOfListLbs = (request = {}) => this.client.fetch(
|
|
971
977
|
{
|
|
972
978
|
method: "GET",
|
package/dist/v1/index.gen.cjs
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const api_gen = require("./api.gen.cjs");
|
|
4
4
|
const content_gen = require("./content.gen.cjs");
|
|
5
5
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
6
|
+
const validationRules_gen = require("./validation-rules.gen.cjs");
|
|
6
7
|
exports.API = api_gen.API;
|
|
7
8
|
exports.ZonedAPI = api_gen.ZonedAPI;
|
|
8
9
|
exports.CERTIFICATE_TRANSIENT_STATUSES = content_gen.CERTIFICATE_TRANSIENT_STATUSES;
|
|
@@ -81,3 +82,4 @@ exports.unmarshalPrivateNetwork = marshalling_gen.unmarshalPrivateNetwork;
|
|
|
81
82
|
exports.unmarshalRoute = marshalling_gen.unmarshalRoute;
|
|
82
83
|
exports.unmarshalSetAclsResponse = marshalling_gen.unmarshalSetAclsResponse;
|
|
83
84
|
exports.unmarshalSubscriber = marshalling_gen.unmarshalSubscriber;
|
|
85
|
+
exports.ValidationRules = validationRules_gen;
|
package/dist/v1/index.gen.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export { API, ZonedAPI, } from './api.gen';
|
|
|
2
2
|
export * from './content.gen';
|
|
3
3
|
export * from './marshalling.gen';
|
|
4
4
|
export type { Acl, AclAction, AclActionRedirect, AclActionRedirectRedirectType, AclActionType, AclHttpFilter, AclMatch, AclSpec, AddBackendServersRequest, AttachPrivateNetworkRequest, Backend, BackendServerStats, BackendServerStatsHealthCheckStatus, BackendServerStatsServerState, Certificate, CertificateStatus, CertificateType, CreateAclRequest, CreateBackendRequest, CreateCertificateRequest, CreateCertificateRequestCustomCertificate, CreateCertificateRequestLetsencryptConfig, CreateFrontendRequest, CreateIpRequest, CreateLbRequest, CreateRouteRequest, CreateSubscriberRequest, DeleteAclRequest, DeleteBackendRequest, DeleteCertificateRequest, DeleteFrontendRequest, DeleteLbRequest, DeleteRouteRequest, DeleteSubscriberRequest, DetachPrivateNetworkRequest, ForwardPortAlgorithm, Frontend, GetAclRequest, GetBackendRequest, GetCertificateRequest, GetFrontendRequest, GetIpRequest, GetLbRequest, GetLbStatsRequest, GetRouteRequest, GetSubscriberRequest, HealthCheck, HealthCheckHttpConfig, HealthCheckHttpsConfig, HealthCheckLdapConfig, HealthCheckMysqlConfig, HealthCheckPgsqlConfig, HealthCheckRedisConfig, HealthCheckTcpConfig, Instance, InstanceStatus, Ip, Lb, LbStats, LbStatus, LbType, LbTypeStock, ListAclRequestOrderBy, ListAclResponse, ListAclsRequest, ListBackendStatsRequest, ListBackendStatsResponse, ListBackendsRequest, ListBackendsRequestOrderBy, ListBackendsResponse, ListCertificatesRequest, ListCertificatesRequestOrderBy, ListCertificatesResponse, ListFrontendsRequest, ListFrontendsRequestOrderBy, ListFrontendsResponse, ListIPsRequest, ListIpsRequestIpType, ListIpsResponse, ListLbPrivateNetworksRequest, ListLbPrivateNetworksResponse, ListLbTypesRequest, ListLbTypesResponse, ListLbsRequest, ListLbsRequestOrderBy, ListLbsResponse, ListPrivateNetworksRequestOrderBy, ListRoutesRequest, ListRoutesRequestOrderBy, ListRoutesResponse, ListSubscriberRequest, ListSubscriberRequestOrderBy, ListSubscriberResponse, MigrateLbRequest, OnMarkedDownAction, PrivateNetwork, PrivateNetworkDHCPConfig, PrivateNetworkIpamConfig, PrivateNetworkStaticConfig, PrivateNetworkStatus, Protocol, ProxyProtocol, ReleaseIpRequest, RemoveBackendServersRequest, Route, RouteMatch, SSLCompatibilityLevel, SetAclsResponse, SetBackendServersRequest, StickySessionsType, SubscribeToLbRequest, Subscriber, SubscriberEmailConfig, SubscriberWebhookConfig, UnsubscribeFromLbRequest, UpdateAclRequest, UpdateBackendRequest, UpdateCertificateRequest, UpdateFrontendRequest, UpdateHealthCheckRequest, UpdateIpRequest, UpdateLbRequest, UpdateRouteRequest, UpdateSubscriberRequest, ZonedApiAddBackendServersRequest, ZonedApiAttachPrivateNetworkRequest, ZonedApiCreateAclRequest, ZonedApiCreateBackendRequest, ZonedApiCreateCertificateRequest, ZonedApiCreateFrontendRequest, ZonedApiCreateIpRequest, ZonedApiCreateLbRequest, ZonedApiCreateRouteRequest, ZonedApiCreateSubscriberRequest, ZonedApiDeleteAclRequest, ZonedApiDeleteBackendRequest, ZonedApiDeleteCertificateRequest, ZonedApiDeleteFrontendRequest, ZonedApiDeleteLbRequest, ZonedApiDeleteRouteRequest, ZonedApiDeleteSubscriberRequest, ZonedApiDetachPrivateNetworkRequest, ZonedApiGetAclRequest, ZonedApiGetBackendRequest, ZonedApiGetCertificateRequest, ZonedApiGetFrontendRequest, ZonedApiGetIpRequest, ZonedApiGetLbRequest, ZonedApiGetLbStatsRequest, ZonedApiGetRouteRequest, ZonedApiGetSubscriberRequest, ZonedApiListAclsRequest, ZonedApiListBackendStatsRequest, ZonedApiListBackendsRequest, ZonedApiListCertificatesRequest, ZonedApiListFrontendsRequest, ZonedApiListIPsRequest, ZonedApiListLbPrivateNetworksRequest, ZonedApiListLbTypesRequest, ZonedApiListLbsRequest, ZonedApiListRoutesRequest, ZonedApiListSubscriberRequest, ZonedApiMigrateLbRequest, ZonedApiReleaseIpRequest, ZonedApiRemoveBackendServersRequest, ZonedApiSetAclsRequest, ZonedApiSetBackendServersRequest, ZonedApiSubscribeToLbRequest, ZonedApiUnsubscribeFromLbRequest, ZonedApiUpdateAclRequest, ZonedApiUpdateBackendRequest, ZonedApiUpdateCertificateRequest, ZonedApiUpdateFrontendRequest, ZonedApiUpdateHealthCheckRequest, ZonedApiUpdateIpRequest, ZonedApiUpdateLbRequest, ZonedApiUpdateRouteRequest, ZonedApiUpdateSubscriberRequest, } from './types.gen';
|
|
5
|
+
export * as ValidationRules from './validation-rules.gen';
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { API, ZonedAPI } from "./api.gen.js";
|
|
2
2
|
import { CERTIFICATE_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES, LB_TRANSIENT_STATUSES, PRIVATE_NETWORK_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalAddBackendServersRequest, marshalAttachPrivateNetworkRequest, marshalCreateAclRequest, marshalCreateBackendRequest, marshalCreateCertificateRequest, marshalCreateFrontendRequest, marshalCreateIpRequest, marshalCreateLbRequest, marshalCreateRouteRequest, marshalCreateSubscriberRequest, marshalMigrateLbRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalSubscribeToLbRequest, marshalUpdateAclRequest, marshalUpdateBackendRequest, marshalUpdateCertificateRequest, marshalUpdateFrontendRequest, marshalUpdateHealthCheckRequest, marshalUpdateIpRequest, marshalUpdateLbRequest, marshalUpdateRouteRequest, marshalUpdateSubscriberRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiAttachPrivateNetworkRequest, marshalZonedApiCreateAclRequest, marshalZonedApiCreateBackendRequest, marshalZonedApiCreateCertificateRequest, marshalZonedApiCreateFrontendRequest, marshalZonedApiCreateIpRequest, marshalZonedApiCreateLbRequest, marshalZonedApiCreateRouteRequest, marshalZonedApiCreateSubscriberRequest, marshalZonedApiDetachPrivateNetworkRequest, marshalZonedApiMigrateLbRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetAclsRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiSubscribeToLbRequest, marshalZonedApiUpdateAclRequest, marshalZonedApiUpdateBackendRequest, marshalZonedApiUpdateCertificateRequest, marshalZonedApiUpdateFrontendRequest, marshalZonedApiUpdateHealthCheckRequest, marshalZonedApiUpdateIpRequest, marshalZonedApiUpdateLbRequest, marshalZonedApiUpdateRouteRequest, marshalZonedApiUpdateSubscriberRequest, unmarshalAcl, unmarshalBackend, unmarshalBackendServerStats, unmarshalCertificate, unmarshalFrontend, unmarshalHealthCheck, unmarshalIp, unmarshalLb, unmarshalLbStats, unmarshalListAclResponse, unmarshalListBackendStatsResponse, unmarshalListBackendsResponse, unmarshalListCertificatesResponse, unmarshalListFrontendsResponse, unmarshalListIpsResponse, unmarshalListLbPrivateNetworksResponse, unmarshalListLbTypesResponse, unmarshalListLbsResponse, unmarshalListRoutesResponse, unmarshalListSubscriberResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclsResponse, unmarshalSubscriber } from "./marshalling.gen.js";
|
|
4
|
+
import * as validationRules_gen from "./validation-rules.gen.js";
|
|
4
5
|
export {
|
|
5
6
|
API,
|
|
6
7
|
CERTIFICATE_TRANSIENT_STATUSES,
|
|
7
8
|
INSTANCE_TRANSIENT_STATUSES,
|
|
8
9
|
LB_TRANSIENT_STATUSES,
|
|
9
10
|
PRIVATE_NETWORK_TRANSIENT_STATUSES,
|
|
11
|
+
validationRules_gen as ValidationRules,
|
|
10
12
|
ZonedAPI,
|
|
11
13
|
marshalAddBackendServersRequest,
|
|
12
14
|
marshalAttachPrivateNetworkRequest,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import randomName from "@scaleway/random-name";
|
|
2
|
-
import { resolveOneOf, isJSONObject,
|
|
2
|
+
import { resolveOneOf, isJSONObject, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
3
3
|
const unmarshalIp = (data) => {
|
|
4
4
|
if (!isJSONObject(data)) {
|
|
5
5
|
throw new TypeError(
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const HealthCheckHttpConfig = {
|
|
4
|
+
hostHeader: {
|
|
5
|
+
pattern: /^[^\s]+$/
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
const HealthCheckHttpsConfig = {
|
|
9
|
+
hostHeader: {
|
|
10
|
+
pattern: /^[^\s]+$/
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
exports.HealthCheckHttpConfig = HealthCheckHttpConfig;
|
|
14
|
+
exports.HealthCheckHttpsConfig = HealthCheckHttpsConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-lb",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Scaleway SDK lb",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@scaleway/random-name": "5.1.1",
|
|
33
|
-
"@scaleway/sdk-std": "1.0.
|
|
33
|
+
"@scaleway/sdk-std": "1.0.5"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^1.
|
|
36
|
+
"@scaleway/sdk-client": "^1.3.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@scaleway/sdk-client": "^1.
|
|
39
|
+
"@scaleway/sdk-client": "^1.3.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"package:check": "pnpm publint",
|