1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. system/snmp
  6. getUser
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system/snmp.getUser

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

Use this data source to get information on an fortios systemsnmp user

Using getUser

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
Copy
def get_user(name: Optional[str] = None,
             vdomparam: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(name: Optional[pulumi.Input[str]] = None,
             vdomparam: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
Copy
func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput
Copy

> Note: This function is named LookupUser in the Go SDK.

public static class GetUser 
{
    public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
    public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:system/snmp/getUser:getUser
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Specify the name of the desired systemsnmp user.
Vdomparam Changes to this property will trigger replacement. string
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.
Name This property is required. string
Specify the name of the desired systemsnmp user.
Vdomparam Changes to this property will trigger replacement. string
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.
name This property is required. String
Specify the name of the desired systemsnmp user.
vdomparam Changes to this property will trigger replacement. String
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.
name This property is required. string
Specify the name of the desired systemsnmp user.
vdomparam Changes to this property will trigger replacement. string
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.
name This property is required. str
Specify the name of the desired systemsnmp user.
vdomparam Changes to this property will trigger replacement. str
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.
name This property is required. String
Specify the name of the desired systemsnmp user.
vdomparam Changes to this property will trigger replacement. String
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.

getUser Result

The following output properties are available:

AuthProto string
Authentication protocol.
AuthPwd string
Password for authentication protocol.
Events string
SNMP notifications (traps) to send.
HaDirect string
Enable/disable direct management of HA cluster members.
Id string
The provider-assigned unique ID for this managed resource.
MibView string
SNMP access control MIB view.
Name string
VDOM name
NotifyHosts string
SNMP managers to send notifications (traps) to.
NotifyHosts6 string
IPv6 SNMP managers to send notifications (traps) to.
PrivProto string
Privacy (encryption) protocol.
PrivPwd string
Password for privacy (encryption) protocol.
Queries string
Enable/disable SNMP queries for this user.
QueryPort int
SNMPv3 query port (default = 161).
SecurityLevel string
Security level for message authentication and encryption.
SourceIp string
Source IP for SNMP trap.
SourceIpv6 string
Source IPv6 for SNMP trap.
Status string
Enable/disable this SNMP user.
TrapLport int
SNMPv3 local trap port (default = 162).
TrapRport int
SNMPv3 trap remote port (default = 162).
TrapStatus string
Enable/disable traps for this SNMP user.
Vdoms List<Pulumiverse.Fortios.System.Snmp.Outputs.GetUserVdom>
SNMP access control VDOMs. The structure of vdoms block is documented below.
Vdomparam string
AuthProto string
Authentication protocol.
AuthPwd string
Password for authentication protocol.
Events string
SNMP notifications (traps) to send.
HaDirect string
Enable/disable direct management of HA cluster members.
Id string
The provider-assigned unique ID for this managed resource.
MibView string
SNMP access control MIB view.
Name string
VDOM name
NotifyHosts string
SNMP managers to send notifications (traps) to.
NotifyHosts6 string
IPv6 SNMP managers to send notifications (traps) to.
PrivProto string
Privacy (encryption) protocol.
PrivPwd string
Password for privacy (encryption) protocol.
Queries string
Enable/disable SNMP queries for this user.
QueryPort int
SNMPv3 query port (default = 161).
SecurityLevel string
Security level for message authentication and encryption.
SourceIp string
Source IP for SNMP trap.
SourceIpv6 string
Source IPv6 for SNMP trap.
Status string
Enable/disable this SNMP user.
TrapLport int
SNMPv3 local trap port (default = 162).
TrapRport int
SNMPv3 trap remote port (default = 162).
TrapStatus string
Enable/disable traps for this SNMP user.
Vdoms []GetUserVdom
SNMP access control VDOMs. The structure of vdoms block is documented below.
Vdomparam string
authProto String
Authentication protocol.
authPwd String
Password for authentication protocol.
events String
SNMP notifications (traps) to send.
haDirect String
Enable/disable direct management of HA cluster members.
id String
The provider-assigned unique ID for this managed resource.
mibView String
SNMP access control MIB view.
name String
VDOM name
notifyHosts String
SNMP managers to send notifications (traps) to.
notifyHosts6 String
IPv6 SNMP managers to send notifications (traps) to.
privProto String
Privacy (encryption) protocol.
privPwd String
Password for privacy (encryption) protocol.
queries String
Enable/disable SNMP queries for this user.
queryPort Integer
SNMPv3 query port (default = 161).
securityLevel String
Security level for message authentication and encryption.
sourceIp String
Source IP for SNMP trap.
sourceIpv6 String
Source IPv6 for SNMP trap.
status String
Enable/disable this SNMP user.
trapLport Integer
SNMPv3 local trap port (default = 162).
trapRport Integer
SNMPv3 trap remote port (default = 162).
trapStatus String
Enable/disable traps for this SNMP user.
vdoms List<GetUserVdom>
SNMP access control VDOMs. The structure of vdoms block is documented below.
vdomparam String
authProto string
Authentication protocol.
authPwd string
Password for authentication protocol.
events string
SNMP notifications (traps) to send.
haDirect string
Enable/disable direct management of HA cluster members.
id string
The provider-assigned unique ID for this managed resource.
mibView string
SNMP access control MIB view.
name string
VDOM name
notifyHosts string
SNMP managers to send notifications (traps) to.
notifyHosts6 string
IPv6 SNMP managers to send notifications (traps) to.
privProto string
Privacy (encryption) protocol.
privPwd string
Password for privacy (encryption) protocol.
queries string
Enable/disable SNMP queries for this user.
queryPort number
SNMPv3 query port (default = 161).
securityLevel string
Security level for message authentication and encryption.
sourceIp string
Source IP for SNMP trap.
sourceIpv6 string
Source IPv6 for SNMP trap.
status string
Enable/disable this SNMP user.
trapLport number
SNMPv3 local trap port (default = 162).
trapRport number
SNMPv3 trap remote port (default = 162).
trapStatus string
Enable/disable traps for this SNMP user.
vdoms GetUserVdom[]
SNMP access control VDOMs. The structure of vdoms block is documented below.
vdomparam string
auth_proto str
Authentication protocol.
auth_pwd str
Password for authentication protocol.
events str
SNMP notifications (traps) to send.
ha_direct str
Enable/disable direct management of HA cluster members.
id str
The provider-assigned unique ID for this managed resource.
mib_view str
SNMP access control MIB view.
name str
VDOM name
notify_hosts str
SNMP managers to send notifications (traps) to.
notify_hosts6 str
IPv6 SNMP managers to send notifications (traps) to.
priv_proto str
Privacy (encryption) protocol.
priv_pwd str
Password for privacy (encryption) protocol.
queries str
Enable/disable SNMP queries for this user.
query_port int
SNMPv3 query port (default = 161).
security_level str
Security level for message authentication and encryption.
source_ip str
Source IP for SNMP trap.
source_ipv6 str
Source IPv6 for SNMP trap.
status str
Enable/disable this SNMP user.
trap_lport int
SNMPv3 local trap port (default = 162).
trap_rport int
SNMPv3 trap remote port (default = 162).
trap_status str
Enable/disable traps for this SNMP user.
vdoms Sequence[GetUserVdom]
SNMP access control VDOMs. The structure of vdoms block is documented below.
vdomparam str
authProto String
Authentication protocol.
authPwd String
Password for authentication protocol.
events String
SNMP notifications (traps) to send.
haDirect String
Enable/disable direct management of HA cluster members.
id String
The provider-assigned unique ID for this managed resource.
mibView String
SNMP access control MIB view.
name String
VDOM name
notifyHosts String
SNMP managers to send notifications (traps) to.
notifyHosts6 String
IPv6 SNMP managers to send notifications (traps) to.
privProto String
Privacy (encryption) protocol.
privPwd String
Password for privacy (encryption) protocol.
queries String
Enable/disable SNMP queries for this user.
queryPort Number
SNMPv3 query port (default = 161).
securityLevel String
Security level for message authentication and encryption.
sourceIp String
Source IP for SNMP trap.
sourceIpv6 String
Source IPv6 for SNMP trap.
status String
Enable/disable this SNMP user.
trapLport Number
SNMPv3 local trap port (default = 162).
trapRport Number
SNMPv3 trap remote port (default = 162).
trapStatus String
Enable/disable traps for this SNMP user.
vdoms List<Property Map>
SNMP access control VDOMs. The structure of vdoms block is documented below.
vdomparam String

Supporting Types

GetUserVdom

Name This property is required. string
Specify the name of the desired systemsnmp user.
Name This property is required. string
Specify the name of the desired systemsnmp user.
name This property is required. String
Specify the name of the desired systemsnmp user.
name This property is required. string
Specify the name of the desired systemsnmp user.
name This property is required. str
Specify the name of the desired systemsnmp user.
name This property is required. String
Specify the name of the desired systemsnmp user.

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse