fortios.wirelesscontroller/hotspot20.H2qpadviceofcharge
Explore with Pulumi AI
Configure advice of charge. Applies to FortiOS Version >= 7.0.2
.
Create H2qpadviceofcharge Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new H2qpadviceofcharge(name: string, args?: H2qpadviceofchargeArgs, opts?: CustomResourceOptions);
@overload
def H2qpadviceofcharge(resource_name: str,
args: Optional[H2qpadviceofchargeArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def H2qpadviceofcharge(resource_name: str,
opts: Optional[ResourceOptions] = None,
aoc_lists: Optional[Sequence[H2qpadviceofchargeAocListArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
name: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewH2qpadviceofcharge(ctx *Context, name string, args *H2qpadviceofchargeArgs, opts ...ResourceOption) (*H2qpadviceofcharge, error)
public H2qpadviceofcharge(string name, H2qpadviceofchargeArgs? args = null, CustomResourceOptions? opts = null)
public H2qpadviceofcharge(String name, H2qpadviceofchargeArgs args)
public H2qpadviceofcharge(String name, H2qpadviceofchargeArgs args, CustomResourceOptions options)
type: fortios:wirelesscontroller/hotspot20/h2qpadviceofcharge:H2qpadviceofcharge
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 H2qpadviceofchargeArgs
- 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 H2qpadviceofchargeArgs
- 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 H2qpadviceofchargeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args H2qpadviceofchargeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args H2qpadviceofchargeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
H2qpadviceofcharge 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 H2qpadviceofcharge resource accepts the following input properties:
- Aoc
Lists List<Pulumiverse.Fortios. Wirelesscontroller. Hotspot20. Inputs. H2qpadviceofcharge Aoc List> - AOC list. The structure of
aoc_list
block is documented below. - Dynamic
Sort stringSubtable - 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 stringTables - 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
- Plan name.
- 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.
- Aoc
Lists []H2qpadviceofchargeAoc List Args - AOC list. The structure of
aoc_list
block is documented below. - Dynamic
Sort stringSubtable - 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 stringTables - 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
- Plan name.
- 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.
- aoc
Lists List<H2qpadviceofchargeAoc List> - AOC list. The structure of
aoc_list
block is documented below. - dynamic
Sort StringSubtable - 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 StringTables - 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
- Plan name.
- 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.
- aoc
Lists H2qpadviceofchargeAoc List[] - AOC list. The structure of
aoc_list
block is documented below. - dynamic
Sort stringSubtable - 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 stringTables - 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
- Plan name.
- 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.
- aoc_
lists Sequence[H2qpadviceofchargeAoc List Args] - AOC list. The structure of
aoc_list
block is documented below. - dynamic_
sort_ strsubtable - 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_ strtables - 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
- Plan name.
- 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.
- aoc
Lists List<Property Map> - AOC list. The structure of
aoc_list
block is documented below. - dynamic
Sort StringSubtable - 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 StringTables - 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
- Plan name.
- 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 H2qpadviceofcharge 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 H2qpadviceofcharge Resource
Get an existing H2qpadviceofcharge 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?: H2qpadviceofchargeState, opts?: CustomResourceOptions): H2qpadviceofcharge
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aoc_lists: Optional[Sequence[H2qpadviceofchargeAocListArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
name: Optional[str] = None,
vdomparam: Optional[str] = None) -> H2qpadviceofcharge
func GetH2qpadviceofcharge(ctx *Context, name string, id IDInput, state *H2qpadviceofchargeState, opts ...ResourceOption) (*H2qpadviceofcharge, error)
public static H2qpadviceofcharge Get(string name, Input<string> id, H2qpadviceofchargeState? state, CustomResourceOptions? opts = null)
public static H2qpadviceofcharge get(String name, Output<String> id, H2qpadviceofchargeState 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.
- Aoc
Lists List<Pulumiverse.Fortios. Wirelesscontroller. Hotspot20. Inputs. H2qpadviceofcharge Aoc List> - AOC list. The structure of
aoc_list
block is documented below. - Dynamic
Sort stringSubtable - 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 stringTables - 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
- Plan name.
- 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.
- Aoc
Lists []H2qpadviceofchargeAoc List Args - AOC list. The structure of
aoc_list
block is documented below. - Dynamic
Sort stringSubtable - 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 stringTables - 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
- Plan name.
- 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.
- aoc
Lists List<H2qpadviceofchargeAoc List> - AOC list. The structure of
aoc_list
block is documented below. - dynamic
Sort StringSubtable - 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 StringTables - 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
- Plan name.
- 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.
- aoc
Lists H2qpadviceofchargeAoc List[] - AOC list. The structure of
aoc_list
block is documented below. - dynamic
Sort stringSubtable - 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 stringTables - 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
- Plan name.
- 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.
- aoc_
lists Sequence[H2qpadviceofchargeAoc List Args] - AOC list. The structure of
aoc_list
block is documented below. - dynamic_
sort_ strsubtable - 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_ strtables - 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
- Plan name.
- 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.
- aoc
Lists List<Property Map> - AOC list. The structure of
aoc_list
block is documented below. - dynamic
Sort StringSubtable - 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 StringTables - 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
- Plan name.
- 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
H2qpadviceofchargeAocList, H2qpadviceofchargeAocListArgs
- Nai
Realm string - NAI realm list name.
- Nai
Realm stringEncoding - NAI realm encoding.
- Name string
- Advice of charge ID.
- Plan
Infos List<Pulumiverse.Fortios. Wirelesscontroller. Hotspot20. Inputs. H2qpadviceofcharge Aoc List Plan Info> - Plan info. The structure of
plan_info
block is documented below. - Type string
- Usage charge type. Valid values:
time-based
,volume-based
,time-and-volume-based
,unlimited
.
- Nai
Realm string - NAI realm list name.
- Nai
Realm stringEncoding - NAI realm encoding.
- Name string
- Advice of charge ID.
- Plan
Infos []H2qpadviceofchargeAoc List Plan Info - Plan info. The structure of
plan_info
block is documented below. - Type string
- Usage charge type. Valid values:
time-based
,volume-based
,time-and-volume-based
,unlimited
.
- nai
Realm String - NAI realm list name.
- nai
Realm StringEncoding - NAI realm encoding.
- name String
- Advice of charge ID.
- plan
Infos List<H2qpadviceofchargeAoc List Plan Info> - Plan info. The structure of
plan_info
block is documented below. - type String
- Usage charge type. Valid values:
time-based
,volume-based
,time-and-volume-based
,unlimited
.
- nai
Realm string - NAI realm list name.
- nai
Realm stringEncoding - NAI realm encoding.
- name string
- Advice of charge ID.
- plan
Infos H2qpadviceofchargeAoc List Plan Info[] - Plan info. The structure of
plan_info
block is documented below. - type string
- Usage charge type. Valid values:
time-based
,volume-based
,time-and-volume-based
,unlimited
.
- nai_
realm str - NAI realm list name.
- nai_
realm_ strencoding - NAI realm encoding.
- name str
- Advice of charge ID.
- plan_
infos Sequence[H2qpadviceofchargeAoc List Plan Info] - Plan info. The structure of
plan_info
block is documented below. - type str
- Usage charge type. Valid values:
time-based
,volume-based
,time-and-volume-based
,unlimited
.
- nai
Realm String - NAI realm list name.
- nai
Realm StringEncoding - NAI realm encoding.
- name String
- Advice of charge ID.
- plan
Infos List<Property Map> - Plan info. The structure of
plan_info
block is documented below. - type String
- Usage charge type. Valid values:
time-based
,volume-based
,time-and-volume-based
,unlimited
.
H2qpadviceofchargeAocListPlanInfo, H2qpadviceofchargeAocListPlanInfoArgs
Import
WirelessControllerHotspot20 H2QpAdviceOfCharge can be imported using any of these accepted formats:
$ pulumi import fortios:wirelesscontroller/hotspot20/h2qpadviceofcharge:H2qpadviceofcharge labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:wirelesscontroller/hotspot20/h2qpadviceofcharge:H2qpadviceofcharge 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.