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 a subscription 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 sub = ovh.CloudProject.getRegionLoadBalancerLogSubscription({
serviceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
regionName: "gggg",
loadbalancerId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
subscriptionId: "zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv",
});
import pulumi
import pulumi_ovh as ovh
sub = ovh.CloudProject.get_region_load_balancer_log_subscription(service_name="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
region_name="gggg",
loadbalancer_id="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
subscription_id="zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv")
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.GetRegionLoadBalancerLogSubscription(ctx, &cloudproject.GetRegionLoadBalancerLogSubscriptionArgs{
ServiceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
RegionName: "gggg",
LoadbalancerId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
SubscriptionId: "zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv",
}, 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 sub = Ovh.CloudProject.GetRegionLoadBalancerLogSubscription.Invoke(new()
{
ServiceName = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
RegionName = "gggg",
LoadbalancerId = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
SubscriptionId = "zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv",
});
});
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.GetRegionLoadBalancerLogSubscriptionArgs;
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 sub = CloudProjectFunctions.getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs.builder()
.serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.regionName("gggg")
.loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
.subscriptionId("zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv")
.build());
}
}
variables:
sub:
fn::invoke:
function: ovh:CloudProject:getRegionLoadBalancerLogSubscription
arguments:
serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
regionName: gggg
loadbalancerId: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
subscriptionId: zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv
Using getRegionLoadBalancerLogSubscription
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 getRegionLoadBalancerLogSubscription(args: GetRegionLoadBalancerLogSubscriptionArgs, opts?: InvokeOptions): Promise<GetRegionLoadBalancerLogSubscriptionResult>
function getRegionLoadBalancerLogSubscriptionOutput(args: GetRegionLoadBalancerLogSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetRegionLoadBalancerLogSubscriptionResult>def get_region_load_balancer_log_subscription(loadbalancer_id: Optional[str] = None,
region_name: Optional[str] = None,
service_name: Optional[str] = None,
subscription_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionLoadBalancerLogSubscriptionResult
def get_region_load_balancer_log_subscription_output(loadbalancer_id: Optional[pulumi.Input[str]] = None,
region_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
subscription_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionLoadBalancerLogSubscriptionResult]func LookupRegionLoadBalancerLogSubscription(ctx *Context, args *LookupRegionLoadBalancerLogSubscriptionArgs, opts ...InvokeOption) (*LookupRegionLoadBalancerLogSubscriptionResult, error)
func LookupRegionLoadBalancerLogSubscriptionOutput(ctx *Context, args *LookupRegionLoadBalancerLogSubscriptionOutputArgs, opts ...InvokeOption) LookupRegionLoadBalancerLogSubscriptionResultOutput> Note: This function is named LookupRegionLoadBalancerLogSubscription in the Go SDK.
public static class GetRegionLoadBalancerLogSubscription
{
public static Task<GetRegionLoadBalancerLogSubscriptionResult> InvokeAsync(GetRegionLoadBalancerLogSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetRegionLoadBalancerLogSubscriptionResult> Invoke(GetRegionLoadBalancerLogSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegionLoadBalancerLogSubscriptionResult> getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs args, InvokeOptions options)
public static Output<GetRegionLoadBalancerLogSubscriptionResult> getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs args, InvokeOptions options)
fn::invoke:
function: ovh:CloudProject/getRegionLoadBalancerLogSubscription:getRegionLoadBalancerLogSubscription
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. - Subscription
Id string - Subscription id
- 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. - Subscription
Id string - Subscription id
- 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. - subscription
Id String - Subscription id
- 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. - subscription
Id string - Subscription id
- 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. - subscription_
id str - Subscription id
- 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. - subscription
Id String - Subscription id
getRegionLoadBalancerLogSubscription Result
The following output properties are available:
- Created
At string - The date of the subscription creation
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Router used for forwarding log
- Ldp
Service stringName - LDP service name
- 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".
- Resource
Name string - The resource name
- Resource
Type string - The resource type
- Service
Name string - The id of the public cloud project.
- Stream
Id string - Data stream id to use for the subscription
- Subscription
Id string - The subscription id
- Updated
At string - The last update of the subscription
- Created
At string - The date of the subscription creation
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Router used for forwarding log
- Ldp
Service stringName - LDP service name
- 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".
- Resource
Name string - The resource name
- Resource
Type string - The resource type
- Service
Name string - The id of the public cloud project.
- Stream
Id string - Data stream id to use for the subscription
- Subscription
Id string - The subscription id
- Updated
At string - The last update of the subscription
- created
At String - The date of the subscription creation
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Router used for forwarding log
- ldp
Service StringName - LDP service name
- 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".
- resource
Name String - The resource name
- resource
Type String - The resource type
- service
Name String - The id of the public cloud project.
- stream
Id String - Data stream id to use for the subscription
- subscription
Id String - The subscription id
- updated
At String - The last update of the subscription
- created
At string - The date of the subscription creation
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- Router used for forwarding log
- ldp
Service stringName - LDP service name
- 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".
- resource
Name string - The resource name
- resource
Type string - The resource type
- service
Name string - The id of the public cloud project.
- stream
Id string - Data stream id to use for the subscription
- subscription
Id string - The subscription id
- updated
At string - The last update of the subscription
- created_
at str - The date of the subscription creation
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- Router used for forwarding log
- ldp_
service_ strname - LDP service name
- 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".
- resource_
name str - The resource name
- resource_
type str - The resource type
- service_
name str - The id of the public cloud project.
- stream_
id str - Data stream id to use for the subscription
- subscription_
id str - The subscription id
- updated_
at str - The last update of the subscription
- created
At String - The date of the subscription creation
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Router used for forwarding log
- ldp
Service StringName - LDP service name
- 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".
- resource
Name String - The resource name
- resource
Type String - The resource type
- service
Name String - The id of the public cloud project.
- stream
Id String - Data stream id to use for the subscription
- subscription
Id String - The subscription id
- updated
At String - The last update of the subscription
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
