1. Packages
  2. F5 BIG-IP
  3. API Docs
  4. ltm
  5. IRule
f5 BIG-IP v3.16.0 published on Monday, Feb 19, 2024 by Pulumi

f5bigip.ltm.IRule

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.16.0 published on Monday, Feb 19, 2024 by Pulumi

    f5bigip.ltm.IRule Creates iRule on BIG-IP F5 device

    For resources should be named with their “full path”. The full path is the combination of the partition + name of the resource. For example /Common/my-pool.

    Create IRule Resource

    new IRule(name: string, args: IRuleArgs, opts?: CustomResourceOptions);
    @overload
    def IRule(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              irule: Optional[str] = None,
              name: Optional[str] = None)
    @overload
    def IRule(resource_name: str,
              args: IRuleArgs,
              opts: Optional[ResourceOptions] = None)
    func NewIRule(ctx *Context, name string, args IRuleArgs, opts ...ResourceOption) (*IRule, error)
    public IRule(string name, IRuleArgs args, CustomResourceOptions? opts = null)
    public IRule(String name, IRuleArgs args)
    public IRule(String name, IRuleArgs args, CustomResourceOptions options)
    
    type: f5bigip:ltm:IRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args IRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    IRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IRule resource accepts the following input properties:

    Irule string
    Body of the iRule
    Name string
    Name of the iRule
    Irule string
    Body of the iRule
    Name string
    Name of the iRule
    irule String
    Body of the iRule
    name String
    Name of the iRule
    irule string
    Body of the iRule
    name string
    Name of the iRule
    irule str
    Body of the iRule
    name str
    Name of the iRule
    irule String
    Body of the iRule
    name String
    Name of the iRule

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IRule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IRule Resource

    Get an existing IRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IRuleState, opts?: CustomResourceOptions): IRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            irule: Optional[str] = None,
            name: Optional[str] = None) -> IRule
    func GetIRule(ctx *Context, name string, id IDInput, state *IRuleState, opts ...ResourceOption) (*IRule, error)
    public static IRule Get(string name, Input<string> id, IRuleState? state, CustomResourceOptions? opts = null)
    public static IRule get(String name, Output<String> id, IRuleState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Irule string
    Body of the iRule
    Name string
    Name of the iRule
    Irule string
    Body of the iRule
    Name string
    Name of the iRule
    irule String
    Body of the iRule
    name String
    Name of the iRule
    irule string
    Body of the iRule
    name string
    Name of the iRule
    irule str
    Body of the iRule
    name str
    Name of the iRule
    irule String
    Body of the iRule
    name String
    Name of the iRule

    Package Details

    Repository
    f5 BIG-IP pulumi/pulumi-f5bigip
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the bigip Terraform Provider.
    f5bigip logo
    f5 BIG-IP v3.16.0 published on Monday, Feb 19, 2024 by Pulumi