OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud
ovh.CloudProject.getRegionLoadBalancerLogSubscriptions
Explore with Pulumi AI
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 "@pulumi/ovh";
const subs = ovh.CloudProject.getRegionLoadBalancerLogSubscriptions({
loadbalancerId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
regionName: "gggg",
serviceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
});
import pulumi
import pulumi_ovh as ovh
subs = ovh.CloudProject.get_region_load_balancer_log_subscriptions(loadbalancer_id="aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
region_name="gggg",
service_name="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/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{
LoadbalancerId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
RegionName: "gggg",
ServiceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
}, 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()
{
LoadbalancerId = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
RegionName = "gggg",
ServiceName = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
});
});
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()
.loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
.regionName("gggg")
.serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.build());
}
}
variables:
subs:
fn::invoke:
Function: ovh:CloudProject:getRegionLoadBalancerLogSubscriptions
Arguments:
loadbalancerId: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
regionName: gggg
serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ovh:CloudProject/getRegionLoadBalancerLogSubscriptions:getRegionLoadBalancerLogSubscriptions
arguments:
# arguments dictionary
The 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_SERVICE
environment 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_SERVICE
environment 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_SERVICE
environment 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_SERVICE
environment 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_SERVICE
environment 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_SERVICE
environment 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
ovh
Terraform Provider.