fortios.endpointcontrol.Forticlientems
Explore with Pulumi AI
Configure FortiClient Enterprise Management Server (EMS) entries. Applies to FortiOS Version <= 6.2.0
.
Create Forticlientems Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Forticlientems(name: string, args: ForticlientemsArgs, opts?: CustomResourceOptions);
@overload
def Forticlientems(resource_name: str,
args: ForticlientemsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Forticlientems(resource_name: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
admin_username: Optional[str] = None,
serial_number: Optional[str] = None,
admin_password: Optional[str] = None,
admin_type: Optional[str] = None,
https_port: Optional[int] = None,
listen_port: Optional[int] = None,
name: Optional[str] = None,
rest_api_auth: Optional[str] = None,
upload_port: Optional[int] = None,
vdomparam: Optional[str] = None)
func NewForticlientems(ctx *Context, name string, args ForticlientemsArgs, opts ...ResourceOption) (*Forticlientems, error)
public Forticlientems(string name, ForticlientemsArgs args, CustomResourceOptions? opts = null)
public Forticlientems(String name, ForticlientemsArgs args)
public Forticlientems(String name, ForticlientemsArgs args, CustomResourceOptions options)
type: fortios:endpointcontrol:Forticlientems
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ForticlientemsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ForticlientemsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ForticlientemsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ForticlientemsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ForticlientemsArgs
- 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 forticlientemsResource = new Fortios.Endpointcontrol.Forticlientems("forticlientemsResource", new()
{
Address = "string",
AdminUsername = "string",
SerialNumber = "string",
AdminPassword = "string",
AdminType = "string",
HttpsPort = 0,
ListenPort = 0,
Name = "string",
RestApiAuth = "string",
UploadPort = 0,
Vdomparam = "string",
});
example, err := endpointcontrol.NewForticlientems(ctx, "forticlientemsResource", &endpointcontrol.ForticlientemsArgs{
Address: pulumi.String("string"),
AdminUsername: pulumi.String("string"),
SerialNumber: pulumi.String("string"),
AdminPassword: pulumi.String("string"),
AdminType: pulumi.String("string"),
HttpsPort: pulumi.Int(0),
ListenPort: pulumi.Int(0),
Name: pulumi.String("string"),
RestApiAuth: pulumi.String("string"),
UploadPort: pulumi.Int(0),
Vdomparam: pulumi.String("string"),
})
var forticlientemsResource = new Forticlientems("forticlientemsResource", ForticlientemsArgs.builder()
.address("string")
.adminUsername("string")
.serialNumber("string")
.adminPassword("string")
.adminType("string")
.httpsPort(0)
.listenPort(0)
.name("string")
.restApiAuth("string")
.uploadPort(0)
.vdomparam("string")
.build());
forticlientems_resource = fortios.endpointcontrol.Forticlientems("forticlientemsResource",
address="string",
admin_username="string",
serial_number="string",
admin_password="string",
admin_type="string",
https_port=0,
listen_port=0,
name="string",
rest_api_auth="string",
upload_port=0,
vdomparam="string")
const forticlientemsResource = new fortios.endpointcontrol.Forticlientems("forticlientemsResource", {
address: "string",
adminUsername: "string",
serialNumber: "string",
adminPassword: "string",
adminType: "string",
httpsPort: 0,
listenPort: 0,
name: "string",
restApiAuth: "string",
uploadPort: 0,
vdomparam: "string",
});
type: fortios:endpointcontrol:Forticlientems
properties:
address: string
adminPassword: string
adminType: string
adminUsername: string
httpsPort: 0
listenPort: 0
name: string
restApiAuth: string
serialNumber: string
uploadPort: 0
vdomparam: string
Forticlientems 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 Forticlientems resource accepts the following input properties:
- Address string
- Firewall address name.
- Admin
Username string - FortiClient EMS admin username.
- Serial
Number string - FortiClient EMS Serial Number.
- Admin
Password string - FortiClient EMS admin password.
- Admin
Type string - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - Https
Port int - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- Listen
Port int - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- Name string
- FortiClient Enterprise Management Server (EMS) name.
- Rest
Api stringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - Upload
Port int - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- Vdomparam string
- 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.
- Address string
- Firewall address name.
- Admin
Username string - FortiClient EMS admin username.
- Serial
Number string - FortiClient EMS Serial Number.
- Admin
Password string - FortiClient EMS admin password.
- Admin
Type string - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - Https
Port int - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- Listen
Port int - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- Name string
- FortiClient Enterprise Management Server (EMS) name.
- Rest
Api stringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - Upload
Port int - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- Vdomparam string
- 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.
- address String
- Firewall address name.
- admin
Username String - FortiClient EMS admin username.
- serial
Number String - FortiClient EMS Serial Number.
- admin
Password String - FortiClient EMS admin password.
- admin
Type String - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - https
Port Integer - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen
Port Integer - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name String
- FortiClient Enterprise Management Server (EMS) name.
- rest
Api StringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - upload
Port Integer - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam String
- 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.
- address string
- Firewall address name.
- admin
Username string - FortiClient EMS admin username.
- serial
Number string - FortiClient EMS Serial Number.
- admin
Password string - FortiClient EMS admin password.
- admin
Type string - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - https
Port number - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen
Port number - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name string
- FortiClient Enterprise Management Server (EMS) name.
- rest
Api stringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - upload
Port number - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam string
- 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.
- address str
- Firewall address name.
- admin_
username str - FortiClient EMS admin username.
- serial_
number str - FortiClient EMS Serial Number.
- admin_
password str - FortiClient EMS admin password.
- admin_
type str - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - https_
port int - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen_
port int - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name str
- FortiClient Enterprise Management Server (EMS) name.
- rest_
api_ strauth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - upload_
port int - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam str
- 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.
- address String
- Firewall address name.
- admin
Username String - FortiClient EMS admin username.
- serial
Number String - FortiClient EMS Serial Number.
- admin
Password String - FortiClient EMS admin password.
- admin
Type String - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - https
Port Number - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen
Port Number - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name String
- FortiClient Enterprise Management Server (EMS) name.
- rest
Api StringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - upload
Port Number - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam String
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Forticlientems 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 Forticlientems Resource
Get an existing Forticlientems 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?: ForticlientemsState, opts?: CustomResourceOptions): Forticlientems
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
admin_password: Optional[str] = None,
admin_type: Optional[str] = None,
admin_username: Optional[str] = None,
https_port: Optional[int] = None,
listen_port: Optional[int] = None,
name: Optional[str] = None,
rest_api_auth: Optional[str] = None,
serial_number: Optional[str] = None,
upload_port: Optional[int] = None,
vdomparam: Optional[str] = None) -> Forticlientems
func GetForticlientems(ctx *Context, name string, id IDInput, state *ForticlientemsState, opts ...ResourceOption) (*Forticlientems, error)
public static Forticlientems Get(string name, Input<string> id, ForticlientemsState? state, CustomResourceOptions? opts = null)
public static Forticlientems get(String name, Output<String> id, ForticlientemsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Address string
- Firewall address name.
- Admin
Password string - FortiClient EMS admin password.
- Admin
Type string - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - Admin
Username string - FortiClient EMS admin username.
- Https
Port int - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- Listen
Port int - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- Name string
- FortiClient Enterprise Management Server (EMS) name.
- Rest
Api stringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - Serial
Number string - FortiClient EMS Serial Number.
- Upload
Port int - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- Vdomparam string
- 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.
- Address string
- Firewall address name.
- Admin
Password string - FortiClient EMS admin password.
- Admin
Type string - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - Admin
Username string - FortiClient EMS admin username.
- Https
Port int - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- Listen
Port int - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- Name string
- FortiClient Enterprise Management Server (EMS) name.
- Rest
Api stringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - Serial
Number string - FortiClient EMS Serial Number.
- Upload
Port int - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- Vdomparam string
- 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.
- address String
- Firewall address name.
- admin
Password String - FortiClient EMS admin password.
- admin
Type String - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - admin
Username String - FortiClient EMS admin username.
- https
Port Integer - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen
Port Integer - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name String
- FortiClient Enterprise Management Server (EMS) name.
- rest
Api StringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - serial
Number String - FortiClient EMS Serial Number.
- upload
Port Integer - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam String
- 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.
- address string
- Firewall address name.
- admin
Password string - FortiClient EMS admin password.
- admin
Type string - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - admin
Username string - FortiClient EMS admin username.
- https
Port number - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen
Port number - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name string
- FortiClient Enterprise Management Server (EMS) name.
- rest
Api stringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - serial
Number string - FortiClient EMS Serial Number.
- upload
Port number - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam string
- 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.
- address str
- Firewall address name.
- admin_
password str - FortiClient EMS admin password.
- admin_
type str - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - admin_
username str - FortiClient EMS admin username.
- https_
port int - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen_
port int - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name str
- FortiClient Enterprise Management Server (EMS) name.
- rest_
api_ strauth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - serial_
number str - FortiClient EMS Serial Number.
- upload_
port int - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam str
- 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.
- address String
- Firewall address name.
- admin
Password String - FortiClient EMS admin password.
- admin
Type String - FortiClient EMS admin type. Valid values:
Windows
,LDAP
. - admin
Username String - FortiClient EMS admin username.
- https
Port Number - FortiClient EMS HTTPS access port number. (1 - 65535, default: 443).
- listen
Port Number - FortiClient EMS telemetry listen port number. (1 - 65535, default: 8013).
- name String
- FortiClient Enterprise Management Server (EMS) name.
- rest
Api StringAuth - FortiClient EMS REST API authentication. Valid values:
disable
,userpass
. - serial
Number String - FortiClient EMS Serial Number.
- upload
Port Number - FortiClient EMS telemetry upload port number. (1 - 65535, default: 8014).
- vdomparam String
- 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.
Import
EndpointControl ForticlientEms can be imported using any of these accepted formats:
$ pulumi import fortios:endpointcontrol/forticlientems:Forticlientems labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:endpointcontrol/forticlientems:Forticlientems labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.