You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/loadbalancer.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ data "stackit_loadbalancer" "example" {
38
38
-`listeners` (Attributes List) List of all listeners which will accept traffic. Limited to 20. (see [below for nested schema](#nestedatt--listeners))
39
39
-`networks` (Attributes List) List of networks that listeners and targets reside in. (see [below for nested schema](#nestedatt--networks))
40
40
-`options` (Attributes) Defines any optional functionality you want to have enabled on your load balancer. (see [below for nested schema](#nestedatt--options))
41
+
-`plan_id` (String) The service plan ID. Defaults to p10. See the API docs for a list of available plans at: https://docs.api.stackit.cloud/documentation/load-balancer/version/v1#tag/APIService/operation/APIService_ListPlans
41
42
-`private_address` (String) Transient private Load Balancer IP address. It can change any time.
42
43
-`target_pools` (Attributes List) List of all target pools which will be used in the Load Balancer. Limited to 20. (see [below for nested schema](#nestedatt--target_pools))
-`options` (Attributes) Defines any optional functionality you want to have enabled on your load balancer. (see [below for nested schema](#nestedatt--options))
133
+
-`plan_id` (String) The service plan ID. Defaults to p10. See the API docs for a list of available plans at: https://docs.api.stackit.cloud/documentation/load-balancer/version/v1#tag/APIService/operation/APIService_ListPlans
132
134
-`region` (String) The resource region. If not defined, the provider region is used.
"protocol": "Protocol is the highest network protocol we understand to load balance.",
73
73
"target_pool": "Reference target pool by target pool name.",
74
74
"name": "Load balancer name.",
75
+
"plan_id": "The service plan ID. Defaults to p10. See the API docs for a list of available plans at: https://docs.api.stackit.cloud/documentation/load-balancer/version/v1#tag/APIService/operation/APIService_ListPlans",
75
76
"networks": "List of networks that listeners and targets reside in.",
76
77
"network_id": "Openstack network ID.",
77
78
"role": "The role defines how the load balancer is using the network.",
"protocol": "Protocol is the highest network protocol we understand to load balance. "+utils.SupportedValuesDocumentation(protocolOptions),
269
270
"target_pool": "Reference target pool by target pool name.",
270
271
"name": "Load balancer name.",
272
+
"plan_id": "The service plan ID. Defaults to p10. See the API docs for a list of available plans at: https://docs.api.stackit.cloud/documentation/load-balancer/version/v1#tag/APIService/operation/APIService_ListPlans",
271
273
"networks": "List of networks that listeners and targets reside in.",
272
274
"network_id": "Openstack network ID.",
273
275
"role": "The role defines how the load balancer is using the network. "+utils.SupportedValuesDocumentation(roleOptions),
@@ -332,6 +334,14 @@ The example below creates the supporting infrastructure using the STACKIT Terraf
332
334
stringplanmodifier.RequiresReplace(),
333
335
},
334
336
},
337
+
"plan_id": schema.StringAttribute{
338
+
Description: descriptions["plan_id"],
339
+
Optional: true,
340
+
Computed: true,
341
+
PlanModifiers: []planmodifier.String{
342
+
stringplanmodifier.RequiresReplace(),
343
+
},
344
+
},
335
345
"listeners": schema.ListNestedAttribute{
336
346
Description: descriptions["listeners"],
337
347
Required: true,
@@ -864,6 +874,7 @@ func toCreatePayload(ctx context.Context, model *Model) (*loadbalancer.CreateLoa
0 commit comments