Documentation
¶
Index ¶
- type Community
- type CommunityArgs
- type CommunityArray
- type CommunityArrayInput
- type CommunityArrayOutput
- func (CommunityArrayOutput) ElementType() reflect.Type
- func (o CommunityArrayOutput) Index(i pulumi.IntInput) CommunityOutput
- func (o CommunityArrayOutput) ToCommunityArrayOutput() CommunityArrayOutput
- func (o CommunityArrayOutput) ToCommunityArrayOutputWithContext(ctx context.Context) CommunityArrayOutput
- type CommunityHost
- type CommunityHostArgs
- type CommunityHostArray
- type CommunityHostArrayInput
- type CommunityHostArrayOutput
- func (CommunityHostArrayOutput) ElementType() reflect.Type
- func (o CommunityHostArrayOutput) Index(i pulumi.IntInput) CommunityHostOutput
- func (o CommunityHostArrayOutput) ToCommunityHostArrayOutput() CommunityHostArrayOutput
- func (o CommunityHostArrayOutput) ToCommunityHostArrayOutputWithContext(ctx context.Context) CommunityHostArrayOutput
- type CommunityHostInput
- type CommunityHostOutput
- func (CommunityHostOutput) ElementType() reflect.Type
- func (o CommunityHostOutput) HaDirect() pulumi.StringPtrOutput
- func (o CommunityHostOutput) HostType() pulumi.StringPtrOutput
- func (o CommunityHostOutput) Id() pulumi.IntPtrOutput
- func (o CommunityHostOutput) Ip() pulumi.StringPtrOutput
- func (o CommunityHostOutput) SourceIp() pulumi.StringPtrOutput
- func (o CommunityHostOutput) ToCommunityHostOutput() CommunityHostOutput
- func (o CommunityHostOutput) ToCommunityHostOutputWithContext(ctx context.Context) CommunityHostOutput
- type CommunityHosts6
- type CommunityHosts6Args
- type CommunityHosts6Array
- type CommunityHosts6ArrayInput
- type CommunityHosts6ArrayOutput
- func (CommunityHosts6ArrayOutput) ElementType() reflect.Type
- func (o CommunityHosts6ArrayOutput) Index(i pulumi.IntInput) CommunityHosts6Output
- func (o CommunityHosts6ArrayOutput) ToCommunityHosts6ArrayOutput() CommunityHosts6ArrayOutput
- func (o CommunityHosts6ArrayOutput) ToCommunityHosts6ArrayOutputWithContext(ctx context.Context) CommunityHosts6ArrayOutput
- type CommunityHosts6Input
- type CommunityHosts6Output
- func (CommunityHosts6Output) ElementType() reflect.Type
- func (o CommunityHosts6Output) HaDirect() pulumi.StringPtrOutput
- func (o CommunityHosts6Output) HostType() pulumi.StringPtrOutput
- func (o CommunityHosts6Output) Id() pulumi.IntPtrOutput
- func (o CommunityHosts6Output) Ipv6() pulumi.StringPtrOutput
- func (o CommunityHosts6Output) SourceIpv6() pulumi.StringPtrOutput
- func (o CommunityHosts6Output) ToCommunityHosts6Output() CommunityHosts6Output
- func (o CommunityHosts6Output) ToCommunityHosts6OutputWithContext(ctx context.Context) CommunityHosts6Output
- type CommunityInput
- type CommunityMap
- type CommunityMapInput
- type CommunityMapOutput
- type CommunityOutput
- func (o CommunityOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (CommunityOutput) ElementType() reflect.Type
- func (o CommunityOutput) Events() pulumi.StringOutput
- func (o CommunityOutput) Fosid() pulumi.IntOutput
- func (o CommunityOutput) GetAllTables() pulumi.StringPtrOutput
- func (o CommunityOutput) Hosts() CommunityHostArrayOutput
- func (o CommunityOutput) Hosts6s() CommunityHosts6ArrayOutput
- func (o CommunityOutput) MibView() pulumi.StringOutput
- func (o CommunityOutput) Name() pulumi.StringOutput
- func (o CommunityOutput) QueryV1Port() pulumi.IntOutput
- func (o CommunityOutput) QueryV1Status() pulumi.StringOutput
- func (o CommunityOutput) QueryV2cPort() pulumi.IntOutput
- func (o CommunityOutput) QueryV2cStatus() pulumi.StringOutput
- func (o CommunityOutput) Status() pulumi.StringOutput
- func (o CommunityOutput) ToCommunityOutput() CommunityOutput
- func (o CommunityOutput) ToCommunityOutputWithContext(ctx context.Context) CommunityOutput
- func (o CommunityOutput) TrapV1Lport() pulumi.IntOutput
- func (o CommunityOutput) TrapV1Rport() pulumi.IntOutput
- func (o CommunityOutput) TrapV1Status() pulumi.StringOutput
- func (o CommunityOutput) TrapV2cLport() pulumi.IntOutput
- func (o CommunityOutput) TrapV2cRport() pulumi.IntOutput
- func (o CommunityOutput) TrapV2cStatus() pulumi.StringOutput
- func (o CommunityOutput) Vdomparam() pulumi.StringOutput
- func (o CommunityOutput) Vdoms() CommunityVdomArrayOutput
- type CommunityState
- type CommunityVdom
- type CommunityVdomArgs
- type CommunityVdomArray
- type CommunityVdomArrayInput
- type CommunityVdomArrayOutput
- func (CommunityVdomArrayOutput) ElementType() reflect.Type
- func (o CommunityVdomArrayOutput) Index(i pulumi.IntInput) CommunityVdomOutput
- func (o CommunityVdomArrayOutput) ToCommunityVdomArrayOutput() CommunityVdomArrayOutput
- func (o CommunityVdomArrayOutput) ToCommunityVdomArrayOutputWithContext(ctx context.Context) CommunityVdomArrayOutput
- type CommunityVdomInput
- type CommunityVdomOutput
- type GetCommunityHost
- type GetCommunityHostArgs
- type GetCommunityHostArray
- type GetCommunityHostArrayInput
- type GetCommunityHostArrayOutput
- func (GetCommunityHostArrayOutput) ElementType() reflect.Type
- func (o GetCommunityHostArrayOutput) Index(i pulumi.IntInput) GetCommunityHostOutput
- func (o GetCommunityHostArrayOutput) ToGetCommunityHostArrayOutput() GetCommunityHostArrayOutput
- func (o GetCommunityHostArrayOutput) ToGetCommunityHostArrayOutputWithContext(ctx context.Context) GetCommunityHostArrayOutput
- type GetCommunityHostInput
- type GetCommunityHostOutput
- func (GetCommunityHostOutput) ElementType() reflect.Type
- func (o GetCommunityHostOutput) HaDirect() pulumi.StringOutput
- func (o GetCommunityHostOutput) HostType() pulumi.StringOutput
- func (o GetCommunityHostOutput) Id() pulumi.IntOutput
- func (o GetCommunityHostOutput) Ip() pulumi.StringOutput
- func (o GetCommunityHostOutput) SourceIp() pulumi.StringOutput
- func (o GetCommunityHostOutput) ToGetCommunityHostOutput() GetCommunityHostOutput
- func (o GetCommunityHostOutput) ToGetCommunityHostOutputWithContext(ctx context.Context) GetCommunityHostOutput
- type GetCommunityHosts6
- type GetCommunityHosts6Args
- type GetCommunityHosts6Array
- type GetCommunityHosts6ArrayInput
- type GetCommunityHosts6ArrayOutput
- func (GetCommunityHosts6ArrayOutput) ElementType() reflect.Type
- func (o GetCommunityHosts6ArrayOutput) Index(i pulumi.IntInput) GetCommunityHosts6Output
- func (o GetCommunityHosts6ArrayOutput) ToGetCommunityHosts6ArrayOutput() GetCommunityHosts6ArrayOutput
- func (o GetCommunityHosts6ArrayOutput) ToGetCommunityHosts6ArrayOutputWithContext(ctx context.Context) GetCommunityHosts6ArrayOutput
- type GetCommunityHosts6Input
- type GetCommunityHosts6Output
- func (GetCommunityHosts6Output) ElementType() reflect.Type
- func (o GetCommunityHosts6Output) HaDirect() pulumi.StringOutput
- func (o GetCommunityHosts6Output) HostType() pulumi.StringOutput
- func (o GetCommunityHosts6Output) Id() pulumi.IntOutput
- func (o GetCommunityHosts6Output) Ipv6() pulumi.StringOutput
- func (o GetCommunityHosts6Output) SourceIpv6() pulumi.StringOutput
- func (o GetCommunityHosts6Output) ToGetCommunityHosts6Output() GetCommunityHosts6Output
- func (o GetCommunityHosts6Output) ToGetCommunityHosts6OutputWithContext(ctx context.Context) GetCommunityHosts6Output
- type GetCommunityVdom
- type GetCommunityVdomArgs
- type GetCommunityVdomArray
- type GetCommunityVdomArrayInput
- type GetCommunityVdomArrayOutput
- func (GetCommunityVdomArrayOutput) ElementType() reflect.Type
- func (o GetCommunityVdomArrayOutput) Index(i pulumi.IntInput) GetCommunityVdomOutput
- func (o GetCommunityVdomArrayOutput) ToGetCommunityVdomArrayOutput() GetCommunityVdomArrayOutput
- func (o GetCommunityVdomArrayOutput) ToGetCommunityVdomArrayOutputWithContext(ctx context.Context) GetCommunityVdomArrayOutput
- type GetCommunityVdomInput
- type GetCommunityVdomOutput
- func (GetCommunityVdomOutput) ElementType() reflect.Type
- func (o GetCommunityVdomOutput) Name() pulumi.StringOutput
- func (o GetCommunityVdomOutput) ToGetCommunityVdomOutput() GetCommunityVdomOutput
- func (o GetCommunityVdomOutput) ToGetCommunityVdomOutputWithContext(ctx context.Context) GetCommunityVdomOutput
- type GetCommunitylistArgs
- type GetCommunitylistOutputArgs
- type GetCommunitylistResult
- type GetCommunitylistResultOutput
- func (GetCommunitylistResultOutput) ElementType() reflect.Type
- func (o GetCommunitylistResultOutput) Filter() pulumi.StringPtrOutput
- func (o GetCommunitylistResultOutput) Fosidlists() pulumi.IntArrayOutput
- func (o GetCommunitylistResultOutput) Id() pulumi.StringOutput
- func (o GetCommunitylistResultOutput) ToGetCommunitylistResultOutput() GetCommunitylistResultOutput
- func (o GetCommunitylistResultOutput) ToGetCommunitylistResultOutputWithContext(ctx context.Context) GetCommunitylistResultOutput
- func (o GetCommunitylistResultOutput) Vdomparam() pulumi.StringPtrOutput
- type GetUserVdom
- type GetUserVdomArgs
- type GetUserVdomArray
- type GetUserVdomArrayInput
- type GetUserVdomArrayOutput
- func (GetUserVdomArrayOutput) ElementType() reflect.Type
- func (o GetUserVdomArrayOutput) Index(i pulumi.IntInput) GetUserVdomOutput
- func (o GetUserVdomArrayOutput) ToGetUserVdomArrayOutput() GetUserVdomArrayOutput
- func (o GetUserVdomArrayOutput) ToGetUserVdomArrayOutputWithContext(ctx context.Context) GetUserVdomArrayOutput
- type GetUserVdomInput
- type GetUserVdomOutput
- type GetUserlistArgs
- type GetUserlistOutputArgs
- type GetUserlistResult
- type GetUserlistResultOutput
- func (GetUserlistResultOutput) ElementType() reflect.Type
- func (o GetUserlistResultOutput) Filter() pulumi.StringPtrOutput
- func (o GetUserlistResultOutput) Id() pulumi.StringOutput
- func (o GetUserlistResultOutput) Namelists() pulumi.StringArrayOutput
- func (o GetUserlistResultOutput) ToGetUserlistResultOutput() GetUserlistResultOutput
- func (o GetUserlistResultOutput) ToGetUserlistResultOutputWithContext(ctx context.Context) GetUserlistResultOutput
- func (o GetUserlistResultOutput) Vdomparam() pulumi.StringPtrOutput
- type LookupCommunityArgs
- type LookupCommunityOutputArgs
- type LookupCommunityResult
- type LookupCommunityResultOutput
- func (LookupCommunityResultOutput) ElementType() reflect.Type
- func (o LookupCommunityResultOutput) Events() pulumi.StringOutput
- func (o LookupCommunityResultOutput) Fosid() pulumi.IntOutput
- func (o LookupCommunityResultOutput) Hosts() GetCommunityHostArrayOutput
- func (o LookupCommunityResultOutput) Hosts6s() GetCommunityHosts6ArrayOutput
- func (o LookupCommunityResultOutput) Id() pulumi.StringOutput
- func (o LookupCommunityResultOutput) MibView() pulumi.StringOutput
- func (o LookupCommunityResultOutput) Name() pulumi.StringOutput
- func (o LookupCommunityResultOutput) QueryV1Port() pulumi.IntOutput
- func (o LookupCommunityResultOutput) QueryV1Status() pulumi.StringOutput
- func (o LookupCommunityResultOutput) QueryV2cPort() pulumi.IntOutput
- func (o LookupCommunityResultOutput) QueryV2cStatus() pulumi.StringOutput
- func (o LookupCommunityResultOutput) Status() pulumi.StringOutput
- func (o LookupCommunityResultOutput) ToLookupCommunityResultOutput() LookupCommunityResultOutput
- func (o LookupCommunityResultOutput) ToLookupCommunityResultOutputWithContext(ctx context.Context) LookupCommunityResultOutput
- func (o LookupCommunityResultOutput) TrapV1Lport() pulumi.IntOutput
- func (o LookupCommunityResultOutput) TrapV1Rport() pulumi.IntOutput
- func (o LookupCommunityResultOutput) TrapV1Status() pulumi.StringOutput
- func (o LookupCommunityResultOutput) TrapV2cLport() pulumi.IntOutput
- func (o LookupCommunityResultOutput) TrapV2cRport() pulumi.IntOutput
- func (o LookupCommunityResultOutput) TrapV2cStatus() pulumi.StringOutput
- func (o LookupCommunityResultOutput) Vdomparam() pulumi.StringPtrOutput
- func (o LookupCommunityResultOutput) Vdoms() GetCommunityVdomArrayOutput
- type LookupSysinfoArgs
- type LookupSysinfoOutputArgs
- type LookupSysinfoResult
- type LookupSysinfoResultOutput
- func (o LookupSysinfoResultOutput) AppendIndex() pulumi.StringOutput
- func (o LookupSysinfoResultOutput) ContactInfo() pulumi.StringOutput
- func (o LookupSysinfoResultOutput) Description() pulumi.StringOutput
- func (LookupSysinfoResultOutput) ElementType() reflect.Type
- func (o LookupSysinfoResultOutput) EngineId() pulumi.StringOutput
- func (o LookupSysinfoResultOutput) EngineIdType() pulumi.StringOutput
- func (o LookupSysinfoResultOutput) Id() pulumi.StringOutput
- func (o LookupSysinfoResultOutput) Location() pulumi.StringOutput
- func (o LookupSysinfoResultOutput) Status() pulumi.StringOutput
- func (o LookupSysinfoResultOutput) ToLookupSysinfoResultOutput() LookupSysinfoResultOutput
- func (o LookupSysinfoResultOutput) ToLookupSysinfoResultOutputWithContext(ctx context.Context) LookupSysinfoResultOutput
- func (o LookupSysinfoResultOutput) TrapFreeMemoryThreshold() pulumi.IntOutput
- func (o LookupSysinfoResultOutput) TrapFreeableMemoryThreshold() pulumi.IntOutput
- func (o LookupSysinfoResultOutput) TrapHighCpuThreshold() pulumi.IntOutput
- func (o LookupSysinfoResultOutput) TrapLogFullThreshold() pulumi.IntOutput
- func (o LookupSysinfoResultOutput) TrapLowMemoryThreshold() pulumi.IntOutput
- func (o LookupSysinfoResultOutput) Vdomparam() pulumi.StringPtrOutput
- type LookupUserArgs
- type LookupUserOutputArgs
- type LookupUserResult
- type LookupUserResultOutput
- func (o LookupUserResultOutput) AuthProto() pulumi.StringOutput
- func (o LookupUserResultOutput) AuthPwd() pulumi.StringOutput
- func (LookupUserResultOutput) ElementType() reflect.Type
- func (o LookupUserResultOutput) Events() pulumi.StringOutput
- func (o LookupUserResultOutput) HaDirect() pulumi.StringOutput
- func (o LookupUserResultOutput) Id() pulumi.StringOutput
- func (o LookupUserResultOutput) MibView() pulumi.StringOutput
- func (o LookupUserResultOutput) Name() pulumi.StringOutput
- func (o LookupUserResultOutput) NotifyHosts() pulumi.StringOutput
- func (o LookupUserResultOutput) NotifyHosts6() pulumi.StringOutput
- func (o LookupUserResultOutput) PrivProto() pulumi.StringOutput
- func (o LookupUserResultOutput) PrivPwd() pulumi.StringOutput
- func (o LookupUserResultOutput) Queries() pulumi.StringOutput
- func (o LookupUserResultOutput) QueryPort() pulumi.IntOutput
- func (o LookupUserResultOutput) SecurityLevel() pulumi.StringOutput
- func (o LookupUserResultOutput) SourceIp() pulumi.StringOutput
- func (o LookupUserResultOutput) SourceIpv6() pulumi.StringOutput
- func (o LookupUserResultOutput) Status() pulumi.StringOutput
- func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput
- func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput
- func (o LookupUserResultOutput) TrapLport() pulumi.IntOutput
- func (o LookupUserResultOutput) TrapRport() pulumi.IntOutput
- func (o LookupUserResultOutput) TrapStatus() pulumi.StringOutput
- func (o LookupUserResultOutput) Vdomparam() pulumi.StringPtrOutput
- func (o LookupUserResultOutput) Vdoms() GetUserVdomArrayOutput
- type Mibview
- type MibviewArgs
- type MibviewArray
- type MibviewArrayInput
- type MibviewArrayOutput
- type MibviewInput
- type MibviewMap
- type MibviewMapInput
- type MibviewMapOutput
- type MibviewOutput
- func (MibviewOutput) ElementType() reflect.Type
- func (o MibviewOutput) Exclude() pulumi.StringOutput
- func (o MibviewOutput) Include() pulumi.StringOutput
- func (o MibviewOutput) Name() pulumi.StringOutput
- func (o MibviewOutput) ToMibviewOutput() MibviewOutput
- func (o MibviewOutput) ToMibviewOutputWithContext(ctx context.Context) MibviewOutput
- func (o MibviewOutput) Vdomparam() pulumi.StringOutput
- type MibviewState
- type Sysinfo
- type SysinfoArgs
- type SysinfoArray
- type SysinfoArrayInput
- type SysinfoArrayOutput
- type SysinfoInput
- type SysinfoMap
- type SysinfoMapInput
- type SysinfoMapOutput
- type SysinfoOutput
- func (o SysinfoOutput) AppendIndex() pulumi.StringOutput
- func (o SysinfoOutput) ContactInfo() pulumi.StringPtrOutput
- func (o SysinfoOutput) Description() pulumi.StringPtrOutput
- func (SysinfoOutput) ElementType() reflect.Type
- func (o SysinfoOutput) EngineId() pulumi.StringOutput
- func (o SysinfoOutput) EngineIdType() pulumi.StringOutput
- func (o SysinfoOutput) Location() pulumi.StringPtrOutput
- func (o SysinfoOutput) Status() pulumi.StringOutput
- func (o SysinfoOutput) ToSysinfoOutput() SysinfoOutput
- func (o SysinfoOutput) ToSysinfoOutputWithContext(ctx context.Context) SysinfoOutput
- func (o SysinfoOutput) TrapFreeMemoryThreshold() pulumi.IntOutput
- func (o SysinfoOutput) TrapFreeableMemoryThreshold() pulumi.IntOutput
- func (o SysinfoOutput) TrapHighCpuThreshold() pulumi.IntOutput
- func (o SysinfoOutput) TrapLogFullThreshold() pulumi.IntOutput
- func (o SysinfoOutput) TrapLowMemoryThreshold() pulumi.IntOutput
- func (o SysinfoOutput) Vdomparam() pulumi.StringOutput
- type SysinfoState
- type User
- type UserArgs
- type UserArray
- type UserArrayInput
- type UserArrayOutput
- type UserInput
- type UserMap
- type UserMapInput
- type UserMapOutput
- type UserOutput
- func (o UserOutput) AuthProto() pulumi.StringOutput
- func (o UserOutput) AuthPwd() pulumi.StringPtrOutput
- func (o UserOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (UserOutput) ElementType() reflect.Type
- func (o UserOutput) Events() pulumi.StringOutput
- func (o UserOutput) GetAllTables() pulumi.StringPtrOutput
- func (o UserOutput) HaDirect() pulumi.StringOutput
- func (o UserOutput) MibView() pulumi.StringOutput
- func (o UserOutput) Name() pulumi.StringOutput
- func (o UserOutput) NotifyHosts() pulumi.StringOutput
- func (o UserOutput) NotifyHosts6() pulumi.StringOutput
- func (o UserOutput) PrivProto() pulumi.StringOutput
- func (o UserOutput) PrivPwd() pulumi.StringPtrOutput
- func (o UserOutput) Queries() pulumi.StringOutput
- func (o UserOutput) QueryPort() pulumi.IntOutput
- func (o UserOutput) SecurityLevel() pulumi.StringOutput
- func (o UserOutput) SourceIp() pulumi.StringOutput
- func (o UserOutput) SourceIpv6() pulumi.StringOutput
- func (o UserOutput) Status() pulumi.StringOutput
- func (o UserOutput) ToUserOutput() UserOutput
- func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
- func (o UserOutput) TrapLport() pulumi.IntOutput
- func (o UserOutput) TrapRport() pulumi.IntOutput
- func (o UserOutput) TrapStatus() pulumi.StringOutput
- func (o UserOutput) Vdomparam() pulumi.StringOutput
- func (o UserOutput) Vdoms() UserVdomArrayOutput
- type UserState
- type UserVdom
- type UserVdomArgs
- type UserVdomArray
- type UserVdomArrayInput
- type UserVdomArrayOutput
- type UserVdomInput
- type UserVdomOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Community ¶
type Community struct { pulumi.CustomResourceState // 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 ]. DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"` // SNMP trap events. Events pulumi.StringOutput `pulumi:"events"` // Community ID. Fosid pulumi.IntOutput `pulumi:"fosid"` // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"` // Configure IPv4 SNMP managers (hosts). The structure of `hosts` block is documented below. Hosts CommunityHostArrayOutput `pulumi:"hosts"` // Configure IPv6 SNMP managers. The structure of `hosts6` block is documented below. Hosts6s CommunityHosts6ArrayOutput `pulumi:"hosts6s"` // SNMP access control MIB view. MibView pulumi.StringOutput `pulumi:"mibView"` // Community name. Name pulumi.StringOutput `pulumi:"name"` // SNMP v1 query port (default = 161). QueryV1Port pulumi.IntOutput `pulumi:"queryV1Port"` // Enable/disable SNMP v1 queries. Valid values: `enable`, `disable`. QueryV1Status pulumi.StringOutput `pulumi:"queryV1Status"` // SNMP v2c query port (default = 161). QueryV2cPort pulumi.IntOutput `pulumi:"queryV2cPort"` // Enable/disable SNMP v2c queries. Valid values: `enable`, `disable`. QueryV2cStatus pulumi.StringOutput `pulumi:"queryV2cStatus"` // Enable/disable this SNMP community. Valid values: `enable`, `disable`. Status pulumi.StringOutput `pulumi:"status"` // SNMP v1 trap local port (default = 162). TrapV1Lport pulumi.IntOutput `pulumi:"trapV1Lport"` // SNMP v1 trap remote port (default = 162). TrapV1Rport pulumi.IntOutput `pulumi:"trapV1Rport"` // Enable/disable SNMP v1 traps. Valid values: `enable`, `disable`. TrapV1Status pulumi.StringOutput `pulumi:"trapV1Status"` // SNMP v2c trap local port (default = 162). TrapV2cLport pulumi.IntOutput `pulumi:"trapV2cLport"` // SNMP v2c trap remote port (default = 162). TrapV2cRport pulumi.IntOutput `pulumi:"trapV2cRport"` // Enable/disable SNMP v2c traps. Valid values: `enable`, `disable`. TrapV2cStatus pulumi.StringOutput `pulumi:"trapV2cStatus"` // 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"` // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms CommunityVdomArrayOutput `pulumi:"vdoms"` }
SNMP community configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := system.NewCommunity(ctx, "trname", &system.CommunityArgs{ Events: pulumi.String("cpu-high mem-low log-full intf-ip vpn-tun-up vpn-tun-down ha-switch ha-hb-failure ips-signature ips-anomaly av-virus av-oversize av-pattern av-fragmented fm-if-change bgp-established bgp-backward-transition ha-member-up ha-member-down ent-conf-change av-conserve av-bypass av-oversize-passed av-oversize-blocked ips-pkg-update ips-fail-open faz-disconnect wc-ap-up wc-ap-down fswctl-session-up fswctl-session-down load-balance-real-server-down per-cpu-high"), Fosid: pulumi.Int(1), QueryV1Port: pulumi.Int(161), QueryV1Status: pulumi.String("enable"), QueryV2cPort: pulumi.Int(161), QueryV2cStatus: pulumi.String("enable"), Status: pulumi.String("enable"), TrapV1Lport: pulumi.Int(162), TrapV1Rport: pulumi.Int(162), TrapV1Status: pulumi.String("enable"), TrapV2cLport: pulumi.Int(162), TrapV2cRport: pulumi.Int(162), TrapV2cStatus: pulumi.String("enable"), }) if err != nil { return err } return nil }) }
```
## Import
SystemSnmp Community can be imported using any of these accepted formats:
```sh $ pulumi import fortios:system/snmp/community:Community labelname {{fosid}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:system/snmp/community:Community labelname {{fosid}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetCommunity ¶
func GetCommunity(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CommunityState, opts ...pulumi.ResourceOption) (*Community, error)
GetCommunity gets an existing Community 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 NewCommunity ¶
func NewCommunity(ctx *pulumi.Context, name string, args *CommunityArgs, opts ...pulumi.ResourceOption) (*Community, error)
NewCommunity registers a new resource with the given unique name, arguments, and options.
func (*Community) ElementType ¶
func (*Community) ToCommunityOutput ¶
func (i *Community) ToCommunityOutput() CommunityOutput
func (*Community) ToCommunityOutputWithContext ¶
func (i *Community) ToCommunityOutputWithContext(ctx context.Context) CommunityOutput
type CommunityArgs ¶
type CommunityArgs struct { // 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 ]. DynamicSortSubtable pulumi.StringPtrInput // SNMP trap events. Events pulumi.StringPtrInput // Community ID. Fosid pulumi.IntInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Configure IPv4 SNMP managers (hosts). The structure of `hosts` block is documented below. Hosts CommunityHostArrayInput // Configure IPv6 SNMP managers. The structure of `hosts6` block is documented below. Hosts6s CommunityHosts6ArrayInput // SNMP access control MIB view. MibView pulumi.StringPtrInput // Community name. Name pulumi.StringPtrInput // SNMP v1 query port (default = 161). QueryV1Port pulumi.IntPtrInput // Enable/disable SNMP v1 queries. Valid values: `enable`, `disable`. QueryV1Status pulumi.StringPtrInput // SNMP v2c query port (default = 161). QueryV2cPort pulumi.IntPtrInput // Enable/disable SNMP v2c queries. Valid values: `enable`, `disable`. QueryV2cStatus pulumi.StringPtrInput // Enable/disable this SNMP community. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput // SNMP v1 trap local port (default = 162). TrapV1Lport pulumi.IntPtrInput // SNMP v1 trap remote port (default = 162). TrapV1Rport pulumi.IntPtrInput // Enable/disable SNMP v1 traps. Valid values: `enable`, `disable`. TrapV1Status pulumi.StringPtrInput // SNMP v2c trap local port (default = 162). TrapV2cLport pulumi.IntPtrInput // SNMP v2c trap remote port (default = 162). TrapV2cRport pulumi.IntPtrInput // Enable/disable SNMP v2c traps. Valid values: `enable`, `disable`. TrapV2cStatus 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 // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms CommunityVdomArrayInput }
The set of arguments for constructing a Community resource.
func (CommunityArgs) ElementType ¶
func (CommunityArgs) ElementType() reflect.Type
type CommunityArray ¶
type CommunityArray []CommunityInput
func (CommunityArray) ElementType ¶
func (CommunityArray) ElementType() reflect.Type
func (CommunityArray) ToCommunityArrayOutput ¶
func (i CommunityArray) ToCommunityArrayOutput() CommunityArrayOutput
func (CommunityArray) ToCommunityArrayOutputWithContext ¶
func (i CommunityArray) ToCommunityArrayOutputWithContext(ctx context.Context) CommunityArrayOutput
type CommunityArrayInput ¶
type CommunityArrayInput interface { pulumi.Input ToCommunityArrayOutput() CommunityArrayOutput ToCommunityArrayOutputWithContext(context.Context) CommunityArrayOutput }
CommunityArrayInput is an input type that accepts CommunityArray and CommunityArrayOutput values. You can construct a concrete instance of `CommunityArrayInput` via:
CommunityArray{ CommunityArgs{...} }
type CommunityArrayOutput ¶
type CommunityArrayOutput struct{ *pulumi.OutputState }
func (CommunityArrayOutput) ElementType ¶
func (CommunityArrayOutput) ElementType() reflect.Type
func (CommunityArrayOutput) Index ¶
func (o CommunityArrayOutput) Index(i pulumi.IntInput) CommunityOutput
func (CommunityArrayOutput) ToCommunityArrayOutput ¶
func (o CommunityArrayOutput) ToCommunityArrayOutput() CommunityArrayOutput
func (CommunityArrayOutput) ToCommunityArrayOutputWithContext ¶
func (o CommunityArrayOutput) ToCommunityArrayOutputWithContext(ctx context.Context) CommunityArrayOutput
type CommunityHost ¶
type CommunityHost struct { // Enable/disable direct management of HA cluster members. Valid values: `enable`, `disable`. HaDirect *string `pulumi:"haDirect"` // Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: `any`, `query`, `trap`. HostType *string `pulumi:"hostType"` // Host6 entry ID. Id *int `pulumi:"id"` // IPv4 address of the SNMP manager (host). Ip *string `pulumi:"ip"` // Source IPv4 address for SNMP traps. SourceIp *string `pulumi:"sourceIp"` }
type CommunityHostArgs ¶
type CommunityHostArgs struct { // Enable/disable direct management of HA cluster members. Valid values: `enable`, `disable`. HaDirect pulumi.StringPtrInput `pulumi:"haDirect"` // Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: `any`, `query`, `trap`. HostType pulumi.StringPtrInput `pulumi:"hostType"` // Host6 entry ID. Id pulumi.IntPtrInput `pulumi:"id"` // IPv4 address of the SNMP manager (host). Ip pulumi.StringPtrInput `pulumi:"ip"` // Source IPv4 address for SNMP traps. SourceIp pulumi.StringPtrInput `pulumi:"sourceIp"` }
func (CommunityHostArgs) ElementType ¶
func (CommunityHostArgs) ElementType() reflect.Type
func (CommunityHostArgs) ToCommunityHostOutput ¶
func (i CommunityHostArgs) ToCommunityHostOutput() CommunityHostOutput
func (CommunityHostArgs) ToCommunityHostOutputWithContext ¶
func (i CommunityHostArgs) ToCommunityHostOutputWithContext(ctx context.Context) CommunityHostOutput
type CommunityHostArray ¶
type CommunityHostArray []CommunityHostInput
func (CommunityHostArray) ElementType ¶
func (CommunityHostArray) ElementType() reflect.Type
func (CommunityHostArray) ToCommunityHostArrayOutput ¶
func (i CommunityHostArray) ToCommunityHostArrayOutput() CommunityHostArrayOutput
func (CommunityHostArray) ToCommunityHostArrayOutputWithContext ¶
func (i CommunityHostArray) ToCommunityHostArrayOutputWithContext(ctx context.Context) CommunityHostArrayOutput
type CommunityHostArrayInput ¶
type CommunityHostArrayInput interface { pulumi.Input ToCommunityHostArrayOutput() CommunityHostArrayOutput ToCommunityHostArrayOutputWithContext(context.Context) CommunityHostArrayOutput }
CommunityHostArrayInput is an input type that accepts CommunityHostArray and CommunityHostArrayOutput values. You can construct a concrete instance of `CommunityHostArrayInput` via:
CommunityHostArray{ CommunityHostArgs{...} }
type CommunityHostArrayOutput ¶
type CommunityHostArrayOutput struct{ *pulumi.OutputState }
func (CommunityHostArrayOutput) ElementType ¶
func (CommunityHostArrayOutput) ElementType() reflect.Type
func (CommunityHostArrayOutput) Index ¶
func (o CommunityHostArrayOutput) Index(i pulumi.IntInput) CommunityHostOutput
func (CommunityHostArrayOutput) ToCommunityHostArrayOutput ¶
func (o CommunityHostArrayOutput) ToCommunityHostArrayOutput() CommunityHostArrayOutput
func (CommunityHostArrayOutput) ToCommunityHostArrayOutputWithContext ¶
func (o CommunityHostArrayOutput) ToCommunityHostArrayOutputWithContext(ctx context.Context) CommunityHostArrayOutput
type CommunityHostInput ¶
type CommunityHostInput interface { pulumi.Input ToCommunityHostOutput() CommunityHostOutput ToCommunityHostOutputWithContext(context.Context) CommunityHostOutput }
CommunityHostInput is an input type that accepts CommunityHostArgs and CommunityHostOutput values. You can construct a concrete instance of `CommunityHostInput` via:
CommunityHostArgs{...}
type CommunityHostOutput ¶
type CommunityHostOutput struct{ *pulumi.OutputState }
func (CommunityHostOutput) ElementType ¶
func (CommunityHostOutput) ElementType() reflect.Type
func (CommunityHostOutput) HaDirect ¶
func (o CommunityHostOutput) HaDirect() pulumi.StringPtrOutput
Enable/disable direct management of HA cluster members. Valid values: `enable`, `disable`.
func (CommunityHostOutput) HostType ¶
func (o CommunityHostOutput) HostType() pulumi.StringPtrOutput
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: `any`, `query`, `trap`.
func (CommunityHostOutput) Id ¶
func (o CommunityHostOutput) Id() pulumi.IntPtrOutput
Host6 entry ID.
func (CommunityHostOutput) Ip ¶
func (o CommunityHostOutput) Ip() pulumi.StringPtrOutput
IPv4 address of the SNMP manager (host).
func (CommunityHostOutput) SourceIp ¶
func (o CommunityHostOutput) SourceIp() pulumi.StringPtrOutput
Source IPv4 address for SNMP traps.
func (CommunityHostOutput) ToCommunityHostOutput ¶
func (o CommunityHostOutput) ToCommunityHostOutput() CommunityHostOutput
func (CommunityHostOutput) ToCommunityHostOutputWithContext ¶
func (o CommunityHostOutput) ToCommunityHostOutputWithContext(ctx context.Context) CommunityHostOutput
type CommunityHosts6 ¶
type CommunityHosts6Args ¶
type CommunityHosts6Args struct { HaDirect pulumi.StringPtrInput `pulumi:"haDirect"` HostType pulumi.StringPtrInput `pulumi:"hostType"` // an identifier for the resource with format {{fosid}}. Id pulumi.IntPtrInput `pulumi:"id"` Ipv6 pulumi.StringPtrInput `pulumi:"ipv6"` SourceIpv6 pulumi.StringPtrInput `pulumi:"sourceIpv6"` }
func (CommunityHosts6Args) ElementType ¶
func (CommunityHosts6Args) ElementType() reflect.Type
func (CommunityHosts6Args) ToCommunityHosts6Output ¶
func (i CommunityHosts6Args) ToCommunityHosts6Output() CommunityHosts6Output
func (CommunityHosts6Args) ToCommunityHosts6OutputWithContext ¶
func (i CommunityHosts6Args) ToCommunityHosts6OutputWithContext(ctx context.Context) CommunityHosts6Output
type CommunityHosts6Array ¶
type CommunityHosts6Array []CommunityHosts6Input
func (CommunityHosts6Array) ElementType ¶
func (CommunityHosts6Array) ElementType() reflect.Type
func (CommunityHosts6Array) ToCommunityHosts6ArrayOutput ¶
func (i CommunityHosts6Array) ToCommunityHosts6ArrayOutput() CommunityHosts6ArrayOutput
func (CommunityHosts6Array) ToCommunityHosts6ArrayOutputWithContext ¶
func (i CommunityHosts6Array) ToCommunityHosts6ArrayOutputWithContext(ctx context.Context) CommunityHosts6ArrayOutput
type CommunityHosts6ArrayInput ¶
type CommunityHosts6ArrayInput interface { pulumi.Input ToCommunityHosts6ArrayOutput() CommunityHosts6ArrayOutput ToCommunityHosts6ArrayOutputWithContext(context.Context) CommunityHosts6ArrayOutput }
CommunityHosts6ArrayInput is an input type that accepts CommunityHosts6Array and CommunityHosts6ArrayOutput values. You can construct a concrete instance of `CommunityHosts6ArrayInput` via:
CommunityHosts6Array{ CommunityHosts6Args{...} }
type CommunityHosts6ArrayOutput ¶
type CommunityHosts6ArrayOutput struct{ *pulumi.OutputState }
func (CommunityHosts6ArrayOutput) ElementType ¶
func (CommunityHosts6ArrayOutput) ElementType() reflect.Type
func (CommunityHosts6ArrayOutput) Index ¶
func (o CommunityHosts6ArrayOutput) Index(i pulumi.IntInput) CommunityHosts6Output
func (CommunityHosts6ArrayOutput) ToCommunityHosts6ArrayOutput ¶
func (o CommunityHosts6ArrayOutput) ToCommunityHosts6ArrayOutput() CommunityHosts6ArrayOutput
func (CommunityHosts6ArrayOutput) ToCommunityHosts6ArrayOutputWithContext ¶
func (o CommunityHosts6ArrayOutput) ToCommunityHosts6ArrayOutputWithContext(ctx context.Context) CommunityHosts6ArrayOutput
type CommunityHosts6Input ¶
type CommunityHosts6Input interface { pulumi.Input ToCommunityHosts6Output() CommunityHosts6Output ToCommunityHosts6OutputWithContext(context.Context) CommunityHosts6Output }
CommunityHosts6Input is an input type that accepts CommunityHosts6Args and CommunityHosts6Output values. You can construct a concrete instance of `CommunityHosts6Input` via:
CommunityHosts6Args{...}
type CommunityHosts6Output ¶
type CommunityHosts6Output struct{ *pulumi.OutputState }
func (CommunityHosts6Output) ElementType ¶
func (CommunityHosts6Output) ElementType() reflect.Type
func (CommunityHosts6Output) HaDirect ¶
func (o CommunityHosts6Output) HaDirect() pulumi.StringPtrOutput
func (CommunityHosts6Output) HostType ¶
func (o CommunityHosts6Output) HostType() pulumi.StringPtrOutput
func (CommunityHosts6Output) Id ¶
func (o CommunityHosts6Output) Id() pulumi.IntPtrOutput
an identifier for the resource with format {{fosid}}.
func (CommunityHosts6Output) Ipv6 ¶
func (o CommunityHosts6Output) Ipv6() pulumi.StringPtrOutput
func (CommunityHosts6Output) SourceIpv6 ¶
func (o CommunityHosts6Output) SourceIpv6() pulumi.StringPtrOutput
func (CommunityHosts6Output) ToCommunityHosts6Output ¶
func (o CommunityHosts6Output) ToCommunityHosts6Output() CommunityHosts6Output
func (CommunityHosts6Output) ToCommunityHosts6OutputWithContext ¶
func (o CommunityHosts6Output) ToCommunityHosts6OutputWithContext(ctx context.Context) CommunityHosts6Output
type CommunityInput ¶
type CommunityInput interface { pulumi.Input ToCommunityOutput() CommunityOutput ToCommunityOutputWithContext(ctx context.Context) CommunityOutput }
type CommunityMap ¶
type CommunityMap map[string]CommunityInput
func (CommunityMap) ElementType ¶
func (CommunityMap) ElementType() reflect.Type
func (CommunityMap) ToCommunityMapOutput ¶
func (i CommunityMap) ToCommunityMapOutput() CommunityMapOutput
func (CommunityMap) ToCommunityMapOutputWithContext ¶
func (i CommunityMap) ToCommunityMapOutputWithContext(ctx context.Context) CommunityMapOutput
type CommunityMapInput ¶
type CommunityMapInput interface { pulumi.Input ToCommunityMapOutput() CommunityMapOutput ToCommunityMapOutputWithContext(context.Context) CommunityMapOutput }
CommunityMapInput is an input type that accepts CommunityMap and CommunityMapOutput values. You can construct a concrete instance of `CommunityMapInput` via:
CommunityMap{ "key": CommunityArgs{...} }
type CommunityMapOutput ¶
type CommunityMapOutput struct{ *pulumi.OutputState }
func (CommunityMapOutput) ElementType ¶
func (CommunityMapOutput) ElementType() reflect.Type
func (CommunityMapOutput) MapIndex ¶
func (o CommunityMapOutput) MapIndex(k pulumi.StringInput) CommunityOutput
func (CommunityMapOutput) ToCommunityMapOutput ¶
func (o CommunityMapOutput) ToCommunityMapOutput() CommunityMapOutput
func (CommunityMapOutput) ToCommunityMapOutputWithContext ¶
func (o CommunityMapOutput) ToCommunityMapOutputWithContext(ctx context.Context) CommunityMapOutput
type CommunityOutput ¶
type CommunityOutput struct{ *pulumi.OutputState }
func (CommunityOutput) DynamicSortSubtable ¶
func (o CommunityOutput) DynamicSortSubtable() pulumi.StringPtrOutput
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 ].
func (CommunityOutput) ElementType ¶
func (CommunityOutput) ElementType() reflect.Type
func (CommunityOutput) Events ¶
func (o CommunityOutput) Events() pulumi.StringOutput
SNMP trap events.
func (CommunityOutput) GetAllTables ¶
func (o CommunityOutput) GetAllTables() pulumi.StringPtrOutput
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
func (CommunityOutput) Hosts ¶
func (o CommunityOutput) Hosts() CommunityHostArrayOutput
Configure IPv4 SNMP managers (hosts). The structure of `hosts` block is documented below.
func (CommunityOutput) Hosts6s ¶
func (o CommunityOutput) Hosts6s() CommunityHosts6ArrayOutput
Configure IPv6 SNMP managers. The structure of `hosts6` block is documented below.
func (CommunityOutput) MibView ¶
func (o CommunityOutput) MibView() pulumi.StringOutput
SNMP access control MIB view.
func (CommunityOutput) QueryV1Port ¶
func (o CommunityOutput) QueryV1Port() pulumi.IntOutput
SNMP v1 query port (default = 161).
func (CommunityOutput) QueryV1Status ¶
func (o CommunityOutput) QueryV1Status() pulumi.StringOutput
Enable/disable SNMP v1 queries. Valid values: `enable`, `disable`.
func (CommunityOutput) QueryV2cPort ¶
func (o CommunityOutput) QueryV2cPort() pulumi.IntOutput
SNMP v2c query port (default = 161).
func (CommunityOutput) QueryV2cStatus ¶
func (o CommunityOutput) QueryV2cStatus() pulumi.StringOutput
Enable/disable SNMP v2c queries. Valid values: `enable`, `disable`.
func (CommunityOutput) Status ¶
func (o CommunityOutput) Status() pulumi.StringOutput
Enable/disable this SNMP community. Valid values: `enable`, `disable`.
func (CommunityOutput) ToCommunityOutput ¶
func (o CommunityOutput) ToCommunityOutput() CommunityOutput
func (CommunityOutput) ToCommunityOutputWithContext ¶
func (o CommunityOutput) ToCommunityOutputWithContext(ctx context.Context) CommunityOutput
func (CommunityOutput) TrapV1Lport ¶
func (o CommunityOutput) TrapV1Lport() pulumi.IntOutput
SNMP v1 trap local port (default = 162).
func (CommunityOutput) TrapV1Rport ¶
func (o CommunityOutput) TrapV1Rport() pulumi.IntOutput
SNMP v1 trap remote port (default = 162).
func (CommunityOutput) TrapV1Status ¶
func (o CommunityOutput) TrapV1Status() pulumi.StringOutput
Enable/disable SNMP v1 traps. Valid values: `enable`, `disable`.
func (CommunityOutput) TrapV2cLport ¶
func (o CommunityOutput) TrapV2cLport() pulumi.IntOutput
SNMP v2c trap local port (default = 162).
func (CommunityOutput) TrapV2cRport ¶
func (o CommunityOutput) TrapV2cRport() pulumi.IntOutput
SNMP v2c trap remote port (default = 162).
func (CommunityOutput) TrapV2cStatus ¶
func (o CommunityOutput) TrapV2cStatus() pulumi.StringOutput
Enable/disable SNMP v2c traps. Valid values: `enable`, `disable`.
func (CommunityOutput) Vdomparam ¶
func (o CommunityOutput) 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 (CommunityOutput) Vdoms ¶
func (o CommunityOutput) Vdoms() CommunityVdomArrayOutput
SNMP access control VDOMs. The structure of `vdoms` block is documented below.
type CommunityState ¶
type CommunityState struct { // 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 ]. DynamicSortSubtable pulumi.StringPtrInput // SNMP trap events. Events pulumi.StringPtrInput // Community ID. Fosid pulumi.IntPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Configure IPv4 SNMP managers (hosts). The structure of `hosts` block is documented below. Hosts CommunityHostArrayInput // Configure IPv6 SNMP managers. The structure of `hosts6` block is documented below. Hosts6s CommunityHosts6ArrayInput // SNMP access control MIB view. MibView pulumi.StringPtrInput // Community name. Name pulumi.StringPtrInput // SNMP v1 query port (default = 161). QueryV1Port pulumi.IntPtrInput // Enable/disable SNMP v1 queries. Valid values: `enable`, `disable`. QueryV1Status pulumi.StringPtrInput // SNMP v2c query port (default = 161). QueryV2cPort pulumi.IntPtrInput // Enable/disable SNMP v2c queries. Valid values: `enable`, `disable`. QueryV2cStatus pulumi.StringPtrInput // Enable/disable this SNMP community. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput // SNMP v1 trap local port (default = 162). TrapV1Lport pulumi.IntPtrInput // SNMP v1 trap remote port (default = 162). TrapV1Rport pulumi.IntPtrInput // Enable/disable SNMP v1 traps. Valid values: `enable`, `disable`. TrapV1Status pulumi.StringPtrInput // SNMP v2c trap local port (default = 162). TrapV2cLport pulumi.IntPtrInput // SNMP v2c trap remote port (default = 162). TrapV2cRport pulumi.IntPtrInput // Enable/disable SNMP v2c traps. Valid values: `enable`, `disable`. TrapV2cStatus 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 // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms CommunityVdomArrayInput }
func (CommunityState) ElementType ¶
func (CommunityState) ElementType() reflect.Type
type CommunityVdom ¶
type CommunityVdom struct { // VDOM name Name *string `pulumi:"name"` }
type CommunityVdomArgs ¶
type CommunityVdomArgs struct { // VDOM name Name pulumi.StringPtrInput `pulumi:"name"` }
func (CommunityVdomArgs) ElementType ¶
func (CommunityVdomArgs) ElementType() reflect.Type
func (CommunityVdomArgs) ToCommunityVdomOutput ¶
func (i CommunityVdomArgs) ToCommunityVdomOutput() CommunityVdomOutput
func (CommunityVdomArgs) ToCommunityVdomOutputWithContext ¶
func (i CommunityVdomArgs) ToCommunityVdomOutputWithContext(ctx context.Context) CommunityVdomOutput
type CommunityVdomArray ¶
type CommunityVdomArray []CommunityVdomInput
func (CommunityVdomArray) ElementType ¶
func (CommunityVdomArray) ElementType() reflect.Type
func (CommunityVdomArray) ToCommunityVdomArrayOutput ¶
func (i CommunityVdomArray) ToCommunityVdomArrayOutput() CommunityVdomArrayOutput
func (CommunityVdomArray) ToCommunityVdomArrayOutputWithContext ¶
func (i CommunityVdomArray) ToCommunityVdomArrayOutputWithContext(ctx context.Context) CommunityVdomArrayOutput
type CommunityVdomArrayInput ¶
type CommunityVdomArrayInput interface { pulumi.Input ToCommunityVdomArrayOutput() CommunityVdomArrayOutput ToCommunityVdomArrayOutputWithContext(context.Context) CommunityVdomArrayOutput }
CommunityVdomArrayInput is an input type that accepts CommunityVdomArray and CommunityVdomArrayOutput values. You can construct a concrete instance of `CommunityVdomArrayInput` via:
CommunityVdomArray{ CommunityVdomArgs{...} }
type CommunityVdomArrayOutput ¶
type CommunityVdomArrayOutput struct{ *pulumi.OutputState }
func (CommunityVdomArrayOutput) ElementType ¶
func (CommunityVdomArrayOutput) ElementType() reflect.Type
func (CommunityVdomArrayOutput) Index ¶
func (o CommunityVdomArrayOutput) Index(i pulumi.IntInput) CommunityVdomOutput
func (CommunityVdomArrayOutput) ToCommunityVdomArrayOutput ¶
func (o CommunityVdomArrayOutput) ToCommunityVdomArrayOutput() CommunityVdomArrayOutput
func (CommunityVdomArrayOutput) ToCommunityVdomArrayOutputWithContext ¶
func (o CommunityVdomArrayOutput) ToCommunityVdomArrayOutputWithContext(ctx context.Context) CommunityVdomArrayOutput
type CommunityVdomInput ¶
type CommunityVdomInput interface { pulumi.Input ToCommunityVdomOutput() CommunityVdomOutput ToCommunityVdomOutputWithContext(context.Context) CommunityVdomOutput }
CommunityVdomInput is an input type that accepts CommunityVdomArgs and CommunityVdomOutput values. You can construct a concrete instance of `CommunityVdomInput` via:
CommunityVdomArgs{...}
type CommunityVdomOutput ¶
type CommunityVdomOutput struct{ *pulumi.OutputState }
func (CommunityVdomOutput) ElementType ¶
func (CommunityVdomOutput) ElementType() reflect.Type
func (CommunityVdomOutput) Name ¶
func (o CommunityVdomOutput) Name() pulumi.StringPtrOutput
VDOM name
func (CommunityVdomOutput) ToCommunityVdomOutput ¶
func (o CommunityVdomOutput) ToCommunityVdomOutput() CommunityVdomOutput
func (CommunityVdomOutput) ToCommunityVdomOutputWithContext ¶
func (o CommunityVdomOutput) ToCommunityVdomOutputWithContext(ctx context.Context) CommunityVdomOutput
type GetCommunityHost ¶
type GetCommunityHost struct { // Enable/disable direct management of HA cluster members. HaDirect string `pulumi:"haDirect"` // Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. HostType string `pulumi:"hostType"` // Host6 entry ID. Id int `pulumi:"id"` // IPv4 address of the SNMP manager (host). Ip string `pulumi:"ip"` // Source IPv4 address for SNMP traps. SourceIp string `pulumi:"sourceIp"` }
type GetCommunityHostArgs ¶
type GetCommunityHostArgs struct { // Enable/disable direct management of HA cluster members. HaDirect pulumi.StringInput `pulumi:"haDirect"` // Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. HostType pulumi.StringInput `pulumi:"hostType"` // Host6 entry ID. Id pulumi.IntInput `pulumi:"id"` // IPv4 address of the SNMP manager (host). Ip pulumi.StringInput `pulumi:"ip"` // Source IPv4 address for SNMP traps. SourceIp pulumi.StringInput `pulumi:"sourceIp"` }
func (GetCommunityHostArgs) ElementType ¶
func (GetCommunityHostArgs) ElementType() reflect.Type
func (GetCommunityHostArgs) ToGetCommunityHostOutput ¶
func (i GetCommunityHostArgs) ToGetCommunityHostOutput() GetCommunityHostOutput
func (GetCommunityHostArgs) ToGetCommunityHostOutputWithContext ¶
func (i GetCommunityHostArgs) ToGetCommunityHostOutputWithContext(ctx context.Context) GetCommunityHostOutput
type GetCommunityHostArray ¶
type GetCommunityHostArray []GetCommunityHostInput
func (GetCommunityHostArray) ElementType ¶
func (GetCommunityHostArray) ElementType() reflect.Type
func (GetCommunityHostArray) ToGetCommunityHostArrayOutput ¶
func (i GetCommunityHostArray) ToGetCommunityHostArrayOutput() GetCommunityHostArrayOutput
func (GetCommunityHostArray) ToGetCommunityHostArrayOutputWithContext ¶
func (i GetCommunityHostArray) ToGetCommunityHostArrayOutputWithContext(ctx context.Context) GetCommunityHostArrayOutput
type GetCommunityHostArrayInput ¶
type GetCommunityHostArrayInput interface { pulumi.Input ToGetCommunityHostArrayOutput() GetCommunityHostArrayOutput ToGetCommunityHostArrayOutputWithContext(context.Context) GetCommunityHostArrayOutput }
GetCommunityHostArrayInput is an input type that accepts GetCommunityHostArray and GetCommunityHostArrayOutput values. You can construct a concrete instance of `GetCommunityHostArrayInput` via:
GetCommunityHostArray{ GetCommunityHostArgs{...} }
type GetCommunityHostArrayOutput ¶
type GetCommunityHostArrayOutput struct{ *pulumi.OutputState }
func (GetCommunityHostArrayOutput) ElementType ¶
func (GetCommunityHostArrayOutput) ElementType() reflect.Type
func (GetCommunityHostArrayOutput) Index ¶
func (o GetCommunityHostArrayOutput) Index(i pulumi.IntInput) GetCommunityHostOutput
func (GetCommunityHostArrayOutput) ToGetCommunityHostArrayOutput ¶
func (o GetCommunityHostArrayOutput) ToGetCommunityHostArrayOutput() GetCommunityHostArrayOutput
func (GetCommunityHostArrayOutput) ToGetCommunityHostArrayOutputWithContext ¶
func (o GetCommunityHostArrayOutput) ToGetCommunityHostArrayOutputWithContext(ctx context.Context) GetCommunityHostArrayOutput
type GetCommunityHostInput ¶
type GetCommunityHostInput interface { pulumi.Input ToGetCommunityHostOutput() GetCommunityHostOutput ToGetCommunityHostOutputWithContext(context.Context) GetCommunityHostOutput }
GetCommunityHostInput is an input type that accepts GetCommunityHostArgs and GetCommunityHostOutput values. You can construct a concrete instance of `GetCommunityHostInput` via:
GetCommunityHostArgs{...}
type GetCommunityHostOutput ¶
type GetCommunityHostOutput struct{ *pulumi.OutputState }
func (GetCommunityHostOutput) ElementType ¶
func (GetCommunityHostOutput) ElementType() reflect.Type
func (GetCommunityHostOutput) HaDirect ¶
func (o GetCommunityHostOutput) HaDirect() pulumi.StringOutput
Enable/disable direct management of HA cluster members.
func (GetCommunityHostOutput) HostType ¶
func (o GetCommunityHostOutput) HostType() pulumi.StringOutput
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both.
func (GetCommunityHostOutput) Id ¶
func (o GetCommunityHostOutput) Id() pulumi.IntOutput
Host6 entry ID.
func (GetCommunityHostOutput) Ip ¶
func (o GetCommunityHostOutput) Ip() pulumi.StringOutput
IPv4 address of the SNMP manager (host).
func (GetCommunityHostOutput) SourceIp ¶
func (o GetCommunityHostOutput) SourceIp() pulumi.StringOutput
Source IPv4 address for SNMP traps.
func (GetCommunityHostOutput) ToGetCommunityHostOutput ¶
func (o GetCommunityHostOutput) ToGetCommunityHostOutput() GetCommunityHostOutput
func (GetCommunityHostOutput) ToGetCommunityHostOutputWithContext ¶
func (o GetCommunityHostOutput) ToGetCommunityHostOutputWithContext(ctx context.Context) GetCommunityHostOutput
type GetCommunityHosts6 ¶
type GetCommunityHosts6 struct { // Enable/disable direct management of HA cluster members. HaDirect string `pulumi:"haDirect"` // Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. HostType string `pulumi:"hostType"` // Host6 entry ID. Id int `pulumi:"id"` // SNMP manager IPv6 address prefix. Ipv6 string `pulumi:"ipv6"` // Source IPv6 address for SNMP traps. SourceIpv6 string `pulumi:"sourceIpv6"` }
type GetCommunityHosts6Args ¶
type GetCommunityHosts6Args struct { // Enable/disable direct management of HA cluster members. HaDirect pulumi.StringInput `pulumi:"haDirect"` // Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. HostType pulumi.StringInput `pulumi:"hostType"` // Host6 entry ID. Id pulumi.IntInput `pulumi:"id"` // SNMP manager IPv6 address prefix. Ipv6 pulumi.StringInput `pulumi:"ipv6"` // Source IPv6 address for SNMP traps. SourceIpv6 pulumi.StringInput `pulumi:"sourceIpv6"` }
func (GetCommunityHosts6Args) ElementType ¶
func (GetCommunityHosts6Args) ElementType() reflect.Type
func (GetCommunityHosts6Args) ToGetCommunityHosts6Output ¶
func (i GetCommunityHosts6Args) ToGetCommunityHosts6Output() GetCommunityHosts6Output
func (GetCommunityHosts6Args) ToGetCommunityHosts6OutputWithContext ¶
func (i GetCommunityHosts6Args) ToGetCommunityHosts6OutputWithContext(ctx context.Context) GetCommunityHosts6Output
type GetCommunityHosts6Array ¶
type GetCommunityHosts6Array []GetCommunityHosts6Input
func (GetCommunityHosts6Array) ElementType ¶
func (GetCommunityHosts6Array) ElementType() reflect.Type
func (GetCommunityHosts6Array) ToGetCommunityHosts6ArrayOutput ¶
func (i GetCommunityHosts6Array) ToGetCommunityHosts6ArrayOutput() GetCommunityHosts6ArrayOutput
func (GetCommunityHosts6Array) ToGetCommunityHosts6ArrayOutputWithContext ¶
func (i GetCommunityHosts6Array) ToGetCommunityHosts6ArrayOutputWithContext(ctx context.Context) GetCommunityHosts6ArrayOutput
type GetCommunityHosts6ArrayInput ¶
type GetCommunityHosts6ArrayInput interface { pulumi.Input ToGetCommunityHosts6ArrayOutput() GetCommunityHosts6ArrayOutput ToGetCommunityHosts6ArrayOutputWithContext(context.Context) GetCommunityHosts6ArrayOutput }
GetCommunityHosts6ArrayInput is an input type that accepts GetCommunityHosts6Array and GetCommunityHosts6ArrayOutput values. You can construct a concrete instance of `GetCommunityHosts6ArrayInput` via:
GetCommunityHosts6Array{ GetCommunityHosts6Args{...} }
type GetCommunityHosts6ArrayOutput ¶
type GetCommunityHosts6ArrayOutput struct{ *pulumi.OutputState }
func (GetCommunityHosts6ArrayOutput) ElementType ¶
func (GetCommunityHosts6ArrayOutput) ElementType() reflect.Type
func (GetCommunityHosts6ArrayOutput) Index ¶
func (o GetCommunityHosts6ArrayOutput) Index(i pulumi.IntInput) GetCommunityHosts6Output
func (GetCommunityHosts6ArrayOutput) ToGetCommunityHosts6ArrayOutput ¶
func (o GetCommunityHosts6ArrayOutput) ToGetCommunityHosts6ArrayOutput() GetCommunityHosts6ArrayOutput
func (GetCommunityHosts6ArrayOutput) ToGetCommunityHosts6ArrayOutputWithContext ¶
func (o GetCommunityHosts6ArrayOutput) ToGetCommunityHosts6ArrayOutputWithContext(ctx context.Context) GetCommunityHosts6ArrayOutput
type GetCommunityHosts6Input ¶
type GetCommunityHosts6Input interface { pulumi.Input ToGetCommunityHosts6Output() GetCommunityHosts6Output ToGetCommunityHosts6OutputWithContext(context.Context) GetCommunityHosts6Output }
GetCommunityHosts6Input is an input type that accepts GetCommunityHosts6Args and GetCommunityHosts6Output values. You can construct a concrete instance of `GetCommunityHosts6Input` via:
GetCommunityHosts6Args{...}
type GetCommunityHosts6Output ¶
type GetCommunityHosts6Output struct{ *pulumi.OutputState }
func (GetCommunityHosts6Output) ElementType ¶
func (GetCommunityHosts6Output) ElementType() reflect.Type
func (GetCommunityHosts6Output) HaDirect ¶
func (o GetCommunityHosts6Output) HaDirect() pulumi.StringOutput
Enable/disable direct management of HA cluster members.
func (GetCommunityHosts6Output) HostType ¶
func (o GetCommunityHosts6Output) HostType() pulumi.StringOutput
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both.
func (GetCommunityHosts6Output) Id ¶
func (o GetCommunityHosts6Output) Id() pulumi.IntOutput
Host6 entry ID.
func (GetCommunityHosts6Output) Ipv6 ¶
func (o GetCommunityHosts6Output) Ipv6() pulumi.StringOutput
SNMP manager IPv6 address prefix.
func (GetCommunityHosts6Output) SourceIpv6 ¶
func (o GetCommunityHosts6Output) SourceIpv6() pulumi.StringOutput
Source IPv6 address for SNMP traps.
func (GetCommunityHosts6Output) ToGetCommunityHosts6Output ¶
func (o GetCommunityHosts6Output) ToGetCommunityHosts6Output() GetCommunityHosts6Output
func (GetCommunityHosts6Output) ToGetCommunityHosts6OutputWithContext ¶
func (o GetCommunityHosts6Output) ToGetCommunityHosts6OutputWithContext(ctx context.Context) GetCommunityHosts6Output
type GetCommunityVdom ¶
type GetCommunityVdom struct { // VDOM name Name string `pulumi:"name"` }
type GetCommunityVdomArgs ¶
type GetCommunityVdomArgs struct { // VDOM name Name pulumi.StringInput `pulumi:"name"` }
func (GetCommunityVdomArgs) ElementType ¶
func (GetCommunityVdomArgs) ElementType() reflect.Type
func (GetCommunityVdomArgs) ToGetCommunityVdomOutput ¶
func (i GetCommunityVdomArgs) ToGetCommunityVdomOutput() GetCommunityVdomOutput
func (GetCommunityVdomArgs) ToGetCommunityVdomOutputWithContext ¶
func (i GetCommunityVdomArgs) ToGetCommunityVdomOutputWithContext(ctx context.Context) GetCommunityVdomOutput
type GetCommunityVdomArray ¶
type GetCommunityVdomArray []GetCommunityVdomInput
func (GetCommunityVdomArray) ElementType ¶
func (GetCommunityVdomArray) ElementType() reflect.Type
func (GetCommunityVdomArray) ToGetCommunityVdomArrayOutput ¶
func (i GetCommunityVdomArray) ToGetCommunityVdomArrayOutput() GetCommunityVdomArrayOutput
func (GetCommunityVdomArray) ToGetCommunityVdomArrayOutputWithContext ¶
func (i GetCommunityVdomArray) ToGetCommunityVdomArrayOutputWithContext(ctx context.Context) GetCommunityVdomArrayOutput
type GetCommunityVdomArrayInput ¶
type GetCommunityVdomArrayInput interface { pulumi.Input ToGetCommunityVdomArrayOutput() GetCommunityVdomArrayOutput ToGetCommunityVdomArrayOutputWithContext(context.Context) GetCommunityVdomArrayOutput }
GetCommunityVdomArrayInput is an input type that accepts GetCommunityVdomArray and GetCommunityVdomArrayOutput values. You can construct a concrete instance of `GetCommunityVdomArrayInput` via:
GetCommunityVdomArray{ GetCommunityVdomArgs{...} }
type GetCommunityVdomArrayOutput ¶
type GetCommunityVdomArrayOutput struct{ *pulumi.OutputState }
func (GetCommunityVdomArrayOutput) ElementType ¶
func (GetCommunityVdomArrayOutput) ElementType() reflect.Type
func (GetCommunityVdomArrayOutput) Index ¶
func (o GetCommunityVdomArrayOutput) Index(i pulumi.IntInput) GetCommunityVdomOutput
func (GetCommunityVdomArrayOutput) ToGetCommunityVdomArrayOutput ¶
func (o GetCommunityVdomArrayOutput) ToGetCommunityVdomArrayOutput() GetCommunityVdomArrayOutput
func (GetCommunityVdomArrayOutput) ToGetCommunityVdomArrayOutputWithContext ¶
func (o GetCommunityVdomArrayOutput) ToGetCommunityVdomArrayOutputWithContext(ctx context.Context) GetCommunityVdomArrayOutput
type GetCommunityVdomInput ¶
type GetCommunityVdomInput interface { pulumi.Input ToGetCommunityVdomOutput() GetCommunityVdomOutput ToGetCommunityVdomOutputWithContext(context.Context) GetCommunityVdomOutput }
GetCommunityVdomInput is an input type that accepts GetCommunityVdomArgs and GetCommunityVdomOutput values. You can construct a concrete instance of `GetCommunityVdomInput` via:
GetCommunityVdomArgs{...}
type GetCommunityVdomOutput ¶
type GetCommunityVdomOutput struct{ *pulumi.OutputState }
func (GetCommunityVdomOutput) ElementType ¶
func (GetCommunityVdomOutput) ElementType() reflect.Type
func (GetCommunityVdomOutput) Name ¶
func (o GetCommunityVdomOutput) Name() pulumi.StringOutput
VDOM name
func (GetCommunityVdomOutput) ToGetCommunityVdomOutput ¶
func (o GetCommunityVdomOutput) ToGetCommunityVdomOutput() GetCommunityVdomOutput
func (GetCommunityVdomOutput) ToGetCommunityVdomOutputWithContext ¶
func (o GetCommunityVdomOutput) ToGetCommunityVdomOutputWithContext(ctx context.Context) GetCommunityVdomOutput
type GetCommunitylistArgs ¶
type GetCommunitylistArgs struct { // A filter used to scope the list. See Filter results of datasource. Filter *string `pulumi:"filter"` // Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"` }
A collection of arguments for invoking getCommunitylist.
type GetCommunitylistOutputArgs ¶
type GetCommunitylistOutputArgs struct { // A filter used to scope the list. See Filter results of datasource. Filter pulumi.StringPtrInput `pulumi:"filter"` // Specifies the vdom to which the data source 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 `pulumi:"vdomparam"` }
A collection of arguments for invoking getCommunitylist.
func (GetCommunitylistOutputArgs) ElementType ¶
func (GetCommunitylistOutputArgs) ElementType() reflect.Type
type GetCommunitylistResult ¶
type GetCommunitylistResult struct { Filter *string `pulumi:"filter"` // A list of the `system/snmp.Community`. Fosidlists []int `pulumi:"fosidlists"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Vdomparam *string `pulumi:"vdomparam"` }
A collection of values returned by getCommunitylist.
func GetCommunitylist ¶
func GetCommunitylist(ctx *pulumi.Context, args *GetCommunitylistArgs, opts ...pulumi.InvokeOption) (*GetCommunitylistResult, error)
Provides a list of `system/snmp.Community`.
type GetCommunitylistResultOutput ¶
type GetCommunitylistResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCommunitylist.
func GetCommunitylistOutput ¶
func GetCommunitylistOutput(ctx *pulumi.Context, args GetCommunitylistOutputArgs, opts ...pulumi.InvokeOption) GetCommunitylistResultOutput
func (GetCommunitylistResultOutput) ElementType ¶
func (GetCommunitylistResultOutput) ElementType() reflect.Type
func (GetCommunitylistResultOutput) Filter ¶
func (o GetCommunitylistResultOutput) Filter() pulumi.StringPtrOutput
func (GetCommunitylistResultOutput) Fosidlists ¶
func (o GetCommunitylistResultOutput) Fosidlists() pulumi.IntArrayOutput
A list of the `system/snmp.Community`.
func (GetCommunitylistResultOutput) Id ¶
func (o GetCommunitylistResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCommunitylistResultOutput) ToGetCommunitylistResultOutput ¶
func (o GetCommunitylistResultOutput) ToGetCommunitylistResultOutput() GetCommunitylistResultOutput
func (GetCommunitylistResultOutput) ToGetCommunitylistResultOutputWithContext ¶
func (o GetCommunitylistResultOutput) ToGetCommunitylistResultOutputWithContext(ctx context.Context) GetCommunitylistResultOutput
func (GetCommunitylistResultOutput) Vdomparam ¶
func (o GetCommunitylistResultOutput) Vdomparam() pulumi.StringPtrOutput
type GetUserVdom ¶
type GetUserVdom struct { // Specify the name of the desired systemsnmp user. Name string `pulumi:"name"` }
type GetUserVdomArgs ¶
type GetUserVdomArgs struct { // Specify the name of the desired systemsnmp user. Name pulumi.StringInput `pulumi:"name"` }
func (GetUserVdomArgs) ElementType ¶
func (GetUserVdomArgs) ElementType() reflect.Type
func (GetUserVdomArgs) ToGetUserVdomOutput ¶
func (i GetUserVdomArgs) ToGetUserVdomOutput() GetUserVdomOutput
func (GetUserVdomArgs) ToGetUserVdomOutputWithContext ¶
func (i GetUserVdomArgs) ToGetUserVdomOutputWithContext(ctx context.Context) GetUserVdomOutput
type GetUserVdomArray ¶
type GetUserVdomArray []GetUserVdomInput
func (GetUserVdomArray) ElementType ¶
func (GetUserVdomArray) ElementType() reflect.Type
func (GetUserVdomArray) ToGetUserVdomArrayOutput ¶
func (i GetUserVdomArray) ToGetUserVdomArrayOutput() GetUserVdomArrayOutput
func (GetUserVdomArray) ToGetUserVdomArrayOutputWithContext ¶
func (i GetUserVdomArray) ToGetUserVdomArrayOutputWithContext(ctx context.Context) GetUserVdomArrayOutput
type GetUserVdomArrayInput ¶
type GetUserVdomArrayInput interface { pulumi.Input ToGetUserVdomArrayOutput() GetUserVdomArrayOutput ToGetUserVdomArrayOutputWithContext(context.Context) GetUserVdomArrayOutput }
GetUserVdomArrayInput is an input type that accepts GetUserVdomArray and GetUserVdomArrayOutput values. You can construct a concrete instance of `GetUserVdomArrayInput` via:
GetUserVdomArray{ GetUserVdomArgs{...} }
type GetUserVdomArrayOutput ¶
type GetUserVdomArrayOutput struct{ *pulumi.OutputState }
func (GetUserVdomArrayOutput) ElementType ¶
func (GetUserVdomArrayOutput) ElementType() reflect.Type
func (GetUserVdomArrayOutput) Index ¶
func (o GetUserVdomArrayOutput) Index(i pulumi.IntInput) GetUserVdomOutput
func (GetUserVdomArrayOutput) ToGetUserVdomArrayOutput ¶
func (o GetUserVdomArrayOutput) ToGetUserVdomArrayOutput() GetUserVdomArrayOutput
func (GetUserVdomArrayOutput) ToGetUserVdomArrayOutputWithContext ¶
func (o GetUserVdomArrayOutput) ToGetUserVdomArrayOutputWithContext(ctx context.Context) GetUserVdomArrayOutput
type GetUserVdomInput ¶
type GetUserVdomInput interface { pulumi.Input ToGetUserVdomOutput() GetUserVdomOutput ToGetUserVdomOutputWithContext(context.Context) GetUserVdomOutput }
GetUserVdomInput is an input type that accepts GetUserVdomArgs and GetUserVdomOutput values. You can construct a concrete instance of `GetUserVdomInput` via:
GetUserVdomArgs{...}
type GetUserVdomOutput ¶
type GetUserVdomOutput struct{ *pulumi.OutputState }
func (GetUserVdomOutput) ElementType ¶
func (GetUserVdomOutput) ElementType() reflect.Type
func (GetUserVdomOutput) Name ¶
func (o GetUserVdomOutput) Name() pulumi.StringOutput
Specify the name of the desired systemsnmp user.
func (GetUserVdomOutput) ToGetUserVdomOutput ¶
func (o GetUserVdomOutput) ToGetUserVdomOutput() GetUserVdomOutput
func (GetUserVdomOutput) ToGetUserVdomOutputWithContext ¶
func (o GetUserVdomOutput) ToGetUserVdomOutputWithContext(ctx context.Context) GetUserVdomOutput
type GetUserlistArgs ¶
type GetUserlistArgs struct { // A filter used to scope the list. See Filter results of datasource. Filter *string `pulumi:"filter"` // Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"` }
A collection of arguments for invoking getUserlist.
type GetUserlistOutputArgs ¶
type GetUserlistOutputArgs struct { // A filter used to scope the list. See Filter results of datasource. Filter pulumi.StringPtrInput `pulumi:"filter"` // Specifies the vdom to which the data source 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 `pulumi:"vdomparam"` }
A collection of arguments for invoking getUserlist.
func (GetUserlistOutputArgs) ElementType ¶
func (GetUserlistOutputArgs) ElementType() reflect.Type
type GetUserlistResult ¶
type GetUserlistResult struct { Filter *string `pulumi:"filter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of the `system/snmp.User`. Namelists []string `pulumi:"namelists"` Vdomparam *string `pulumi:"vdomparam"` }
A collection of values returned by getUserlist.
func GetUserlist ¶
func GetUserlist(ctx *pulumi.Context, args *GetUserlistArgs, opts ...pulumi.InvokeOption) (*GetUserlistResult, error)
Provides a list of `system/snmp.User`.
type GetUserlistResultOutput ¶
type GetUserlistResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUserlist.
func GetUserlistOutput ¶
func GetUserlistOutput(ctx *pulumi.Context, args GetUserlistOutputArgs, opts ...pulumi.InvokeOption) GetUserlistResultOutput
func (GetUserlistResultOutput) ElementType ¶
func (GetUserlistResultOutput) ElementType() reflect.Type
func (GetUserlistResultOutput) Filter ¶
func (o GetUserlistResultOutput) Filter() pulumi.StringPtrOutput
func (GetUserlistResultOutput) Id ¶
func (o GetUserlistResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetUserlistResultOutput) Namelists ¶
func (o GetUserlistResultOutput) Namelists() pulumi.StringArrayOutput
A list of the `system/snmp.User`.
func (GetUserlistResultOutput) ToGetUserlistResultOutput ¶
func (o GetUserlistResultOutput) ToGetUserlistResultOutput() GetUserlistResultOutput
func (GetUserlistResultOutput) ToGetUserlistResultOutputWithContext ¶
func (o GetUserlistResultOutput) ToGetUserlistResultOutputWithContext(ctx context.Context) GetUserlistResultOutput
func (GetUserlistResultOutput) Vdomparam ¶
func (o GetUserlistResultOutput) Vdomparam() pulumi.StringPtrOutput
type LookupCommunityArgs ¶
type LookupCommunityArgs struct { // Specify the fosid of the desired systemsnmp community. Fosid int `pulumi:"fosid"` // Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"` }
A collection of arguments for invoking getCommunity.
type LookupCommunityOutputArgs ¶
type LookupCommunityOutputArgs struct { // Specify the fosid of the desired systemsnmp community. Fosid pulumi.IntInput `pulumi:"fosid"` // Specifies the vdom to which the data source 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 `pulumi:"vdomparam"` }
A collection of arguments for invoking getCommunity.
func (LookupCommunityOutputArgs) ElementType ¶
func (LookupCommunityOutputArgs) ElementType() reflect.Type
type LookupCommunityResult ¶
type LookupCommunityResult struct { // SNMP trap events. Events string `pulumi:"events"` // Community ID. Fosid int `pulumi:"fosid"` // Configure IPv4 SNMP managers (hosts). The structure of `hosts` block is documented below. Hosts []GetCommunityHost `pulumi:"hosts"` // Configure IPv6 SNMP managers. The structure of `hosts6` block is documented below. Hosts6s []GetCommunityHosts6 `pulumi:"hosts6s"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // SNMP access control MIB view. MibView string `pulumi:"mibView"` // VDOM name Name string `pulumi:"name"` // SNMP v1 query port (default = 161). QueryV1Port int `pulumi:"queryV1Port"` // Enable/disable SNMP v1 queries. QueryV1Status string `pulumi:"queryV1Status"` // SNMP v2c query port (default = 161). QueryV2cPort int `pulumi:"queryV2cPort"` // Enable/disable SNMP v2c queries. QueryV2cStatus string `pulumi:"queryV2cStatus"` // Enable/disable this SNMP community. Status string `pulumi:"status"` // SNMP v1 trap local port (default = 162). TrapV1Lport int `pulumi:"trapV1Lport"` // SNMP v1 trap remote port (default = 162). TrapV1Rport int `pulumi:"trapV1Rport"` // Enable/disable SNMP v1 traps. TrapV1Status string `pulumi:"trapV1Status"` // SNMP v2c trap local port (default = 162). TrapV2cLport int `pulumi:"trapV2cLport"` // SNMP v2c trap remote port (default = 162). TrapV2cRport int `pulumi:"trapV2cRport"` // Enable/disable SNMP v2c traps. TrapV2cStatus string `pulumi:"trapV2cStatus"` Vdomparam *string `pulumi:"vdomparam"` // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms []GetCommunityVdom `pulumi:"vdoms"` }
A collection of values returned by getCommunity.
func LookupCommunity ¶
func LookupCommunity(ctx *pulumi.Context, args *LookupCommunityArgs, opts ...pulumi.InvokeOption) (*LookupCommunityResult, error)
Use this data source to get information on an fortios systemsnmp community
type LookupCommunityResultOutput ¶
type LookupCommunityResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCommunity.
func LookupCommunityOutput ¶
func LookupCommunityOutput(ctx *pulumi.Context, args LookupCommunityOutputArgs, opts ...pulumi.InvokeOption) LookupCommunityResultOutput
func (LookupCommunityResultOutput) ElementType ¶
func (LookupCommunityResultOutput) ElementType() reflect.Type
func (LookupCommunityResultOutput) Events ¶
func (o LookupCommunityResultOutput) Events() pulumi.StringOutput
SNMP trap events.
func (LookupCommunityResultOutput) Fosid ¶
func (o LookupCommunityResultOutput) Fosid() pulumi.IntOutput
Community ID.
func (LookupCommunityResultOutput) Hosts ¶
func (o LookupCommunityResultOutput) Hosts() GetCommunityHostArrayOutput
Configure IPv4 SNMP managers (hosts). The structure of `hosts` block is documented below.
func (LookupCommunityResultOutput) Hosts6s ¶
func (o LookupCommunityResultOutput) Hosts6s() GetCommunityHosts6ArrayOutput
Configure IPv6 SNMP managers. The structure of `hosts6` block is documented below.
func (LookupCommunityResultOutput) Id ¶
func (o LookupCommunityResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupCommunityResultOutput) MibView ¶
func (o LookupCommunityResultOutput) MibView() pulumi.StringOutput
SNMP access control MIB view.
func (LookupCommunityResultOutput) Name ¶
func (o LookupCommunityResultOutput) Name() pulumi.StringOutput
VDOM name
func (LookupCommunityResultOutput) QueryV1Port ¶
func (o LookupCommunityResultOutput) QueryV1Port() pulumi.IntOutput
SNMP v1 query port (default = 161).
func (LookupCommunityResultOutput) QueryV1Status ¶
func (o LookupCommunityResultOutput) QueryV1Status() pulumi.StringOutput
Enable/disable SNMP v1 queries.
func (LookupCommunityResultOutput) QueryV2cPort ¶
func (o LookupCommunityResultOutput) QueryV2cPort() pulumi.IntOutput
SNMP v2c query port (default = 161).
func (LookupCommunityResultOutput) QueryV2cStatus ¶
func (o LookupCommunityResultOutput) QueryV2cStatus() pulumi.StringOutput
Enable/disable SNMP v2c queries.
func (LookupCommunityResultOutput) Status ¶
func (o LookupCommunityResultOutput) Status() pulumi.StringOutput
Enable/disable this SNMP community.
func (LookupCommunityResultOutput) ToLookupCommunityResultOutput ¶
func (o LookupCommunityResultOutput) ToLookupCommunityResultOutput() LookupCommunityResultOutput
func (LookupCommunityResultOutput) ToLookupCommunityResultOutputWithContext ¶
func (o LookupCommunityResultOutput) ToLookupCommunityResultOutputWithContext(ctx context.Context) LookupCommunityResultOutput
func (LookupCommunityResultOutput) TrapV1Lport ¶
func (o LookupCommunityResultOutput) TrapV1Lport() pulumi.IntOutput
SNMP v1 trap local port (default = 162).
func (LookupCommunityResultOutput) TrapV1Rport ¶
func (o LookupCommunityResultOutput) TrapV1Rport() pulumi.IntOutput
SNMP v1 trap remote port (default = 162).
func (LookupCommunityResultOutput) TrapV1Status ¶
func (o LookupCommunityResultOutput) TrapV1Status() pulumi.StringOutput
Enable/disable SNMP v1 traps.
func (LookupCommunityResultOutput) TrapV2cLport ¶
func (o LookupCommunityResultOutput) TrapV2cLport() pulumi.IntOutput
SNMP v2c trap local port (default = 162).
func (LookupCommunityResultOutput) TrapV2cRport ¶
func (o LookupCommunityResultOutput) TrapV2cRport() pulumi.IntOutput
SNMP v2c trap remote port (default = 162).
func (LookupCommunityResultOutput) TrapV2cStatus ¶
func (o LookupCommunityResultOutput) TrapV2cStatus() pulumi.StringOutput
Enable/disable SNMP v2c traps.
func (LookupCommunityResultOutput) Vdomparam ¶
func (o LookupCommunityResultOutput) Vdomparam() pulumi.StringPtrOutput
func (LookupCommunityResultOutput) Vdoms ¶
func (o LookupCommunityResultOutput) Vdoms() GetCommunityVdomArrayOutput
SNMP access control VDOMs. The structure of `vdoms` block is documented below.
type LookupSysinfoArgs ¶
type LookupSysinfoArgs struct { // Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"` }
A collection of arguments for invoking getSysinfo.
type LookupSysinfoOutputArgs ¶
type LookupSysinfoOutputArgs struct { // Specifies the vdom to which the data source 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 `pulumi:"vdomparam"` }
A collection of arguments for invoking getSysinfo.
func (LookupSysinfoOutputArgs) ElementType ¶
func (LookupSysinfoOutputArgs) ElementType() reflect.Type
type LookupSysinfoResult ¶
type LookupSysinfoResult struct { // Enable/disable allowance of appending VDOM or interface index in some RFC tables. AppendIndex string `pulumi:"appendIndex"` // Contact information. ContactInfo string `pulumi:"contactInfo"` // System description. Description string `pulumi:"description"` // Local SNMP engineID string (maximum 24 characters). EngineId string `pulumi:"engineId"` // Local SNMP engineID type (text/hex/mac). EngineIdType string `pulumi:"engineIdType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // System location. Location string `pulumi:"location"` // Enable/disable SNMP. Status string `pulumi:"status"` // Free memory usage when trap is sent. TrapFreeMemoryThreshold int `pulumi:"trapFreeMemoryThreshold"` // Freeable memory usage when trap is sent. TrapFreeableMemoryThreshold int `pulumi:"trapFreeableMemoryThreshold"` // CPU usage when trap is sent. TrapHighCpuThreshold int `pulumi:"trapHighCpuThreshold"` // Log disk usage when trap is sent. TrapLogFullThreshold int `pulumi:"trapLogFullThreshold"` // Memory usage when trap is sent. TrapLowMemoryThreshold int `pulumi:"trapLowMemoryThreshold"` Vdomparam *string `pulumi:"vdomparam"` }
A collection of values returned by getSysinfo.
func LookupSysinfo ¶
func LookupSysinfo(ctx *pulumi.Context, args *LookupSysinfoArgs, opts ...pulumi.InvokeOption) (*LookupSysinfoResult, error)
Use this data source to get information on fortios systemsnmp sysinfo
type LookupSysinfoResultOutput ¶
type LookupSysinfoResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSysinfo.
func LookupSysinfoOutput ¶
func LookupSysinfoOutput(ctx *pulumi.Context, args LookupSysinfoOutputArgs, opts ...pulumi.InvokeOption) LookupSysinfoResultOutput
func (LookupSysinfoResultOutput) AppendIndex ¶ added in v0.0.6
func (o LookupSysinfoResultOutput) AppendIndex() pulumi.StringOutput
Enable/disable allowance of appending VDOM or interface index in some RFC tables.
func (LookupSysinfoResultOutput) ContactInfo ¶
func (o LookupSysinfoResultOutput) ContactInfo() pulumi.StringOutput
Contact information.
func (LookupSysinfoResultOutput) Description ¶
func (o LookupSysinfoResultOutput) Description() pulumi.StringOutput
System description.
func (LookupSysinfoResultOutput) ElementType ¶
func (LookupSysinfoResultOutput) ElementType() reflect.Type
func (LookupSysinfoResultOutput) EngineId ¶
func (o LookupSysinfoResultOutput) EngineId() pulumi.StringOutput
Local SNMP engineID string (maximum 24 characters).
func (LookupSysinfoResultOutput) EngineIdType ¶
func (o LookupSysinfoResultOutput) EngineIdType() pulumi.StringOutput
Local SNMP engineID type (text/hex/mac).
func (LookupSysinfoResultOutput) Id ¶
func (o LookupSysinfoResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSysinfoResultOutput) Location ¶
func (o LookupSysinfoResultOutput) Location() pulumi.StringOutput
System location.
func (LookupSysinfoResultOutput) Status ¶
func (o LookupSysinfoResultOutput) Status() pulumi.StringOutput
Enable/disable SNMP.
func (LookupSysinfoResultOutput) ToLookupSysinfoResultOutput ¶
func (o LookupSysinfoResultOutput) ToLookupSysinfoResultOutput() LookupSysinfoResultOutput
func (LookupSysinfoResultOutput) ToLookupSysinfoResultOutputWithContext ¶
func (o LookupSysinfoResultOutput) ToLookupSysinfoResultOutputWithContext(ctx context.Context) LookupSysinfoResultOutput
func (LookupSysinfoResultOutput) TrapFreeMemoryThreshold ¶
func (o LookupSysinfoResultOutput) TrapFreeMemoryThreshold() pulumi.IntOutput
Free memory usage when trap is sent.
func (LookupSysinfoResultOutput) TrapFreeableMemoryThreshold ¶
func (o LookupSysinfoResultOutput) TrapFreeableMemoryThreshold() pulumi.IntOutput
Freeable memory usage when trap is sent.
func (LookupSysinfoResultOutput) TrapHighCpuThreshold ¶
func (o LookupSysinfoResultOutput) TrapHighCpuThreshold() pulumi.IntOutput
CPU usage when trap is sent.
func (LookupSysinfoResultOutput) TrapLogFullThreshold ¶
func (o LookupSysinfoResultOutput) TrapLogFullThreshold() pulumi.IntOutput
Log disk usage when trap is sent.
func (LookupSysinfoResultOutput) TrapLowMemoryThreshold ¶
func (o LookupSysinfoResultOutput) TrapLowMemoryThreshold() pulumi.IntOutput
Memory usage when trap is sent.
func (LookupSysinfoResultOutput) Vdomparam ¶
func (o LookupSysinfoResultOutput) Vdomparam() pulumi.StringPtrOutput
type LookupUserArgs ¶
type LookupUserArgs struct { // Specify the name of the desired systemsnmp user. Name string `pulumi:"name"` // Specifies the vdom to which the data source 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 *string `pulumi:"vdomparam"` }
A collection of arguments for invoking getUser.
type LookupUserOutputArgs ¶
type LookupUserOutputArgs struct { // Specify the name of the desired systemsnmp user. Name pulumi.StringInput `pulumi:"name"` // Specifies the vdom to which the data source 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 `pulumi:"vdomparam"` }
A collection of arguments for invoking getUser.
func (LookupUserOutputArgs) ElementType ¶
func (LookupUserOutputArgs) ElementType() reflect.Type
type LookupUserResult ¶
type LookupUserResult struct { // Authentication protocol. AuthProto string `pulumi:"authProto"` // Password for authentication protocol. AuthPwd string `pulumi:"authPwd"` // SNMP notifications (traps) to send. Events string `pulumi:"events"` // Enable/disable direct management of HA cluster members. HaDirect string `pulumi:"haDirect"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // SNMP access control MIB view. MibView string `pulumi:"mibView"` // VDOM name Name string `pulumi:"name"` // SNMP managers to send notifications (traps) to. NotifyHosts string `pulumi:"notifyHosts"` // IPv6 SNMP managers to send notifications (traps) to. NotifyHosts6 string `pulumi:"notifyHosts6"` // Privacy (encryption) protocol. PrivProto string `pulumi:"privProto"` // Password for privacy (encryption) protocol. PrivPwd string `pulumi:"privPwd"` // Enable/disable SNMP queries for this user. Queries string `pulumi:"queries"` // SNMPv3 query port (default = 161). QueryPort int `pulumi:"queryPort"` // Security level for message authentication and encryption. SecurityLevel string `pulumi:"securityLevel"` // Source IP for SNMP trap. SourceIp string `pulumi:"sourceIp"` // Source IPv6 for SNMP trap. SourceIpv6 string `pulumi:"sourceIpv6"` // Enable/disable this SNMP user. Status string `pulumi:"status"` // SNMPv3 local trap port (default = 162). TrapLport int `pulumi:"trapLport"` // SNMPv3 trap remote port (default = 162). TrapRport int `pulumi:"trapRport"` // Enable/disable traps for this SNMP user. TrapStatus string `pulumi:"trapStatus"` Vdomparam *string `pulumi:"vdomparam"` // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms []GetUserVdom `pulumi:"vdoms"` }
A collection of values returned by getUser.
func LookupUser ¶
func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)
Use this data source to get information on an fortios systemsnmp user
type LookupUserResultOutput ¶
type LookupUserResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUser.
func LookupUserOutput ¶
func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pulumi.InvokeOption) LookupUserResultOutput
func (LookupUserResultOutput) AuthProto ¶
func (o LookupUserResultOutput) AuthProto() pulumi.StringOutput
Authentication protocol.
func (LookupUserResultOutput) AuthPwd ¶
func (o LookupUserResultOutput) AuthPwd() pulumi.StringOutput
Password for authentication protocol.
func (LookupUserResultOutput) ElementType ¶
func (LookupUserResultOutput) ElementType() reflect.Type
func (LookupUserResultOutput) Events ¶
func (o LookupUserResultOutput) Events() pulumi.StringOutput
SNMP notifications (traps) to send.
func (LookupUserResultOutput) HaDirect ¶
func (o LookupUserResultOutput) HaDirect() pulumi.StringOutput
Enable/disable direct management of HA cluster members.
func (LookupUserResultOutput) Id ¶
func (o LookupUserResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupUserResultOutput) MibView ¶
func (o LookupUserResultOutput) MibView() pulumi.StringOutput
SNMP access control MIB view.
func (LookupUserResultOutput) Name ¶
func (o LookupUserResultOutput) Name() pulumi.StringOutput
VDOM name
func (LookupUserResultOutput) NotifyHosts ¶
func (o LookupUserResultOutput) NotifyHosts() pulumi.StringOutput
SNMP managers to send notifications (traps) to.
func (LookupUserResultOutput) NotifyHosts6 ¶
func (o LookupUserResultOutput) NotifyHosts6() pulumi.StringOutput
IPv6 SNMP managers to send notifications (traps) to.
func (LookupUserResultOutput) PrivProto ¶
func (o LookupUserResultOutput) PrivProto() pulumi.StringOutput
Privacy (encryption) protocol.
func (LookupUserResultOutput) PrivPwd ¶
func (o LookupUserResultOutput) PrivPwd() pulumi.StringOutput
Password for privacy (encryption) protocol.
func (LookupUserResultOutput) Queries ¶
func (o LookupUserResultOutput) Queries() pulumi.StringOutput
Enable/disable SNMP queries for this user.
func (LookupUserResultOutput) QueryPort ¶
func (o LookupUserResultOutput) QueryPort() pulumi.IntOutput
SNMPv3 query port (default = 161).
func (LookupUserResultOutput) SecurityLevel ¶
func (o LookupUserResultOutput) SecurityLevel() pulumi.StringOutput
Security level for message authentication and encryption.
func (LookupUserResultOutput) SourceIp ¶
func (o LookupUserResultOutput) SourceIp() pulumi.StringOutput
Source IP for SNMP trap.
func (LookupUserResultOutput) SourceIpv6 ¶
func (o LookupUserResultOutput) SourceIpv6() pulumi.StringOutput
Source IPv6 for SNMP trap.
func (LookupUserResultOutput) Status ¶
func (o LookupUserResultOutput) Status() pulumi.StringOutput
Enable/disable this SNMP user.
func (LookupUserResultOutput) ToLookupUserResultOutput ¶
func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput
func (LookupUserResultOutput) ToLookupUserResultOutputWithContext ¶
func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput
func (LookupUserResultOutput) TrapLport ¶
func (o LookupUserResultOutput) TrapLport() pulumi.IntOutput
SNMPv3 local trap port (default = 162).
func (LookupUserResultOutput) TrapRport ¶
func (o LookupUserResultOutput) TrapRport() pulumi.IntOutput
SNMPv3 trap remote port (default = 162).
func (LookupUserResultOutput) TrapStatus ¶
func (o LookupUserResultOutput) TrapStatus() pulumi.StringOutput
Enable/disable traps for this SNMP user.
func (LookupUserResultOutput) Vdomparam ¶
func (o LookupUserResultOutput) Vdomparam() pulumi.StringPtrOutput
func (LookupUserResultOutput) Vdoms ¶
func (o LookupUserResultOutput) Vdoms() GetUserVdomArrayOutput
SNMP access control VDOMs. The structure of `vdoms` block is documented below.
type Mibview ¶
type Mibview struct { pulumi.CustomResourceState // The OID subtrees to be excluded in the view. Maximum 64 allowed. Exclude pulumi.StringOutput `pulumi:"exclude"` // The OID subtrees to be included in the view. Maximum 16 allowed. Include pulumi.StringOutput `pulumi:"include"` // MIB view 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"` }
SNMP Access Control MIB View configuration. Applies to FortiOS Version `>= 7.2.0`.
## Import
SystemSnmp MibView can be imported using any of these accepted formats:
```sh $ pulumi import fortios:system/snmp/mibview:Mibview labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:system/snmp/mibview:Mibview labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetMibview ¶
func GetMibview(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MibviewState, opts ...pulumi.ResourceOption) (*Mibview, error)
GetMibview gets an existing Mibview 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 NewMibview ¶
func NewMibview(ctx *pulumi.Context, name string, args *MibviewArgs, opts ...pulumi.ResourceOption) (*Mibview, error)
NewMibview registers a new resource with the given unique name, arguments, and options.
func (*Mibview) ElementType ¶
func (*Mibview) ToMibviewOutput ¶
func (i *Mibview) ToMibviewOutput() MibviewOutput
func (*Mibview) ToMibviewOutputWithContext ¶
func (i *Mibview) ToMibviewOutputWithContext(ctx context.Context) MibviewOutput
type MibviewArgs ¶
type MibviewArgs struct { // The OID subtrees to be excluded in the view. Maximum 64 allowed. Exclude pulumi.StringPtrInput // The OID subtrees to be included in the view. Maximum 16 allowed. Include pulumi.StringPtrInput // MIB view 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 }
The set of arguments for constructing a Mibview resource.
func (MibviewArgs) ElementType ¶
func (MibviewArgs) ElementType() reflect.Type
type MibviewArray ¶
type MibviewArray []MibviewInput
func (MibviewArray) ElementType ¶
func (MibviewArray) ElementType() reflect.Type
func (MibviewArray) ToMibviewArrayOutput ¶
func (i MibviewArray) ToMibviewArrayOutput() MibviewArrayOutput
func (MibviewArray) ToMibviewArrayOutputWithContext ¶
func (i MibviewArray) ToMibviewArrayOutputWithContext(ctx context.Context) MibviewArrayOutput
type MibviewArrayInput ¶
type MibviewArrayInput interface { pulumi.Input ToMibviewArrayOutput() MibviewArrayOutput ToMibviewArrayOutputWithContext(context.Context) MibviewArrayOutput }
MibviewArrayInput is an input type that accepts MibviewArray and MibviewArrayOutput values. You can construct a concrete instance of `MibviewArrayInput` via:
MibviewArray{ MibviewArgs{...} }
type MibviewArrayOutput ¶
type MibviewArrayOutput struct{ *pulumi.OutputState }
func (MibviewArrayOutput) ElementType ¶
func (MibviewArrayOutput) ElementType() reflect.Type
func (MibviewArrayOutput) Index ¶
func (o MibviewArrayOutput) Index(i pulumi.IntInput) MibviewOutput
func (MibviewArrayOutput) ToMibviewArrayOutput ¶
func (o MibviewArrayOutput) ToMibviewArrayOutput() MibviewArrayOutput
func (MibviewArrayOutput) ToMibviewArrayOutputWithContext ¶
func (o MibviewArrayOutput) ToMibviewArrayOutputWithContext(ctx context.Context) MibviewArrayOutput
type MibviewInput ¶
type MibviewInput interface { pulumi.Input ToMibviewOutput() MibviewOutput ToMibviewOutputWithContext(ctx context.Context) MibviewOutput }
type MibviewMap ¶
type MibviewMap map[string]MibviewInput
func (MibviewMap) ElementType ¶
func (MibviewMap) ElementType() reflect.Type
func (MibviewMap) ToMibviewMapOutput ¶
func (i MibviewMap) ToMibviewMapOutput() MibviewMapOutput
func (MibviewMap) ToMibviewMapOutputWithContext ¶
func (i MibviewMap) ToMibviewMapOutputWithContext(ctx context.Context) MibviewMapOutput
type MibviewMapInput ¶
type MibviewMapInput interface { pulumi.Input ToMibviewMapOutput() MibviewMapOutput ToMibviewMapOutputWithContext(context.Context) MibviewMapOutput }
MibviewMapInput is an input type that accepts MibviewMap and MibviewMapOutput values. You can construct a concrete instance of `MibviewMapInput` via:
MibviewMap{ "key": MibviewArgs{...} }
type MibviewMapOutput ¶
type MibviewMapOutput struct{ *pulumi.OutputState }
func (MibviewMapOutput) ElementType ¶
func (MibviewMapOutput) ElementType() reflect.Type
func (MibviewMapOutput) MapIndex ¶
func (o MibviewMapOutput) MapIndex(k pulumi.StringInput) MibviewOutput
func (MibviewMapOutput) ToMibviewMapOutput ¶
func (o MibviewMapOutput) ToMibviewMapOutput() MibviewMapOutput
func (MibviewMapOutput) ToMibviewMapOutputWithContext ¶
func (o MibviewMapOutput) ToMibviewMapOutputWithContext(ctx context.Context) MibviewMapOutput
type MibviewOutput ¶
type MibviewOutput struct{ *pulumi.OutputState }
func (MibviewOutput) ElementType ¶
func (MibviewOutput) ElementType() reflect.Type
func (MibviewOutput) Exclude ¶
func (o MibviewOutput) Exclude() pulumi.StringOutput
The OID subtrees to be excluded in the view. Maximum 64 allowed.
func (MibviewOutput) Include ¶
func (o MibviewOutput) Include() pulumi.StringOutput
The OID subtrees to be included in the view. Maximum 16 allowed.
func (MibviewOutput) ToMibviewOutput ¶
func (o MibviewOutput) ToMibviewOutput() MibviewOutput
func (MibviewOutput) ToMibviewOutputWithContext ¶
func (o MibviewOutput) ToMibviewOutputWithContext(ctx context.Context) MibviewOutput
func (MibviewOutput) Vdomparam ¶
func (o MibviewOutput) 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 MibviewState ¶
type MibviewState struct { // The OID subtrees to be excluded in the view. Maximum 64 allowed. Exclude pulumi.StringPtrInput // The OID subtrees to be included in the view. Maximum 16 allowed. Include pulumi.StringPtrInput // MIB view 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 }
func (MibviewState) ElementType ¶
func (MibviewState) ElementType() reflect.Type
type Sysinfo ¶
type Sysinfo struct { pulumi.CustomResourceState // Enable/disable allowance of appending VDOM or interface index in some RFC tables. Valid values: `enable`, `disable`. AppendIndex pulumi.StringOutput `pulumi:"appendIndex"` // Contact information. ContactInfo pulumi.StringPtrOutput `pulumi:"contactInfo"` // System description. Description pulumi.StringPtrOutput `pulumi:"description"` // Local SNMP engineID string. On FortiOS versions 6.2.0-7.0.0: maximum 24 characters. On FortiOS versions >= 7.0.1: maximum 27 characters. EngineId pulumi.StringOutput `pulumi:"engineId"` // Local SNMP engineID type (text/hex/mac). Valid values: `text`, `hex`, `mac`. EngineIdType pulumi.StringOutput `pulumi:"engineIdType"` // System location. Location pulumi.StringPtrOutput `pulumi:"location"` // Enable/disable SNMP. Valid values: `enable`, `disable`. Status pulumi.StringOutput `pulumi:"status"` // Free memory usage when trap is sent. TrapFreeMemoryThreshold pulumi.IntOutput `pulumi:"trapFreeMemoryThreshold"` // Freeable memory usage when trap is sent. TrapFreeableMemoryThreshold pulumi.IntOutput `pulumi:"trapFreeableMemoryThreshold"` // CPU usage when trap is sent. TrapHighCpuThreshold pulumi.IntOutput `pulumi:"trapHighCpuThreshold"` // Log disk usage when trap is sent. TrapLogFullThreshold pulumi.IntOutput `pulumi:"trapLogFullThreshold"` // Memory usage when trap is sent. TrapLowMemoryThreshold pulumi.IntOutput `pulumi:"trapLowMemoryThreshold"` // 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"` }
SNMP system info configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := system.NewSysinfo(ctx, "trname", &system.SysinfoArgs{ Status: pulumi.String("disable"), TrapHighCpuThreshold: pulumi.Int(80), TrapLogFullThreshold: pulumi.Int(90), TrapLowMemoryThreshold: pulumi.Int(80), }) if err != nil { return err } return nil }) }
```
## Import
SystemSnmp Sysinfo can be imported using any of these accepted formats:
```sh $ pulumi import fortios:system/snmp/sysinfo:Sysinfo labelname SystemSnmpSysinfo ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:system/snmp/sysinfo:Sysinfo labelname SystemSnmpSysinfo ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetSysinfo ¶
func GetSysinfo(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SysinfoState, opts ...pulumi.ResourceOption) (*Sysinfo, error)
GetSysinfo gets an existing Sysinfo 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 NewSysinfo ¶
func NewSysinfo(ctx *pulumi.Context, name string, args *SysinfoArgs, opts ...pulumi.ResourceOption) (*Sysinfo, error)
NewSysinfo registers a new resource with the given unique name, arguments, and options.
func (*Sysinfo) ElementType ¶
func (*Sysinfo) ToSysinfoOutput ¶
func (i *Sysinfo) ToSysinfoOutput() SysinfoOutput
func (*Sysinfo) ToSysinfoOutputWithContext ¶
func (i *Sysinfo) ToSysinfoOutputWithContext(ctx context.Context) SysinfoOutput
type SysinfoArgs ¶
type SysinfoArgs struct { // Enable/disable allowance of appending VDOM or interface index in some RFC tables. Valid values: `enable`, `disable`. AppendIndex pulumi.StringPtrInput // Contact information. ContactInfo pulumi.StringPtrInput // System description. Description pulumi.StringPtrInput // Local SNMP engineID string. On FortiOS versions 6.2.0-7.0.0: maximum 24 characters. On FortiOS versions >= 7.0.1: maximum 27 characters. EngineId pulumi.StringPtrInput // Local SNMP engineID type (text/hex/mac). Valid values: `text`, `hex`, `mac`. EngineIdType pulumi.StringPtrInput // System location. Location pulumi.StringPtrInput // Enable/disable SNMP. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput // Free memory usage when trap is sent. TrapFreeMemoryThreshold pulumi.IntPtrInput // Freeable memory usage when trap is sent. TrapFreeableMemoryThreshold pulumi.IntPtrInput // CPU usage when trap is sent. TrapHighCpuThreshold pulumi.IntPtrInput // Log disk usage when trap is sent. TrapLogFullThreshold pulumi.IntPtrInput // Memory usage when trap is sent. TrapLowMemoryThreshold pulumi.IntPtrInput // 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 }
The set of arguments for constructing a Sysinfo resource.
func (SysinfoArgs) ElementType ¶
func (SysinfoArgs) ElementType() reflect.Type
type SysinfoArray ¶
type SysinfoArray []SysinfoInput
func (SysinfoArray) ElementType ¶
func (SysinfoArray) ElementType() reflect.Type
func (SysinfoArray) ToSysinfoArrayOutput ¶
func (i SysinfoArray) ToSysinfoArrayOutput() SysinfoArrayOutput
func (SysinfoArray) ToSysinfoArrayOutputWithContext ¶
func (i SysinfoArray) ToSysinfoArrayOutputWithContext(ctx context.Context) SysinfoArrayOutput
type SysinfoArrayInput ¶
type SysinfoArrayInput interface { pulumi.Input ToSysinfoArrayOutput() SysinfoArrayOutput ToSysinfoArrayOutputWithContext(context.Context) SysinfoArrayOutput }
SysinfoArrayInput is an input type that accepts SysinfoArray and SysinfoArrayOutput values. You can construct a concrete instance of `SysinfoArrayInput` via:
SysinfoArray{ SysinfoArgs{...} }
type SysinfoArrayOutput ¶
type SysinfoArrayOutput struct{ *pulumi.OutputState }
func (SysinfoArrayOutput) ElementType ¶
func (SysinfoArrayOutput) ElementType() reflect.Type
func (SysinfoArrayOutput) Index ¶
func (o SysinfoArrayOutput) Index(i pulumi.IntInput) SysinfoOutput
func (SysinfoArrayOutput) ToSysinfoArrayOutput ¶
func (o SysinfoArrayOutput) ToSysinfoArrayOutput() SysinfoArrayOutput
func (SysinfoArrayOutput) ToSysinfoArrayOutputWithContext ¶
func (o SysinfoArrayOutput) ToSysinfoArrayOutputWithContext(ctx context.Context) SysinfoArrayOutput
type SysinfoInput ¶
type SysinfoInput interface { pulumi.Input ToSysinfoOutput() SysinfoOutput ToSysinfoOutputWithContext(ctx context.Context) SysinfoOutput }
type SysinfoMap ¶
type SysinfoMap map[string]SysinfoInput
func (SysinfoMap) ElementType ¶
func (SysinfoMap) ElementType() reflect.Type
func (SysinfoMap) ToSysinfoMapOutput ¶
func (i SysinfoMap) ToSysinfoMapOutput() SysinfoMapOutput
func (SysinfoMap) ToSysinfoMapOutputWithContext ¶
func (i SysinfoMap) ToSysinfoMapOutputWithContext(ctx context.Context) SysinfoMapOutput
type SysinfoMapInput ¶
type SysinfoMapInput interface { pulumi.Input ToSysinfoMapOutput() SysinfoMapOutput ToSysinfoMapOutputWithContext(context.Context) SysinfoMapOutput }
SysinfoMapInput is an input type that accepts SysinfoMap and SysinfoMapOutput values. You can construct a concrete instance of `SysinfoMapInput` via:
SysinfoMap{ "key": SysinfoArgs{...} }
type SysinfoMapOutput ¶
type SysinfoMapOutput struct{ *pulumi.OutputState }
func (SysinfoMapOutput) ElementType ¶
func (SysinfoMapOutput) ElementType() reflect.Type
func (SysinfoMapOutput) MapIndex ¶
func (o SysinfoMapOutput) MapIndex(k pulumi.StringInput) SysinfoOutput
func (SysinfoMapOutput) ToSysinfoMapOutput ¶
func (o SysinfoMapOutput) ToSysinfoMapOutput() SysinfoMapOutput
func (SysinfoMapOutput) ToSysinfoMapOutputWithContext ¶
func (o SysinfoMapOutput) ToSysinfoMapOutputWithContext(ctx context.Context) SysinfoMapOutput
type SysinfoOutput ¶
type SysinfoOutput struct{ *pulumi.OutputState }
func (SysinfoOutput) AppendIndex ¶ added in v0.0.6
func (o SysinfoOutput) AppendIndex() pulumi.StringOutput
Enable/disable allowance of appending VDOM or interface index in some RFC tables. Valid values: `enable`, `disable`.
func (SysinfoOutput) ContactInfo ¶
func (o SysinfoOutput) ContactInfo() pulumi.StringPtrOutput
Contact information.
func (SysinfoOutput) Description ¶
func (o SysinfoOutput) Description() pulumi.StringPtrOutput
System description.
func (SysinfoOutput) ElementType ¶
func (SysinfoOutput) ElementType() reflect.Type
func (SysinfoOutput) EngineId ¶
func (o SysinfoOutput) EngineId() pulumi.StringOutput
Local SNMP engineID string. On FortiOS versions 6.2.0-7.0.0: maximum 24 characters. On FortiOS versions >= 7.0.1: maximum 27 characters.
func (SysinfoOutput) EngineIdType ¶
func (o SysinfoOutput) EngineIdType() pulumi.StringOutput
Local SNMP engineID type (text/hex/mac). Valid values: `text`, `hex`, `mac`.
func (SysinfoOutput) Location ¶
func (o SysinfoOutput) Location() pulumi.StringPtrOutput
System location.
func (SysinfoOutput) Status ¶
func (o SysinfoOutput) Status() pulumi.StringOutput
Enable/disable SNMP. Valid values: `enable`, `disable`.
func (SysinfoOutput) ToSysinfoOutput ¶
func (o SysinfoOutput) ToSysinfoOutput() SysinfoOutput
func (SysinfoOutput) ToSysinfoOutputWithContext ¶
func (o SysinfoOutput) ToSysinfoOutputWithContext(ctx context.Context) SysinfoOutput
func (SysinfoOutput) TrapFreeMemoryThreshold ¶
func (o SysinfoOutput) TrapFreeMemoryThreshold() pulumi.IntOutput
Free memory usage when trap is sent.
func (SysinfoOutput) TrapFreeableMemoryThreshold ¶
func (o SysinfoOutput) TrapFreeableMemoryThreshold() pulumi.IntOutput
Freeable memory usage when trap is sent.
func (SysinfoOutput) TrapHighCpuThreshold ¶
func (o SysinfoOutput) TrapHighCpuThreshold() pulumi.IntOutput
CPU usage when trap is sent.
func (SysinfoOutput) TrapLogFullThreshold ¶
func (o SysinfoOutput) TrapLogFullThreshold() pulumi.IntOutput
Log disk usage when trap is sent.
func (SysinfoOutput) TrapLowMemoryThreshold ¶
func (o SysinfoOutput) TrapLowMemoryThreshold() pulumi.IntOutput
Memory usage when trap is sent.
func (SysinfoOutput) Vdomparam ¶
func (o SysinfoOutput) 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 SysinfoState ¶
type SysinfoState struct { // Enable/disable allowance of appending VDOM or interface index in some RFC tables. Valid values: `enable`, `disable`. AppendIndex pulumi.StringPtrInput // Contact information. ContactInfo pulumi.StringPtrInput // System description. Description pulumi.StringPtrInput // Local SNMP engineID string. On FortiOS versions 6.2.0-7.0.0: maximum 24 characters. On FortiOS versions >= 7.0.1: maximum 27 characters. EngineId pulumi.StringPtrInput // Local SNMP engineID type (text/hex/mac). Valid values: `text`, `hex`, `mac`. EngineIdType pulumi.StringPtrInput // System location. Location pulumi.StringPtrInput // Enable/disable SNMP. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput // Free memory usage when trap is sent. TrapFreeMemoryThreshold pulumi.IntPtrInput // Freeable memory usage when trap is sent. TrapFreeableMemoryThreshold pulumi.IntPtrInput // CPU usage when trap is sent. TrapHighCpuThreshold pulumi.IntPtrInput // Log disk usage when trap is sent. TrapLogFullThreshold pulumi.IntPtrInput // Memory usage when trap is sent. TrapLowMemoryThreshold pulumi.IntPtrInput // 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 }
func (SysinfoState) ElementType ¶
func (SysinfoState) ElementType() reflect.Type
type User ¶
type User struct { pulumi.CustomResourceState // Authentication protocol. AuthProto pulumi.StringOutput `pulumi:"authProto"` // Password for authentication protocol. AuthPwd pulumi.StringPtrOutput `pulumi:"authPwd"` // 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 ]. DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"` // SNMP notifications (traps) to send. Events pulumi.StringOutput `pulumi:"events"` // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"` // Enable/disable direct management of HA cluster members. Valid values: `enable`, `disable`. HaDirect pulumi.StringOutput `pulumi:"haDirect"` // SNMP access control MIB view. MibView pulumi.StringOutput `pulumi:"mibView"` // SNMP user name. Name pulumi.StringOutput `pulumi:"name"` // SNMP managers to send notifications (traps) to. NotifyHosts pulumi.StringOutput `pulumi:"notifyHosts"` // IPv6 SNMP managers to send notifications (traps) to. NotifyHosts6 pulumi.StringOutput `pulumi:"notifyHosts6"` // Privacy (encryption) protocol. Valid values: `aes`, `des`, `aes256`, `aes256cisco`. PrivProto pulumi.StringOutput `pulumi:"privProto"` // Password for privacy (encryption) protocol. PrivPwd pulumi.StringPtrOutput `pulumi:"privPwd"` // Enable/disable SNMP queries for this user. Valid values: `enable`, `disable`. Queries pulumi.StringOutput `pulumi:"queries"` // SNMPv3 query port (default = 161). QueryPort pulumi.IntOutput `pulumi:"queryPort"` // Security level for message authentication and encryption. Valid values: `no-auth-no-priv`, `auth-no-priv`, `auth-priv`. SecurityLevel pulumi.StringOutput `pulumi:"securityLevel"` // Source IP for SNMP trap. SourceIp pulumi.StringOutput `pulumi:"sourceIp"` // Source IPv6 for SNMP trap. SourceIpv6 pulumi.StringOutput `pulumi:"sourceIpv6"` // Enable/disable this SNMP user. Valid values: `enable`, `disable`. Status pulumi.StringOutput `pulumi:"status"` // SNMPv3 local trap port (default = 162). TrapLport pulumi.IntOutput `pulumi:"trapLport"` // SNMPv3 trap remote port (default = 162). TrapRport pulumi.IntOutput `pulumi:"trapRport"` // Enable/disable traps for this SNMP user. Valid values: `enable`, `disable`. TrapStatus pulumi.StringOutput `pulumi:"trapStatus"` // 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"` // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms UserVdomArrayOutput `pulumi:"vdoms"` }
SNMP user configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := system.NewUser(ctx, "trname", &system.UserArgs{ AuthProto: pulumi.String("sha"), Events: pulumi.String("cpu-high mem-low log-full intf-ip vpn-tun-up vpn-tun-down ha-switch ha-hb-failure ips-signature ips-anomaly av-virus av-oversize av-pattern av-fragmented fm-if-change bgp-established bgp-backward-transition ha-member-up ha-member-down ent-conf-change av-conserve av-bypass av-oversize-passed av-oversize-blocked ips-pkg-update ips-fail-open faz-disconnect wc-ap-up wc-ap-down fswctl-session-up fswctl-session-down load-balance-real-server-down per-cpu-high"), HaDirect: pulumi.String("disable"), PrivProto: pulumi.String("aes"), Queries: pulumi.String("disable"), QueryPort: pulumi.Int(161), SecurityLevel: pulumi.String("no-auth-no-priv"), SourceIp: pulumi.String("0.0.0.0"), SourceIpv6: pulumi.String("::"), Status: pulumi.String("disable"), TrapLport: pulumi.Int(162), TrapRport: pulumi.Int(162), TrapStatus: pulumi.String("enable"), }) if err != nil { return err } return nil }) }
```
## Import
SystemSnmp User can be imported using any of these accepted formats:
```sh $ pulumi import fortios:system/snmp/user:User labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:system/snmp/user:User labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetUser ¶
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User 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 NewUser ¶
func NewUser(ctx *pulumi.Context, name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)
NewUser registers a new resource with the given unique name, arguments, and options.
func (*User) ElementType ¶
func (*User) ToUserOutput ¶
func (i *User) ToUserOutput() UserOutput
func (*User) ToUserOutputWithContext ¶
func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput
type UserArgs ¶
type UserArgs struct { // Authentication protocol. AuthProto pulumi.StringPtrInput // Password for authentication protocol. AuthPwd pulumi.StringPtrInput // 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 ]. DynamicSortSubtable pulumi.StringPtrInput // SNMP notifications (traps) to send. Events pulumi.StringPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Enable/disable direct management of HA cluster members. Valid values: `enable`, `disable`. HaDirect pulumi.StringPtrInput // SNMP access control MIB view. MibView pulumi.StringPtrInput // SNMP user name. Name pulumi.StringPtrInput // SNMP managers to send notifications (traps) to. NotifyHosts pulumi.StringPtrInput // IPv6 SNMP managers to send notifications (traps) to. NotifyHosts6 pulumi.StringPtrInput // Privacy (encryption) protocol. Valid values: `aes`, `des`, `aes256`, `aes256cisco`. PrivProto pulumi.StringPtrInput // Password for privacy (encryption) protocol. PrivPwd pulumi.StringPtrInput // Enable/disable SNMP queries for this user. Valid values: `enable`, `disable`. Queries pulumi.StringPtrInput // SNMPv3 query port (default = 161). QueryPort pulumi.IntPtrInput // Security level for message authentication and encryption. Valid values: `no-auth-no-priv`, `auth-no-priv`, `auth-priv`. SecurityLevel pulumi.StringPtrInput // Source IP for SNMP trap. SourceIp pulumi.StringPtrInput // Source IPv6 for SNMP trap. SourceIpv6 pulumi.StringPtrInput // Enable/disable this SNMP user. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput // SNMPv3 local trap port (default = 162). TrapLport pulumi.IntPtrInput // SNMPv3 trap remote port (default = 162). TrapRport pulumi.IntPtrInput // Enable/disable traps for this SNMP user. Valid values: `enable`, `disable`. TrapStatus 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 // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms UserVdomArrayInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶
type UserArray ¶
type UserArray []UserInput
func (UserArray) ElementType ¶
func (UserArray) ToUserArrayOutput ¶
func (i UserArray) ToUserArrayOutput() UserArrayOutput
func (UserArray) ToUserArrayOutputWithContext ¶
func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserArrayInput ¶
type UserArrayInput interface { pulumi.Input ToUserArrayOutput() UserArrayOutput ToUserArrayOutputWithContext(context.Context) UserArrayOutput }
UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:
UserArray{ UserArgs{...} }
type UserArrayOutput ¶
type UserArrayOutput struct{ *pulumi.OutputState }
func (UserArrayOutput) ElementType ¶
func (UserArrayOutput) ElementType() reflect.Type
func (UserArrayOutput) Index ¶
func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput
func (UserArrayOutput) ToUserArrayOutput ¶
func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput
func (UserArrayOutput) ToUserArrayOutputWithContext ¶
func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserInput ¶
type UserInput interface { pulumi.Input ToUserOutput() UserOutput ToUserOutputWithContext(ctx context.Context) UserOutput }
type UserMap ¶
func (UserMap) ElementType ¶
func (UserMap) ToUserMapOutput ¶
func (i UserMap) ToUserMapOutput() UserMapOutput
func (UserMap) ToUserMapOutputWithContext ¶
func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserMapInput ¶
type UserMapInput interface { pulumi.Input ToUserMapOutput() UserMapOutput ToUserMapOutputWithContext(context.Context) UserMapOutput }
UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:
UserMap{ "key": UserArgs{...} }
type UserMapOutput ¶
type UserMapOutput struct{ *pulumi.OutputState }
func (UserMapOutput) ElementType ¶
func (UserMapOutput) ElementType() reflect.Type
func (UserMapOutput) MapIndex ¶
func (o UserMapOutput) MapIndex(k pulumi.StringInput) UserOutput
func (UserMapOutput) ToUserMapOutput ¶
func (o UserMapOutput) ToUserMapOutput() UserMapOutput
func (UserMapOutput) ToUserMapOutputWithContext ¶
func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserOutput ¶
type UserOutput struct{ *pulumi.OutputState }
func (UserOutput) AuthProto ¶
func (o UserOutput) AuthProto() pulumi.StringOutput
Authentication protocol.
func (UserOutput) AuthPwd ¶
func (o UserOutput) AuthPwd() pulumi.StringPtrOutput
Password for authentication protocol.
func (UserOutput) DynamicSortSubtable ¶
func (o UserOutput) DynamicSortSubtable() pulumi.StringPtrOutput
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 ].
func (UserOutput) ElementType ¶
func (UserOutput) ElementType() reflect.Type
func (UserOutput) Events ¶
func (o UserOutput) Events() pulumi.StringOutput
SNMP notifications (traps) to send.
func (UserOutput) GetAllTables ¶
func (o UserOutput) GetAllTables() pulumi.StringPtrOutput
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
func (UserOutput) HaDirect ¶
func (o UserOutput) HaDirect() pulumi.StringOutput
Enable/disable direct management of HA cluster members. Valid values: `enable`, `disable`.
func (UserOutput) MibView ¶
func (o UserOutput) MibView() pulumi.StringOutput
SNMP access control MIB view.
func (UserOutput) NotifyHosts ¶
func (o UserOutput) NotifyHosts() pulumi.StringOutput
SNMP managers to send notifications (traps) to.
func (UserOutput) NotifyHosts6 ¶
func (o UserOutput) NotifyHosts6() pulumi.StringOutput
IPv6 SNMP managers to send notifications (traps) to.
func (UserOutput) PrivProto ¶
func (o UserOutput) PrivProto() pulumi.StringOutput
Privacy (encryption) protocol. Valid values: `aes`, `des`, `aes256`, `aes256cisco`.
func (UserOutput) PrivPwd ¶
func (o UserOutput) PrivPwd() pulumi.StringPtrOutput
Password for privacy (encryption) protocol.
func (UserOutput) Queries ¶
func (o UserOutput) Queries() pulumi.StringOutput
Enable/disable SNMP queries for this user. Valid values: `enable`, `disable`.
func (UserOutput) QueryPort ¶
func (o UserOutput) QueryPort() pulumi.IntOutput
SNMPv3 query port (default = 161).
func (UserOutput) SecurityLevel ¶
func (o UserOutput) SecurityLevel() pulumi.StringOutput
Security level for message authentication and encryption. Valid values: `no-auth-no-priv`, `auth-no-priv`, `auth-priv`.
func (UserOutput) SourceIp ¶
func (o UserOutput) SourceIp() pulumi.StringOutput
Source IP for SNMP trap.
func (UserOutput) SourceIpv6 ¶
func (o UserOutput) SourceIpv6() pulumi.StringOutput
Source IPv6 for SNMP trap.
func (UserOutput) Status ¶
func (o UserOutput) Status() pulumi.StringOutput
Enable/disable this SNMP user. Valid values: `enable`, `disable`.
func (UserOutput) ToUserOutput ¶
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
func (UserOutput) TrapLport ¶
func (o UserOutput) TrapLport() pulumi.IntOutput
SNMPv3 local trap port (default = 162).
func (UserOutput) TrapRport ¶
func (o UserOutput) TrapRport() pulumi.IntOutput
SNMPv3 trap remote port (default = 162).
func (UserOutput) TrapStatus ¶
func (o UserOutput) TrapStatus() pulumi.StringOutput
Enable/disable traps for this SNMP user. Valid values: `enable`, `disable`.
func (UserOutput) Vdomparam ¶
func (o UserOutput) 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 (UserOutput) Vdoms ¶
func (o UserOutput) Vdoms() UserVdomArrayOutput
SNMP access control VDOMs. The structure of `vdoms` block is documented below.
type UserState ¶
type UserState struct { // Authentication protocol. AuthProto pulumi.StringPtrInput // Password for authentication protocol. AuthPwd pulumi.StringPtrInput // 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 ]. DynamicSortSubtable pulumi.StringPtrInput // SNMP notifications (traps) to send. Events pulumi.StringPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Enable/disable direct management of HA cluster members. Valid values: `enable`, `disable`. HaDirect pulumi.StringPtrInput // SNMP access control MIB view. MibView pulumi.StringPtrInput // SNMP user name. Name pulumi.StringPtrInput // SNMP managers to send notifications (traps) to. NotifyHosts pulumi.StringPtrInput // IPv6 SNMP managers to send notifications (traps) to. NotifyHosts6 pulumi.StringPtrInput // Privacy (encryption) protocol. Valid values: `aes`, `des`, `aes256`, `aes256cisco`. PrivProto pulumi.StringPtrInput // Password for privacy (encryption) protocol. PrivPwd pulumi.StringPtrInput // Enable/disable SNMP queries for this user. Valid values: `enable`, `disable`. Queries pulumi.StringPtrInput // SNMPv3 query port (default = 161). QueryPort pulumi.IntPtrInput // Security level for message authentication and encryption. Valid values: `no-auth-no-priv`, `auth-no-priv`, `auth-priv`. SecurityLevel pulumi.StringPtrInput // Source IP for SNMP trap. SourceIp pulumi.StringPtrInput // Source IPv6 for SNMP trap. SourceIpv6 pulumi.StringPtrInput // Enable/disable this SNMP user. Valid values: `enable`, `disable`. Status pulumi.StringPtrInput // SNMPv3 local trap port (default = 162). TrapLport pulumi.IntPtrInput // SNMPv3 trap remote port (default = 162). TrapRport pulumi.IntPtrInput // Enable/disable traps for this SNMP user. Valid values: `enable`, `disable`. TrapStatus 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 // SNMP access control VDOMs. The structure of `vdoms` block is documented below. Vdoms UserVdomArrayInput }
func (UserState) ElementType ¶
type UserVdomArgs ¶
type UserVdomArgs struct { // VDOM name Name pulumi.StringPtrInput `pulumi:"name"` }
func (UserVdomArgs) ElementType ¶
func (UserVdomArgs) ElementType() reflect.Type
func (UserVdomArgs) ToUserVdomOutput ¶
func (i UserVdomArgs) ToUserVdomOutput() UserVdomOutput
func (UserVdomArgs) ToUserVdomOutputWithContext ¶
func (i UserVdomArgs) ToUserVdomOutputWithContext(ctx context.Context) UserVdomOutput
type UserVdomArray ¶
type UserVdomArray []UserVdomInput
func (UserVdomArray) ElementType ¶
func (UserVdomArray) ElementType() reflect.Type
func (UserVdomArray) ToUserVdomArrayOutput ¶
func (i UserVdomArray) ToUserVdomArrayOutput() UserVdomArrayOutput
func (UserVdomArray) ToUserVdomArrayOutputWithContext ¶
func (i UserVdomArray) ToUserVdomArrayOutputWithContext(ctx context.Context) UserVdomArrayOutput
type UserVdomArrayInput ¶
type UserVdomArrayInput interface { pulumi.Input ToUserVdomArrayOutput() UserVdomArrayOutput ToUserVdomArrayOutputWithContext(context.Context) UserVdomArrayOutput }
UserVdomArrayInput is an input type that accepts UserVdomArray and UserVdomArrayOutput values. You can construct a concrete instance of `UserVdomArrayInput` via:
UserVdomArray{ UserVdomArgs{...} }
type UserVdomArrayOutput ¶
type UserVdomArrayOutput struct{ *pulumi.OutputState }
func (UserVdomArrayOutput) ElementType ¶
func (UserVdomArrayOutput) ElementType() reflect.Type
func (UserVdomArrayOutput) Index ¶
func (o UserVdomArrayOutput) Index(i pulumi.IntInput) UserVdomOutput
func (UserVdomArrayOutput) ToUserVdomArrayOutput ¶
func (o UserVdomArrayOutput) ToUserVdomArrayOutput() UserVdomArrayOutput
func (UserVdomArrayOutput) ToUserVdomArrayOutputWithContext ¶
func (o UserVdomArrayOutput) ToUserVdomArrayOutputWithContext(ctx context.Context) UserVdomArrayOutput
type UserVdomInput ¶
type UserVdomInput interface { pulumi.Input ToUserVdomOutput() UserVdomOutput ToUserVdomOutputWithContext(context.Context) UserVdomOutput }
UserVdomInput is an input type that accepts UserVdomArgs and UserVdomOutput values. You can construct a concrete instance of `UserVdomInput` via:
UserVdomArgs{...}
type UserVdomOutput ¶
type UserVdomOutput struct{ *pulumi.OutputState }
func (UserVdomOutput) ElementType ¶
func (UserVdomOutput) ElementType() reflect.Type
func (UserVdomOutput) ToUserVdomOutput ¶
func (o UserVdomOutput) ToUserVdomOutput() UserVdomOutput
func (UserVdomOutput) ToUserVdomOutputWithContext ¶
func (o UserVdomOutput) ToUserVdomOutputWithContext(ctx context.Context) UserVdomOutput