1. Packages
  2. Fortios
  3. API Docs
  4. cifs
  5. Profile
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.cifs.Profile

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Configure CIFS profile. Applies to FortiOS Version 6.2.4,6.2.6,6.4.0,6.4.1.

    Create Profile Resource

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

    Constructor syntax

    new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
    @overload
    def Profile(resource_name: str,
                args: Optional[ProfileArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Profile(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                domain_controller: Optional[str] = None,
                dynamic_sort_subtable: Optional[str] = None,
                file_filter: Optional[ProfileFileFilterArgs] = None,
                get_all_tables: Optional[str] = None,
                name: Optional[str] = None,
                server_credential_type: Optional[str] = None,
                server_keytabs: Optional[Sequence[ProfileServerKeytabArgs]] = None,
                vdomparam: Optional[str] = None)
    func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
    public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
    public Profile(String name, ProfileArgs args)
    public Profile(String name, ProfileArgs args, CustomResourceOptions options)
    
    type: fortios:cifs:Profile
    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 ProfileArgs
    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 ProfileArgs
    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 ProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var exampleprofileResourceResourceFromCifsprofile = new Fortios.Cifs.Profile("exampleprofileResourceResourceFromCifsprofile", new()
    {
        DomainController = "string",
        DynamicSortSubtable = "string",
        FileFilter = new Fortios.Cifs.Inputs.ProfileFileFilterArgs
        {
            Entries = new[]
            {
                new Fortios.Cifs.Inputs.ProfileFileFilterEntryArgs
                {
                    Action = "string",
                    Comment = "string",
                    Direction = "string",
                    FileTypes = new[]
                    {
                        new Fortios.Cifs.Inputs.ProfileFileFilterEntryFileTypeArgs
                        {
                            Name = "string",
                        },
                    },
                    Filter = "string",
                },
            },
            Log = "string",
            Status = "string",
        },
        GetAllTables = "string",
        Name = "string",
        ServerCredentialType = "string",
        ServerKeytabs = new[]
        {
            new Fortios.Cifs.Inputs.ProfileServerKeytabArgs
            {
                Keytab = "string",
                Principal = "string",
            },
        },
        Vdomparam = "string",
    });
    
    example, err := cifs.NewProfile(ctx, "exampleprofileResourceResourceFromCifsprofile", &cifs.ProfileArgs{
    	DomainController:    pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	FileFilter: &cifs.ProfileFileFilterArgs{
    		Entries: cifs.ProfileFileFilterEntryArray{
    			&cifs.ProfileFileFilterEntryArgs{
    				Action:    pulumi.String("string"),
    				Comment:   pulumi.String("string"),
    				Direction: pulumi.String("string"),
    				FileTypes: cifs.ProfileFileFilterEntryFileTypeArray{
    					&cifs.ProfileFileFilterEntryFileTypeArgs{
    						Name: pulumi.String("string"),
    					},
    				},
    				Filter: pulumi.String("string"),
    			},
    		},
    		Log:    pulumi.String("string"),
    		Status: pulumi.String("string"),
    	},
    	GetAllTables:         pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	ServerCredentialType: pulumi.String("string"),
    	ServerKeytabs: cifs.ProfileServerKeytabArray{
    		&cifs.ProfileServerKeytabArgs{
    			Keytab:    pulumi.String("string"),
    			Principal: pulumi.String("string"),
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var exampleprofileResourceResourceFromCifsprofile = new Profile("exampleprofileResourceResourceFromCifsprofile", ProfileArgs.builder()
        .domainController("string")
        .dynamicSortSubtable("string")
        .fileFilter(ProfileFileFilterArgs.builder()
            .entries(ProfileFileFilterEntryArgs.builder()
                .action("string")
                .comment("string")
                .direction("string")
                .fileTypes(ProfileFileFilterEntryFileTypeArgs.builder()
                    .name("string")
                    .build())
                .filter("string")
                .build())
            .log("string")
            .status("string")
            .build())
        .getAllTables("string")
        .name("string")
        .serverCredentialType("string")
        .serverKeytabs(ProfileServerKeytabArgs.builder()
            .keytab("string")
            .principal("string")
            .build())
        .vdomparam("string")
        .build());
    
    exampleprofile_resource_resource_from_cifsprofile = fortios.cifs.Profile("exampleprofileResourceResourceFromCifsprofile",
        domain_controller="string",
        dynamic_sort_subtable="string",
        file_filter=fortios.cifs.ProfileFileFilterArgs(
            entries=[fortios.cifs.ProfileFileFilterEntryArgs(
                action="string",
                comment="string",
                direction="string",
                file_types=[fortios.cifs.ProfileFileFilterEntryFileTypeArgs(
                    name="string",
                )],
                filter="string",
            )],
            log="string",
            status="string",
        ),
        get_all_tables="string",
        name="string",
        server_credential_type="string",
        server_keytabs=[fortios.cifs.ProfileServerKeytabArgs(
            keytab="string",
            principal="string",
        )],
        vdomparam="string")
    
    const exampleprofileResourceResourceFromCifsprofile = new fortios.cifs.Profile("exampleprofileResourceResourceFromCifsprofile", {
        domainController: "string",
        dynamicSortSubtable: "string",
        fileFilter: {
            entries: [{
                action: "string",
                comment: "string",
                direction: "string",
                fileTypes: [{
                    name: "string",
                }],
                filter: "string",
            }],
            log: "string",
            status: "string",
        },
        getAllTables: "string",
        name: "string",
        serverCredentialType: "string",
        serverKeytabs: [{
            keytab: "string",
            principal: "string",
        }],
        vdomparam: "string",
    });
    
    type: fortios:cifs:Profile
    properties:
        domainController: string
        dynamicSortSubtable: string
        fileFilter:
            entries:
                - action: string
                  comment: string
                  direction: string
                  fileTypes:
                    - name: string
                  filter: string
            log: string
            status: string
        getAllTables: string
        name: string
        serverCredentialType: string
        serverKeytabs:
            - keytab: string
              principal: string
        vdomparam: string
    

    Profile 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 Profile resource accepts the following input properties:

    DomainController string
    Domain for which to decrypt CIFS traffic.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FileFilter Pulumiverse.Fortios.Cifs.Inputs.ProfileFileFilter
    File filter. The structure of file_filter block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Profile name.
    ServerCredentialType string
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    ServerKeytabs List<Pulumiverse.Fortios.Cifs.Inputs.ProfileServerKeytab>
    Server keytab. The structure of server_keytab block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    DomainController string
    Domain for which to decrypt CIFS traffic.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FileFilter ProfileFileFilterArgs
    File filter. The structure of file_filter block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Profile name.
    ServerCredentialType string
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    ServerKeytabs []ProfileServerKeytabArgs
    Server keytab. The structure of server_keytab block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domainController String
    Domain for which to decrypt CIFS traffic.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fileFilter ProfileFileFilter
    File filter. The structure of file_filter block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Profile name.
    serverCredentialType String
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    serverKeytabs List<ProfileServerKeytab>
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domainController string
    Domain for which to decrypt CIFS traffic.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fileFilter ProfileFileFilter
    File filter. The structure of file_filter block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name string
    Profile name.
    serverCredentialType string
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    serverKeytabs ProfileServerKeytab[]
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domain_controller str
    Domain for which to decrypt CIFS traffic.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    file_filter ProfileFileFilterArgs
    File filter. The structure of file_filter block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name str
    Profile name.
    server_credential_type str
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    server_keytabs Sequence[ProfileServerKeytabArgs]
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domainController String
    Domain for which to decrypt CIFS traffic.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fileFilter Property Map
    File filter. The structure of file_filter block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Profile name.
    serverCredentialType String
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    serverKeytabs List<Property Map>
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Profile 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 Profile Resource

    Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domain_controller: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            file_filter: Optional[ProfileFileFilterArgs] = None,
            get_all_tables: Optional[str] = None,
            name: Optional[str] = None,
            server_credential_type: Optional[str] = None,
            server_keytabs: Optional[Sequence[ProfileServerKeytabArgs]] = None,
            vdomparam: Optional[str] = None) -> Profile
    func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
    public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
    public static Profile get(String name, Output<String> id, ProfileState 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:
    DomainController string
    Domain for which to decrypt CIFS traffic.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FileFilter Pulumiverse.Fortios.Cifs.Inputs.ProfileFileFilter
    File filter. The structure of file_filter block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Profile name.
    ServerCredentialType string
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    ServerKeytabs List<Pulumiverse.Fortios.Cifs.Inputs.ProfileServerKeytab>
    Server keytab. The structure of server_keytab block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    DomainController string
    Domain for which to decrypt CIFS traffic.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FileFilter ProfileFileFilterArgs
    File filter. The structure of file_filter block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    Profile name.
    ServerCredentialType string
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    ServerKeytabs []ProfileServerKeytabArgs
    Server keytab. The structure of server_keytab block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domainController String
    Domain for which to decrypt CIFS traffic.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fileFilter ProfileFileFilter
    File filter. The structure of file_filter block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Profile name.
    serverCredentialType String
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    serverKeytabs List<ProfileServerKeytab>
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domainController string
    Domain for which to decrypt CIFS traffic.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fileFilter ProfileFileFilter
    File filter. The structure of file_filter block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name string
    Profile name.
    serverCredentialType string
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    serverKeytabs ProfileServerKeytab[]
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domain_controller str
    Domain for which to decrypt CIFS traffic.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    file_filter ProfileFileFilterArgs
    File filter. The structure of file_filter block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name str
    Profile name.
    server_credential_type str
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    server_keytabs Sequence[ProfileServerKeytabArgs]
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    domainController String
    Domain for which to decrypt CIFS traffic.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fileFilter Property Map
    File filter. The structure of file_filter block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    Profile name.
    serverCredentialType String
    CIFS server credential type. Valid values: none, credential-replication, credential-keytab.
    serverKeytabs List<Property Map>
    Server keytab. The structure of server_keytab block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    ProfileFileFilter, ProfileFileFilterArgs

    Entries List<Pulumiverse.Fortios.Cifs.Inputs.ProfileFileFilterEntry>
    File filter entries. The structure of entries block is documented below.
    Log string
    Enable/disable file filter logging. Valid values: enable, disable.
    Status string
    Enable/disable file filter. Valid values: enable, disable.
    Entries []ProfileFileFilterEntry
    File filter entries. The structure of entries block is documented below.
    Log string
    Enable/disable file filter logging. Valid values: enable, disable.
    Status string
    Enable/disable file filter. Valid values: enable, disable.
    entries List<ProfileFileFilterEntry>
    File filter entries. The structure of entries block is documented below.
    log String
    Enable/disable file filter logging. Valid values: enable, disable.
    status String
    Enable/disable file filter. Valid values: enable, disable.
    entries ProfileFileFilterEntry[]
    File filter entries. The structure of entries block is documented below.
    log string
    Enable/disable file filter logging. Valid values: enable, disable.
    status string
    Enable/disable file filter. Valid values: enable, disable.
    entries Sequence[ProfileFileFilterEntry]
    File filter entries. The structure of entries block is documented below.
    log str
    Enable/disable file filter logging. Valid values: enable, disable.
    status str
    Enable/disable file filter. Valid values: enable, disable.
    entries List<Property Map>
    File filter entries. The structure of entries block is documented below.
    log String
    Enable/disable file filter logging. Valid values: enable, disable.
    status String
    Enable/disable file filter. Valid values: enable, disable.

    ProfileFileFilterEntry, ProfileFileFilterEntryArgs

    Action string
    Action taken for matched file. Valid values: log, block.
    Comment string
    Comment.
    Direction string
    Match files transmitted in the session's originating or reply direction. Valid values: incoming, outgoing, any.
    FileTypes List<Pulumiverse.Fortios.Cifs.Inputs.ProfileFileFilterEntryFileType>
    Select file type. The structure of file_type block is documented below.
    Filter string
    Add a file filter.
    Action string
    Action taken for matched file. Valid values: log, block.
    Comment string
    Comment.
    Direction string
    Match files transmitted in the session's originating or reply direction. Valid values: incoming, outgoing, any.
    FileTypes []ProfileFileFilterEntryFileType
    Select file type. The structure of file_type block is documented below.
    Filter string
    Add a file filter.
    action String
    Action taken for matched file. Valid values: log, block.
    comment String
    Comment.
    direction String
    Match files transmitted in the session's originating or reply direction. Valid values: incoming, outgoing, any.
    fileTypes List<ProfileFileFilterEntryFileType>
    Select file type. The structure of file_type block is documented below.
    filter String
    Add a file filter.
    action string
    Action taken for matched file. Valid values: log, block.
    comment string
    Comment.
    direction string
    Match files transmitted in the session's originating or reply direction. Valid values: incoming, outgoing, any.
    fileTypes ProfileFileFilterEntryFileType[]
    Select file type. The structure of file_type block is documented below.
    filter string
    Add a file filter.
    action str
    Action taken for matched file. Valid values: log, block.
    comment str
    Comment.
    direction str
    Match files transmitted in the session's originating or reply direction. Valid values: incoming, outgoing, any.
    file_types Sequence[ProfileFileFilterEntryFileType]
    Select file type. The structure of file_type block is documented below.
    filter str
    Add a file filter.
    action String
    Action taken for matched file. Valid values: log, block.
    comment String
    Comment.
    direction String
    Match files transmitted in the session's originating or reply direction. Valid values: incoming, outgoing, any.
    fileTypes List<Property Map>
    Select file type. The structure of file_type block is documented below.
    filter String
    Add a file filter.

    ProfileFileFilterEntryFileType, ProfileFileFilterEntryFileTypeArgs

    Name string
    File type name.
    Name string
    File type name.
    name String
    File type name.
    name string
    File type name.
    name str
    File type name.
    name String
    File type name.

    ProfileServerKeytab, ProfileServerKeytabArgs

    Keytab string
    Base64 encoded keytab file containing credential of the server.
    Principal string
    Service principal. For example, "host/cifsserver.example.com@example.com".
    Keytab string
    Base64 encoded keytab file containing credential of the server.
    Principal string
    Service principal. For example, "host/cifsserver.example.com@example.com".
    keytab String
    Base64 encoded keytab file containing credential of the server.
    principal String
    Service principal. For example, "host/cifsserver.example.com@example.com".
    keytab string
    Base64 encoded keytab file containing credential of the server.
    principal string
    Service principal. For example, "host/cifsserver.example.com@example.com".
    keytab str
    Base64 encoded keytab file containing credential of the server.
    principal str
    Service principal. For example, "host/cifsserver.example.com@example.com".
    keytab String
    Base64 encoded keytab file containing credential of the server.
    principal String
    Service principal. For example, "host/cifsserver.example.com@example.com".

    Import

    Cifs Profile can be imported using any of these accepted formats:

    $ pulumi import fortios:cifs/profile:Profile labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:cifs/profile:Profile labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse