1. Packages
  2. F5bigip Provider
  3. API Docs
  4. sys
  5. Ifile
f5 BIG-IP v3.19.2 published on Tuesday, Dec 2, 2025 by Pulumi
f5bigip logo
f5 BIG-IP v3.19.2 published on Tuesday, Dec 2, 2025 by Pulumi

    Import

    System iFiles can be imported using their full path:

    bash

    $ pulumi import f5bigip:sys/ifile:Ifile example /Common/my-ifile
    

    For iFiles with sub-paths:

    bash

    $ pulumi import f5bigip:sys/ifile:Ifile example /Common/templates/my-ifile
    

    Create Ifile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Ifile(name: string, args: IfileArgs, opts?: CustomResourceOptions);
    @overload
    def Ifile(resource_name: str,
              args: IfileArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ifile(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              content: Optional[str] = None,
              name: Optional[str] = None,
              partition: Optional[str] = None,
              sub_path: Optional[str] = None)
    func NewIfile(ctx *Context, name string, args IfileArgs, opts ...ResourceOption) (*Ifile, error)
    public Ifile(string name, IfileArgs args, CustomResourceOptions? opts = null)
    public Ifile(String name, IfileArgs args)
    public Ifile(String name, IfileArgs args, CustomResourceOptions options)
    
    type: f5bigip:sys:Ifile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IfileArgs
    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 IfileArgs
    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 IfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var f5bigipIfileResource = new F5BigIP.Sys.Ifile("f5bigipIfileResource", new()
    {
        Content = "string",
        Name = "string",
        Partition = "string",
        SubPath = "string",
    });
    
    example, err := sys.NewIfile(ctx, "f5bigipIfileResource", &sys.IfileArgs{
    	Content:   pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	Partition: pulumi.String("string"),
    	SubPath:   pulumi.String("string"),
    })
    
    var f5bigipIfileResource = new com.pulumi.f5bigip.sys.Ifile("f5bigipIfileResource", com.pulumi.f5bigip.sys.IfileArgs.builder()
        .content("string")
        .name("string")
        .partition("string")
        .subPath("string")
        .build());
    
    f5bigip_ifile_resource = f5bigip.sys.Ifile("f5bigipIfileResource",
        content="string",
        name="string",
        partition="string",
        sub_path="string")
    
    const f5bigipIfileResource = new f5bigip.sys.Ifile("f5bigipIfileResource", {
        content: "string",
        name: "string",
        partition: "string",
        subPath: "string",
    });
    
    type: f5bigip:sys:Ifile
    properties:
        content: string
        name: string
        partition: string
        subPath: string
    

    Ifile Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Ifile resource accepts the following input properties:

    Content string
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    Name string
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    Partition string
    Partition where the iFile will be stored. Defaults to Common.
    SubPath string
    Subdirectory within the partition for organizing iFiles hierarchically.
    Content string
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    Name string
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    Partition string
    Partition where the iFile will be stored. Defaults to Common.
    SubPath string
    Subdirectory within the partition for organizing iFiles hierarchically.
    content String
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name String
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition String
    Partition where the iFile will be stored. Defaults to Common.
    subPath String
    Subdirectory within the partition for organizing iFiles hierarchically.
    content string
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name string
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition string
    Partition where the iFile will be stored. Defaults to Common.
    subPath string
    Subdirectory within the partition for organizing iFiles hierarchically.
    content str
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name str
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition str
    Partition where the iFile will be stored. Defaults to Common.
    sub_path str
    Subdirectory within the partition for organizing iFiles hierarchically.
    content String
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name String
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition String
    Partition where the iFile will be stored. Defaults to Common.
    subPath String
    Subdirectory within the partition for organizing iFiles hierarchically.

    Outputs

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

    Checksum string
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size int
    Size of the iFile content in bytes.
    Checksum string
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size int
    Size of the iFile content in bytes.
    checksum String
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    id String
    The provider-assigned unique ID for this managed resource.
    size Integer
    Size of the iFile content in bytes.
    checksum string
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    id string
    The provider-assigned unique ID for this managed resource.
    size number
    Size of the iFile content in bytes.
    checksum str
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    id str
    The provider-assigned unique ID for this managed resource.
    size int
    Size of the iFile content in bytes.
    checksum String
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    id String
    The provider-assigned unique ID for this managed resource.
    size Number
    Size of the iFile content in bytes.

    Look up Existing Ifile Resource

    Get an existing Ifile 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?: IfileState, opts?: CustomResourceOptions): Ifile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            checksum: Optional[str] = None,
            content: Optional[str] = None,
            name: Optional[str] = None,
            partition: Optional[str] = None,
            size: Optional[int] = None,
            sub_path: Optional[str] = None) -> Ifile
    func GetIfile(ctx *Context, name string, id IDInput, state *IfileState, opts ...ResourceOption) (*Ifile, error)
    public static Ifile Get(string name, Input<string> id, IfileState? state, CustomResourceOptions? opts = null)
    public static Ifile get(String name, Output<String> id, IfileState state, CustomResourceOptions options)
    resources:  _:    type: f5bigip:sys:Ifile    get:      id: ${id}
    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:
    Checksum string
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    Content string
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    Name string
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    Partition string
    Partition where the iFile will be stored. Defaults to Common.
    Size int
    Size of the iFile content in bytes.
    SubPath string
    Subdirectory within the partition for organizing iFiles hierarchically.
    Checksum string
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    Content string
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    Name string
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    Partition string
    Partition where the iFile will be stored. Defaults to Common.
    Size int
    Size of the iFile content in bytes.
    SubPath string
    Subdirectory within the partition for organizing iFiles hierarchically.
    checksum String
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    content String
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name String
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition String
    Partition where the iFile will be stored. Defaults to Common.
    size Integer
    Size of the iFile content in bytes.
    subPath String
    Subdirectory within the partition for organizing iFiles hierarchically.
    checksum string
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    content string
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name string
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition string
    Partition where the iFile will be stored. Defaults to Common.
    size number
    Size of the iFile content in bytes.
    subPath string
    Subdirectory within the partition for organizing iFiles hierarchically.
    checksum str
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    content str
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name str
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition str
    Partition where the iFile will be stored. Defaults to Common.
    size int
    Size of the iFile content in bytes.
    sub_path str
    Subdirectory within the partition for organizing iFiles hierarchically.
    checksum String
    MD5 checksum of the iFile content, automatically calculated by BIG-IP.
    content String
    The content of the iFile. This can be inline text, file content loaded with file(), or dynamically generated content. This field is marked as sensitive.
    name String
    Name of the system iFile to be created on BIG-IP. Changing this forces a new resource to be created.
    partition String
    Partition where the iFile will be stored. Defaults to Common.
    size Number
    Size of the iFile content in bytes.
    subPath String
    Subdirectory within the partition for organizing iFiles hierarchically.

    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.19.2 published on Tuesday, Dec 2, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate