1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystempSystemSnmpCommunityHosts6
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.SystempSystemSnmpCommunityHosts6

Explore with Pulumi AI

Configure IPv6 SNMP managers.

This resource is a sub resource for variable hosts6 of resource fortimanager_systemp_system_snmp_community. Conflict and overwrite may occur if use both of them.

Create SystempSystemSnmpCommunityHosts6 Resource

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

Constructor syntax

new SystempSystemSnmpCommunityHosts6(name: string, args: SystempSystemSnmpCommunityHosts6Args, opts?: CustomResourceOptions);
@overload
def SystempSystemSnmpCommunityHosts6(resource_name: str,
                                     args: SystempSystemSnmpCommunityHosts6Args,
                                     opts: Optional[ResourceOptions] = None)

@overload
def SystempSystemSnmpCommunityHosts6(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     community: Optional[str] = None,
                                     devprof: Optional[str] = None,
                                     adom: Optional[str] = None,
                                     fosid: Optional[float] = None,
                                     ha_direct: Optional[str] = None,
                                     host_type: Optional[str] = None,
                                     interface_select_method: Optional[str] = None,
                                     interfaces: Optional[Sequence[str]] = None,
                                     ipv6: Optional[str] = None,
                                     scopetype: Optional[str] = None,
                                     source_ipv6: Optional[str] = None,
                                     systemp_system_snmp_community_hosts6_id: Optional[str] = None)
func NewSystempSystemSnmpCommunityHosts6(ctx *Context, name string, args SystempSystemSnmpCommunityHosts6Args, opts ...ResourceOption) (*SystempSystemSnmpCommunityHosts6, error)
public SystempSystemSnmpCommunityHosts6(string name, SystempSystemSnmpCommunityHosts6Args args, CustomResourceOptions? opts = null)
public SystempSystemSnmpCommunityHosts6(String name, SystempSystemSnmpCommunityHosts6Args args)
public SystempSystemSnmpCommunityHosts6(String name, SystempSystemSnmpCommunityHosts6Args args, CustomResourceOptions options)
type: fortimanager:SystempSystemSnmpCommunityHosts6
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SystempSystemSnmpCommunityHosts6Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SystempSystemSnmpCommunityHosts6Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SystempSystemSnmpCommunityHosts6Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SystempSystemSnmpCommunityHosts6Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SystempSystemSnmpCommunityHosts6Args
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

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

var systempSystemSnmpCommunityHosts6Resource = new Fortimanager.SystempSystemSnmpCommunityHosts6("systempSystemSnmpCommunityHosts6Resource", new()
{
    Community = "string",
    Devprof = "string",
    Adom = "string",
    Fosid = 0,
    HaDirect = "string",
    HostType = "string",
    InterfaceSelectMethod = "string",
    Interfaces = new[]
    {
        "string",
    },
    Ipv6 = "string",
    Scopetype = "string",
    SourceIpv6 = "string",
    SystempSystemSnmpCommunityHosts6Id = "string",
});
Copy
example, err := fortimanager.NewSystempSystemSnmpCommunityHosts6(ctx, "systempSystemSnmpCommunityHosts6Resource", &fortimanager.SystempSystemSnmpCommunityHosts6Args{
Community: pulumi.String("string"),
Devprof: pulumi.String("string"),
Adom: pulumi.String("string"),
Fosid: pulumi.Float64(0),
HaDirect: pulumi.String("string"),
HostType: pulumi.String("string"),
InterfaceSelectMethod: pulumi.String("string"),
Interfaces: pulumi.StringArray{
pulumi.String("string"),
},
Ipv6: pulumi.String("string"),
Scopetype: pulumi.String("string"),
SourceIpv6: pulumi.String("string"),
SystempSystemSnmpCommunityHosts6Id: pulumi.String("string"),
})
Copy
var systempSystemSnmpCommunityHosts6Resource = new SystempSystemSnmpCommunityHosts6("systempSystemSnmpCommunityHosts6Resource", SystempSystemSnmpCommunityHosts6Args.builder()
    .community("string")
    .devprof("string")
    .adom("string")
    .fosid(0)
    .haDirect("string")
    .hostType("string")
    .interfaceSelectMethod("string")
    .interfaces("string")
    .ipv6("string")
    .scopetype("string")
    .sourceIpv6("string")
    .systempSystemSnmpCommunityHosts6Id("string")
    .build());
Copy
systemp_system_snmp_community_hosts6_resource = fortimanager.SystempSystemSnmpCommunityHosts6("systempSystemSnmpCommunityHosts6Resource",
    community="string",
    devprof="string",
    adom="string",
    fosid=0,
    ha_direct="string",
    host_type="string",
    interface_select_method="string",
    interfaces=["string"],
    ipv6="string",
    scopetype="string",
    source_ipv6="string",
    systemp_system_snmp_community_hosts6_id="string")
Copy
const systempSystemSnmpCommunityHosts6Resource = new fortimanager.SystempSystemSnmpCommunityHosts6("systempSystemSnmpCommunityHosts6Resource", {
    community: "string",
    devprof: "string",
    adom: "string",
    fosid: 0,
    haDirect: "string",
    hostType: "string",
    interfaceSelectMethod: "string",
    interfaces: ["string"],
    ipv6: "string",
    scopetype: "string",
    sourceIpv6: "string",
    systempSystemSnmpCommunityHosts6Id: "string",
});
Copy
type: fortimanager:SystempSystemSnmpCommunityHosts6
properties:
    adom: string
    community: string
    devprof: string
    fosid: 0
    haDirect: string
    hostType: string
    interfaceSelectMethod: string
    interfaces:
        - string
    ipv6: string
    scopetype: string
    sourceIpv6: string
    systempSystemSnmpCommunityHosts6Id: string
Copy

SystempSystemSnmpCommunityHosts6 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SystempSystemSnmpCommunityHosts6 resource accepts the following input properties:

Community This property is required. string
Community.
Devprof This property is required. string
Devprof.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Fosid double
Host6 entry ID.
HaDirect string
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
HostType string
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Interfaces List<string>
Specify outgoing interface to reach server.
Ipv6 string
SNMP manager IPv6 address prefix.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpv6 string
Source IPv6 address for SNMP traps.
SystempSystemSnmpCommunityHosts6Id string
an identifier for the resource with format {{fosid}}.
Community This property is required. string
Community.
Devprof This property is required. string
Devprof.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Fosid float64
Host6 entry ID.
HaDirect string
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
HostType string
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Interfaces []string
Specify outgoing interface to reach server.
Ipv6 string
SNMP manager IPv6 address prefix.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpv6 string
Source IPv6 address for SNMP traps.
SystempSystemSnmpCommunityHosts6Id string
an identifier for the resource with format {{fosid}}.
community This property is required. String
Community.
devprof This property is required. String
Devprof.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid Double
Host6 entry ID.
haDirect String
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
hostType String
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces List<String>
Specify outgoing interface to reach server.
ipv6 String
SNMP manager IPv6 address prefix.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpv6 String
Source IPv6 address for SNMP traps.
systempSystemSnmpCommunityHosts6Id String
an identifier for the resource with format {{fosid}}.
community This property is required. string
Community.
devprof This property is required. string
Devprof.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid number
Host6 entry ID.
haDirect string
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
hostType string
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces string[]
Specify outgoing interface to reach server.
ipv6 string
SNMP manager IPv6 address prefix.
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpv6 string
Source IPv6 address for SNMP traps.
systempSystemSnmpCommunityHosts6Id string
an identifier for the resource with format {{fosid}}.
community This property is required. str
Community.
devprof This property is required. str
Devprof.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid float
Host6 entry ID.
ha_direct str
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
host_type str
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interface_select_method str
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces Sequence[str]
Specify outgoing interface to reach server.
ipv6 str
SNMP manager IPv6 address prefix.
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
source_ipv6 str
Source IPv6 address for SNMP traps.
systemp_system_snmp_community_hosts6_id str
an identifier for the resource with format {{fosid}}.
community This property is required. String
Community.
devprof This property is required. String
Devprof.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid Number
Host6 entry ID.
haDirect String
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
hostType String
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces List<String>
Specify outgoing interface to reach server.
ipv6 String
SNMP manager IPv6 address prefix.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpv6 String
Source IPv6 address for SNMP traps.
systempSystemSnmpCommunityHosts6Id String
an identifier for the resource with format {{fosid}}.

Outputs

