@pulumi/openstack 3.13.0-alpha.1686636327 → 3.13.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 (175) hide show
  1. package/blockstorage/volumeAttach.d.ts +19 -2
  2. package/blockstorage/volumeAttach.js +19 -2
  3. package/blockstorage/volumeAttach.js.map +1 -1
  4. package/blockstorage/volumeAttachV2.d.ts +19 -2
  5. package/blockstorage/volumeAttachV2.js +19 -2
  6. package/blockstorage/volumeAttachV2.js.map +1 -1
  7. package/compute/flavorAccess.d.ts +4 -4
  8. package/compute/flavorAccess.js +4 -4
  9. package/compute/floatingIpAssociate.d.ts +5 -5
  10. package/compute/floatingIpAssociate.js +5 -5
  11. package/compute/getKeypair.d.ts +16 -0
  12. package/compute/getKeypair.js +1 -0
  13. package/compute/getKeypair.js.map +1 -1
  14. package/compute/instance.d.ts +9 -6
  15. package/compute/instance.js.map +1 -1
  16. package/compute/interfaceAttach.d.ts +2 -2
  17. package/compute/interfaceAttach.js +2 -2
  18. package/compute/keypair.js +2 -0
  19. package/compute/keypair.js.map +1 -1
  20. package/compute/secGroup.d.ts +1 -1
  21. package/compute/secGroup.js +1 -1
  22. package/compute/volumeAttach.d.ts +3 -3
  23. package/compute/volumeAttach.js +3 -3
  24. package/config/vars.d.ts +5 -1
  25. package/config/vars.js +6 -0
  26. package/config/vars.js.map +1 -1
  27. package/containerinfra/cluster.d.ts +15 -12
  28. package/containerinfra/cluster.js +6 -0
  29. package/containerinfra/cluster.js.map +1 -1
  30. package/containerinfra/getCluster.d.ts +6 -0
  31. package/containerinfra/getCluster.js.map +1 -1
  32. package/database/instance.d.ts +6 -0
  33. package/database/instance.js +6 -0
  34. package/database/instance.js.map +1 -1
  35. package/database/user.d.ts +7 -1
  36. package/database/user.js +7 -1
  37. package/database/user.js.map +1 -1
  38. package/dns/recordSet.d.ts +9 -15
  39. package/dns/recordSet.js +7 -4
  40. package/dns/recordSet.js.map +1 -1
  41. package/dns/transferAccept.d.ts +4 -4
  42. package/dns/transferAccept.js +4 -4
  43. package/dns/transferRequest.d.ts +3 -3
  44. package/dns/transferRequest.js +3 -3
  45. package/dns/zone.d.ts +2 -2
  46. package/dns/zone.js +2 -2
  47. package/firewall/firewall.d.ts +4 -4
  48. package/firewall/firewall.js +4 -4
  49. package/firewall/groupV2.d.ts +274 -0
  50. package/firewall/groupV2.js +110 -0
  51. package/firewall/groupV2.js.map +1 -0
  52. package/firewall/index.d.ts +9 -0
  53. package/firewall/index.js +16 -1
  54. package/firewall/index.js.map +1 -1
  55. package/firewall/policy.d.ts +4 -4
  56. package/firewall/policy.js +4 -4
  57. package/firewall/policyV2.d.ts +210 -0
  58. package/firewall/policyV2.js +100 -0
  59. package/firewall/policyV2.js.map +1 -0
  60. package/firewall/ruleV2.d.ts +298 -0
  61. package/firewall/ruleV2.js +101 -0
  62. package/firewall/ruleV2.js.map +1 -0
  63. package/getFwGroupV2.d.ts +194 -0
  64. package/getFwGroupV2.js +58 -0
  65. package/getFwGroupV2.js.map +1 -0
  66. package/getFwPolicyV2.d.ts +139 -0
  67. package/getFwPolicyV2.js +54 -0
  68. package/getFwPolicyV2.js.map +1 -0
  69. package/getFwRuleV2.d.ts +242 -0
  70. package/getFwRuleV2.js +62 -0
  71. package/getFwRuleV2.js.map +1 -0
  72. package/identity/applicationCredential.d.ts +11 -0
  73. package/identity/applicationCredential.js +11 -0
  74. package/identity/applicationCredential.js.map +1 -1
  75. package/identity/ec2CredentialV3.d.ts +8 -0
  76. package/identity/ec2CredentialV3.js +8 -0
  77. package/identity/ec2CredentialV3.js.map +1 -1
  78. package/identity/endpointV3.d.ts +1 -1
  79. package/identity/endpointV3.js +1 -1
  80. package/identity/getAuthScope.d.ts +62 -4
  81. package/identity/getAuthScope.js +62 -4
  82. package/identity/getAuthScope.js.map +1 -1
  83. package/identity/getProject.d.ts +14 -0
  84. package/identity/getProject.js +1 -0
  85. package/identity/getProject.js.map +1 -1
  86. package/identity/index.d.ts +3 -0
  87. package/identity/index.js +6 -1
  88. package/identity/index.js.map +1 -1
  89. package/identity/inheritRoleAssignment.d.ts +137 -0
  90. package/identity/inheritRoleAssignment.js +97 -0
  91. package/identity/inheritRoleAssignment.js.map +1 -0
  92. package/identity/roleAssignment.d.ts +11 -1
  93. package/identity/roleAssignment.js +11 -1
  94. package/identity/roleAssignment.js.map +1 -1
  95. package/identity/user.d.ts +13 -4
  96. package/identity/user.js +13 -4
  97. package/identity/user.js.map +1 -1
  98. package/identity/userMembershipV3.d.ts +2 -2
  99. package/identity/userMembershipV3.js +2 -2
  100. package/images/image.d.ts +9 -3
  101. package/images/image.js +6 -0
  102. package/images/image.js.map +1 -1
  103. package/images/imageAccess.d.ts +4 -4
  104. package/images/imageAccess.js +4 -4
  105. package/images/imageAccessAccept.d.ts +1 -1
  106. package/images/imageAccessAccept.js +1 -1
  107. package/index.d.ts +9 -0
  108. package/index.js +10 -1
  109. package/index.js.map +1 -1
  110. package/keymanager/containerV1.d.ts +16 -16
  111. package/keymanager/containerV1.js +16 -16
  112. package/keymanager/secretV1.d.ts +3 -3
  113. package/keymanager/secretV1.js +3 -3
  114. package/loadbalancer/l7policyV2.d.ts +3 -3
  115. package/loadbalancer/l7policyV2.js +3 -3
  116. package/loadbalancer/l7ruleV2.d.ts +4 -4
  117. package/loadbalancer/l7ruleV2.js +4 -4
  118. package/loadbalancer/monitor.d.ts +3 -3
  119. package/loadbalancer/monitor.js +3 -3
  120. package/loadbalancer/poolV1.d.ts +20 -20
  121. package/loadbalancer/poolV1.js +20 -20
  122. package/loadbalancer/quota.d.ts +5 -5
  123. package/loadbalancer/quota.js +5 -5
  124. package/networking/addressScope.d.ts +1 -1
  125. package/networking/addressScope.js +1 -1
  126. package/networking/network.d.ts +7 -7
  127. package/networking/network.js +7 -7
  128. package/networking/port.d.ts +5 -6
  129. package/networking/port.js +5 -6
  130. package/networking/port.js.map +1 -1
  131. package/networking/portSecGroupAssociate.d.ts +2 -2
  132. package/networking/portSecGroupAssociate.js +2 -2
  133. package/networking/qosBandwidthLimitRule.d.ts +3 -3
  134. package/networking/qosBandwidthLimitRule.js +3 -3
  135. package/networking/qosDscpMarkingRule.d.ts +1 -1
  136. package/networking/qosDscpMarkingRule.js +1 -1
  137. package/networking/qosMinimumBandwidthRule.d.ts +1 -1
  138. package/networking/qosMinimumBandwidthRule.js +1 -1
  139. package/networking/routerInterface.d.ts +2 -2
  140. package/networking/routerInterface.js +2 -2
  141. package/networking/routerRoute.d.ts +2 -2
  142. package/networking/routerRoute.js +2 -2
  143. package/networking/secGroupRule.d.ts +2 -2
  144. package/networking/secGroupRule.js +2 -2
  145. package/networking/subnet.d.ts +1 -1
  146. package/networking/subnet.js +1 -1
  147. package/networking/subnetRoute.d.ts +2 -2
  148. package/networking/subnetRoute.js +2 -2
  149. package/networking/trunk.d.ts +5 -5
  150. package/networking/trunk.js +5 -5
  151. package/objectstorage/container.d.ts +2 -2
  152. package/objectstorage/container.js +2 -2
  153. package/objectstorage/containerObject.d.ts +17 -18
  154. package/objectstorage/containerObject.js +17 -18
  155. package/objectstorage/containerObject.js.map +1 -1
  156. package/objectstorage/tempUrl.d.ts +1 -1
  157. package/objectstorage/tempUrl.js +1 -1
  158. package/package.json +2 -2
  159. package/provider.d.ts +6 -2
  160. package/provider.js +2 -1
  161. package/provider.js.map +1 -1
  162. package/sharedfilesystem/securityService.d.ts +1 -1
  163. package/sharedfilesystem/securityService.js +1 -1
  164. package/sharedfilesystem/share.d.ts +2 -2
  165. package/sharedfilesystem/share.js +2 -2
  166. package/sharedfilesystem/shareAccess.d.ts +23 -15
  167. package/sharedfilesystem/shareAccess.js +17 -15
  168. package/sharedfilesystem/shareAccess.js.map +1 -1
  169. package/sharedfilesystem/shareNetwork.d.ts +4 -4
  170. package/sharedfilesystem/shareNetwork.js +4 -4
  171. package/types/input.d.ts +5 -0
  172. package/types/output.d.ts +5 -0
  173. package/vpnaas/ipSecPolicy.d.ts +9 -9
  174. package/vpnaas/siteConnection.d.ts +8 -8
  175. package/vpnaas/siteConnection.js +8 -8
