@pulumi/kong 4.6.1 → 4.6.2-alpha.1790071941

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/kong",
3
- "version": "4.6.1",
3
+ "version": "4.6.2-alpha.1790071941",
4
4
  "description": "A Pulumi package for creating and managing Kong resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "kong",
26
- "version": "4.6.1"
26
+ "version": "4.6.2-alpha.1790071941"
27
27
  }
28
28
  }
package/route.d.ts CHANGED
@@ -15,6 +15,13 @@ import * as outputs from "./types/output";
15
15
  * import * as kong from "@pulumi/kong";
16
16
  *
17
17
  * const route = new kong.Route("route", {
18
+ * headers: [{
19
+ * name: "x-test-1",
20
+ * values: [
21
+ * "a",
22
+ * "b",
23
+ * ],
24
+ * }],
18
25
  * name: "MyRoute",
19
26
  * protocols: [
20
27
  * "http",
@@ -30,13 +37,6 @@ import * as outputs from "./types/output";
30
37
  * preserveHost: true,
31
38
  * regexPriority: 1,
32
39
  * serviceId: service.id,
33
- * headers: [{
34
- * name: "x-test-1",
35
- * values: [
36
- * "a",
37
- * "b",
38
- * ],
39
- * }],
40
40
  * });
41
41
  * ```
42
42
  *
@@ -47,9 +47,10 @@ import * as outputs from "./types/output";
47
47
  * import * as kong from "@pulumi/kong";
48
48
  *
49
49
  * const route = new kong.Route("route", {
50
- * protocols: ["tcp"],
51
- * stripPath: true,
52
- * preserveHost: false,
50
+ * destinations: [{
51
+ * ip: "172.10.1.1",
52
+ * port: 81,
53
+ * }],
53
54
  * sources: [
54
55
  * {
55
56
  * ip: "192.168.1.1",
@@ -59,10 +60,9 @@ import * as outputs from "./types/output";
59
60
  * ip: "192.168.1.2",
60
61
  * },
61
62
  * ],
62
- * destinations: [{
63
- * ip: "172.10.1.1",
64
- * port: 81,
65
- * }],
63
+ * protocols: ["tcp"],
64
+ * stripPath: true,
65
+ * preserveHost: false,
66
66
  * snis: ["foo.com"],
67
67
  * serviceId: service.id,
68
68
  * });
package/route.js CHANGED
@@ -42,6 +42,13 @@ const utilities = __importStar(require("./utilities"));
42
42
  * import * as kong from "@pulumi/kong";
43
43
  *
44
44
  * const route = new kong.Route("route", {
45
+ * headers: [{
46
+ * name: "x-test-1",
47
+ * values: [
48
+ * "a",
49
+ * "b",
50
+ * ],
51
+ * }],
45
52
  * name: "MyRoute",
46
53
  * protocols: [
47
54
  * "http",
@@ -57,13 +64,6 @@ const utilities = __importStar(require("./utilities"));
57
64
  * preserveHost: true,
58
65
  * regexPriority: 1,
59
66
  * serviceId: service.id,
60
- * headers: [{
61
- * name: "x-test-1",
62
- * values: [
63
- * "a",
64
- * "b",
65
- * ],
66
- * }],
67
67
  * });
68
68
  * ```
69
69
  *
@@ -74,9 +74,10 @@ const utilities = __importStar(require("./utilities"));
74
74
  * import * as kong from "@pulumi/kong";
75
75
  *
76
76
  * const route = new kong.Route("route", {
77
- * protocols: ["tcp"],
78
- * stripPath: true,
79
- * preserveHost: false,
77
+ * destinations: [{
78
+ * ip: "172.10.1.1",
79
+ * port: 81,
80
+ * }],
80
81
  * sources: [
81
82
  * {
82
83
  * ip: "192.168.1.1",
@@ -86,10 +87,9 @@ const utilities = __importStar(require("./utilities"));
86
87
  * ip: "192.168.1.2",
87
88
  * },
88
89
  * ],
89
- * destinations: [{
90
- * ip: "172.10.1.1",
91
- * port: 81,
92
- * }],
90
+ * protocols: ["tcp"],
91
+ * stripPath: true,
92
+ * preserveHost: false,
93
93
  * snis: ["foo.com"],
94
94
  * serviceId: service.id,
95
95
  * });
package/upstream.d.ts CHANGED
@@ -20,28 +20,8 @@ import * as outputs from "./types/output";
20
20
  * snis: ["foo.com"],
21
21
  * });
