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

fortios.wirelesscontroller.Bonjourprofile

Explore with Pulumi AI

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

    Configure Bonjour profiles. Bonjour is Apple’s zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connnect to networks using Bonjour.

    Create Bonjourprofile Resource

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

    Constructor syntax

    new Bonjourprofile(name: string, args?: BonjourprofileArgs, opts?: CustomResourceOptions);
    @overload
    def Bonjourprofile(resource_name: str,
                       args: Optional[BonjourprofileArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def Bonjourprofile(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       comment: Optional[str] = None,
                       dynamic_sort_subtable: Optional[str] = None,
                       get_all_tables: Optional[str] = None,
                       name: Optional[str] = None,
                       policy_lists: Optional[Sequence[BonjourprofilePolicyListArgs]] = None,
                       vdomparam: Optional[str] = None)
    func NewBonjourprofile(ctx *Context, name string, args *BonjourprofileArgs, opts ...ResourceOption) (*Bonjourprofile, error)
    public Bonjourprofile(string name, BonjourprofileArgs? args = null, CustomResourceOptions? opts = null)
    public Bonjourprofile(String name, BonjourprofileArgs args)
    public Bonjourprofile(String name, BonjourprofileArgs args, CustomResourceOptions options)
    
    type: fortios:wirelesscontroller:Bonjourprofile
    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 BonjourprofileArgs
    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 BonjourprofileArgs
    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 BonjourprofileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BonjourprofileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BonjourprofileArgs
    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 bonjourprofileResource = new Fortios.Wirelesscontroller.Bonjourprofile("bonjourprofileResource", new()
    {
        Comment = "string",
        DynamicSortSubtable = "string",
        GetAllTables = "string",
        Name = "string",
        PolicyLists = new[]
        {
            new Fortios.Wirelesscontroller.Inputs.BonjourprofilePolicyListArgs
            {
                Description = "string",
                FromVlan = "string",
                PolicyId = 0,
                Services = "string",
                ToVlan = "string",
            },
        },
        Vdomparam = "string",
    });
    
    example, err := wirelesscontroller.NewBonjourprofile(ctx, "bonjourprofileResource", &wirelesscontroller.BonjourprofileArgs{
    	Comment:             pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	PolicyLists: wirelesscontroller.BonjourprofilePolicyListArray{
    		&wirelesscontroller.BonjourprofilePolicyListArgs{
    			Description: pulumi.String("string"),
    			FromVlan:    pulumi.String("string"),
    			PolicyId:    pulumi.Int(0),
    			Services:    pulumi.String("string"),
    			ToVlan:      pulumi.String("string"),
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var bonjourprofileResource = new Bonjourprofile("bonjourprofileResource", BonjourprofileArgs.builder()
        .comment("string")
        .dynamicSortSubtable("string")
        .getAllTables("string")
        .name("string")
        .policyLists(BonjourprofilePolicyListArgs.builder()
            .description("string")
            .fromVlan("string")
            .policyId(0)
            .services("string")
            .toVlan("string")
            .build())
        .vdomparam("string")
        .build());
    
    bonjourprofile_resource = fortios.wirelesscontroller.Bonjourprofile("bonjourprofileResource",
        comment="string",
        dynamic_sort_subtable="string",
        get_all_tables="string",
        name="string",
        policy_lists=[fortios.wirelesscontroller.BonjourprofilePolicyListArgs(
            description="string",
            from_vlan="string",
            policy_id=0,
            services="string",
            to_vlan="string",
        )],
        vdomparam="string")
    
    const bonjourprofileResource = new fortios.wirelesscontroller.Bonjourprofile("bonjourprofileResource", {
        comment: "string",
        dynamicSortSubtable: "string",
        getAllTables: "string",
        name: "string",
        policyLists: [{
            description: "string",
            fromVlan: "string",
            policyId: 0,
            services: "string",
            toVlan: "string",
        }],
        vdomparam: "string",
    });
    
    type: fortios:wirelesscontroller:Bonjourprofile
    properties:
        comment: string
        dynamicSortSubtable: string
        getAllTables: string
        name: string
        policyLists:
            - description: string
              fromVlan: string
              policyId: 0
              services: string
              toVlan: string
        vdomparam: string
    

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

    Comment string
    Comment.
    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 ].
    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
    Bonjour profile name.
    PolicyLists List<Pulumiverse.Fortios.Wirelesscontroller.Inputs.BonjourprofilePolicyList>
    Bonjour policy list. The structure of policy_list 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.
    Comment string
    Comment.
    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 ].
    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
    Bonjour profile name.
    PolicyLists []BonjourprofilePolicyListArgs
    Bonjour policy list. The structure of policy_list 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.
    comment String
    Comment.
    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 ].
    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
    Bonjour profile name.
    policyLists List<BonjourprofilePolicyList>
    Bonjour policy list. The structure of policy_list 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.
    comment string
    Comment.
    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 ].
    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
    Bonjour profile name.
    policyLists BonjourprofilePolicyList[]
    Bonjour policy list. The structure of policy_list 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.
    comment str
    Comment.
    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 ].
    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
    Bonjour profile name.
    policy_lists Sequence[BonjourprofilePolicyListArgs]
    Bonjour policy list. The structure of policy_list 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.
    comment String
    Comment.
    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 ].
    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
    Bonjour profile name.
    policyLists List<Property Map>
    Bonjour policy list. The structure of policy_list 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 Bonjourprofile 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 Bonjourprofile Resource

    Get an existing Bonjourprofile 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?: BonjourprofileState, opts?: CustomResourceOptions): Bonjourprofile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            name: Optional[str] = None,
            policy_lists: Optional[Sequence[BonjourprofilePolicyListArgs]] = None,
            vdomparam: Optional[str] = None) -> Bonjourprofile
    func GetBonjourprofile(ctx *Context, name string, id IDInput, state *BonjourprofileState, opts ...ResourceOption) (*Bonjourprofile, error)
    public static Bonjourprofile Get(string name, Input<string> id, BonjourprofileState? state, CustomResourceOptions? opts = null)
    public static Bonjourprofile get(String name, Output<String> id, BonjourprofileState 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:
    Comment string
    Comment.
    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 ].
    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
    Bonjour profile name.
    PolicyLists List<Pulumiverse.Fortios.Wirelesscontroller.Inputs.BonjourprofilePolicyList>
    Bonjour policy list. The structure of policy_list 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.
    Comment string
    Comment.
    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 ].
    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
    Bonjour profile name.
    PolicyLists []BonjourprofilePolicyListArgs
    Bonjour policy list. The structure of policy_list 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.
    comment String
    Comment.
    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 ].
    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
    Bonjour profile name.
    policyLists List<BonjourprofilePolicyList>
    Bonjour policy list. The structure of policy_list 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.
    comment string
    Comment.
    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 ].
    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
    Bonjour profile name.
    policyLists BonjourprofilePolicyList[]
    Bonjour policy list. The structure of policy_list 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.
    comment str
    Comment.
    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 ].
    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
    Bonjour profile name.
    policy_lists Sequence[BonjourprofilePolicyListArgs]
    Bonjour policy list. The structure of policy_list 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.
    comment String
    Comment.
    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 ].
    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
    Bonjour profile name.
    policyLists List<Property Map>
    Bonjour policy list. The structure of policy_list 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

    BonjourprofilePolicyList, BonjourprofilePolicyListArgs

    Description string
    Description.
    FromVlan string
    VLAN ID from which the Bonjour service is advertised (0 - 4094, default = 0).
    PolicyId int
    Policy ID.
    Services string
    Bonjour services for the VLAN connecting to the Bonjour network.
    ToVlan string
    VLAN ID to which the Bonjour service is made available (0 - 4094, default = all).
    Description string
    Description.
    FromVlan string
    VLAN ID from which the Bonjour service is advertised (0 - 4094, default = 0).
    PolicyId int
    Policy ID.
    Services string
    Bonjour services for the VLAN connecting to the Bonjour network.
    ToVlan string
    VLAN ID to which the Bonjour service is made available (0 - 4094, default = all).
    description String
    Description.
    fromVlan String
    VLAN ID from which the Bonjour service is advertised (0 - 4094, default = 0).
    policyId Integer
    Policy ID.
    services String
    Bonjour services for the VLAN connecting to the Bonjour network.
    toVlan String
    VLAN ID to which the Bonjour service is made available (0 - 4094, default = all).
    description string
    Description.
    fromVlan string
    VLAN ID from which the Bonjour service is advertised (0 - 4094, default = 0).
    policyId number
    Policy ID.
    services string
    Bonjour services for the VLAN connecting to the Bonjour network.
    toVlan string
    VLAN ID to which the Bonjour service is made available (0 - 4094, default = all).
    description str
    Description.
    from_vlan str
    VLAN ID from which the Bonjour service is advertised (0 - 4094, default = 0).
    policy_id int
    Policy ID.
    services str
    Bonjour services for the VLAN connecting to the Bonjour network.
    to_vlan str
    VLAN ID to which the Bonjour service is made available (0 - 4094, default = all).
    description String
    Description.
    fromVlan String
    VLAN ID from which the Bonjour service is advertised (0 - 4094, default = 0).
    policyId Number
    Policy ID.
    services String
    Bonjour services for the VLAN connecting to the Bonjour network.
    toVlan String
    VLAN ID to which the Bonjour service is made available (0 - 4094, default = all).

    Import

    WirelessController BonjourProfile can be imported using any of these accepted formats:

    $ pulumi import fortios:wirelesscontroller/bonjourprofile:Bonjourprofile labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:wirelesscontroller/bonjourprofile:Bonjourprofile 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