Documentation
¶
Index ¶
- type Template
- type TemplateArgs
- type TemplateArray
- type TemplateArrayInput
- type TemplateArrayOutput
- type TemplateInput
- type TemplateMap
- type TemplateMapInput
- type TemplateMapOutput
- type TemplateOutput
- func (o TemplateOutput) Allowaccess() pulumi.StringOutput
- func (o TemplateOutput) AutoIp() pulumi.StringOutput
- func (o TemplateOutput) DhcpServer() pulumi.StringOutput
- func (TemplateOutput) ElementType() reflect.Type
- func (o TemplateOutput) Ip() pulumi.StringOutput
- func (o TemplateOutput) Name() pulumi.StringOutput
- func (o TemplateOutput) ToTemplateOutput() TemplateOutput
- func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
- func (o TemplateOutput) Vdomparam() pulumi.StringOutput
- func (o TemplateOutput) Vlanid() pulumi.IntOutput
- type TemplateState
- type Vlans
- type VlansArgs
- type VlansArray
- type VlansArrayInput
- type VlansArrayOutput
- type VlansInput
- type VlansMap
- type VlansMapInput
- type VlansMapOutput
- type VlansOutput
- func (o VlansOutput) DefaultVlan() pulumi.StringOutput
- func (VlansOutput) ElementType() reflect.Type
- func (o VlansOutput) Nac() pulumi.StringOutput
- func (o VlansOutput) NacSegment() pulumi.StringOutput
- func (o VlansOutput) Quarantine() pulumi.StringOutput
- func (o VlansOutput) Rspan() pulumi.StringOutput
- func (o VlansOutput) ToVlansOutput() VlansOutput
- func (o VlansOutput) ToVlansOutputWithContext(ctx context.Context) VlansOutput
- func (o VlansOutput) Vdomparam() pulumi.StringOutput
- func (o VlansOutput) Video() pulumi.StringOutput
- func (o VlansOutput) Voice() pulumi.StringOutput
- type VlansState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct { pulumi.CustomResourceState // Permitted types of management access to this interface. Valid values: `ping`, `https`, `ssh`, `snmp`, `http`, `telnet`, `fgfm`, `radius-acct`, `probe-response`, `fabric`, `ftm`. Allowaccess pulumi.StringOutput `pulumi:"allowaccess"` // Automatically allocate interface address and subnet block. Valid values: `enable`, `disable`. AutoIp pulumi.StringOutput `pulumi:"autoIp"` // Enable/disable a DHCP server on this interface. Valid values: `enable`, `disable`. DhcpServer pulumi.StringOutput `pulumi:"dhcpServer"` // Interface IPv4 address and subnet mask. Ip pulumi.StringOutput `pulumi:"ip"` // Initial config template name Name pulumi.StringOutput `pulumi:"name"` // 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. Vdomparam pulumi.StringOutput `pulumi:"vdomparam"` // Unique VLAN ID. Vlanid pulumi.IntOutput `pulumi:"vlanid"` }
Configure template for auto-generated VLANs. Applies to FortiOS Version `>= 6.4.0`.
## Import
SwitchControllerInitialConfig Template can be imported using any of these accepted formats:
```sh $ pulumi import fortios:switchcontroller/initialconfig/template:Template labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:switchcontroller/initialconfig/template:Template labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetTemplate ¶
func GetTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TemplateState, opts ...pulumi.ResourceOption) (*Template, error)
GetTemplate gets an existing Template resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTemplate ¶
func NewTemplate(ctx *pulumi.Context, name string, args *TemplateArgs, opts ...pulumi.ResourceOption) (*Template, error)
NewTemplate registers a new resource with the given unique name, arguments, and options.
func (*Template) ElementType ¶
func (*Template) ToTemplateOutput ¶
func (i *Template) ToTemplateOutput() TemplateOutput
func (*Template) ToTemplateOutputWithContext ¶
func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
type TemplateArgs ¶
type TemplateArgs struct { // Permitted types of management access to this interface. Valid values: `ping`, `https`, `ssh`, `snmp`, `http`, `telnet`, `fgfm`, `radius-acct`, `probe-response`, `fabric`, `ftm`. Allowaccess pulumi.StringPtrInput // Automatically allocate interface address and subnet block. Valid values: `enable`, `disable`. AutoIp pulumi.StringPtrInput // Enable/disable a DHCP server on this interface. Valid values: `enable`, `disable`. DhcpServer pulumi.StringPtrInput // Interface IPv4 address and subnet mask. Ip pulumi.StringPtrInput // Initial config template name Name pulumi.StringPtrInput // 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. Vdomparam pulumi.StringPtrInput // Unique VLAN ID. Vlanid pulumi.IntPtrInput }
The set of arguments for constructing a Template resource.
func (TemplateArgs) ElementType ¶
func (TemplateArgs) ElementType() reflect.Type
type TemplateArray ¶
type TemplateArray []TemplateInput
func (TemplateArray) ElementType ¶
func (TemplateArray) ElementType() reflect.Type
func (TemplateArray) ToTemplateArrayOutput ¶
func (i TemplateArray) ToTemplateArrayOutput() TemplateArrayOutput
func (TemplateArray) ToTemplateArrayOutputWithContext ¶
func (i TemplateArray) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput
type TemplateArrayInput ¶
type TemplateArrayInput interface { pulumi.Input ToTemplateArrayOutput() TemplateArrayOutput ToTemplateArrayOutputWithContext(context.Context) TemplateArrayOutput }
TemplateArrayInput is an input type that accepts TemplateArray and TemplateArrayOutput values. You can construct a concrete instance of `TemplateArrayInput` via:
TemplateArray{ TemplateArgs{...} }
type TemplateArrayOutput ¶
type TemplateArrayOutput struct{ *pulumi.OutputState }
func (TemplateArrayOutput) ElementType ¶
func (TemplateArrayOutput) ElementType() reflect.Type
func (TemplateArrayOutput) Index ¶
func (o TemplateArrayOutput) Index(i pulumi.IntInput) TemplateOutput
func (TemplateArrayOutput) ToTemplateArrayOutput ¶
func (o TemplateArrayOutput) ToTemplateArrayOutput() TemplateArrayOutput
func (TemplateArrayOutput) ToTemplateArrayOutputWithContext ¶
func (o TemplateArrayOutput) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput
type TemplateInput ¶
type TemplateInput interface { pulumi.Input ToTemplateOutput() TemplateOutput ToTemplateOutputWithContext(ctx context.Context) TemplateOutput }
type TemplateMap ¶
type TemplateMap map[string]TemplateInput
func (TemplateMap) ElementType ¶
func (TemplateMap) ElementType() reflect.Type
func (TemplateMap) ToTemplateMapOutput ¶
func (i TemplateMap) ToTemplateMapOutput() TemplateMapOutput
func (TemplateMap) ToTemplateMapOutputWithContext ¶
func (i TemplateMap) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput
type TemplateMapInput ¶
type TemplateMapInput interface { pulumi.Input ToTemplateMapOutput() TemplateMapOutput ToTemplateMapOutputWithContext(context.Context) TemplateMapOutput }
TemplateMapInput is an input type that accepts TemplateMap and TemplateMapOutput values. You can construct a concrete instance of `TemplateMapInput` via:
TemplateMap{ "key": TemplateArgs{...} }
type TemplateMapOutput ¶
type TemplateMapOutput struct{ *pulumi.OutputState }
func (TemplateMapOutput) ElementType ¶
func (TemplateMapOutput) ElementType() reflect.Type
func (TemplateMapOutput) MapIndex ¶
func (o TemplateMapOutput) MapIndex(k pulumi.StringInput) TemplateOutput
func (TemplateMapOutput) ToTemplateMapOutput ¶
func (o TemplateMapOutput) ToTemplateMapOutput() TemplateMapOutput
func (TemplateMapOutput) ToTemplateMapOutputWithContext ¶
func (o TemplateMapOutput) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput
type TemplateOutput ¶
type TemplateOutput struct{ *pulumi.OutputState }
func (TemplateOutput) Allowaccess ¶
func (o TemplateOutput) Allowaccess() pulumi.StringOutput
Permitted types of management access to this interface. Valid values: `ping`, `https`, `ssh`, `snmp`, `http`, `telnet`, `fgfm`, `radius-acct`, `probe-response`, `fabric`, `ftm`.
func (TemplateOutput) AutoIp ¶
func (o TemplateOutput) AutoIp() pulumi.StringOutput
Automatically allocate interface address and subnet block. Valid values: `enable`, `disable`.
func (TemplateOutput) DhcpServer ¶
func (o TemplateOutput) DhcpServer() pulumi.StringOutput
Enable/disable a DHCP server on this interface. Valid values: `enable`, `disable`.
func (TemplateOutput) ElementType ¶
func (TemplateOutput) ElementType() reflect.Type
func (TemplateOutput) Ip ¶
func (o TemplateOutput) Ip() pulumi.StringOutput
Interface IPv4 address and subnet mask.
func (TemplateOutput) Name ¶
func (o TemplateOutput) Name() pulumi.StringOutput
Initial config template name
func (TemplateOutput) ToTemplateOutput ¶
func (o TemplateOutput) ToTemplateOutput() TemplateOutput
func (TemplateOutput) ToTemplateOutputWithContext ¶
func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
func (TemplateOutput) Vdomparam ¶
func (o TemplateOutput) Vdomparam() pulumi.StringOutput
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.
type TemplateState ¶
type TemplateState struct { // Permitted types of management access to this interface. Valid values: `ping`, `https`, `ssh`, `snmp`, `http`, `telnet`, `fgfm`, `radius-acct`, `probe-response`, `fabric`, `ftm`. Allowaccess pulumi.StringPtrInput // Automatically allocate interface address and subnet block. Valid values: `enable`, `disable`. AutoIp pulumi.StringPtrInput // Enable/disable a DHCP server on this interface. Valid values: `enable`, `disable`. DhcpServer pulumi.StringPtrInput // Interface IPv4 address and subnet mask. Ip pulumi.StringPtrInput // Initial config template name Name pulumi.StringPtrInput // 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. Vdomparam pulumi.StringPtrInput // Unique VLAN ID. Vlanid pulumi.IntPtrInput }
func (TemplateState) ElementType ¶
func (TemplateState) ElementType() reflect.Type
type Vlans ¶
type Vlans struct { pulumi.CustomResourceState // Default VLAN (native) assigned to all switch ports upon discovery. DefaultVlan pulumi.StringOutput `pulumi:"defaultVlan"` // VLAN for NAC onboarding devices. Nac pulumi.StringOutput `pulumi:"nac"` // VLAN for NAC segemnt primary interface. NacSegment pulumi.StringOutput `pulumi:"nacSegment"` // VLAN for quarantined traffic. Quarantine pulumi.StringOutput `pulumi:"quarantine"` // VLAN for RSPAN/ERSPAN mirrored traffic. Rspan pulumi.StringOutput `pulumi:"rspan"` // 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. Vdomparam pulumi.StringOutput `pulumi:"vdomparam"` // VLAN dedicated for video devices. Video pulumi.StringOutput `pulumi:"video"` // VLAN dedicated for voice devices. Voice pulumi.StringOutput `pulumi:"voice"` }
Configure initial template for auto-generated VLAN interfaces. Applies to FortiOS Version `>= 6.4.0`.
## Import
SwitchControllerInitialConfig Vlans can be imported using any of these accepted formats:
```sh $ pulumi import fortios:switchcontroller/initialconfig/vlans:Vlans labelname SwitchControllerInitialConfigVlans ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:switchcontroller/initialconfig/vlans:Vlans labelname SwitchControllerInitialConfigVlans ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetVlans ¶
func GetVlans(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VlansState, opts ...pulumi.ResourceOption) (*Vlans, error)
GetVlans gets an existing Vlans resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVlans ¶
func NewVlans(ctx *pulumi.Context, name string, args *VlansArgs, opts ...pulumi.ResourceOption) (*Vlans, error)
NewVlans registers a new resource with the given unique name, arguments, and options.
func (*Vlans) ElementType ¶
func (*Vlans) ToVlansOutput ¶
func (i *Vlans) ToVlansOutput() VlansOutput
func (*Vlans) ToVlansOutputWithContext ¶
func (i *Vlans) ToVlansOutputWithContext(ctx context.Context) VlansOutput
type VlansArgs ¶
type VlansArgs struct { // Default VLAN (native) assigned to all switch ports upon discovery. DefaultVlan pulumi.StringPtrInput // VLAN for NAC onboarding devices. Nac pulumi.StringPtrInput // VLAN for NAC segemnt primary interface. NacSegment pulumi.StringPtrInput // VLAN for quarantined traffic. Quarantine pulumi.StringPtrInput // VLAN for RSPAN/ERSPAN mirrored traffic. Rspan pulumi.StringPtrInput // 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. Vdomparam pulumi.StringPtrInput // VLAN dedicated for video devices. Video pulumi.StringPtrInput // VLAN dedicated for voice devices. Voice pulumi.StringPtrInput }
The set of arguments for constructing a Vlans resource.
func (VlansArgs) ElementType ¶
type VlansArray ¶
type VlansArray []VlansInput
func (VlansArray) ElementType ¶
func (VlansArray) ElementType() reflect.Type
func (VlansArray) ToVlansArrayOutput ¶
func (i VlansArray) ToVlansArrayOutput() VlansArrayOutput
func (VlansArray) ToVlansArrayOutputWithContext ¶
func (i VlansArray) ToVlansArrayOutputWithContext(ctx context.Context) VlansArrayOutput
type VlansArrayInput ¶
type VlansArrayInput interface { pulumi.Input ToVlansArrayOutput() VlansArrayOutput ToVlansArrayOutputWithContext(context.Context) VlansArrayOutput }
VlansArrayInput is an input type that accepts VlansArray and VlansArrayOutput values. You can construct a concrete instance of `VlansArrayInput` via:
VlansArray{ VlansArgs{...} }
type VlansArrayOutput ¶
type VlansArrayOutput struct{ *pulumi.OutputState }
func (VlansArrayOutput) ElementType ¶
func (VlansArrayOutput) ElementType() reflect.Type
func (VlansArrayOutput) Index ¶
func (o VlansArrayOutput) Index(i pulumi.IntInput) VlansOutput
func (VlansArrayOutput) ToVlansArrayOutput ¶
func (o VlansArrayOutput) ToVlansArrayOutput() VlansArrayOutput
func (VlansArrayOutput) ToVlansArrayOutputWithContext ¶
func (o VlansArrayOutput) ToVlansArrayOutputWithContext(ctx context.Context) VlansArrayOutput
type VlansInput ¶
type VlansInput interface { pulumi.Input ToVlansOutput() VlansOutput ToVlansOutputWithContext(ctx context.Context) VlansOutput }
type VlansMap ¶
type VlansMap map[string]VlansInput
func (VlansMap) ElementType ¶
func (VlansMap) ToVlansMapOutput ¶
func (i VlansMap) ToVlansMapOutput() VlansMapOutput
func (VlansMap) ToVlansMapOutputWithContext ¶
func (i VlansMap) ToVlansMapOutputWithContext(ctx context.Context) VlansMapOutput
type VlansMapInput ¶
type VlansMapInput interface { pulumi.Input ToVlansMapOutput() VlansMapOutput ToVlansMapOutputWithContext(context.Context) VlansMapOutput }
VlansMapInput is an input type that accepts VlansMap and VlansMapOutput values. You can construct a concrete instance of `VlansMapInput` via:
VlansMap{ "key": VlansArgs{...} }
type VlansMapOutput ¶
type VlansMapOutput struct{ *pulumi.OutputState }
func (VlansMapOutput) ElementType ¶
func (VlansMapOutput) ElementType() reflect.Type
func (VlansMapOutput) MapIndex ¶
func (o VlansMapOutput) MapIndex(k pulumi.StringInput) VlansOutput
func (VlansMapOutput) ToVlansMapOutput ¶
func (o VlansMapOutput) ToVlansMapOutput() VlansMapOutput
func (VlansMapOutput) ToVlansMapOutputWithContext ¶
func (o VlansMapOutput) ToVlansMapOutputWithContext(ctx context.Context) VlansMapOutput
type VlansOutput ¶
type VlansOutput struct{ *pulumi.OutputState }
func (VlansOutput) DefaultVlan ¶
func (o VlansOutput) DefaultVlan() pulumi.StringOutput
Default VLAN (native) assigned to all switch ports upon discovery.
func (VlansOutput) ElementType ¶
func (VlansOutput) ElementType() reflect.Type
func (VlansOutput) Nac ¶
func (o VlansOutput) Nac() pulumi.StringOutput
VLAN for NAC onboarding devices.
func (VlansOutput) NacSegment ¶
func (o VlansOutput) NacSegment() pulumi.StringOutput
VLAN for NAC segemnt primary interface.
func (VlansOutput) Quarantine ¶
func (o VlansOutput) Quarantine() pulumi.StringOutput
VLAN for quarantined traffic.
func (VlansOutput) Rspan ¶
func (o VlansOutput) Rspan() pulumi.StringOutput
VLAN for RSPAN/ERSPAN mirrored traffic.
func (VlansOutput) ToVlansOutput ¶
func (o VlansOutput) ToVlansOutput() VlansOutput
func (VlansOutput) ToVlansOutputWithContext ¶
func (o VlansOutput) ToVlansOutputWithContext(ctx context.Context) VlansOutput
func (VlansOutput) Vdomparam ¶
func (o VlansOutput) Vdomparam() pulumi.StringOutput
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.
func (VlansOutput) Video ¶
func (o VlansOutput) Video() pulumi.StringOutput
VLAN dedicated for video devices.
func (VlansOutput) Voice ¶
func (o VlansOutput) Voice() pulumi.StringOutput
VLAN dedicated for voice devices.
type VlansState ¶
type VlansState struct { // Default VLAN (native) assigned to all switch ports upon discovery. DefaultVlan pulumi.StringPtrInput // VLAN for NAC onboarding devices. Nac pulumi.StringPtrInput // VLAN for NAC segemnt primary interface. NacSegment pulumi.StringPtrInput // VLAN for quarantined traffic. Quarantine pulumi.StringPtrInput // VLAN for RSPAN/ERSPAN mirrored traffic. Rspan pulumi.StringPtrInput // 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. Vdomparam pulumi.StringPtrInput // VLAN dedicated for video devices. Video pulumi.StringPtrInput // VLAN dedicated for voice devices. Voice pulumi.StringPtrInput }
func (VlansState) ElementType ¶
func (VlansState) ElementType() reflect.Type