Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Get information about subscriptions to a Managed Loadbalancer Logs Service in a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const subs = ovh.CloudProject.getRegionLoadBalancerLogSubscriptions({
serviceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
regionName: "gggg",
loadbalancerId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});
import pulumi
import pulumi_ovh as ovh
subs = ovh.CloudProject.get_region_load_balancer_log_subscriptions(service_name="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
region_name="gggg",
loadbalancer_id="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/cloudproject"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudproject.GetRegionLoadBalancerLogSubscriptions(ctx, &cloudproject.GetRegionLoadBalancerLogSubscriptionsArgs{
ServiceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
RegionName: "gggg",
LoadbalancerId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var subs = Ovh.CloudProject.GetRegionLoadBalancerLogSubscriptions.Invoke(new()
{
ServiceName = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
RegionName = "gggg",
LoadbalancerId = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
import com.pulumi.ovh.CloudProject.inputs.GetRegionLoadBalancerLogSubscriptionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var subs = CloudProjectFunctions.getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs.builder()
.serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.regionName("gggg")
.loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
.build());
}
}
variables:
subs:
fn::invoke:
function: ovh:CloudProject:getRegionLoadBalancerLogSubscriptions
arguments:
serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
regionName: gggg
loadbalancerId: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
Using getRegionLoadBalancerLogSubscriptions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegionLoadBalancerLogSubscriptions(args: GetRegionLoadBalancerLogSubscriptionsArgs, opts?: InvokeOptions): Promise<GetRegionLoadBalancerLogSubscriptionsResult>
function getRegionLoadBalancerLogSubscriptionsOutput(args: GetRegionLoadBalancerLogSubscriptionsOutputArgs, opts?: InvokeOptions): Output<GetRegionLoadBalancerLogSubscriptionsResult>def get_region_load_balancer_log_subscriptions(kind: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
region_name: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionLoadBalancerLogSubscriptionsResult
def get_region_load_balancer_log_subscriptions_output(kind: Optional[pulumi.Input[str]] = None,
loadbalancer_id: Optional[pulumi.Input[str]] = None,
region_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionLoadBalancerLogSubscriptionsResult]func GetRegionLoadBalancerLogSubscriptions(ctx *Context, args *GetRegionLoadBalancerLogSubscriptionsArgs, opts ...InvokeOption) (*GetRegionLoadBalancerLogSubscriptionsResult, error)
func GetRegionLoadBalancerLogSubscriptionsOutput(ctx *Context, args *GetRegionLoadBalancerLogSubscriptionsOutputArgs, opts ...InvokeOption) GetRegionLoadBalancerLogSubscriptionsResultOutput> Note: This function is named GetRegionLoadBalancerLogSubscriptions in the Go SDK.
public static class GetRegionLoadBalancerLogSubscriptions
{
public static Task<GetRegionLoadBalancerLogSubscriptionsResult> InvokeAsync(GetRegionLoadBalancerLogSubscriptionsArgs args, InvokeOptions? opts = null)
public static Output<GetRegionLoadBalancerLogSubscriptionsResult> Invoke(GetRegionLoadBalancerLogSubscriptionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegionLoadBalancerLogSubscriptionsResult> getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs args, InvokeOptions options)
public static Output<GetRegionLoadBalancerLogSubscriptionsResult> getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs args, InvokeOptions options)
fn::invoke:
function: ovh:CloudProject/getRegionLoadBalancerLogSubscriptions:getRegionLoadBalancerLogSubscriptions
arguments:
# arguments dictionaryThe following arguments are supported:
- Loadbalancer
Id string - Loadbalancer id to get the logs
- Region
Name string - A valid OVHcloud public cloud region name in which the loadbalancer is available. Ex.: "GRA11".
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used. - Kind string
- currently only "haproxy" is available
- Loadbalancer
Id string - Loadbalancer id to get the logs
- Region
Name string - A valid OVHcloud public cloud region name in which the loadbalancer is available. Ex.: "GRA11".
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used. - Kind string
- currently only "haproxy" is available
- loadbalancer
Id String - Loadbalancer id to get the logs
- region
Name String - A valid OVHcloud public cloud region name in which the loadbalancer is available. Ex.: "GRA11".
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used. - kind String
- currently only "haproxy" is available
- loadbalancer
Id string - Loadbalancer id to get the logs
- region
Name string - A valid OVHcloud public cloud region name in which the loadbalancer is available. Ex.: "GRA11".
- service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used. - kind string
- currently only "haproxy" is available
- loadbalancer_
id str - Loadbalancer id to get the logs
- region_
name str - A valid OVHcloud public cloud region name in which the loadbalancer is available. Ex.: "GRA11".
- service_
name str - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used. - kind str
- currently only "haproxy" is available
- loadbalancer
Id String - Loadbalancer id to get the logs
- region
Name String - A valid OVHcloud public cloud region name in which the loadbalancer is available. Ex.: "GRA11".
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used. - kind String
- currently only "haproxy" is available
getRegionLoadBalancerLogSubscriptions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Loadbalancer
Id string - Loadbalancer id to get the logs
- Region
Name string - A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
- Service
Name string - The id of the public cloud project.
- Subscription
Ids List<string> - The list of the subscription id
- Kind string
- Router used for forwarding log
- Id string
- The provider-assigned unique ID for this managed resource.
- Loadbalancer
Id string - Loadbalancer id to get the logs
- Region
Name string - A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
- Service
Name string - The id of the public cloud project.
- Subscription
Ids []string - The list of the subscription id
- Kind string
- Router used for forwarding log
- id String
- The provider-assigned unique ID for this managed resource.
- loadbalancer
Id String - Loadbalancer id to get the logs
- region
Name String - A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
- service
Name String - The id of the public cloud project.
- subscription
Ids List<String> - The list of the subscription id
- kind String
- Router used for forwarding log
- id string
- The provider-assigned unique ID for this managed resource.
- loadbalancer
Id string - Loadbalancer id to get the logs
- region
Name string - A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
- service
Name string - The id of the public cloud project.
- subscription
Ids string[] - The list of the subscription id
- kind string
- Router used for forwarding log
- id str
- The provider-assigned unique ID for this managed resource.
- loadbalancer_
id str - Loadbalancer id to get the logs
- region_
name str - A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
- service_
name str - The id of the public cloud project.
- subscription_
ids Sequence[str] - The list of the subscription id
- kind str
- Router used for forwarding log
- id String
- The provider-assigned unique ID for this managed resource.
- loadbalancer
Id String - Loadbalancer id to get the logs
- region
Name String - A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
- service
Name String - The id of the public cloud project.
- subscription
Ids List<String> - The list of the subscription id
- kind String
- Router used for forwarding log
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