@@ -20,13 +20,13 @@ const utilities = require("../utilities");
20
20
  * import * as openstack from "@pulumi/openstack";
21
21
  *
22
22
  * const rancheros = new openstack.images.Image("rancheros", {
23
+ * imageSourceUrl: "https://releases.rancher.com/os/latest/rancheros-openstack.img",
23
24
  * containerFormat: "bare",
24
25
  * diskFormat: "qcow2",
25
- * imageSourceUrl: "https://releases.rancher.com/os/latest/rancheros-openstack.img",
26
+ * visibility: "shared",
26
27
  * properties: {
27
28
  * key: "value",
28
29
  * },
29
- * visibility: "shared",
30
30
  * });
31
31
  * const rancherosMember = new openstack.images.ImageAccess("rancherosMember", {
32
32
  * imageId: rancheros.id,
@@ -43,13 +43,13 @@ const utilities = require("../utilities");
43
43
  * import * as openstack from "@pulumi/openstack";
44
44
  *
45
45
  * const rancheros = new openstack.images.Image("rancheros", {
46
+ * imageSourceUrl: "https://releases.rancher.com/os/latest/rancheros-openstack.img",
46
47
  * containerFormat: "bare",
47
48
  * diskFormat: "qcow2",
48
- * imageSourceUrl: "https://releases.rancher.com/os/latest/rancheros-openstack.img",
49
+ * visibility: "shared",
49
50
  * properties: {
50
51
  * key: "value",
51
52
  * },
52
- * visibility: "shared",
53
53
  * });
54
54
  * const rancherosMember = new openstack.images.ImageAccess("rancherosMember", {
55
55
  * imageId: rancheros.id,
@@ -12,9 +12,9 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as openstack from "@pulumi/openstack";
13
13
  *
14
14
  * const rancheros = openstack.images.getImage({
15
- * memberStatus: "all",
16
15
  * name: "RancherOS",
17
16
  * visibility: "shared",
17
+ * memberStatus: "all",
18
18
  * });
19
19
  * const rancherosMember = new openstack.images.ImageAccessAccept("rancherosMember", {
20
20
  * imageId: rancheros.then(rancheros => rancheros.id),
@@ -18,9 +18,9 @@ const utilities = require("../utilities");
18
18
  * import * as openstack from "@pulumi/openstack";
19
19
  *
20
20
  * const rancheros = openstack.images.getImage({
21
- * memberStatus: "all",
22
21
  * name: "RancherOS",
23
22
  * visibility: "shared",
23
+ * memberStatus: "all",
24
24
  * });
25
25
  * const rancherosMember = new openstack.images.ImageAccessAccept("rancherosMember", {
26
26
  * imageId: rancheros.then(rancheros => rancheros.id),
package/index.d.ts CHANGED
@@ -1,3 +1,12 @@
1
+ export { GetFwGroupV2Args, GetFwGroupV2Result, GetFwGroupV2OutputArgs } from "./getFwGroupV2";
2
+ export declare const getFwGroupV2: typeof import("./getFwGroupV2").getFwGroupV2;
3
+ export declare const getFwGroupV2Output: typeof import("./getFwGroupV2").getFwGroupV2Output;
4
+ export { GetFwPolicyV2Args, GetFwPolicyV2Result, GetFwPolicyV2OutputArgs } from "./getFwPolicyV2";
5
+ export declare const getFwPolicyV2: typeof import("./getFwPolicyV2").getFwPolicyV2;
6
+ export declare const getFwPolicyV2Output: typeof import("./getFwPolicyV2").getFwPolicyV2Output;
7
+ export { GetFwRuleV2Args, GetFwRuleV2Result, GetFwRuleV2OutputArgs } from "./getFwRuleV2";
8
+ export declare const getFwRuleV2: typeof import("./getFwRuleV2").getFwRuleV2;
9
+ export declare const getFwRuleV2Output: typeof import("./getFwRuleV2").getFwRuleV2Output;
1
10
  export { ProviderArgs } from "./provider";
2
11
  export type Provider = import("./provider").Provider;
3
12
  export declare const Provider: typeof import("./provider").Provider;
package/index.js CHANGED
@@ -2,9 +2,18 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.vpnaas = exports.types = exports.sharedfilesystem = exports.orchestration = exports.objectstorage = exports.networking = exports.loadbalancer = exports.keymanager = exports.images = exports.identity = exports.firewall = exports.dns = exports.database = exports.containerinfra = exports.config = exports.compute = exports.blockstorage = exports.Provider = void 0;
5
+ exports.vpnaas = exports.types = exports.sharedfilesystem = exports.orchestration = exports.objectstorage = exports.networking = exports.loadbalancer = exports.keymanager = exports.images = exports.identity = exports.firewall = exports.dns = exports.database = exports.containerinfra = exports.config = exports.compute = exports.blockstorage = exports.Provider = exports.getFwRuleV2Output = exports.getFwRuleV2 = exports.getFwPolicyV2Output = exports.getFwPolicyV2 = exports.getFwGroupV2Output = exports.getFwGroupV2 = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ exports.getFwGroupV2 = null;
9
+ exports.getFwGroupV2Output = null;
10
+ utilities.lazyLoad(exports, ["getFwGroupV2", "getFwGroupV2Output"], () => require("./getFwGroupV2"));
11
+ exports.getFwPolicyV2 = null;
12
+ exports.getFwPolicyV2Output = null;
13
+ utilities.lazyLoad(exports, ["getFwPolicyV2", "getFwPolicyV2Output"], () => require("./getFwPolicyV2"));
14
+ exports.getFwRuleV2 = null;
15
+ exports.getFwRuleV2Output = null;
16
+ utilities.lazyLoad(exports, ["getFwRuleV2", "getFwRuleV2Output"], () => require("./getFwRuleV2"));
8
17
  exports.Provider = null;
9
18
  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
10
19
  // Export sub-modules:
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,+CAA+C;AAmB3C,oCAAY;AAlBhB,qCAAqC;AAmBjC,0BAAO;AAlBX,mCAAmC;AAmB/B,wBAAM;AAlBV,mDAAmD;AAmB/C,wCAAc;AAlBlB,uCAAuC;AAmBnC,4BAAQ;AAlBZ,6BAA6B;AAmBzB,kBAAG;AAlBP,uCAAuC;AAmBnC,4BAAQ;AAlBZ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AAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
@@ -16,20 +16,21 @@ import * as outputs from "../types/output";
16
16
  *
17
17
  * const certificate1 = new openstack.keymanager.SecretV1("certificate1", {
18
18
  * payload: fs.readFileSync("cert.pem"),
19
- * payloadContentType: "text/plain",
20
19
  * secretType: "certificate",
20
+ * payloadContentType: "text/plain",
21
21
  * });
22
22
  * const privateKey1 = new openstack.keymanager.SecretV1("privateKey1", {
23
23
  * payload: fs.readFileSync("cert-key.pem"),
24
- * payloadContentType: "text/plain",
25
24
  * secretType: "private",
25
+ * payloadContentType: "text/plain",
26
26
  * });
27
27
  * const intermediate1 = new openstack.keymanager.SecretV1("intermediate1", {
28
28
  * payload: fs.readFileSync("intermediate-ca.pem"),
29
- * payloadContentType: "text/plain",
30
29
  * secretType: "certificate",
30
+ * payloadContentType: "text/plain",
31
31
  * });
32
32
  * const tls1 = new openstack.keymanager.ContainerV1("tls1", {
33
+ * type: "certificate",
33
34
  * secretRefs: [
34
35
  * {
35
36
  * name: "certificate",
@@ -44,17 +45,16 @@ import * as outputs from "../types/output";
44
45
  * secretRef: intermediate1.secretRef,
45
46
  * },
46
47
  * ],
47
- * type: "certificate",
48
48
  * });
49
49
  * const subnet1 = openstack.networking.getSubnet({
50
50
  * name: "my-subnet",
51
51
  * });
52
52
  * const lb1 = new openstack.loadbalancer.LoadBalancer("lb1", {vipSubnetId: subnet1.then(subnet1 => subnet1.id)});
53
53
  * const listener1 = new openstack.loadbalancer.Listener("listener1", {
54
- * defaultTlsContainerRef: tls1.containerRef,
55
- * loadbalancerId: lb1.id,
56
54
  * protocol: "TERMINATED_HTTPS",
57
55
  * protocolPort: 443,
56
+ * loadbalancerId: lb1.id,
57
+ * defaultTlsContainerRef: tls1.containerRef,
58
58
  * });
59
59
  * ```
60
60
  * ### Container with the ACL
@@ -66,15 +66,7 @@ import * as outputs from "../types/output";
66
66
  * import * as openstack from "@pulumi/openstack";
67
67
  *
68
68
  * const tls1 = new openstack.keymanager.ContainerV1("tls1", {
69
- * acl: {
70
- * read: {
71
- * projectAccess: false,
72
- * users: [
73
- * "userid1",
74
- * "userid2",
75
- * ],
76
- * },
77
- * },
69
+ * type: "certificate",
78
70
  * secretRefs: [
79
71
  * {
80
72
  * name: "certificate",
@@ -89,7 +81,15 @@ import * as outputs from "../types/output";
89
81
  * secretRef: openstack_keymanager_secret_v1.intermediate_1.secret_ref,
90
82
  * },
91
83
  * ],
92
- * type: "certificate",
84
+ * acl: {
85
+ * read: {
86
+ * projectAccess: false,
87
+ * users: [
88
+ * "userid1",
89
+ * "userid2",
90
+ * ],
91
+ * },
92
+ * },
93
93
  * });
94
94
  * ```
95
95
  *
@@ -20,20 +20,21 @@ const utilities = require("../utilities");
20
20
  *
21
21
  * const certificate1 = new openstack.keymanager.SecretV1("certificate1", {
22
22
  * payload: fs.readFileSync("cert.pem"),
23
- * payloadContentType: "text/plain",
24
23
  * secretType: "certificate",
24
+ * payloadContentType: "text/plain",
25
25
  * });
26
26
  * const privateKey1 = new openstack.keymanager.SecretV1("privateKey1", {
27
27
  * payload: fs.readFileSync("cert-key.pem"),
28
- * payloadContentType: "text/plain",
29
28
  * secretType: "private",
29
+ * payloadContentType: "text/plain",
30
30
  * });
31
31
  * const intermediate1 = new openstack.keymanager.SecretV1("intermediate1", {
32
32
  * payload: fs.readFileSync("intermediate-ca.pem"),
33
- * payloadContentType: "text/plain",
34
33
  * secretType: "certificate",
34
+ * payloadContentType: "text/plain",
35
35
  * });
36
36
  * const tls1 = new openstack.keymanager.ContainerV1("tls1", {
37
+ * type: "certificate",
37
38
  * secretRefs: [
38
39
  * {
39
40
  * name: "certificate",
@@ -48,17 +49,16 @@ const utilities = require("../utilities");
48
49
  * secretRef: intermediate1.secretRef,
49
50
  * },
50
51
  * ],
51
- * type: "certificate",
52
52
  * });
53
53
  * const subnet1 = openstack.networking.getSubnet({
54
54
  * name: "my-subnet",
55
55
  * });
56
56
  * const lb1 = new openstack.loadbalancer.LoadBalancer("lb1", {vipSubnetId: subnet1.then(subnet1 => subnet1.id)});
57
57
  * const listener1 = new openstack.loadbalancer.Listener("listener1", {
58
- * defaultTlsContainerRef: tls1.containerRef,
59
- * loadbalancerId: lb1.id,
60
58
  * protocol: "TERMINATED_HTTPS",
61
59
  * protocolPort: 443,
60
+ * loadbalancerId: lb1.id,
61
+ * defaultTlsContainerRef: tls1.containerRef,
62
62
  * });
63
63
  * ```
64
64
  * ### Container with the ACL
@@ -70,15 +70,7 @@ const utilities = require("../utilities");
70
70
  * import * as openstack from "@pulumi/openstack";
71
71
  *
72
72
  * const tls1 = new openstack.keymanager.ContainerV1("tls1", {
73
- * acl: {
74
- * read: {
75
- * projectAccess: false,
76
- * users: [
77
- * "userid1",
78
- * "userid2",
79
- * ],
80
- * },
81
- * },
73
+ * type: "certificate",
82
74
  * secretRefs: [
83
75
  * {
84
76
  * name: "certificate",
@@ -93,7 +85,15 @@ const utilities = require("../utilities");
93
85
  * secretRef: openstack_keymanager_secret_v1.intermediate_1.secret_ref,
94
86
  * },
95
87
  * ],
96
- * type: "certificate",
88
+ * acl: {
89
+ * read: {
90
+ * projectAccess: false,
91
+ * users: [
92
+ * "userid1",
93
+ * "userid2",
94
+ * ],
95
+ * },
96
+ * },
97
97
  * });
98
98
  * ```
99
99
  *
@@ -31,6 +31,9 @@ import * as outputs from "../types/output";
31
31
  * import * as openstack from "@pulumi/openstack";
32
32
  *
33
33
  * const secret1 = new openstack.keymanager.SecretV1("secret1", {
34
+ * payload: fs.readFileSync("certificate.pem"),
35
+ * secretType: "certificate",
36
+ * payloadContentType: "text/plain",
34
37
  * acl: {
35
38
  * read: {
36
39
  * projectAccess: false,
@@ -40,9 +43,6 @@ import * as outputs from "../types/output";
40
43
  * ],
41
44
  * },
42
45
  * },
43
- * payload: fs.readFileSync("certificate.pem"),
44
- * payloadContentType: "text/plain",
45
- * secretType: "certificate",
46
46
  * });
47
47
  * ```
48
48
  *
@@ -35,6 +35,9 @@ const utilities = require("../utilities");
35
35
  * import * as openstack from "@pulumi/openstack";
36
36
  *
37
37
  * const secret1 = new openstack.keymanager.SecretV1("secret1", {
38
+ * payload: fs.readFileSync("certificate.pem"),
39
+ * secretType: "certificate",
40
+ * payloadContentType: "text/plain",
38
41
  * acl: {
39
42
  * read: {
40
43
  * projectAccess: false,
@@ -44,9 +47,6 @@ const utilities = require("../utilities");
44
47
  * ],
45
48
  * },
46
49
  * },
47
- * payload: fs.readFileSync("certificate.pem"),
48
- * payloadContentType: "text/plain",
49
- * secretType: "certificate",
50
50
  * });
51
51
  * ```
52
52
  *
@@ -16,20 +16,20 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  * });
17
17
  * const loadbalancer1 = new openstack.loadbalancer.LoadBalancer("loadbalancer1", {vipSubnetId: subnet1.id});
18
18
  * const listener1 = new openstack.loadbalancer.Listener("listener1", {
19
- * loadbalancerId: loadbalancer1.id,
20
19
  * protocol: "HTTP",
21
20
  * protocolPort: 8080,
21
+ * loadbalancerId: loadbalancer1.id,
22
22
  * });
23
23
  * const pool1 = new openstack.loadbalancer.Pool("pool1", {
24
+ * protocol: "HTTP",
24
25
  * lbMethod: "ROUND_ROBIN",
25
26
  * loadbalancerId: loadbalancer1.id,
26
- * protocol: "HTTP",
27
27
  * });
28
28
  * const l7policy1 = new openstack.loadbalancer.L7PolicyV2("l7policy1", {
29
29
  * action: "REDIRECT_TO_POOL",
30
30
  * description: "test l7 policy",
31
- * listenerId: listener1.id,
32
31
  * position: 1,
32
+ * listenerId: listener1.id,
33
33
  * redirectPoolId: pool1.id,
34
34
  * });
35
35
  * ```
@@ -22,20 +22,20 @@ const utilities = require("../utilities");
22
22
  * });
23
23
  * const loadbalancer1 = new openstack.loadbalancer.LoadBalancer("loadbalancer1", {vipSubnetId: subnet1.id});
24
24
  * const listener1 = new openstack.loadbalancer.Listener("listener1", {
25
- * loadbalancerId: loadbalancer1.id,
26
25
  * protocol: "HTTP",
27
26
  * protocolPort: 8080,
27
+ * loadbalancerId: loadbalancer1.id,
28
28
  * });
29
29
  * const pool1 = new openstack.loadbalancer.Pool("pool1", {
30
+ * protocol: "HTTP",
30
31
  * lbMethod: "ROUND_ROBIN",
31
32
  * loadbalancerId: loadbalancer1.id,
32
- * protocol: "HTTP",
33
33
  * });
34
34
  * const l7policy1 = new openstack.loadbalancer.L7PolicyV2("l7policy1", {
35
35
  * action: "REDIRECT_TO_POOL",
36
36
  * description: "test l7 policy",
37
- * listenerId: listener1.id,
38
37
  * position: 1,
38
+ * listenerId: listener1.id,
39
39
  * redirectPoolId: pool1.id,
40
40
  * });
41
41
  * ```
@@ -16,26 +16,26 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  * });
17
17
  * const loadbalancer1 = new openstack.loadbalancer.LoadBalancer("loadbalancer1", {vipSubnetId: subnet1.id});
18
18
  * const listener1 = new openstack.loadbalancer.Listener("listener1", {
19
- * loadbalancerId: loadbalancer1.id,
20
19
  * protocol: "HTTP",
21
20
  * protocolPort: 8080,
21
+ * loadbalancerId: loadbalancer1.id,
22
22
  * });
23
23
  * const pool1 = new openstack.loadbalancer.Pool("pool1", {
24
+ * protocol: "HTTP",
24
25
  * lbMethod: "ROUND_ROBIN",
25
26
  * loadbalancerId: loadbalancer1.id,
26
- * protocol: "HTTP",
27
27
  * });
28
28
  * const l7policy1 = new openstack.loadbalancer.L7PolicyV2("l7policy1", {
29
29
  * action: "REDIRECT_TO_URL",
30
30
  * description: "test description",
31
- * listenerId: listener1.id,
32
31
  * position: 1,
32
+ * listenerId: listener1.id,
33
33
  * redirectUrl: "http://www.example.com",
34
34
  * });
35
35
  * const l7rule1 = new openstack.loadbalancer.L7RuleV2("l7rule1", {
36
- * compareType: "EQUAL_TO",
37
36
  * l7policyId: l7policy1.id,
38
37
  * type: "PATH",
38
+ * compareType: "EQUAL_TO",
39
39
  * value: "/api",
40
40
  * });
41
41
  * ```
@@ -22,26 +22,26 @@ const utilities = require("../utilities");
22
22
  * });
23
23
  * const loadbalancer1 = new openstack.loadbalancer.LoadBalancer("loadbalancer1", {vipSubnetId: subnet1.id});
24
24
  * const listener1 = new openstack.loadbalancer.Listener("listener1", {
25
- * loadbalancerId: loadbalancer1.id,
26
25
  * protocol: "HTTP",
27
26
  * protocolPort: 8080,
27
+ * loadbalancerId: loadbalancer1.id,
28
28
  * });
29
29
  * const pool1 = new openstack.loadbalancer.Pool("pool1", {
30
+ * protocol: "HTTP",
30
31
  * lbMethod: "ROUND_ROBIN",
31
32
  * loadbalancerId: loadbalancer1.id,
32
- * protocol: "HTTP",
33
33
  * });
34
34
  * const l7policy1 = new openstack.loadbalancer.L7PolicyV2("l7policy1", {
35
35
  * action: "REDIRECT_TO_URL",
36
36
  * description: "test description",
37
- * listenerId: listener1.id,
38
37
  * position: 1,
38
+ * listenerId: listener1.id,
39
39
  * redirectUrl: "http://www.example.com",
40
40
  * });
41
41
  * const l7rule1 = new openstack.loadbalancer.L7RuleV2("l7rule1", {
42
- * compareType: "EQUAL_TO",
43
42
  * l7policyId: l7policy1.id,
44
43
  * type: "PATH",
44
+ * compareType: "EQUAL_TO",
45
45
  * value: "/api",
46
46
  * });
47
47
  * ```
@@ -9,11 +9,11 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as openstack from "@pulumi/openstack";
10
10
  *
11
11
  * const monitor1 = new openstack.loadbalancer.Monitor("monitor1", {
12
- * delay: 20,
13
- * maxRetries: 5,
14
12
  * poolId: openstack_lb_pool_v2.pool_1.id,
15
- * timeout: 10,
16
13
  * type: "PING",
14
+ * delay: 20,
15
+ * timeout: 10,
16
+ * maxRetries: 5,
17
17
  * });
18
18
  * ```
19
19
  *
@@ -15,11 +15,11 @@ const utilities = require("../utilities");
15
15
  * import * as openstack from "@pulumi/openstack";
16
16
  *
17
17
  * const monitor1 = new openstack.loadbalancer.Monitor("monitor1", {
18
- * delay: 20,
19
- * maxRetries: 5,
20
18
  * poolId: openstack_lb_pool_v2.pool_1.id,
21
- * timeout: 10,
22
19
  * type: "PING",
20
+ * delay: 20,
21
+ * timeout: 10,
22
+ * maxRetries: 5,
23
23
  * });
24
24
  * ```
25
25
  *
@@ -24,73 +24,73 @@ import * as pulumi from "@pulumi/pulumi";
24
24
  *
25
25
  * const network1 = new openstack.networking.Network("network1", {adminStateUp: true});
26
26
  * const subnet1 = new openstack.networking.Subnet("subnet1", {
27
+ * networkId: network1.id,
27
28
  * cidr: "192.168.199.0/24",
28
29
  * ipVersion: 4,
29
- * networkId: network1.id,
30
30
  * });
31
31
  * const secgroup1 = new openstack.compute.SecGroup("secgroup1", {
32
32
  * description: "Rules for secgroup_1",
33
33
  * rules: [
34
34
  * {
35
- * cidr: "0.0.0.0/0",
36
35
  * fromPort: -1,
37
- * ipProtocol: "icmp",
38
36
  * toPort: -1,
37
+ * ipProtocol: "icmp",
38
+ * cidr: "0.0.0.0/0",
39
39
  * },
40
40
  * {
41
- * cidr: "0.0.0.0/0",
42
41
  * fromPort: 80,
43
- * ipProtocol: "tcp",
44
42
  * toPort: 80,
43
+ * ipProtocol: "tcp",
44
+ * cidr: "0.0.0.0/0",
45
45
  * },
46
46
  * ],
47
47
  * });
48
48
  * const instance1 = new openstack.compute.Instance("instance1", {
49
- * networks: [{
50
- * uuid: network1.id,
51
- * }],
52
49
  * securityGroups: [
53
50
  * "default",
54
51
  * secgroup1.name,
55
52
  * ],
56
- * });
57
- * const instance2 = new openstack.compute.Instance("instance2", {
58
53
  * networks: [{
59
54
  * uuid: network1.id,
60
55
  * }],
56
+ * });
57
+ * const instance2 = new openstack.compute.Instance("instance2", {
61
58
  * securityGroups: [
62
59
  * "default",
63
60
  * secgroup1.name,
64
61
  * ],
62
+ * networks: [{
63
+ * uuid: network1.id,
64
+ * }],
65
65
  * });
66
66
  * const monitor1 = new openstack.loadbalancer.MonitorV1("monitor1", {
67
- * adminStateUp: "true",
67
+ * type: "TCP",
68
68
  * delay: 30,
69
- * maxRetries: 3,
70
69
  * timeout: 5,
71
- * type: "TCP",
70
+ * maxRetries: 3,
71
+ * adminStateUp: "true",
72
72
  * });
73
73
  * const pool1 = new openstack.loadbalancer.PoolV1("pool1", {
74
- * lbMethod: "ROUND_ROBIN",
75
- * monitorIds: [monitor1.id],
76
74
  * protocol: "TCP",
77
75
  * subnetId: subnet1.id,
76
+ * lbMethod: "ROUND_ROBIN",
77
+ * monitorIds: [monitor1.id],
78
78
  * });
79
79
  * const member1 = new openstack.loadbalancer.MemberV1("member1", {
80
- * address: instance1.accessIpV4,
81
80
  * poolId: pool1.id,
81
+ * address: instance1.accessIpV4,
82
82
  * port: 80,
83
83
  * });
84
84
  * const member2 = new openstack.loadbalancer.MemberV1("member2", {
85
- * address: instance2.accessIpV4,
86
85
  * poolId: pool1.id,
86
+ * address: instance2.accessIpV4,
87
87
  * port: 80,
88
88
  * });
89
89
  * const vip1 = new openstack.loadbalancer.Vip("vip1", {
90
- * poolId: pool1.id,
91
- * port: 80,
92
- * protocol: "TCP",
93
90
  * subnetId: subnet1.id,
91
+ * protocol: "TCP",
92
+ * port: 80,
93
+ * poolId: pool1.id,
94
94
  * });
95
95
  * ```
96
96
  *
@@ -30,73 +30,73 @@ const utilities = require("../utilities");
30
30
  *
31
31
  * const network1 = new openstack.networking.Network("network1", {adminStateUp: true});
32
32
  * const subnet1 = new openstack.networking.Subnet("subnet1", {
33
+ * networkId: network1.id,
33
34
  * cidr: "192.168.199.0/24",
34
35
  * ipVersion: 4,
35
- * networkId: network1.id,
36
36
  * });
37
37
  * const secgroup1 = new openstack.compute.SecGroup("secgroup1", {
38
38
  * description: "Rules for secgroup_1",
39
39
  * rules: [
40
40
  * {
41
- * cidr: "0.0.0.0/0",
42
41
  * fromPort: -1,
43
- * ipProtocol: "icmp",
44
42
  * toPort: -1,
43
+ * ipProtocol: "icmp",
44
+ * cidr: "0.0.0.0/0",
45
45
  * },
46
46
  * {
47
- * cidr: "0.0.0.0/0",
48
47
  * fromPort: 80,
49
- * ipProtocol: "tcp",
50
48
  * toPort: 80,
49
+ * ipProtocol: "tcp",
50
+ * cidr: "0.0.0.0/0",
51
51
  * },
52
52
  * ],
53
53
  * });
54
54
  * const instance1 = new openstack.compute.Instance("instance1", {
55
- * networks: [{
56
- * uuid: network1.id,
57
- * }],
58
55
  * securityGroups: [
59
56
  * "default",
60
57
  * secgroup1.name,
61
58
  * ],
62
- * });
63
- * const instance2 = new openstack.compute.Instance("instance2", {
64
59
  * networks: [{
65
60
  * uuid: network1.id,
66
61
  * }],
62
+ * });
63
+ * const instance2 = new openstack.compute.Instance("instance2", {
67
64
  * securityGroups: [
68
65
  * "default",
69
66
  * secgroup1.name,
70
67
  * ],
68
+ * networks: [{
69
+ * uuid: network1.id,
70
+ * }],
71
71
  * });
72
72
  * const monitor1 = new openstack.loadbalancer.MonitorV1("monitor1", {
73
- * adminStateUp: "true",
73
+ * type: "TCP",
74
74
  * delay: 30,
75
- * maxRetries: 3,
76
75
  * timeout: 5,
77
- * type: "TCP",
76
+ * maxRetries: 3,
77
+ * adminStateUp: "true",
78
78
  * });
79
79
  * const pool1 = new openstack.loadbalancer.PoolV1("pool1", {
80
- * lbMethod: "ROUND_ROBIN",
81
- * monitorIds: [monitor1.id],
82
80
  * protocol: "TCP",
83
81
  * subnetId: subnet1.id,
82
+ * lbMethod: "ROUND_ROBIN",
83
+ * monitorIds: [monitor1.id],
84
84
  * });
85
85
  * const member1 = new openstack.loadbalancer.MemberV1("member1", {
86
- * address: instance1.accessIpV4,
87
86
  * poolId: pool1.id,
87
+ * address: instance1.accessIpV4,
88
88
  * port: 80,
89
89
  * });
90
90
  * const member2 = new openstack.loadbalancer.MemberV1("member2", {
91
- * address: instance2.accessIpV4,
92
91
  * poolId: pool1.id,
92
+ * address: instance2.accessIpV4,
93
93
  * port: 80,
94
94
  * });
95
95
  * const vip1 = new openstack.loadbalancer.Vip("vip1", {
96
- * poolId: pool1.id,
97
- * port: 80,
98
- * protocol: "TCP",
99
96
  * subnetId: subnet1.id,
97
+ * protocol: "TCP",
98
+ * port: 80,
99
+ * poolId: pool1.id,
100
100
  * });
101
101
  * ```
102
102
  *
@@ -23,14 +23,14 @@ import * as pulumi from "@pulumi/pulumi";
23
23
  *
24
24
  * const project1 = new openstack.identity.Project("project1", {});
25
25
  * const quota1 = new openstack.loadbalancer.Quota("quota1", {
26
- * healthMonitor: 10,
27
- * l7Policy: 11,
28
- * l7Rule: 12,
29
- * listener: 7,
26
+ * projectId: project1.id,
30
27
  * loadbalancer: 6,
28
+ * listener: 7,
31
29
  * member: 8,
32
30
  * pool: 9,
33
- * projectId: project1.id,
31
+ * healthMonitor: 10,
32
+ * l7Policy: 11,
33
+ * l7Rule: 12,
34
34
  * });
35
35
  * ```
36
36
  *
@@ -29,14 +29,14 @@ const utilities = require("../utilities");
29
29
  *
30
30
  * const project1 = new openstack.identity.Project("project1", {});
31
31
  * const quota1 = new openstack.loadbalancer.Quota("quota1", {
32
- * healthMonitor: 10,
33
- * l7Policy: 11,
34
- * l7Rule: 12,
35
- * listener: 7,
32
+ * projectId: project1.id,
36
33
  * loadbalancer: 6,
34
+ * listener: 7,
37
35
  * member: 8,
38
36
  * pool: 9,
39
- * projectId: project1.id,
37
+ * healthMonitor: 10,
38
+ * l7Policy: 11,
39
+ * l7Rule: 12,
40
40
  * });
41
41
  * ```
42
42
  *