@pulumi/openstack 5.2.0-alpha.1750229011 → 5.2.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 (102) hide show
  1. package/compute/getAggregateV2.d.ts +16 -2
  2. package/compute/getAggregateV2.js +2 -0
  3. package/compute/getAggregateV2.js.map +1 -1
  4. package/compute/getHypervisorV2.d.ts +16 -2
  5. package/compute/getHypervisorV2.js +2 -0
  6. package/compute/getHypervisorV2.js.map +1 -1
  7. package/compute/getInstanceV2.d.ts +11 -0
  8. package/compute/getInstanceV2.js.map +1 -1
  9. package/compute/getServergroupV2.d.ts +102 -0
  10. package/compute/getServergroupV2.js +54 -0
  11. package/compute/getServergroupV2.js.map +1 -0
  12. package/compute/index.d.ts +3 -0
  13. package/compute/index.js +4 -1
  14. package/compute/index.js.map +1 -1
  15. package/compute/instance.d.ts +0 -8
  16. package/compute/instance.js +2 -2
  17. package/compute/instance.js.map +1 -1
  18. package/database/database.d.ts +6 -3
  19. package/database/database.js.map +1 -1
  20. package/database/instance.d.ts +18 -0
  21. package/database/instance.js +2 -0
  22. package/database/instance.js.map +1 -1
  23. package/database/user.d.ts +6 -3
  24. package/database/user.js.map +1 -1
  25. package/dns/getZoneShareV2.d.ts +140 -0
  26. package/dns/getZoneShareV2.js +64 -0
  27. package/dns/getZoneShareV2.js.map +1 -0
  28. package/dns/index.d.ts +6 -0
  29. package/dns/index.js +9 -1
  30. package/dns/index.js.map +1 -1
  31. package/dns/transferAccept.d.ts +9 -12
  32. package/dns/transferAccept.js.map +1 -1
  33. package/dns/transferRequest.d.ts +9 -12
  34. package/dns/transferRequest.js.map +1 -1
  35. package/dns/zoneShareV2.d.ts +129 -0
  36. package/dns/zoneShareV2.js +91 -0
  37. package/dns/zoneShareV2.js.map +1 -0
  38. package/identity/getProject.d.ts +5 -3
  39. package/identity/getProject.js.map +1 -1
  40. package/identity/getProjectIdsV3.d.ts +8 -0
  41. package/identity/getProjectIdsV3.js.map +1 -1
  42. package/identity/getUser.d.ts +5 -3
  43. package/identity/getUser.js.map +1 -1
  44. package/identity/index.d.ts +6 -0
  45. package/identity/index.js +11 -1
  46. package/identity/index.js.map +1 -1
  47. package/identity/inheritRoleAssignment.d.ts +15 -0
  48. package/identity/inheritRoleAssignment.js.map +1 -1
  49. package/identity/limitV3.d.ts +171 -0
  50. package/identity/limitV3.js +103 -0
  51. package/identity/limitV3.js.map +1 -0
  52. package/identity/registeredLimitV3.d.ts +145 -0
  53. package/identity/registeredLimitV3.js +97 -0
  54. package/identity/registeredLimitV3.js.map +1 -0
  55. package/identity/roleAssignment.d.ts +15 -0
  56. package/identity/roleAssignment.js.map +1 -1
  57. package/lbFlavorprofileV2.d.ts +18 -0
  58. package/lbFlavorprofileV2.js.map +1 -1
  59. package/loadbalancer/flavorV2.d.ts +150 -0
  60. package/loadbalancer/flavorV2.js +93 -0
  61. package/loadbalancer/flavorV2.js.map +1 -0
  62. package/loadbalancer/flavorprofileV2.d.ts +18 -0
  63. package/loadbalancer/flavorprofileV2.js.map +1 -1
  64. package/loadbalancer/getFlavorV2.d.ts +1 -1
  65. package/loadbalancer/getFlavorprofileV2.d.ts +106 -0
  66. package/loadbalancer/getFlavorprofileV2.js +62 -0
  67. package/loadbalancer/getFlavorprofileV2.js.map +1 -0
  68. package/loadbalancer/getLbFlavorDeprecated.d.ts +101 -0
  69. package/loadbalancer/getLbFlavorDeprecated.js +60 -0
  70. package/loadbalancer/getLbFlavorDeprecated.js.map +1 -0
  71. package/loadbalancer/index.d.ts +9 -0
  72. package/loadbalancer/index.js +12 -1
  73. package/loadbalancer/index.js.map +1 -1
  74. package/networking/addressGroupV2.d.ts +138 -0
  75. package/networking/addressGroupV2.js +87 -0
  76. package/networking/addressGroupV2.js.map +1 -0
  77. package/networking/getRouter.d.ts +4 -0
  78. package/networking/getRouter.js.map +1 -1
  79. package/networking/getSubnet.d.ts +11 -0
  80. package/networking/getSubnet.js +2 -0
  81. package/networking/getSubnet.js.map +1 -1
  82. package/networking/getSubnetIdsV2.d.ts +11 -0
  83. package/networking/getSubnetIdsV2.js +2 -0
  84. package/networking/getSubnetIdsV2.js.map +1 -1
  85. package/networking/index.d.ts +3 -0
  86. package/networking/index.js +7 -2
  87. package/networking/index.js.map +1 -1
  88. package/networking/router.d.ts +18 -0
  89. package/networking/router.js +2 -0
  90. package/networking/router.js.map +1 -1
  91. package/networking/secGroupRule.d.ts +21 -0
  92. package/networking/secGroupRule.js +2 -0
  93. package/networking/secGroupRule.js.map +1 -1
  94. package/networking/subnet.d.ts +18 -0
  95. package/networking/subnet.js +2 -0
  96. package/networking/subnet.js.map +1 -1
  97. package/package.json +2 -2
  98. package/sharedfilesystem/getShare.d.ts +7 -3
  99. package/sharedfilesystem/getShare.js.map +1 -1
  100. package/sharedfilesystem/share.d.ts +9 -9
  101. package/sharedfilesystem/shareAccess.d.ts +9 -9
  102. package/types/output.d.ts +3 -0
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RegisteredLimitV3 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a V3 Registered Limit resource within OpenStack Keystone.
10
+ *
11
+ * > **Note:** You _must_ have admin privileges in your OpenStack cloud to use
12
+ * this resource.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as openstack from "@pulumi/openstack";
19
+ *
20
+ * const glance = openstack.identity.getService({
21
+ * name: "glance",
22
+ * });
23
+ * const limit1 = new openstack.identity.RegisteredLimitV3("limit_1", {
24
+ * serviceId: glance.then(glance => glance.id),
25
+ * resourceName: "image_count_total",
26
+ * defaultLimit: 10,
27
+ * description: "foo",
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * Registered Limits can be imported using the `id`, e.g.
34
+ *
35
+ * ```sh
36
+ * $ pulumi import openstack:identity/registeredLimitV3:RegisteredLimitV3 limit_1 89c60255-9bd6-460c-822a-e2b959ede9d2
37
+ * ```
38
+ */
39
+ class RegisteredLimitV3 extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing RegisteredLimitV3 resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new RegisteredLimitV3(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of RegisteredLimitV3. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === RegisteredLimitV3.__pulumiType;
61
+ }
62
+ constructor(name, argsOrState, opts) {
63
+ let resourceInputs = {};
64
+ opts = opts || {};
65
+ if (opts.id) {
66
+ const state = argsOrState;
67
+ resourceInputs["defaultLimit"] = state ? state.defaultLimit : undefined;
68
+ resourceInputs["description"] = state ? state.description : undefined;
69
+ resourceInputs["region"] = state ? state.region : undefined;
70
+ resourceInputs["resourceName"] = state ? state.resourceName : undefined;
71
+ resourceInputs["serviceId"] = state ? state.serviceId : undefined;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if ((!args || args.defaultLimit === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'defaultLimit'");
77
+ }
78
+ if ((!args || args.resourceName === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'resourceName'");
80
+ }
81
+ if ((!args || args.serviceId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'serviceId'");
83
+ }
84
+ resourceInputs["defaultLimit"] = args ? args.defaultLimit : undefined;
85
+ resourceInputs["description"] = args ? args.description : undefined;
86
+ resourceInputs["region"] = args ? args.region : undefined;
87
+ resourceInputs["resourceName"] = args ? args.resourceName : undefined;
88
+ resourceInputs["serviceId"] = args ? args.serviceId : undefined;
89
+ }
90
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
+ super(RegisteredLimitV3.__pulumiType, name, resourceInputs, opts);
92
+ }
93
+ }
94
+ exports.RegisteredLimitV3 = RegisteredLimitV3;
95
+ /** @internal */
96
+ RegisteredLimitV3.__pulumiType = 'openstack:identity/registeredLimitV3:RegisteredLimitV3';
97
+ //# sourceMappingURL=registeredLimitV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registeredLimitV3.js","sourceRoot":"","sources":["../../identity/registeredLimitV3.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAqCD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,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AI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA5FL,8CA6FC;AA/EG,gBAAgB;AACO,8BAAY,GAAG,wDAAwD,CAAC"}
@@ -67,6 +67,11 @@ export declare class RoleAssignment extends pulumi.CustomResource {
67
67
  * The project to assign the role in.
68
68
  */
69
69
  readonly projectId: pulumi.Output<string | undefined>;
70
+ /**
71
+ * The region in which to obtain the V3 Keystone client.
72
+ * If omitted, the `region` argument of the provider is used. Changing this
73
+ * creates a new role assignment.
74
+ */
70
75
  readonly region: pulumi.Output<string>;
71
76
  /**
72
77
  * The role to assign.
@@ -101,6 +106,11 @@ export interface RoleAssignmentState {
101
106
  * The project to assign the role in.
102
107
  */
103
108
  projectId?: pulumi.Input<string>;
109
+ /**
110
+ * The region in which to obtain the V3 Keystone client.
111
+ * If omitted, the `region` argument of the provider is used. Changing this
112
+ * creates a new role assignment.
113
+ */
104
114
  region?: pulumi.Input<string>;
105
115
  /**
106
116
  * The role to assign.
@@ -127,6 +137,11 @@ export interface RoleAssignmentArgs {
127
137
  * The project to assign the role in.
128
138
  */
129
139
  projectId?: pulumi.Input<string>;
140
+ /**
141
+ * The region in which to obtain the V3 Keystone client.
142
+ * If omitted, the `region` argument of the provider is used. Changing this
143
+ * creates a new role assignment.
144
+ */
130
145
  region?: pulumi.Input<string>;
131
146
  /**
132
147
  * The role to assign.
@@ -1 +1 @@
1
- {"version":3,"file":"roleAssignment.js","sourceRoot":"","sources":["../../identity/roleAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,C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AAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAxFL,wCAyFC;AA3EG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
@@ -77,6 +77,12 @@ export declare class LbFlavorprofileV2 extends pulumi.CustomResource {
77
77
  * Changing this updates the existing flavorprofile.
78
78
  */
79
79
  readonly providerName: pulumi.Output<string>;
80
+ /**
81
+ * The region in which to obtain the V2 Networking client.
82
+ * A Networking client is needed to create an LB member. If omitted, the
83
+ * `region` argument of the provider is used. Changing this creates a new
84
+ * LB flavorprofile.
85
+ */
80
86
  readonly region: pulumi.Output<string>;
81
87
  /**
82
88
  * Create a LbFlavorprofileV2 resource with the given unique name, arguments, and options.
@@ -109,6 +115,12 @@ export interface LbFlavorprofileV2State {
109
115
  * Changing this updates the existing flavorprofile.
110
116
  */
111
117
  providerName?: pulumi.Input<string>;
118
+ /**
119
+ * The region in which to obtain the V2 Networking client.
120
+ * A Networking client is needed to create an LB member. If omitted, the
121
+ * `region` argument of the provider is used. Changing this creates a new
122
+ * LB flavorprofile.
123
+ */
112
124
  region?: pulumi.Input<string>;
113
125
  }
114
126
  /**
@@ -132,5 +144,11 @@ export interface LbFlavorprofileV2Args {
132
144
  * Changing this updates the existing flavorprofile.
133
145
  */
134
146
  providerName: pulumi.Input<string>;
147
+ /**
148
+ * The region in which to obtain the V2 Networking client.
149
+ * A Networking client is needed to create an LB member. If omitted, the
150
+ * `region` argument of the provider is used. Changing this creates a new
151
+ * LB flavorprofile.
152
+ */
135
153
  region?: pulumi.Input<string>;
136
154
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lbFlavorprofileV2.js","sourceRoot":"","sources":["../lbFlavorprofileV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6KAA6K,CAAC,CAAA;QAC9L,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA8BD,6JAA6J;IAC7J,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6KAA6K,CAAC,CAAA;QAC9L,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,G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c,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAzFL,8CA0FC;AA3EG,gBAAgB;AACO,8BAAY,GAAG,qDAAqD,CAAC"}
@@ -0,0 +1,150 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a V2 load balancer flavor resource within OpenStack.
4
+ *
5
+ * > **Note:** This usually requires admin privileges.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as openstack from "@pulumi/openstack";
12
+ *
13
+ * const fp1 = new openstack.loadbalancer.FlavorprofileV2("fp_1", {
14
+ * name: "test",
15
+ * providerName: "amphora",
16
+ * flavorData: JSON.stringify({
17
+ * loadbalancer_topology: "ACTIVE_STANDBY",
18
+ * }),
19
+ * });
20
+ * const flavor1 = new openstack.loadbalancer.FlavorV2("flavor_1", {
21
+ * name: "test",
22
+ * description: "This is a test flavor",
23
+ * flavorProfileId: fp1.id,
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * flavors can be imported using their `id`. Example:
30
+ *
31
+ * ```sh
32
+ * $ pulumi import openstack:loadbalancer/flavorV2:FlavorV2 flavor_1 2a0f2240-c5e6-41de-896d-e80d97428d6b
33
+ * ```
34
+ */
35
+ export declare class FlavorV2 extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing FlavorV2 resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FlavorV2State, opts?: pulumi.CustomResourceOptions): FlavorV2;
46
+ /**
47
+ * Returns true if the given object is an instance of FlavorV2. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is FlavorV2;
51
+ /**
52
+ * The description of the flavor. Changing this
53
+ * updates the existing flavor.
54
+ */
55
+ readonly description: pulumi.Output<string | undefined>;
56
+ /**
57
+ * Whether the flavor is enabled or not. Defaults to `true`.
58
+ * Changing this updates the existing flavor.
59
+ */
60
+ readonly enabled: pulumi.Output<boolean>;
61
+ /**
62
+ * The flavorProfileId that the flavor
63
+ * will use. Changing this creates a new flavor.
64
+ */
65
+ readonly flavorProfileId: pulumi.Output<string>;
66
+ /**
67
+ * Name of the flavor. Changing this updates the existing
68
+ * flavor.
69
+ */
70
+ readonly name: pulumi.Output<string>;
71
+ /**
72
+ * The region in which to obtain the V2 Networking client.
73
+ * A Networking client is needed to create an LB member. If omitted, the
74
+ * `region` argument of the provider is used. Changing this creates a new
75
+ * LB flavor.
76
+ */
77
+ readonly region: pulumi.Output<string>;
78
+ /**
79
+ * Create a FlavorV2 resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args: FlavorV2Args, opts?: pulumi.CustomResourceOptions);
86
+ }
87
+ /**
88
+ * Input properties used for looking up and filtering FlavorV2 resources.
89
+ */
90
+ export interface FlavorV2State {
91
+ /**
92
+ * The description of the flavor. Changing this
93
+ * updates the existing flavor.
94
+ */
95
+ description?: pulumi.Input<string>;
96
+ /**
97
+ * Whether the flavor is enabled or not. Defaults to `true`.
98
+ * Changing this updates the existing flavor.
99
+ */
100
+ enabled?: pulumi.Input<boolean>;
101
+ /**
102
+ * The flavorProfileId that the flavor
103
+ * will use. Changing this creates a new flavor.
104
+ */
105
+ flavorProfileId?: pulumi.Input<string>;
106
+ /**
107
+ * Name of the flavor. Changing this updates the existing
108
+ * flavor.
109
+ */
110
+ name?: pulumi.Input<string>;
111
+ /**
112
+ * The region in which to obtain the V2 Networking client.
113
+ * A Networking client is needed to create an LB member. If omitted, the
114
+ * `region` argument of the provider is used. Changing this creates a new
115
+ * LB flavor.
116
+ */
117
+ region?: pulumi.Input<string>;
118
+ }
119
+ /**
120
+ * The set of arguments for constructing a FlavorV2 resource.
121
+ */
122
+ export interface FlavorV2Args {
123
+ /**
124
+ * The description of the flavor. Changing this
125
+ * updates the existing flavor.
126
+ */
127
+ description?: pulumi.Input<string>;
128
+ /**
129
+ * Whether the flavor is enabled or not. Defaults to `true`.
130
+ * Changing this updates the existing flavor.
131
+ */
132
+ enabled?: pulumi.Input<boolean>;
133
+ /**
134
+ * The flavorProfileId that the flavor
135
+ * will use. Changing this creates a new flavor.
136
+ */
137
+ flavorProfileId: pulumi.Input<string>;
138
+ /**
139
+ * Name of the flavor. Changing this updates the existing
140
+ * flavor.
141
+ */
142
+ name?: pulumi.Input<string>;
143
+ /**
144
+ * The region in which to obtain the V2 Networking client.
145
+ * A Networking client is needed to create an LB member. If omitted, the
146
+ * `region` argument of the provider is used. Changing this creates a new
147
+ * LB flavor.
148
+ */
149
+ region?: pulumi.Input<string>;
150
+ }
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.FlavorV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a V2 load balancer flavor resource within OpenStack.
10
+ *
11
+ * > **Note:** This usually requires admin privileges.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as openstack from "@pulumi/openstack";
18
+ *
19
+ * const fp1 = new openstack.loadbalancer.FlavorprofileV2("fp_1", {
20
+ * name: "test",
21
+ * providerName: "amphora",
22
+ * flavorData: JSON.stringify({
23
+ * loadbalancer_topology: "ACTIVE_STANDBY",
24
+ * }),
25
+ * });
26
+ * const flavor1 = new openstack.loadbalancer.FlavorV2("flavor_1", {
27
+ * name: "test",
28
+ * description: "This is a test flavor",
29
+ * flavorProfileId: fp1.id,
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * flavors can be imported using their `id`. Example:
36
+ *
37
+ * ```sh
38
+ * $ pulumi import openstack:loadbalancer/flavorV2:FlavorV2 flavor_1 2a0f2240-c5e6-41de-896d-e80d97428d6b
39
+ * ```
40
+ */
41
+ class FlavorV2 extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing FlavorV2 resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new FlavorV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of FlavorV2. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === FlavorV2.__pulumiType;
63
+ }
64
+ constructor(name, argsOrState, opts) {
65
+ let resourceInputs = {};
66
+ opts = opts || {};
67
+ if (opts.id) {
68
+ const state = argsOrState;
69
+ resourceInputs["description"] = state ? state.description : undefined;
70
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
71
+ resourceInputs["flavorProfileId"] = state ? state.flavorProfileId : undefined;
72
+ resourceInputs["name"] = state ? state.name : undefined;
73
+ resourceInputs["region"] = state ? state.region : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.flavorProfileId === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'flavorProfileId'");
79
+ }
80
+ resourceInputs["description"] = args ? args.description : undefined;
81
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
82
+ resourceInputs["flavorProfileId"] = args ? args.flavorProfileId : undefined;
83
+ resourceInputs["name"] = args ? args.name : undefined;
84
+ resourceInputs["region"] = args ? args.region : undefined;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(FlavorV2.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.FlavorV2 = FlavorV2;
91
+ /** @internal */
92
+ FlavorV2.__pulumiType = 'openstack:loadbalancer/flavorV2:FlavorV2';
93
+ //# sourceMappingURL=flavorV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flavorV2.js","sourceRoot":"","sources":["../../loadbalancer/flavorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,I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pE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAvFL,4BAwFC;AA1EG,gBAAgB;AACO,qBAAY,GAAG,0CAA0C,CAAC"}
@@ -75,6 +75,12 @@ export declare class FlavorprofileV2 extends pulumi.CustomResource {
75
75
  * Changing this updates the existing flavorprofile.
76
76
  */
77
77
  readonly providerName: pulumi.Output<string>;
78
+ /**
79
+ * The region in which to obtain the V2 Networking client.
80
+ * A Networking client is needed to create an LB member. If omitted, the
81
+ * `region` argument of the provider is used. Changing this creates a new
82
+ * LB flavorprofile.
83
+ */
78
84
  readonly region: pulumi.Output<string>;
79
85
  /**
80
86
  * Create a FlavorprofileV2 resource with the given unique name, arguments, and options.
@@ -106,6 +112,12 @@ export interface FlavorprofileV2State {
106
112
  * Changing this updates the existing flavorprofile.
107
113
  */
108
114
  providerName?: pulumi.Input<string>;
115
+ /**
116
+ * The region in which to obtain the V2 Networking client.
117
+ * A Networking client is needed to create an LB member. If omitted, the
118
+ * `region` argument of the provider is used. Changing this creates a new
119
+ * LB flavorprofile.
120
+ */
109
121
  region?: pulumi.Input<string>;
110
122
  }
111
123
  /**
@@ -129,5 +141,11 @@ export interface FlavorprofileV2Args {
129
141
  * Changing this updates the existing flavorprofile.
130
142
  */
131
143
  providerName: pulumi.Input<string>;
144
+ /**
145
+ * The region in which to obtain the V2 Networking client.
146
+ * A Networking client is needed to create an LB member. If omitted, the
147
+ * `region` argument of the provider is used. Changing this creates a new
148
+ * LB flavorprofile.
149
+ */
132
150
  region?: pulumi.Input<string>;
133
151
  }
@@ -1 +1 @@
1
- {"version":3,"file":"flavorprofileV2.js","sourceRoot":"","sources":["../../loadbalancer/flavorprofileV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA6BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,YAAY,C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QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,qDAAqD,EAAE,CAAC,EAAE,CAAC;QACjG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAvFL,0CAwFC;AA1EG,gBAAgB;AACO,4BAAY,GAAG,wDAAwD,CAAC"}
@@ -60,7 +60,7 @@ export interface GetFlavorV2Result {
60
60
  * The name of the flavor.
61
61
  */
62
62
  readonly name: string;
63
- readonly region?: string;
63
+ readonly region: string;
64
64
  }
65
65
  /**
66
66
  * Use this data source to get the ID of an OpenStack Load Balancer flavor.
@@ -0,0 +1,106 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to get the ID of an OpenStack Load Balancer flavorprofile.
4
+ *
5
+ * > **Note:** This usually requires admin privileges.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as openstack from "@pulumi/openstack";
12
+ *
13
+ * const fp1 = openstack.loadbalancer.getFlavorprofileV2({
14
+ * name: "flavorprofile_1",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getFlavorprofileV2(args?: GetFlavorprofileV2Args, opts?: pulumi.InvokeOptions): Promise<GetFlavorprofileV2Result>;
19
+ /**
20
+ * A collection of arguments for invoking getFlavorprofileV2.
21
+ */
22
+ export interface GetFlavorprofileV2Args {
23
+ /**
24
+ * The ID of the flavorprofile. Conflicts with `name` and
25
+ * `providerName`.
26
+ */
27
+ flavorprofileId?: string;
28
+ /**
29
+ * The name of the flavorprofile. Conflicts with `flavorprofileId`.
30
+ */
31
+ name?: string;
32
+ /**
33
+ * The name of the provider that the flavorprofile uses. Conflicts
34
+ * with `flavorprofileId`.
35
+ */
36
+ providerName?: string;
37
+ /**
38
+ * The region in which to obtain the V2 Load Balancer client.
39
+ * If omitted, the `region` argument of the provider is used.
40
+ */
41
+ region?: string;
42
+ }
43
+ /**
44
+ * A collection of values returned by getFlavorprofileV2.
45
+ */
46
+ export interface GetFlavorprofileV2Result {
47
+ /**
48
+ * Extra data of the flavorprofile depending on the provider.
49
+ */
50
+ readonly flavorData: string;
51
+ readonly flavorprofileId: string;
52
+ /**
53
+ * The provider-assigned unique ID for this managed resource.
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * The name of the flavorprofile.
58
+ */
59
+ readonly name: string;
60
+ /**
61
+ * The name of the provider that the flavorprofile uses.
62
+ */
63
+ readonly providerName: string;
64
+ readonly region: string;
65
+ }
66
+ /**
67
+ * Use this data source to get the ID of an OpenStack Load Balancer flavorprofile.
68
+ *
69
+ * > **Note:** This usually requires admin privileges.
70
+ *
71
+ * ## Example Usage
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as openstack from "@pulumi/openstack";
76
+ *
77
+ * const fp1 = openstack.loadbalancer.getFlavorprofileV2({
78
+ * name: "flavorprofile_1",
79
+ * });
80
+ * ```
81
+ */
82
+ export declare function getFlavorprofileV2Output(args?: GetFlavorprofileV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFlavorprofileV2Result>;
83
+ /**
84
+ * A collection of arguments for invoking getFlavorprofileV2.
85
+ */
86
+ export interface GetFlavorprofileV2OutputArgs {
87
+ /**
88
+ * The ID of the flavorprofile. Conflicts with `name` and
89
+ * `providerName`.
90
+ */
91
+ flavorprofileId?: pulumi.Input<string>;
92
+ /**
93
+ * The name of the flavorprofile. Conflicts with `flavorprofileId`.
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ /**
97
+ * The name of the provider that the flavorprofile uses. Conflicts
98
+ * with `flavorprofileId`.
99
+ */
100
+ providerName?: pulumi.Input<string>;
101
+ /**
102
+ * The region in which to obtain the V2 Load Balancer client.
103
+ * If omitted, the `region` argument of the provider is used.
104
+ */
105
+ region?: pulumi.Input<string>;
106
+ }