1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. getCloudLoadbalancerL7policy
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud

    Use this data source to get information about an L7 policy on a load balancer listener in a public cloud project.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const policy = ovh.getCloudLoadbalancerL7policy({
        serviceName: "<public cloud project ID>",
        loadbalancerId: "<load balancer ID>",
        listenerId: "<listener ID>",
        id: "<L7 policy ID>",
    });
    export const l7policyAction = policy.then(policy => policy.action);
    
    import pulumi
    import pulumi_ovh as ovh
    
    policy = ovh.get_cloud_loadbalancer_l7policy(service_name="<public cloud project ID>",
        loadbalancer_id="<load balancer ID>",
        listener_id="<listener ID>",
        id="<L7 policy ID>")
    pulumi.export("l7policyAction", policy.action)
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		policy, err := ovh.LookupCloudLoadbalancerL7policy(ctx, &ovh.LookupCloudLoadbalancerL7policyArgs{
    			ServiceName:    "<public cloud project ID>",
    			LoadbalancerId: "<load balancer ID>",
    			ListenerId:     "<listener ID>",
    			Id:             "<L7 policy ID>",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("l7policyAction", policy.Action)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var policy = Ovh.GetCloudLoadbalancerL7policy.Invoke(new()
        {
            ServiceName = "<public cloud project ID>",
            LoadbalancerId = "<load balancer ID>",
            ListenerId = "<listener ID>",
            Id = "<L7 policy ID>",
        });
    
        return new Dictionary<string, object?>
        {
            ["l7policyAction"] = policy.Apply(getCloudLoadbalancerL7policyResult => getCloudLoadbalancerL7policyResult.Action),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.OvhFunctions;
    import com.pulumi.ovh.inputs.GetCloudLoadbalancerL7policyArgs;
    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 policy = OvhFunctions.getCloudLoadbalancerL7policy(GetCloudLoadbalancerL7policyArgs.builder()
                .serviceName("<public cloud project ID>")
                .loadbalancerId("<load balancer ID>")
                .listenerId("<listener ID>")
                .id("<L7 policy ID>")
                .build());
    
            ctx.export("l7policyAction", policy.action());
        }
    }
    
    variables:
      policy:
        fn::invoke:
          function: ovh:getCloudLoadbalancerL7policy
          arguments:
            serviceName: <public cloud project ID>
            loadbalancerId: <load balancer ID>
            listenerId: <listener ID>
            id: <L7 policy ID>
    outputs:
      l7policyAction: ${policy.action}
    
    Example coming soon!
    

    Using getCloudLoadbalancerL7policy

    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 getCloudLoadbalancerL7policy(args: GetCloudLoadbalancerL7policyArgs, opts?: InvokeOptions): Promise<GetCloudLoadbalancerL7policyResult>
    function getCloudLoadbalancerL7policyOutput(args: GetCloudLoadbalancerL7policyOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudLoadbalancerL7policyResult>
    def get_cloud_loadbalancer_l7policy(id: Optional[str] = None,
                                        listener_id: Optional[str] = None,
                                        loadbalancer_id: Optional[str] = None,
                                        service_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetCloudLoadbalancerL7policyResult
    def get_cloud_loadbalancer_l7policy_output(id: pulumi.Input[Optional[str]] = None,
                                        listener_id: pulumi.Input[Optional[str]] = None,
                                        loadbalancer_id: pulumi.Input[Optional[str]] = None,
                                        service_name: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudLoadbalancerL7policyResult]
    func LookupCloudLoadbalancerL7policy(ctx *Context, args *LookupCloudLoadbalancerL7policyArgs, opts ...InvokeOption) (*LookupCloudLoadbalancerL7policyResult, error)
    func LookupCloudLoadbalancerL7policyOutput(ctx *Context, args *LookupCloudLoadbalancerL7policyOutputArgs, opts ...InvokeOption) LookupCloudLoadbalancerL7policyResultOutput

    > Note: This function is named LookupCloudLoadbalancerL7policy in the Go SDK.

    public static class GetCloudLoadbalancerL7policy 
    {
        public static Task<GetCloudLoadbalancerL7policyResult> InvokeAsync(GetCloudLoadbalancerL7policyArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudLoadbalancerL7policyResult> Invoke(GetCloudLoadbalancerL7policyInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudLoadbalancerL7policyResult> Invoke(GetCloudLoadbalancerL7policyInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCloudLoadbalancerL7policyResult> getCloudLoadbalancerL7policy(GetCloudLoadbalancerL7policyArgs args, InvokeOptions options)
    public static Output<GetCloudLoadbalancerL7policyResult> getCloudLoadbalancerL7policy(GetCloudLoadbalancerL7policyArgs args, InvokeOptions options)
    public static Output<GetCloudLoadbalancerL7policyResult> getCloudLoadbalancerL7policy(GetCloudLoadbalancerL7policyArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ovh:index/getCloudLoadbalancerL7policy:getCloudLoadbalancerL7policy
      arguments:
        # arguments dictionary
    data "ovh_get_cloud_loadbalancer_l7policy" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    ID of the L7 policy.
    ListenerId string
    ID of the listener.
    LoadbalancerId string
    ID of the load balancer.
    ServiceName string
    Service name of the resource representing the id of the cloud project.
    Id string
    ID of the L7 policy.
    ListenerId string
    ID of the listener.
    LoadbalancerId string
    ID of the load balancer.
    ServiceName string
    Service name of the resource representing the id of the cloud project.
    id string
    ID of the L7 policy.
    listener_id string
    ID of the listener.
    loadbalancer_id string
    ID of the load balancer.
    service_name string
    Service name of the resource representing the id of the cloud project.
    id String
    ID of the L7 policy.
    listenerId String
    ID of the listener.
    loadbalancerId String
    ID of the load balancer.
    serviceName String
    Service name of the resource representing the id of the cloud project.
    id string
    ID of the L7 policy.
    listenerId string
    ID of the listener.
    loadbalancerId string
    ID of the load balancer.
    serviceName string
    Service name of the resource representing the id of the cloud project.
    id str
    ID of the L7 policy.
    listener_id str
    ID of the listener.
    loadbalancer_id str
    ID of the load balancer.
    service_name str
    Service name of the resource representing the id of the cloud project.
    id String
    ID of the L7 policy.
    listenerId String
    ID of the listener.
    loadbalancerId String
    ID of the load balancer.
    serviceName String
    Service name of the resource representing the id of the cloud project.

    getCloudLoadbalancerL7policy Result

    The following output properties are available:

    Action string
    L7 policy action.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the L7 policy.
    CurrentState GetCloudLoadbalancerL7policyCurrentState
    Current state of the L7 policy:
    Description string
    L7 policy description.
    Id string
    ListenerId string
    LoadbalancerId string
    Name string
    L7 policy name.
    Position int
    L7 policy position.
    RedirectHttpCode int
    HTTP redirect code.
    RedirectPoolId string
    Redirect pool ID.
    RedirectPrefix string
    Redirect prefix.
    RedirectUrl string
    Redirect URL.
    ResourceStatus string
    L7 policy readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    Rules List<GetCloudLoadbalancerL7policyRule>
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    ServiceName string
    UpdatedAt string
    Last update date of the L7 policy.
    Action string
    L7 policy action.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the L7 policy.
    CurrentState GetCloudLoadbalancerL7policyCurrentState
    Current state of the L7 policy:
    Description string
    L7 policy description.
    Id string
    ListenerId string
    LoadbalancerId string
    Name string
    L7 policy name.
    Position int
    L7 policy position.
    RedirectHttpCode int
    HTTP redirect code.
    RedirectPoolId string
    Redirect pool ID.
    RedirectPrefix string
    Redirect prefix.
    RedirectUrl string
    Redirect URL.
    ResourceStatus string
    L7 policy readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    Rules []GetCloudLoadbalancerL7policyRule
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    ServiceName string
    UpdatedAt string
    Last update date of the L7 policy.
    action string
    L7 policy action.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the L7 policy.
    current_state object
    Current state of the L7 policy:
    description string
    L7 policy description.
    id string
    listener_id string
    loadbalancer_id string
    name string
    L7 policy name.
    position number
    L7 policy position.
    redirect_http_code number
    HTTP redirect code.
    redirect_pool_id string
    Redirect pool ID.
    redirect_prefix string
    Redirect prefix.
    redirect_url string
    Redirect URL.
    resource_status string
    L7 policy readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    rules list(object)
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    service_name string
    updated_at string
    Last update date of the L7 policy.
    action String
    L7 policy action.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the L7 policy.
    currentState GetCloudLoadbalancerL7policyCurrentState
    Current state of the L7 policy:
    description String
    L7 policy description.
    id String
    listenerId String
    loadbalancerId String
    name String
    L7 policy name.
    position Integer
    L7 policy position.
    redirectHttpCode Integer
    HTTP redirect code.
    redirectPoolId String
    Redirect pool ID.
    redirectPrefix String
    Redirect prefix.
    redirectUrl String
    Redirect URL.
    resourceStatus String
    L7 policy readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    rules List<GetCloudLoadbalancerL7policyRule>
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    serviceName String
    updatedAt String
    Last update date of the L7 policy.
    action string
    L7 policy action.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the L7 policy.
    currentState GetCloudLoadbalancerL7policyCurrentState
    Current state of the L7 policy:
    description string
    L7 policy description.
    id string
    listenerId string
    loadbalancerId string
    name string
    L7 policy name.
    position number
    L7 policy position.
    redirectHttpCode number
    HTTP redirect code.
    redirectPoolId string
    Redirect pool ID.
    redirectPrefix string
    Redirect prefix.
    redirectUrl string
    Redirect URL.
    resourceStatus string
    L7 policy readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    rules GetCloudLoadbalancerL7policyRule[]
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    serviceName string
    updatedAt string
    Last update date of the L7 policy.
    action str
    L7 policy action.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the L7 policy.
    current_state GetCloudLoadbalancerL7policyCurrentState
    Current state of the L7 policy:
    description str
    L7 policy description.
    id str
    listener_id str
    loadbalancer_id str
    name str
    L7 policy name.
    position int
    L7 policy position.
    redirect_http_code int
    HTTP redirect code.
    redirect_pool_id str
    Redirect pool ID.
    redirect_prefix str
    Redirect prefix.
    redirect_url str
    Redirect URL.
    resource_status str
    L7 policy readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    rules Sequence[GetCloudLoadbalancerL7policyRule]
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    service_name str
    updated_at str
    Last update date of the L7 policy.
    action String
    L7 policy action.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the L7 policy.
    currentState Property Map
    Current state of the L7 policy:
    description String
    L7 policy description.
    id String
    listenerId String
    loadbalancerId String
    name String
    L7 policy name.
    position Number
    L7 policy position.
    redirectHttpCode Number
    HTTP redirect code.
    redirectPoolId String
    Redirect pool ID.
    redirectPrefix String
    Redirect prefix.
    redirectUrl String
    Redirect URL.
    resourceStatus String
    L7 policy readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    rules List<Property Map>
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    serviceName String
    updatedAt String
    Last update date of the L7 policy.

    Supporting Types

    GetCloudLoadbalancerL7policyCurrentState

    Action string
    L7 policy action.
    Description string
    L7 policy description.
    Name string
    L7 policy name.
    OperatingStatus string
    Operating status of the L7 policy.
    Position int
    L7 policy position.
    ProvisioningStatus string
    Provisioning status of the L7 policy.
    RedirectHttpCode int
    HTTP redirect code.
    RedirectPoolId string
    Redirect pool ID.
    RedirectPrefix string
    Redirect prefix.
    RedirectUrl string
    Redirect URL.
    Rules List<GetCloudLoadbalancerL7policyCurrentStateRule>
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    Action string
    L7 policy action.
    Description string
    L7 policy description.
    Name string
    L7 policy name.
    OperatingStatus string
    Operating status of the L7 policy.
    Position int
    L7 policy position.
    ProvisioningStatus string
    Provisioning status of the L7 policy.
    RedirectHttpCode int
    HTTP redirect code.
    RedirectPoolId string
    Redirect pool ID.
    RedirectPrefix string
    Redirect prefix.
    RedirectUrl string
    Redirect URL.
    Rules []GetCloudLoadbalancerL7policyCurrentStateRule
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    action string
    L7 policy action.
    description string
    L7 policy description.
    name string
    L7 policy name.
    operating_status string
    Operating status of the L7 policy.
    position number
    L7 policy position.
    provisioning_status string
    Provisioning status of the L7 policy.
    redirect_http_code number
    HTTP redirect code.
    redirect_pool_id string
    Redirect pool ID.
    redirect_prefix string
    Redirect prefix.
    redirect_url string
    Redirect URL.
    rules list(object)
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    action String
    L7 policy action.
    description String
    L7 policy description.
    name String
    L7 policy name.
    operatingStatus String
    Operating status of the L7 policy.
    position Integer
    L7 policy position.
    provisioningStatus String
    Provisioning status of the L7 policy.
    redirectHttpCode Integer
    HTTP redirect code.
    redirectPoolId String
    Redirect pool ID.
    redirectPrefix String
    Redirect prefix.
    redirectUrl String
    Redirect URL.
    rules List<GetCloudLoadbalancerL7policyCurrentStateRule>
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    action string
    L7 policy action.
    description string
    L7 policy description.
    name string
    L7 policy name.
    operatingStatus string
    Operating status of the L7 policy.
    position number
    L7 policy position.
    provisioningStatus string
    Provisioning status of the L7 policy.
    redirectHttpCode number
    HTTP redirect code.
    redirectPoolId string
    Redirect pool ID.
    redirectPrefix string
    Redirect prefix.
    redirectUrl string
    Redirect URL.
    rules GetCloudLoadbalancerL7policyCurrentStateRule[]
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    action str
    L7 policy action.
    description str
    L7 policy description.
    name str
    L7 policy name.
    operating_status str
    Operating status of the L7 policy.
    position int
    L7 policy position.
    provisioning_status str
    Provisioning status of the L7 policy.
    redirect_http_code int
    HTTP redirect code.
    redirect_pool_id str
    Redirect pool ID.
    redirect_prefix str
    Redirect prefix.
    redirect_url str
    Redirect URL.
    rules Sequence[GetCloudLoadbalancerL7policyCurrentStateRule]
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).
    action String
    L7 policy action.
    description String
    L7 policy description.
    name String
    L7 policy name.
    operatingStatus String
    Operating status of the L7 policy.
    position Number
    L7 policy position.
    provisioningStatus String
    Provisioning status of the L7 policy.
    redirectHttpCode Number
    HTTP redirect code.
    redirectPoolId String
    Redirect pool ID.
    redirectPrefix String
    Redirect prefix.
    redirectUrl String
    Redirect URL.
    rules List<Property Map>
    Current state of the L7 rules (same schema as rules, plus id, operating_status and provisioning_status).

    GetCloudLoadbalancerL7policyCurrentStateRule

    CompareType string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    Id string
    ID of the L7 policy.
    Invert bool
    Whether to invert the rule match.
    Key string
    Key for COOKIE and HEADER rule types.
    OperatingStatus string
    Operating status of the L7 policy.
    ProvisioningStatus string
    Provisioning status of the L7 policy.
    Type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    Value string
    Value to compare against.
    CompareType string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    Id string
    ID of the L7 policy.
    Invert bool
    Whether to invert the rule match.
    Key string
    Key for COOKIE and HEADER rule types.
    OperatingStatus string
    Operating status of the L7 policy.
    ProvisioningStatus string
    Provisioning status of the L7 policy.
    Type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    Value string
    Value to compare against.
    compare_type string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    id string
    ID of the L7 policy.
    invert bool
    Whether to invert the rule match.
    key string
    Key for COOKIE and HEADER rule types.
    operating_status string
    Operating status of the L7 policy.
    provisioning_status string
    Provisioning status of the L7 policy.
    type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value string
    Value to compare against.
    compareType String
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    id String
    ID of the L7 policy.
    invert Boolean
    Whether to invert the rule match.
    key String
    Key for COOKIE and HEADER rule types.
    operatingStatus String
    Operating status of the L7 policy.
    provisioningStatus String
    Provisioning status of the L7 policy.
    type String
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value String
    Value to compare against.
    compareType string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    id string
    ID of the L7 policy.
    invert boolean
    Whether to invert the rule match.
    key string
    Key for COOKIE and HEADER rule types.
    operatingStatus string
    Operating status of the L7 policy.
    provisioningStatus string
    Provisioning status of the L7 policy.
    type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value string
    Value to compare against.
    compare_type str
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    id str
    ID of the L7 policy.
    invert bool
    Whether to invert the rule match.
    key str
    Key for COOKIE and HEADER rule types.
    operating_status str
    Operating status of the L7 policy.
    provisioning_status str
    Provisioning status of the L7 policy.
    type str
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value str
    Value to compare against.
    compareType String
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    id String
    ID of the L7 policy.
    invert Boolean
    Whether to invert the rule match.
    key String
    Key for COOKIE and HEADER rule types.
    operatingStatus String
    Operating status of the L7 policy.
    provisioningStatus String
    Provisioning status of the L7 policy.
    type String
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value String
    Value to compare against.

    GetCloudLoadbalancerL7policyRule

    CompareType string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    Invert bool
    Whether to invert the rule match.
    Key string
    Key for COOKIE and HEADER rule types.
    Type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    Value string
    Value to compare against.
    CompareType string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    Invert bool
    Whether to invert the rule match.
    Key string
    Key for COOKIE and HEADER rule types.
    Type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    Value string
    Value to compare against.
    compare_type string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    invert bool
    Whether to invert the rule match.
    key string
    Key for COOKIE and HEADER rule types.
    type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value string
    Value to compare against.
    compareType String
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    invert Boolean
    Whether to invert the rule match.
    key String
    Key for COOKIE and HEADER rule types.
    type String
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value String
    Value to compare against.
    compareType string
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    invert boolean
    Whether to invert the rule match.
    key string
    Key for COOKIE and HEADER rule types.
    type string
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value string
    Value to compare against.
    compare_type str
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    invert bool
    Whether to invert the rule match.
    key str
    Key for COOKIE and HEADER rule types.
    type str
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value str
    Value to compare against.
    compareType String
    Comparison type (CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, STARTS_WITH).
    invert Boolean
    Whether to invert the rule match.
    key String
    Key for COOKIE and HEADER rule types.
    type String
    Type of the L7 rule (COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH).
    value String
    Value to compare against.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.21.0
    published on Friday, Sep 25, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial