Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.system/snmp.getUser
Explore with Pulumi AI
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>
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]
func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput
> 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)
}
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/snmp/getUser:getUser
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Specify the name of the desired systemsnmp user.
- Vdomparam 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 string
- Specify the name of the desired systemsnmp user.
- Vdomparam 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 String
- Specify the name of the desired systemsnmp user.
- vdomparam 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 string
- Specify the name of the desired systemsnmp user.
- vdomparam 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 str
- Specify the name of the desired systemsnmp user.
- vdomparam 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 String
- Specify the name of the desired systemsnmp user.
- vdomparam 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:
- Auth
Proto string - Authentication protocol.
- Auth
Pwd string - Password for authentication protocol.
- Events string
- SNMP notifications (traps) to send.
- Ha
Direct string - Enable/disable direct management of HA cluster members.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mib
View string - SNMP access control MIB view.
- Name string
- VDOM name
- Notify
Hosts string - SNMP managers to send notifications (traps) to.
- Notify
Hosts6 string - IPv6 SNMP managers to send notifications (traps) to.
- Priv
Proto string - Privacy (encryption) protocol.
- Priv
Pwd string - Password for privacy (encryption) protocol.
- Queries string
- Enable/disable SNMP queries for this user.
- Query
Port int - SNMPv3 query port (default = 161).
- Security
Level string - Security level for message authentication and encryption.
- Source
Ip string - Source IP for SNMP trap.
- Source
Ipv6 string - Source IPv6 for SNMP trap.
- Status string
- 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 string - Enable/disable traps for this SNMP user.
- Vdoms
List<Pulumiverse.
Fortios. System. Snmp. Outputs. Get User Vdom> - SNMP access control VDOMs. The structure of
vdoms
block is documented below. - Vdomparam string
- Auth
Proto string - Authentication protocol.
- Auth
Pwd string - Password for authentication protocol.
- Events string
- SNMP notifications (traps) to send.
- Ha
Direct string - Enable/disable direct management of HA cluster members.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mib
View string - SNMP access control MIB view.
- Name string
- VDOM name
- Notify
Hosts string - SNMP managers to send notifications (traps) to.
- Notify
Hosts6 string - IPv6 SNMP managers to send notifications (traps) to.
- Priv
Proto string - Privacy (encryption) protocol.
- Priv
Pwd string - Password for privacy (encryption) protocol.
- Queries string
- Enable/disable SNMP queries for this user.
- Query
Port int - SNMPv3 query port (default = 161).
- Security
Level string - Security level for message authentication and encryption.
- Source
Ip string - Source IP for SNMP trap.
- Source
Ipv6 string - Source IPv6 for SNMP trap.
- Status string
- 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 string - Enable/disable traps for this SNMP user.
- Vdoms
[]Get
User Vdom - SNMP access control VDOMs. The structure of
vdoms
block is documented below. - Vdomparam string
- auth
Proto String - Authentication protocol.
- auth
Pwd String - Password for authentication protocol.
- events String
- SNMP notifications (traps) to send.
- ha
Direct String - Enable/disable direct management of HA cluster members.
- id String
- The provider-assigned unique ID for this managed resource.
- mib
View String - SNMP access control MIB view.
- name String
- VDOM name
- notify
Hosts String - SNMP managers to send notifications (traps) to.
- notify
Hosts6 String - IPv6 SNMP managers to send notifications (traps) to.
- priv
Proto String - Privacy (encryption) protocol.
- priv
Pwd String - Password for privacy (encryption) protocol.
- queries String
- Enable/disable SNMP queries for this user.
- query
Port Integer - SNMPv3 query port (default = 161).
- security
Level String - Security level for message authentication and encryption.
- source
Ip String - Source IP for SNMP trap.
- source
Ipv6 String - Source IPv6 for SNMP trap.
- status String
- Enable/disable this SNMP user.
- trap
Lport Integer - SNMPv3 local trap port (default = 162).
- trap
Rport Integer - SNMPv3 trap remote port (default = 162).
- trap
Status String - Enable/disable traps for this SNMP user.
- vdoms
List<Get
User Vdom> - SNMP access control VDOMs. The structure of
vdoms
block is documented below. - vdomparam String
- auth
Proto string - Authentication protocol.
- auth
Pwd string - Password for authentication protocol.
- events string
- SNMP notifications (traps) to send.
- ha
Direct string - Enable/disable direct management of HA cluster members.
- id string
- The provider-assigned unique ID for this managed resource.
- mib
View string - SNMP access control MIB view.
- name string
- VDOM name
- notify
Hosts string - SNMP managers to send notifications (traps) to.
- notify
Hosts6 string - IPv6 SNMP managers to send notifications (traps) to.
- priv
Proto string - Privacy (encryption) protocol.
- priv
Pwd string - Password for privacy (encryption) protocol.
- queries string
- Enable/disable SNMP queries for this user.
- query
Port number - SNMPv3 query port (default = 161).
- security
Level string - Security level for message authentication and encryption.
- source
Ip string - Source IP for SNMP trap.
- source
Ipv6 string - Source IPv6 for SNMP trap.
- status string
- Enable/disable this SNMP user.
- trap
Lport number - SNMPv3 local trap port (default = 162).
- trap
Rport number - SNMPv3 trap remote port (default = 162).
- trap
Status string - Enable/disable traps for this SNMP user.
- vdoms
Get
User Vdom[] - 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[Get
User Vdom] - SNMP access control VDOMs. The structure of
vdoms
block is documented below. - vdomparam str
- auth
Proto String - Authentication protocol.
- auth
Pwd String - Password for authentication protocol.
- events String
- SNMP notifications (traps) to send.
- ha
Direct String - Enable/disable direct management of HA cluster members.
- id String
- The provider-assigned unique ID for this managed resource.
- mib
View String - SNMP access control MIB view.
- name String
- VDOM name
- notify
Hosts String - SNMP managers to send notifications (traps) to.
- notify
Hosts6 String - IPv6 SNMP managers to send notifications (traps) to.
- priv
Proto String - Privacy (encryption) protocol.
- priv
Pwd String - Password for privacy (encryption) protocol.
- queries String
- Enable/disable SNMP queries for this user.
- query
Port Number - SNMPv3 query port (default = 161).
- security
Level String - Security level for message authentication and encryption.
- source
Ip String - Source IP for SNMP trap.
- source
Ipv6 String - Source IPv6 for SNMP trap.
- status String
- Enable/disable this SNMP user.
- trap
Lport Number - SNMPv3 local trap port (default = 162).
- trap
Rport Number - SNMPv3 trap remote port (default = 162).
- trap
Status 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 string
- Specify the name of the desired systemsnmp user.
- Name string
- Specify the name of the desired systemsnmp user.
- name String
- Specify the name of the desired systemsnmp user.
- name string
- Specify the name of the desired systemsnmp user.
- name str
- Specify the name of the desired systemsnmp user.
- name 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.