22
22
  * const upstream = new kong.Upstream("upstream", {
23
- * name: "sample_upstream",
24
- * slots: 10,
25
- * hashOn: "header",
26
- * hashFallback: "cookie",
27
- * hashOnHeader: "HeaderName",
28
- * hashFallbackHeader: "FallbackHeaderName",
29
- * hashOnCookie: "CookieName",
30
- * hashOnCookiePath: "/path",
31
- * hostHeader: "x-host",
32
- * tags: [
33
- * "a",
34
- * "b",
35
- * ],
36
- * clientCertificateId: certificate.id,
37
23
  * healthchecks: {
38
24
  * active: {
39
- * type: "https",
40
- * httpPath: "/status",
41
- * timeout: 10,
42
- * concurrency: 20,
43
- * httpsVerifyCertificate: false,
44
- * httpsSni: "some.domain.com",
45
25
  * healthy: {
46
26
  * successes: 1,
47
27
  * interval: 5,
@@ -60,9 +40,14 @@ import * as outputs from "./types/output";
60
40
  * 501,
61
41
  * ],
62
42
  * },
43
+ * type: "https",
44
+ * httpPath: "/status",
45
+ * timeout: 10,
46
+ * concurrency: 20,
47
+ * httpsVerifyCertificate: false,
48
+ * httpsSni: "some.domain.com",
63
49
  * },
64
50
  * passive: {
65
- * type: "https",
66
51
  * healthy: {
67
52
  * successes: 1,
68
53
  * httpStatuses: [
@@ -81,8 +66,23 @@ import * as outputs from "./types/output";
81
66
  * 502,
82
67
  * ],
83
68
  * },
69
+ * type: "https",
84
70
  * },
85
71
  * },
72
+ * name: "sample_upstream",
73
+ * slots: 10,
74
+ * hashOn: "header",
75
+ * hashFallback: "cookie",
76
+ * hashOnHeader: "HeaderName",
77
+ * hashFallbackHeader: "FallbackHeaderName",
78
+ * hashOnCookie: "CookieName",
79
+ * hashOnCookiePath: "/path",
80
+ * hostHeader: "x-host",
81
+ * tags: [
82
+ * "a",
83
+ * "b",
84
+ * ],
85
+ * clientCertificateId: certificate.id,
86
86
  * });
87
87
  * ```
88
88
  *
package/upstream.js CHANGED
@@ -47,28 +47,8 @@ const utilities = __importStar(require("./utilities"));
47
47
  * snis: ["foo.com"],
48
48
  * });
49
49
  * const upstream = new kong.Upstream("upstream", {
50
- * name: "sample_upstream",
51
- * slots: 10,
52
- * hashOn: "header",
53
- * hashFallback: "cookie",
54
- * hashOnHeader: "HeaderName",
55
- * hashFallbackHeader: "FallbackHeaderName",
56
- * hashOnCookie: "CookieName",
57
- * hashOnCookiePath: "/path",
58
- * hostHeader: "x-host",
59
- * tags: [
60
- * "a",
61
- * "b",
62
- * ],
63
- * clientCertificateId: certificate.id,
64
50
  * healthchecks: {
65
51
  * active: {
66
- * type: "https",
67
- * httpPath: "/status",
68
- * timeout: 10,
69
- * concurrency: 20,
70
- * httpsVerifyCertificate: false,
71
- * httpsSni: "some.domain.com",
72
52
  * healthy: {
73
53
  * successes: 1,
74
54
  * interval: 5,
@@ -87,9 +67,14 @@ const utilities = __importStar(require("./utilities"));
87
67
  * 501,
88
68
  * ],
89
69
  * },
70
+ * type: "https",
71
+ * httpPath: "/status",
72
+ * timeout: 10,
73
+ * concurrency: 20,
74
+ * httpsVerifyCertificate: false,
75
+ * httpsSni: "some.domain.com",
90
76
  * },
91
77
  * passive: {
92
- * type: "https",
93
78
  * healthy: {
94
79
  * successes: 1,
95
80
  * httpStatuses: [
@@ -108,8 +93,23 @@ const utilities = __importStar(require("./utilities"));
108
93
  * 502,
109
94
  * ],
110
95
  * },
96
+ * type: "https",
111
97
  * },
112
98
  * },
99
+ * name: "sample_upstream",
100
+ * slots: 10,
101
+ * hashOn: "header",
102
+ * hashFallback: "cookie",
103
+ * hashOnHeader: "HeaderName",
104
+ * hashFallbackHeader: "FallbackHeaderName",
105
+ * hashOnCookie: "CookieName",
106
+ * hashOnCookiePath: "/path",
107
+ * hostHeader: "x-host",
108
+ * tags: [
109
+ * "a",
110
+ * "b",
111
+ * ],
112
+ * clientCertificateId: certificate.id,
113
113
  * });
114
114
  * ```
115
115
  *