All input properties are implicitly available as output properties. Additionally, the SystempSystemSnmpCommunityHosts6 resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SystempSystemSnmpCommunityHosts6 Resource

Get an existing SystempSystemSnmpCommunityHosts6 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SystempSystemSnmpCommunityHosts6State, opts?: CustomResourceOptions): SystempSystemSnmpCommunityHosts6
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        community: Optional[str] = None,
        devprof: Optional[str] = None,
        fosid: Optional[float] = None,
        ha_direct: Optional[str] = None,
        host_type: Optional[str] = None,
        interface_select_method: Optional[str] = None,
        interfaces: Optional[Sequence[str]] = None,
        ipv6: Optional[str] = None,
        scopetype: Optional[str] = None,
        source_ipv6: Optional[str] = None,
        systemp_system_snmp_community_hosts6_id: Optional[str] = None) -> SystempSystemSnmpCommunityHosts6
func GetSystempSystemSnmpCommunityHosts6(ctx *Context, name string, id IDInput, state *SystempSystemSnmpCommunityHosts6State, opts ...ResourceOption) (*SystempSystemSnmpCommunityHosts6, error)
public static SystempSystemSnmpCommunityHosts6 Get(string name, Input<string> id, SystempSystemSnmpCommunityHosts6State? state, CustomResourceOptions? opts = null)
public static SystempSystemSnmpCommunityHosts6 get(String name, Output<String> id, SystempSystemSnmpCommunityHosts6State state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystempSystemSnmpCommunityHosts6    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Community string
Community.
Devprof string
Devprof.
Fosid double
Host6 entry ID.
HaDirect string
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
HostType string
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Interfaces List<string>
Specify outgoing interface to reach server.
Ipv6 string
SNMP manager IPv6 address prefix.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpv6 string
Source IPv6 address for SNMP traps.
SystempSystemSnmpCommunityHosts6Id string
an identifier for the resource with format {{fosid}}.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Community string
Community.
Devprof string
Devprof.
Fosid float64
Host6 entry ID.
HaDirect string
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
HostType string
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Interfaces []string
Specify outgoing interface to reach server.
Ipv6 string
SNMP manager IPv6 address prefix.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpv6 string
Source IPv6 address for SNMP traps.
SystempSystemSnmpCommunityHosts6Id string
an identifier for the resource with format {{fosid}}.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
community String
Community.
devprof String
Devprof.
fosid Double
Host6 entry ID.
haDirect String
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
hostType String
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces List<String>
Specify outgoing interface to reach server.
ipv6 String
SNMP manager IPv6 address prefix.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpv6 String
Source IPv6 address for SNMP traps.
systempSystemSnmpCommunityHosts6Id String
an identifier for the resource with format {{fosid}}.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
community string
Community.
devprof string
Devprof.
fosid number
Host6 entry ID.
haDirect string
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
hostType string
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces string[]
Specify outgoing interface to reach server.
ipv6 string
SNMP manager IPv6 address prefix.
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpv6 string
Source IPv6 address for SNMP traps.
systempSystemSnmpCommunityHosts6Id string
an identifier for the resource with format {{fosid}}.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
community str
Community.
devprof str
Devprof.
fosid float
Host6 entry ID.
ha_direct str
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
host_type str
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interface_select_method str
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces Sequence[str]
Specify outgoing interface to reach server.
ipv6 str
SNMP manager IPv6 address prefix.
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
source_ipv6 str
Source IPv6 address for SNMP traps.
systemp_system_snmp_community_hosts6_id str
an identifier for the resource with format {{fosid}}.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
community String
Community.
devprof String
Devprof.
fosid Number
Host6 entry ID.
haDirect String
Enable/disable direct management of HA cluster members. Valid values: disable, enable.
hostType String
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. Valid values: any, query, trap.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interfaces List<String>
Specify outgoing interface to reach server.
ipv6 String
SNMP manager IPv6 address prefix.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpv6 String
Source IPv6 address for SNMP traps.
systempSystemSnmpCommunityHosts6Id String
an identifier for the resource with format {{fosid}}.

Import

Systemp SystemSnmpCommunityHosts6 can be imported using any of these accepted formats:

Set import_options = [“devprof=YOUR_VALUE”, “community=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systempSystemSnmpCommunityHosts6:SystempSystemSnmpCommunityHosts6 labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

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

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.