import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Listener Rules in Oracle Cloud Infrastructure Load Balancer service. * * Lists all of the rules from all of the rule sets associated with the specified listener. The response organizes * the rules in the following order: * * * Access control rules * * Allow method rules * * Request header rules * * Response header rules * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testListenerRules = oci.loadbalancer.getListenerRules({ * listenerName: testListener.name, * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getListenerRules(args: GetListenerRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getListenerRules. */ export interface GetListenerRulesArgs { filters?: inputs.LoadBalancer.GetListenerRulesFilter[]; /** * The name of the listener the rules are associated with. Example: `exampleListener` */ listenerName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener. */ loadBalancerId: string; } /** * A collection of values returned by getListenerRules. */ export interface GetListenerRulesResult { readonly filters?: outputs.LoadBalancer.GetListenerRulesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly listenerName: string; /** * The list of listener_rules. */ readonly listenerRules: outputs.LoadBalancer.GetListenerRulesListenerRule[]; readonly loadBalancerId: string; } /** * This data source provides the list of Listener Rules in Oracle Cloud Infrastructure Load Balancer service. * * Lists all of the rules from all of the rule sets associated with the specified listener. The response organizes * the rules in the following order: * * * Access control rules * * Allow method rules * * Request header rules * * Response header rules * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testListenerRules = oci.loadbalancer.getListenerRules({ * listenerName: testListener.name, * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getListenerRulesOutput(args: GetListenerRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getListenerRules. */ export interface GetListenerRulesOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The name of the listener the rules are associated with. Example: `exampleListener` */ listenerName: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener. */ loadBalancerId: pulumi.Input; } //# sourceMappingURL=getListenerRules.d.ts.map