import * as pulumi from "@pulumi/pulumi"; /** * Subscribe to a Managed Loadbalance Logs Service in a public cloud project. * * ## Example Usage * * Create a subscription * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const subscription = new ovh.cloudproject.RegionLoadBalancerLogSubscription("subscription", { * serviceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", * regionName: "yyyy", * loadbalancerId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", * kind: "haproxy", * streamId: "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj", * }); * ``` */ export declare class RegionLoadBalancerLogSubscription extends pulumi.CustomResource { /** * Get an existing RegionLoadBalancerLogSubscription resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RegionLoadBalancerLogSubscriptionState, opts?: pulumi.CustomResourceOptions): RegionLoadBalancerLogSubscription; /** * Returns true if the given object is an instance of RegionLoadBalancerLogSubscription. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RegionLoadBalancerLogSubscription; /** * The date of the subscription creation */ readonly createdAt: pulumi.Output; /** * haproxy **Changing this value recreates the resource.** */ readonly kind: pulumi.Output; /** * LDP service name */ readonly ldpServiceName: pulumi.Output; /** * Loadbalancer id to get the logs **Changing this value recreates the resource.** */ readonly loadbalancerId: pulumi.Output; /** * The operation ID */ readonly operationId: pulumi.Output; /** * A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11". **Changing this value recreates the resource.** */ readonly regionName: pulumi.Output; /** * The resource name */ readonly resourceName: pulumi.Output; /** * The resource type */ readonly resourceType: pulumi.Output; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. **Changing this value recreates the resource.** */ readonly serviceName: pulumi.Output; /** * Data stream id to use for the subscription **Changing this value recreates the resource.** */ readonly streamId: pulumi.Output; /** * The subscription id */ readonly subscriptionId: pulumi.Output; /** * The last update of the subscription */ readonly updatedAt: pulumi.Output; /** * Create a RegionLoadBalancerLogSubscription resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RegionLoadBalancerLogSubscriptionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RegionLoadBalancerLogSubscription resources. */ export interface RegionLoadBalancerLogSubscriptionState { /** * The date of the subscription creation */ createdAt?: pulumi.Input; /** * haproxy **Changing this value recreates the resource.** */ kind?: pulumi.Input; /** * LDP service name */ ldpServiceName?: pulumi.Input; /** * Loadbalancer id to get the logs **Changing this value recreates the resource.** */ loadbalancerId?: pulumi.Input; /** * The operation ID */ operationId?: pulumi.Input; /** * A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11". **Changing this value recreates the resource.** */ regionName?: pulumi.Input; /** * The resource name */ resourceName?: pulumi.Input; /** * The resource type */ resourceType?: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. **Changing this value recreates the resource.** */ serviceName?: pulumi.Input; /** * Data stream id to use for the subscription **Changing this value recreates the resource.** */ streamId?: pulumi.Input; /** * The subscription id */ subscriptionId?: pulumi.Input; /** * The last update of the subscription */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a RegionLoadBalancerLogSubscription resource. */ export interface RegionLoadBalancerLogSubscriptionArgs { /** * haproxy **Changing this value recreates the resource.** */ kind: pulumi.Input; /** * Loadbalancer id to get the logs **Changing this value recreates the resource.** */ loadbalancerId: pulumi.Input; /** * A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11". **Changing this value recreates the resource.** */ regionName: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. **Changing this value recreates the resource.** */ serviceName?: pulumi.Input; /** * Data stream id to use for the subscription **Changing this value recreates the resource.** */ streamId: pulumi.Input; }