Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.system.getApiuser
Explore with Pulumi AI
Use this data source to get information on an fortios system apiuser
Using getApiuser
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 getApiuser(args: GetApiuserArgs, opts?: InvokeOptions): Promise<GetApiuserResult>
function getApiuserOutput(args: GetApiuserOutputArgs, opts?: InvokeOptions): Output<GetApiuserResult>
def get_apiuser(name: Optional[str] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiuserResult
def get_apiuser_output(name: Optional[pulumi.Input[str]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiuserResult]
func LookupApiuser(ctx *Context, args *LookupApiuserArgs, opts ...InvokeOption) (*LookupApiuserResult, error)
func LookupApiuserOutput(ctx *Context, args *LookupApiuserOutputArgs, opts ...InvokeOption) LookupApiuserResultOutput
> Note: This function is named LookupApiuser
in the Go SDK.
public static class GetApiuser
{
public static Task<GetApiuserResult> InvokeAsync(GetApiuserArgs args, InvokeOptions? opts = null)
public static Output<GetApiuserResult> Invoke(GetApiuserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApiuserResult> getApiuser(GetApiuserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getApiuser:getApiuser
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Specify the name of the desired system apiuser.
- 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 system apiuser.
- 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 system apiuser.
- 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 system apiuser.
- 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 system apiuser.
- 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 system apiuser.
- 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.
getApiuser Result
The following output properties are available:
- Accprofile string
- Admin user access profile.
- Api
Key string - Admin user password.
- Comments string
- Comment.
- Cors
Allow stringOrigin - Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Virtual domain name.
- Peer
Auth string - Enable/disable peer authentication.
- Peer
Group string - Peer group name.
- Schedule string
- Schedule name.
- Trusthosts
List<Pulumiverse.
Fortios. System. Outputs. Get Apiuser Trusthost> - Trusthost. The structure of
trusthost
block is documented below. - Vdoms
List<Pulumiverse.
Fortios. System. Outputs. Get Apiuser Vdom> - Virtual domains. The structure of
vdom
block is documented below. - Vdomparam string
- Accprofile string
- Admin user access profile.
- Api
Key string - Admin user password.
- Comments string
- Comment.
- Cors
Allow stringOrigin - Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Virtual domain name.
- Peer
Auth string - Enable/disable peer authentication.
- Peer
Group string - Peer group name.
- Schedule string
- Schedule name.
- Trusthosts
[]Get
Apiuser Trusthost - Trusthost. The structure of
trusthost
block is documented below. - Vdoms
[]Get
Apiuser Vdom - Virtual domains. The structure of
vdom
block is documented below. - Vdomparam string
- accprofile String
- Admin user access profile.
- api
Key String - Admin user password.
- comments String
- Comment.
- cors
Allow StringOrigin - Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Virtual domain name.
- peer
Auth String - Enable/disable peer authentication.
- peer
Group String - Peer group name.
- schedule String
- Schedule name.
- trusthosts
List<Get
Apiuser Trusthost> - Trusthost. The structure of
trusthost
block is documented below. - vdoms
List<Get
Apiuser Vdom> - Virtual domains. The structure of
vdom
block is documented below. - vdomparam String
- accprofile string
- Admin user access profile.
- api
Key string - Admin user password.
- comments string
- Comment.
- cors
Allow stringOrigin - Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Virtual domain name.
- peer
Auth string - Enable/disable peer authentication.
- peer
Group string - Peer group name.
- schedule string
- Schedule name.
- trusthosts
Get
Apiuser Trusthost[] - Trusthost. The structure of
trusthost
block is documented below. - vdoms
Get
Apiuser Vdom[] - Virtual domains. The structure of
vdom
block is documented below. - vdomparam string
- accprofile str
- Admin user access profile.
- api_
key str - Admin user password.
- comments str
- Comment.
- cors_
allow_ strorigin - Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Virtual domain name.
- peer_
auth str - Enable/disable peer authentication.
- peer_
group str - Peer group name.
- schedule str
- Schedule name.
- trusthosts
Sequence[Get
Apiuser Trusthost] - Trusthost. The structure of
trusthost
block is documented below. - vdoms
Sequence[Get
Apiuser Vdom] - Virtual domains. The structure of
vdom
block is documented below. - vdomparam str
- accprofile String
- Admin user access profile.
- api
Key String - Admin user password.
- comments String
- Comment.
- cors
Allow StringOrigin - Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Virtual domain name.
- peer
Auth String - Enable/disable peer authentication.
- peer
Group String - Peer group name.
- schedule String
- Schedule name.
- trusthosts List<Property Map>
- Trusthost. The structure of
trusthost
block is documented below. - vdoms List<Property Map>
- Virtual domains. The structure of
vdom
block is documented below. - vdomparam String
Supporting Types
GetApiuserTrusthost
- Id int
- Table ID.
- Ipv4Trusthost string
- IPv4 trusted host address.
- Ipv6Trusthost string
- IPv6 trusted host address.
- Type string
- Trusthost type.
- Id int
- Table ID.
- Ipv4Trusthost string
- IPv4 trusted host address.
- Ipv6Trusthost string
- IPv6 trusted host address.
- Type string
- Trusthost type.
- id Integer
- Table ID.
- ipv4Trusthost String
- IPv4 trusted host address.
- ipv6Trusthost String
- IPv6 trusted host address.
- type String
- Trusthost type.
- id number
- Table ID.
- ipv4Trusthost string
- IPv4 trusted host address.
- ipv6Trusthost string
- IPv6 trusted host address.
- type string
- Trusthost type.
- id int
- Table ID.
- ipv4_
trusthost str - IPv4 trusted host address.
- ipv6_
trusthost str - IPv6 trusted host address.
- type str
- Trusthost type.
- id Number
- Table ID.
- ipv4Trusthost String
- IPv4 trusted host address.
- ipv6Trusthost String
- IPv6 trusted host address.
- type String
- Trusthost type.
GetApiuserVdom
- Name string
- Specify the name of the desired system apiuser.
- Name string
- Specify the name of the desired system apiuser.
- name String
- Specify the name of the desired system apiuser.
- name string
- Specify the name of the desired system apiuser.
- name str
- Specify the name of the desired system apiuser.
- name String
- Specify the name of the desired system apiuser.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.