FortiGSLB Cloud offers a robust and versatile RESTful API, enabling developers to programmatically access and adjust FortiGSLB application settings. Leveraging this API allows for seamless integration of FortiGSLB Cloud features into your applications, automating tasks and enhancing resource management efficiency.
The HTTP request header of FortiGSLB Cloud RESTful API must include:
authorization: Basic <api-key-secret>
For instructions on generating the API key, See API Key in the Online Help.When obtaining a model list, one can utilize the following general query parameters to retrieve the desired and specific data.
Method | Operation description |
---|---|
GET | Retrieves all configuration information of a model. |
POST | Creates new configuration of a model. |
PUT | Updates the specified configuration of a model. |
DELETE | Deletes the specified configuration of a model. |
Get company rps History
company_id required | string company_id |
range required | string From 0 to 6, represent the last 1 hour, last 6 hours, last 1 day, last 7 days, last 30 days, and last 365 days. |
{- "payload": [
- 0
]
}
{- "error": "string",
- "payload": {
- "account_hc": 0,
- "account_queries": 0,
- "contract": "string",
- "cost": 0,
- "hc": 0,
- "hc_available": 0,
- "hc_exceeded": 0,
- "hc_expiring": 0,
- "hc_status": "string",
- "qps": 0,
- "queries": 0,
- "queries_available": 0,
- "queries_exceeded": 0,
- "queries_expiring": 0,
- "query_status": "string"
}
}
Get topology status
host_id | string At least one parameter from host_id or company_id must be provided. |
company_id | string At least one parameter from host_id or company_id must be provided. |
pretty | boolean indented json response |
{- "payload": [
- {
- "company_id": "0",
- "host_domain_name": "string",
- "host_host_name": "string",
- "host_id": "0",
- "host_lb_method": "string",
- "host_name": "string",
- "host_need_trans": "string",
- "host_status": "string",
- "hostmembers": [
- {
- "addressgroup_name": "string",
- "host_member_id": "0",
- "serial": "0",
- "topology_name": "string",
- "virtual_server_pool_alt_schedule_method": "string",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "string",
- "virtual_server_pool_status": "string",
- "vspmembers": [
- {
- "gateway_id": "0",
- "gateway_name": "string",
- "healthchecks": [
- {
- "health_check_id": "string",
- "health_check_name": "string"
}
], - "server_id": "0",
- "server_name": "string",
- "server_type": "FortiADC-SLB",
- "virtual_server_backup": "",
- "virtual_server_domainname": "string",
- "virtual_server_from_sync": true,
- "virtual_server_hc": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string",
- "virtual_server_status": "string",
- "vsp_member_id": "0"
}
]
}
]
}
]
}
Get a host list.
host_name | string |
host_type | string Enum: "Self-Defined" "Auto-Generated" |
host_hostname | string |
host_domainname | string |
host_singlerecord | string Enum: "disable" "enable" |
host_persistence | string Enum: "disable" "enable" |
host_need_trans | string |
host_lbmethod | string Enum: "Weight" "DNS-Query-Origin" "Global-Availability" |
host_defaultip_4 | string |
host_defaultip_6 | string |
host_fortiview | string Enum: "disable" "enable" |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "host_defaultip_4": "string",
- "host_defaultip_6": "string",
- "host_domainname": "string",
- "host_fortiview": "",
- "host_hostname": "string",
- "host_id": "0",
- "host_lbmethod": "",
- "host_name": "string",
- "host_need_trans": "string",
- "host_persistence": "",
- "host_singlerecord": "",
- "host_type": "",
- "hostmembers": [
- {
- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": null,
- "conf_not_permit": null,
- "health_check_dns_domainname": null,
- "health_check_dns_ip_type": null,
- "health_check_dnsip_4": null,
- "health_check_dnsip_6": null,
- "health_check_file": null,
- "health_check_folder": null,
- "health_check_hostname": null,
- "health_check_http_connect_type": null,
- "health_check_http_matchtype": null,
- "health_check_http_method_type": null,
- "health_check_http_receivestring": null,
- "health_check_http_sendstring": null,
- "health_check_http_statuscode": null,
- "health_check_id": null,
- "health_check_interval": null,
- "health_check_ip_4": null,
- "health_check_ip_6": null,
- "health_check_ip_type": null,
- "health_check_local_cert": null,
- "health_check_mysql_type": null,
- "health_check_name": null,
- "health_check_password": null,
- "health_check_port": null,
- "health_check_radius_nasip": null,
- "health_check_radius_password_type": null,
- "health_check_radius_secretkey": null,
- "health_check_remote_host": null,
- "health_check_remote_password": null,
- "health_check_remote_port": null,
- "health_check_remote_username": null,
- "health_check_retry": null,
- "health_check_snmp_agent_type": null,
- "health_check_snmp_community": null,
- "health_check_snmp_cpu": null,
- "health_check_snmp_disk": null,
- "health_check_snmp_memory": null,
- "health_check_snmp_version": null,
- "health_check_ssl_ciphers": null,
- "health_check_ssl_version": null,
- "health_check_timeout": null,
- "health_check_type": null,
- "health_check_upretry": null,
- "health_check_username": null
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
]
}
]
Create a new host
The host model
company_id | string |
host_defaultip_4 | string |
host_defaultip_6 | string |
host_domainname | string |
host_fortiview | string Enum: "disable" "enable" |
host_hostname | string |
host_id | string |
host_lbmethod | string Enum: "Weight" "DNS-Query-Origin" "Global-Availability" |
host_name | string |
host_need_trans | string |
host_persistence | string Enum: "disable" "enable" |
host_singlerecord | string Enum: "disable" "enable" |
host_type | string Enum: "Self-Defined" "Auto-Generated" |
Array of objects (fortinet_com_db_models.HostMember) |
{- "company_id": "0",
- "host_defaultip_4": "string",
- "host_defaultip_6": "string",
- "host_domainname": "string",
- "host_fortiview": "",
- "host_hostname": "string",
- "host_id": "0",
- "host_lbmethod": "",
- "host_name": "string",
- "host_need_trans": "string",
- "host_persistence": "",
- "host_singlerecord": "",
- "host_type": "",
- "hostmembers": [
- {
- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
]
}
"string"
{- "company_id": "0",
- "host_defaultip_4": "string",
- "host_defaultip_6": "string",
- "host_domainname": "string",
- "host_fortiview": "",
- "host_hostname": "string",
- "host_id": "0",
- "host_lbmethod": "",
- "host_name": "string",
- "host_need_trans": "string",
- "host_persistence": "",
- "host_singlerecord": "",
- "host_type": "",
- "hostmembers": [
- {
- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
]
}
Update a host.
id required | string The ID of the host |
The host model
company_id | string |
host_defaultip_4 | string |
host_defaultip_6 | string |
host_domainname | string |
host_fortiview | string Enum: "disable" "enable" |
host_hostname | string |
host_id | string |
host_lbmethod | string Enum: "Weight" "DNS-Query-Origin" "Global-Availability" |
host_name | string |
host_need_trans | string |
host_persistence | string Enum: "disable" "enable" |
host_singlerecord | string Enum: "disable" "enable" |
host_type | string Enum: "Self-Defined" "Auto-Generated" |
Array of objects (fortinet_com_db_models.HostMember) |
{- "company_id": "0",
- "host_defaultip_4": "string",
- "host_defaultip_6": "string",
- "host_domainname": "string",
- "host_fortiview": "",
- "host_hostname": "string",
- "host_id": "0",
- "host_lbmethod": "",
- "host_name": "string",
- "host_need_trans": "string",
- "host_persistence": "",
- "host_singlerecord": "",
- "host_type": "",
- "hostmembers": [
- {
- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
]
}
{- "company_id": "0",
- "host_defaultip_4": "string",
- "host_defaultip_6": "string",
- "host_domainname": "string",
- "host_fortiview": "",
- "host_hostname": "string",
- "host_id": "0",
- "host_lbmethod": "",
- "host_name": "string",
- "host_need_trans": "string",
- "host_persistence": "",
- "host_singlerecord": "",
- "host_type": "",
- "hostmembers": [
- {
- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
]
}
BatchRemove Hosts by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a host member list.
host_member_name | string |
host_member_weight | number |
host_id | number |
company_id | number |
serial | number |
virtual_server_pool_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
]
Create a new host member
The host member model
object (fortinet_com_db_models.Addressgroup) | |
object (nulls.UInt64) | |
company_id | string |
host_id | string |
host_member_id | string |
host_member_name | string |
host_member_weight | string |
serial | string |
object (fortinet_com_db_models.Topology) | |
object (nulls.UInt64) | |
object (fortinet_com_db_models.VirtualServerPool) | |
virtual_server_pool_id | string |
{- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
"string"
Get a host member by Id.
id required | string The ID of the host member |
{- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
Update a host member.
id required | string The ID of the host member |
The host member model
object (fortinet_com_db_models.Addressgroup) | |
object (nulls.UInt64) | |
company_id | string |
host_id | string |
host_member_id | string |
host_member_name | string |
host_member_weight | string |
serial | string |
object (fortinet_com_db_models.Topology) | |
object (nulls.UInt64) | |
object (fortinet_com_db_models.VirtualServerPool) | |
virtual_server_pool_id | string |
{- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
{- "addressgroup": {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}, - "addressgroup_id": {
- "uint64": 0,
- "valid": true
}, - "company_id": "0",
- "host_id": "0",
- "host_member_id": "0",
- "host_member_name": "string",
- "host_member_weight": "0",
- "serial": "0",
- "topology": {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}, - "topology_id": {
- "uint64": 0,
- "valid": true
}, - "virtual_server_pool": {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}, - "virtual_server_pool_id": "0"
}
BatchRemove HostMembers by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a topology list.
topology_name | string |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}
]
Create a new topology
The topology model
company_id | string |
Array of objects (fortinet_com_db_models.Region) | |
topology_id | string |
topology_name | string |
{- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}
"string"
Get a topology by Id.
id required | string The ID of the topology |
{- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}
Update a topology.
id required | string The ID of the topology |
The topology model
company_id | string |
Array of objects (fortinet_com_db_models.Region) | |
topology_id | string |
topology_name | string |
{- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}
{- "company_id": "0",
- "regions": [
- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
], - "topology_id": "0",
- "topology_name": "string"
}
BatchRemove Topologies by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a virtual server list.
virtual_server_name | string |
virtual_server_ip_type | string Enum: "IPv4" "IPv6" |
virtual_server_ip_4 | string |
virtual_server_ip_6 | string |
virtual_server_gatewayname | string |
virtual_server_hostname | string |
virtual_server_domainname | string |
virtual_server_hc_inherit | string Enum: "disable" "enable" |
virtual_server_hc | string Enum: "disable" "enable" |
virtual_server_hc_relation | string Enum: "AND" "OR" |
server_id | number |
company_id | number |
virtual_server_config_type | string |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
]
Create a new virtual server
The virtual server model
company_id | string |
Array of objects (fortinet_com_db_models.HealthCheck) | |
server_id | string |
virtual_server_config_type | integer (types.VirtualServerConfigType) Enum: 0 1 2 3 |
virtual_server_domainname | string |
virtual_server_gatewayname | string |
virtual_server_hc | string Enum: "disable" "enable" |
virtual_server_hc_inherit | string Enum: "disable" "enable" |
virtual_server_hc_relation | string Enum: "AND" "OR" |
virtual_server_hostname | string |
virtual_server_id | string |
virtual_server_ip_4 | string |
virtual_server_ip_6 | string |
virtual_server_ip_type | string Enum: "IPv4" "IPv6" |
virtual_server_name | string |
{- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
"string"
Get a virtual server by Id.
id required | string The ID of the virtual server |
{- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
Update a virtual server.
id required | string The ID of the virtual server |
The virtual server model
company_id | string |
Array of objects (fortinet_com_db_models.HealthCheck) | |
server_id | string |
virtual_server_config_type | integer (types.VirtualServerConfigType) Enum: 0 1 2 3 |
virtual_server_domainname | string |
virtual_server_gatewayname | string |
virtual_server_hc | string Enum: "disable" "enable" |
virtual_server_hc_inherit | string Enum: "disable" "enable" |
virtual_server_hc_relation | string Enum: "AND" "OR" |
virtual_server_hostname | string |
virtual_server_id | string |
virtual_server_ip_4 | string |
virtual_server_ip_6 | string |
virtual_server_ip_type | string Enum: "IPv4" "IPv6" |
virtual_server_name | string |
{- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
{- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
BatchRemove VirtualServers by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a virtual server pool list.
virtual_server_pool_name | string |
virtual_server_pool_schedule_method | string Enum: ''Weight'' ''GEO'' ''GEOISP'' ''RTT'' ''Least-Connection(FortiADC)'' ''Connection-Limit(FortiADC)'' ''Bytes-Per-Second(FortiADC)'' ''Server-Performance(FortiADC/FortiGate)'' ''SDWAN-InBandwidth(FortiGate)'' ''SDWAN-OutBandwidth(FortiGate)'' ''SDWAN-BiBandwidth(FortiGate)'' |
virtual_server_pool_cmr | number |
virtual_server_pool_server_hc | string Enum: "disable" "enable" |
virtual_server_pool_virtual_server_hc | string Enum: "disable" "enable" |
virtual_server_pool_lb_method | number |
company_id | number |
virtual_server_pool_alt_lb_method | number |
virtual_server_pool_alt_schedule_method | string Enum: ''''Weight'''' ''''GEO'''' ''''GEOISP'''' ''''RTT'''' ''''Least-Connection(FortiADC)'''' ''''Connection-Limit(FortiADC)'''' ''''Bytes-Per-Second(FortiADC)'''' ''''Server-Performance(FortiADC/FortiGate)'''' ''''SDWAN-InBandwidth(FortiGate)'''' ''''SDWAN-OutBandwidth(FortiGate)'''' ''''SDWAN-BiBandwidth(FortiGate)'''' |
virtual_server_pool_alt_cmr | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}
]
Create a new virtual server pool
The virtual server pool model
company_id | string |
virtual_server_pool_alt_cmr | string |
virtual_server_pool_alt_lb_method | string |
virtual_server_pool_alt_schedule_method | string Enum: "Weight" "GEO" "GEOISP" "RTT" "Least-Connection(FortiADC)" "Connection-Limit(FortiADC)" "Bytes-Per-Second(FortiADC)" "Server-Performance(FortiADC/FortiGate)" "SDWAN-InBandwidth(FortiGate)" "SDWAN-OutBandwidth(FortiGate)" "SDWAN-BiBandwidth(FortiGate)" |
virtual_server_pool_cmr | string |
virtual_server_pool_id | string |
virtual_server_pool_lb_method | string |
virtual_server_pool_name | string |
virtual_server_pool_schedule_method | string Enum: "Weight" "GEO" "GEOISP" "RTT" "Least-Connection(FortiADC)" "Connection-Limit(FortiADC)" "Bytes-Per-Second(FortiADC)" "Server-Performance(FortiADC/FortiGate)" "SDWAN-InBandwidth(FortiGate)" "SDWAN-OutBandwidth(FortiGate)" "SDWAN-BiBandwidth(FortiGate)" |
virtual_server_pool_server_hc | string Enum: "disable" "enable" |
virtual_server_pool_virtual_server_hc | string Enum: "disable" "enable" |
Array of objects (fortinet_com_db_models.VspMember) |
{- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}
"string"
Get a virtual server pool by Id.
id required | string The ID of the virtual server pool |
{- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}
Update a virtual server pool.
id required | string The ID of the virtual server pool |
The virtual server pool model
company_id | string |
virtual_server_pool_alt_cmr | string |
virtual_server_pool_alt_lb_method | string |
virtual_server_pool_alt_schedule_method | string Enum: "Weight" "GEO" "GEOISP" "RTT" "Least-Connection(FortiADC)" "Connection-Limit(FortiADC)" "Bytes-Per-Second(FortiADC)" "Server-Performance(FortiADC/FortiGate)" "SDWAN-InBandwidth(FortiGate)" "SDWAN-OutBandwidth(FortiGate)" "SDWAN-BiBandwidth(FortiGate)" |
virtual_server_pool_cmr | string |
virtual_server_pool_id | string |
virtual_server_pool_lb_method | string |
virtual_server_pool_name | string |
virtual_server_pool_schedule_method | string Enum: "Weight" "GEO" "GEOISP" "RTT" "Least-Connection(FortiADC)" "Connection-Limit(FortiADC)" "Bytes-Per-Second(FortiADC)" "Server-Performance(FortiADC/FortiGate)" "SDWAN-InBandwidth(FortiGate)" "SDWAN-OutBandwidth(FortiGate)" "SDWAN-BiBandwidth(FortiGate)" |
virtual_server_pool_server_hc | string Enum: "disable" "enable" |
virtual_server_pool_virtual_server_hc | string Enum: "disable" "enable" |
Array of objects (fortinet_com_db_models.VspMember) |
{- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}
{- "company_id": "0",
- "virtual_server_pool_alt_cmr": "0",
- "virtual_server_pool_alt_lb_method": "0",
- "virtual_server_pool_alt_schedule_method": "",
- "virtual_server_pool_cmr": "0",
- "virtual_server_pool_id": "0",
- "virtual_server_pool_lb_method": "0",
- "virtual_server_pool_name": "string",
- "virtual_server_pool_schedule_method": "",
- "virtual_server_pool_server_hc": "",
- "virtual_server_pool_virtual_server_hc": "",
- "vspmembers": [
- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
}
BatchRemove VirtualServerPools by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a virtual server status list.
vs_id | number |
server_id | number |
company_id | number |
status | number |
vs_running_status | number |
sess_count | number |
sess_limit | number |
throughput | number |
inbytes | number |
outbytes | number |
time_stamp | string |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "inbytes": "0",
- "outbytes": "0",
- "server_id": "0",
- "sess_count": "0",
- "sess_limit": "0",
- "status": "0",
- "throughput": "0",
- "time_stamp": "string",
- "vs_id": "0",
- "vs_running_status": "0"
}
]
Get a virtual server status by Id.
id required | string The ID of the virtual server status |
{- "company_id": "0",
- "inbytes": "0",
- "outbytes": "0",
- "server_id": "0",
- "sess_count": "0",
- "sess_limit": "0",
- "status": "0",
- "throughput": "0",
- "time_stamp": "string",
- "vs_id": "0",
- "vs_running_status": "0"
}
Get a vsp member list.
vsp_member_ttl | number |
vsp_member_weight | number |
vsp_member_backup | string Enum: "disable" "enable" |
virtual_server_pool_id | number |
company_id | number |
virtual_server_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
]
Create a new vsp member
The vsp member model
company_id | string |
virtual_server_id | string |
virtual_server_pool_id | string |
object (fortinet_com_db_models.VirtualServer) | |
vsp_member_backup | string Enum: "disable" "enable" |
vsp_member_id | string |
vsp_member_ttl | string |
vsp_member_weight | string |
{- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
"string"
Get a vsp member by Id.
id required | string The ID of the vsp member |
{- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
Update a vsp member.
id required | string The ID of the vsp member |
The vsp member model
company_id | string |
virtual_server_id | string |
virtual_server_pool_id | string |
object (fortinet_com_db_models.VirtualServer) | |
vsp_member_backup | string Enum: "disable" "enable" |
vsp_member_id | string |
vsp_member_ttl | string |
vsp_member_weight | string |
{- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
{- "company_id": "0",
- "virtual_server_id": "0",
- "virtual_server_pool_id": "0",
- "virtualserver": {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}, - "vsp_member_backup": "",
- "vsp_member_id": "0",
- "vsp_member_ttl": "0",
- "vsp_member_weight": "0"
}
BatchRemove VspMembers by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get an a record list.
a_record_hostname | string |
a_record_ip_type | string Enum: "IPv4" "IPv6" |
a_record_ip_4 | string |
a_record_ip_6 | string |
a_record_weight | number |
a_record_ttl | number |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
]
Create a new a record
The a record model
a_record_hostname | string |
a_record_id | string |
a_record_ip_4 | string |
a_record_ip_6 | string |
a_record_ip_type | string Enum: "IPv4" "IPv6" |
a_record_ttl | string |
a_record_weight | string |
company_id | string |
zone_id | string |
{- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
"string"
Get an a record by Id.
id required | string The ID of the a record |
{- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
Update an a record.
id required | string The ID of the a record |
The a record model
a_record_hostname | string |
a_record_id | string |
a_record_ip_4 | string |
a_record_ip_6 | string |
a_record_ip_type | string Enum: "IPv4" "IPv6" |
a_record_ttl | string |
a_record_weight | string |
company_id | string |
zone_id | string |
{- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
{- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
BatchRemove ARecords by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a cname record list.
cname_record_alias | string |
cname_record_target | string |
cname_record_ttl | number |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
]
Create a new cname record
The cname record model
cname_record_alias | string |
cname_record_id | string |
cname_record_target | string |
cname_record_ttl | string |
company_id | string |
zone_id | string |
{- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
"string"
Get a cname record by Id.
id required | string The ID of the cname record |
{- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
Update a cname record.
id required | string The ID of the cname record |
The cname record model
cname_record_alias | string |
cname_record_id | string |
cname_record_target | string |
cname_record_ttl | string |
company_id | string |
zone_id | string |
{- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
{- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
BatchRemove CnameRecords by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a dnssec list.
dnssec_zsk_name | string |
dnssec_zsk | string |
dnssec_zsp_name | string |
dnssec_zsp | string |
dnssec_ksk_name | string |
dnssec_ksk | string |
dnssec_ksp_name | string |
dnssec_ksp | string |
dnssec_dsset_name | string |
dnssec_dsset | string |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}
]
Create a new dnssec
The dnssec model
company_id | string |
dnssec_dsset | string |
dnssec_dsset_name | string |
dnssec_id | string |
dnssec_ksk | string |
dnssec_ksk_name | string |
dnssec_ksp | string |
dnssec_ksp_name | string |
dnssec_zsk | string |
dnssec_zsk_name | string |
dnssec_zsp | string |
dnssec_zsp_name | string |
zone_id | string |
{- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}
"string"
Get a dnssec by Id.
id required | string The ID of the dnssec |
{- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}
Update a dnssec.
id required | string The ID of the dnssec |
The dnssec model
company_id | string |
dnssec_dsset | string |
dnssec_dsset_name | string |
dnssec_id | string |
dnssec_ksk | string |
dnssec_ksk_name | string |
dnssec_ksp | string |
dnssec_ksp_name | string |
dnssec_zsk | string |
dnssec_zsk_name | string |
dnssec_zsp | string |
dnssec_zsp_name | string |
zone_id | string |
{- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}
{- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}
BatchRemove Dnssecs by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a dsset list.
dsset_name | string |
dsset_key | string |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
]
Create a new dsset
The dsset model
company_id | string |
dsset_id | string |
dsset_key | string |
dsset_name | string |
zone_id | string |
{- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
"string"
Update a dsset.
id required | string The ID of the dsset |
The dsset model
company_id | string |
dsset_id | string |
dsset_key | string |
dsset_name | string |
zone_id | string |
{- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
{- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
BatchRemove Dssets by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a mx record list.
mx_record_domainname | string |
mx_record_hostname | string |
mx_record_ip_type | string Enum: "IPv4" "IPv6" |
mx_record_ip_4 | string |
mx_record_ip_6 | string |
mx_record_ttl | number |
mx_record_priority | number |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
]
Create a new mx record
The mx record model
company_id | string |
mx_record_domainname | string |
mx_record_hostname | string |
mx_record_id | string |
mx_record_ip_4 | string |
mx_record_ip_6 | string |
mx_record_ip_type | string Enum: "IPv4" "IPv6" |
mx_record_priority | string |
mx_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
"string"
Get a mx record by Id.
id required | string The ID of the mx record |
{- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
Update a mx record.
id required | string The ID of the mx record |
The mx record model
company_id | string |
mx_record_domainname | string |
mx_record_hostname | string |
mx_record_id | string |
mx_record_ip_4 | string |
mx_record_ip_6 | string |
mx_record_ip_type | string Enum: "IPv4" "IPv6" |
mx_record_priority | string |
mx_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
{- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
BatchRemove MxRecords by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a ns record list.
ns_record_domainname | string |
ns_record_hostname | string |
ns_record_ip_type | string Enum: "IPv4" "IPv6" |
ns_record_ip_4 | string |
ns_record_ip_6 | string |
ns_record_ttl | number |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
]
Create a new ns record
The ns record model
company_id | string |
ns_record_domainname | string |
ns_record_hostname | string |
ns_record_id | string |
ns_record_ip_4 | string |
ns_record_ip_6 | string |
ns_record_ip_type | string Enum: "IPv4" "IPv6" |
ns_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
"string"
Get a ns record by Id.
id required | string The ID of the ns record |
{- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
Update a ns record.
id required | string The ID of the ns record |
The ns record model
company_id | string |
ns_record_domainname | string |
ns_record_hostname | string |
ns_record_id | string |
ns_record_ip_4 | string |
ns_record_ip_6 | string |
ns_record_ip_type | string Enum: "IPv4" "IPv6" |
ns_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
{- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
BatchRemove NsRecords by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a ptr record list.
ptr_record_address | string |
ptr_record_fqdn | string |
ptr_record_ttl | number |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
]
Create a new ptr record
The ptr record model
company_id | string |
ptr_record_address | string |
ptr_record_fqdn | string |
ptr_record_id | string |
ptr_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
"string"
Get a ptr record by Id.
id required | string The ID of the ptr record |
{- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
Update a ptr record.
id required | string The ID of the ptr record |
The ptr record model
company_id | string |
ptr_record_address | string |
ptr_record_fqdn | string |
ptr_record_id | string |
ptr_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
{- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
BatchRemove PtrRecords by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a srv record list.
srv_record_hostname | string |
srv_record_targetname | string |
srv_record_ttl | number |
srv_record_weight | number |
srv_record_port | number |
srv_record_priorty | number |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
]
Create a new srv record
The srv record model
company_id | string |
srv_record_hostname | string |
srv_record_id | string |
srv_record_port | string |
srv_record_priorty | string |
srv_record_targetname | string |
srv_record_ttl | string |
srv_record_weight | string |
zone_id | string |
{- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
"string"
Get a srv record by Id.
id required | string The ID of the srv record |
{- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
Update a srv record.
id required | string The ID of the srv record |
The srv record model
company_id | string |
srv_record_hostname | string |
srv_record_id | string |
srv_record_port | string |
srv_record_priorty | string |
srv_record_targetname | string |
srv_record_ttl | string |
srv_record_weight | string |
zone_id | string |
{- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
{- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
BatchRemove SrvRecords by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a txt record list.
txt_record_name | string |
txt_record_text | string |
txt_record_ttl | number |
zone_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
]
Create a new txt record
The txt record model
company_id | string |
txt_record_id | string |
txt_record_name | string |
txt_record_text | string |
txt_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
"string"
Get a txt record by Id.
id required | string The ID of the txt record |
{- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
Update a txt record.
id required | string The ID of the txt record |
The txt record model
company_id | string |
txt_record_id | string |
txt_record_name | string |
txt_record_text | string |
txt_record_ttl | string |
zone_id | string |
{- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
{- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
BatchRemove TxtRecords by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a zone list.
zone_name | string |
zone_status | string Enum: "disable" "enable" |
zone_type | string Enum: "Primary" "Secondary" "FQDN-Generate" |
zone_domainname | string |
zone_responsible_mail | string |
zone_primary_server | string |
zone_primary_server_ip | string |
zone_primary_server_ip_6 | string |
zone_ttl | number |
zone_serial | number |
zone_negative_ttl | number |
zone_notify_status | string Enum: "disable" "enable" |
zone_allow_transfer | string |
zone_dnssec_status | string Enum: "disable" "enable" |
zone_dnssec_ready | string Enum: "disable" "enable" |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "arecords": [
- {
- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "cnamerecords": [
- {
- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "company_id": "0",
- "dnssec_key": {
- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}, - "dssets": [
- {
- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
], - "mxrecords": [
- {
- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
], - "nsrecords": [
- {
- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
], - "ptrrecords": [
- {
- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
], - "srvrecords": [
- {
- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
], - "txtrecords": [
- {
- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
], - "zone_allow_transfer": "string",
- "zone_alsonotify_server_ip": [
- "string"
], - "zone_dnssec_ready": "",
- "zone_dnssec_status": "",
- "zone_domainname": "string",
- "zone_id": "0",
- "zone_name": "string",
- "zone_negative_ttl": "0",
- "zone_notify_status": "",
- "zone_primary_server": "string",
- "zone_primary_server_ip": "string",
- "zone_primary_server_ip_6": "string",
- "zone_responsible_mail": "string",
- "zone_serial": "0",
- "zone_status": "",
- "zone_ttl": "0",
- "zone_type": ""
}
]
Create a new zone
The zone model
Array of objects (fortinet_com_db_models.ARecord) | |
Array of objects (fortinet_com_db_models.CnameRecord) | |
company_id | string |
object (fortinet_com_db_models.Dnssec) | |
Array of objects (fortinet_com_db_models.Dsset) | |
Array of objects (fortinet_com_db_models.MxRecord) | |
Array of objects (fortinet_com_db_models.NsRecord) | |
Array of objects (fortinet_com_db_models.PtrRecord) | |
Array of objects (fortinet_com_db_models.SrvRecord) | |
Array of objects (fortinet_com_db_models.TxtRecord) | |
zone_allow_transfer | string |
zone_alsonotify_server_ip | Array of strings |
zone_dnssec_ready | string Enum: "disable" "enable" |
zone_dnssec_status | string Enum: "disable" "enable" |
zone_domainname | string |
zone_id | string |
zone_name | string |
zone_negative_ttl | string |
zone_notify_status | string Enum: "disable" "enable" |
zone_primary_server | string |
zone_primary_server_ip | string |
zone_primary_server_ip_6 | string |
zone_responsible_mail | string |
zone_serial | string |
zone_status | string Enum: "disable" "enable" |
zone_ttl | string |
zone_type | string Enum: "Primary" "Secondary" "FQDN-Generate" |
{- "arecords": [
- {
- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "cnamerecords": [
- {
- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "company_id": "0",
- "dnssec_key": {
- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}, - "dssets": [
- {
- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
], - "mxrecords": [
- {
- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
], - "nsrecords": [
- {
- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
], - "ptrrecords": [
- {
- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
], - "srvrecords": [
- {
- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
], - "txtrecords": [
- {
- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
], - "zone_allow_transfer": "string",
- "zone_alsonotify_server_ip": [
- "string"
], - "zone_dnssec_ready": "",
- "zone_dnssec_status": "",
- "zone_domainname": "string",
- "zone_id": "0",
- "zone_name": "string",
- "zone_negative_ttl": "0",
- "zone_notify_status": "",
- "zone_primary_server": "string",
- "zone_primary_server_ip": "string",
- "zone_primary_server_ip_6": "string",
- "zone_responsible_mail": "string",
- "zone_serial": "0",
- "zone_status": "",
- "zone_ttl": "0",
- "zone_type": ""
}
"string"
{- "arecords": [
- {
- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "cnamerecords": [
- {
- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "company_id": "0",
- "dnssec_key": {
- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}, - "dssets": [
- {
- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
], - "mxrecords": [
- {
- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
], - "nsrecords": [
- {
- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
], - "ptrrecords": [
- {
- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
], - "srvrecords": [
- {
- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
], - "txtrecords": [
- {
- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
], - "zone_allow_transfer": "string",
- "zone_alsonotify_server_ip": [
- "string"
], - "zone_dnssec_ready": "",
- "zone_dnssec_status": "",
- "zone_domainname": "string",
- "zone_id": "0",
- "zone_name": "string",
- "zone_negative_ttl": "0",
- "zone_notify_status": "",
- "zone_primary_server": "string",
- "zone_primary_server_ip": "string",
- "zone_primary_server_ip_6": "string",
- "zone_responsible_mail": "string",
- "zone_serial": "0",
- "zone_status": "",
- "zone_ttl": "0",
- "zone_type": ""
}
Update a zone.
id required | string The ID of the zone |
The zone model
Array of objects (fortinet_com_db_models.ARecord) | |
Array of objects (fortinet_com_db_models.CnameRecord) | |
company_id | string |
object (fortinet_com_db_models.Dnssec) | |
Array of objects (fortinet_com_db_models.Dsset) | |
Array of objects (fortinet_com_db_models.MxRecord) | |
Array of objects (fortinet_com_db_models.NsRecord) | |
Array of objects (fortinet_com_db_models.PtrRecord) | |
Array of objects (fortinet_com_db_models.SrvRecord) | |
Array of objects (fortinet_com_db_models.TxtRecord) | |
zone_allow_transfer | string |
zone_alsonotify_server_ip | Array of strings |
zone_dnssec_ready | string Enum: "disable" "enable" |
zone_dnssec_status | string Enum: "disable" "enable" |
zone_domainname | string |
zone_id | string |
zone_name | string |
zone_negative_ttl | string |
zone_notify_status | string Enum: "disable" "enable" |
zone_primary_server | string |
zone_primary_server_ip | string |
zone_primary_server_ip_6 | string |
zone_responsible_mail | string |
zone_serial | string |
zone_status | string Enum: "disable" "enable" |
zone_ttl | string |
zone_type | string Enum: "Primary" "Secondary" "FQDN-Generate" |
{- "arecords": [
- {
- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "cnamerecords": [
- {
- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "company_id": "0",
- "dnssec_key": {
- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}, - "dssets": [
- {
- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
], - "mxrecords": [
- {
- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
], - "nsrecords": [
- {
- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
], - "ptrrecords": [
- {
- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
], - "srvrecords": [
- {
- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
], - "txtrecords": [
- {
- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
], - "zone_allow_transfer": "string",
- "zone_alsonotify_server_ip": [
- "string"
], - "zone_dnssec_ready": "",
- "zone_dnssec_status": "",
- "zone_domainname": "string",
- "zone_id": "0",
- "zone_name": "string",
- "zone_negative_ttl": "0",
- "zone_notify_status": "",
- "zone_primary_server": "string",
- "zone_primary_server_ip": "string",
- "zone_primary_server_ip_6": "string",
- "zone_responsible_mail": "string",
- "zone_serial": "0",
- "zone_status": "",
- "zone_ttl": "0",
- "zone_type": ""
}
{- "arecords": [
- {
- "a_record_hostname": "string",
- "a_record_id": "0",
- "a_record_ip_4": "string",
- "a_record_ip_6": "string",
- "a_record_ip_type": "",
- "a_record_ttl": "0",
- "a_record_weight": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "cnamerecords": [
- {
- "cname_record_alias": "string",
- "cname_record_id": "0",
- "cname_record_target": "string",
- "cname_record_ttl": "0",
- "company_id": "0",
- "zone_id": "0"
}
], - "company_id": "0",
- "dnssec_key": {
- "company_id": "0",
- "dnssec_dsset": "string",
- "dnssec_dsset_name": "string",
- "dnssec_id": "0",
- "dnssec_ksk": "string",
- "dnssec_ksk_name": "string",
- "dnssec_ksp": "string",
- "dnssec_ksp_name": "string",
- "dnssec_zsk": "string",
- "dnssec_zsk_name": "string",
- "dnssec_zsp": "string",
- "dnssec_zsp_name": "string",
- "zone_id": "0"
}, - "dssets": [
- {
- "company_id": "0",
- "dsset_id": "0",
- "dsset_key": "string",
- "dsset_name": "string",
- "zone_id": "0"
}
], - "mxrecords": [
- {
- "company_id": "0",
- "mx_record_domainname": "string",
- "mx_record_hostname": "string",
- "mx_record_id": "0",
- "mx_record_ip_4": "string",
- "mx_record_ip_6": "string",
- "mx_record_ip_type": "",
- "mx_record_priority": "0",
- "mx_record_ttl": "0",
- "zone_id": "0"
}
], - "nsrecords": [
- {
- "company_id": "0",
- "ns_record_domainname": "string",
- "ns_record_hostname": "string",
- "ns_record_id": "0",
- "ns_record_ip_4": "string",
- "ns_record_ip_6": "string",
- "ns_record_ip_type": "",
- "ns_record_ttl": "0",
- "zone_id": "0"
}
], - "ptrrecords": [
- {
- "company_id": "0",
- "ptr_record_address": "string",
- "ptr_record_fqdn": "string",
- "ptr_record_id": "0",
- "ptr_record_ttl": "0",
- "zone_id": "0"
}
], - "srvrecords": [
- {
- "company_id": "0",
- "srv_record_hostname": "string",
- "srv_record_id": "0",
- "srv_record_port": "0",
- "srv_record_priorty": "0",
- "srv_record_targetname": "string",
- "srv_record_ttl": "0",
- "srv_record_weight": "0",
- "zone_id": "0"
}
], - "txtrecords": [
- {
- "company_id": "0",
- "txt_record_id": "0",
- "txt_record_name": "string",
- "txt_record_text": "string",
- "txt_record_ttl": "0",
- "zone_id": "0"
}
], - "zone_allow_transfer": "string",
- "zone_alsonotify_server_ip": [
- "string"
], - "zone_dnssec_ready": "",
- "zone_dnssec_status": "",
- "zone_domainname": "string",
- "zone_id": "0",
- "zone_name": "string",
- "zone_negative_ttl": "0",
- "zone_notify_status": "",
- "zone_primary_server": "string",
- "zone_primary_server_ip": "string",
- "zone_primary_server_ip_6": "string",
- "zone_responsible_mail": "string",
- "zone_serial": "0",
- "zone_status": "",
- "zone_ttl": "0",
- "zone_type": ""
}
BatchRemove Zones by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get an application list.
application_name | string |
application_ip_type | string Enum: "IPv4" "IPv6" |
application_ip_4 | string |
application_ip_6 | string |
application_fqdn | string |
application_hc | string Enum: "disable" "enable" |
application_hc_relation | string Enum: "AND" "OR" |
status | number |
region_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "application_fqdn": "string",
- "application_hc": "",
- "application_hc_relation": "",
- "application_id": "0",
- "application_ip_4": "string",
- "application_ip_6": "string",
- "application_ip_type": "",
- "application_name": "string",
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0",
- "status": "0"
}
]
Create a new application
The application model
application_fqdn | string |
application_hc | string Enum: "disable" "enable" |
application_hc_relation | string Enum: "AND" "OR" |
application_id | string |
application_ip_4 | string |
application_ip_6 | string |
application_ip_type | string Enum: "IPv4" "IPv6" |
application_name | string |
company_id | string |
Array of objects (fortinet_com_db_models.HealthCheck) | |
object (fortinet_com_db_models.Region) | |
region_id | string |
status | string |
{- "application_fqdn": "string",
- "application_hc": "",
- "application_hc_relation": "",
- "application_id": "0",
- "application_ip_4": "string",
- "application_ip_6": "string",
- "application_ip_type": "",
- "application_name": "string",
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0",
- "status": "0"
}
"string"
Get an application by Id.
id required | string The ID of the application |
{- "application_fqdn": "string",
- "application_hc": "",
- "application_hc_relation": "",
- "application_id": "0",
- "application_ip_4": "string",
- "application_ip_6": "string",
- "application_ip_type": "",
- "application_name": "string",
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0",
- "status": "0"
}
Update an application.
id required | string The ID of the application |
The application model
application_fqdn | string |
application_hc | string Enum: "disable" "enable" |
application_hc_relation | string Enum: "AND" "OR" |
application_id | string |
application_ip_4 | string |
application_ip_6 | string |
application_ip_type | string Enum: "IPv4" "IPv6" |
application_name | string |
company_id | string |
Array of objects (fortinet_com_db_models.HealthCheck) | |
object (fortinet_com_db_models.Region) | |
region_id | string |
status | string |
{- "application_fqdn": "string",
- "application_hc": "",
- "application_hc_relation": "",
- "application_id": "0",
- "application_ip_4": "string",
- "application_ip_6": "string",
- "application_ip_type": "",
- "application_name": "string",
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0",
- "status": "0"
}
{- "application_fqdn": "string",
- "application_hc": "",
- "application_hc_relation": "",
- "application_id": "0",
- "application_ip_4": "string",
- "application_ip_6": "string",
- "application_ip_type": "",
- "application_name": "string",
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0",
- "status": "0"
}
BatchRemove Applications by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a gateway status list.
gateway_name | string |
server_id | number |
company_id | number |
status | number |
bandwidth | number |
downstream | number |
upstream | number |
time_stamp | string |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "bandwidth": "0",
- "company_id": "0",
- "downstream": "0",
- "gateway_name": "string",
- "id": "0",
- "server_id": "0",
- "status": "0",
- "time_stamp": "string",
- "upstream": "0"
}
]
Get a gateway status by Id.
id required | string The ID of the gateway status |
{- "bandwidth": "0",
- "company_id": "0",
- "downstream": "0",
- "gateway_name": "string",
- "id": "0",
- "server_id": "0",
- "status": "0",
- "time_stamp": "string",
- "upstream": "0"
}
Get a server list.
server_name | string |
server_type | string Enum: "FortiADC-SLB" "Generic-Host" "FortiADC" "FortiGate" |
server_ip_type | string Enum: "IPv4" "IPv6" |
server_ip_4 | string |
server_ip_6 | string |
server_fqdn | string |
server_port | number |
server_authtype | string Enum: "NONE" "TCP-MD5SIG" "Auth-Verify" "Token" |
server_authkey | string |
server_authname | string |
server_token | string |
server_api_ver | string |
server_sync_ctl | string Enum: "null" "SD-WAN" "Virtual-Server" "SD-WAN Virtual-Server" |
server_hc | string Enum: "disable" "enable" |
server_hc_relation | string Enum: "AND" "OR" |
data_center_id | number |
company_id | number |
server_connect_type | string |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "cloudproviderinfo": {
- "aws_access_key_id": "string",
- "aws_region": "string",
- "aws_secret_access_key": "string",
- "azure_client_id": "string",
- "azure_client_secret": "string",
- "azure_location": "string",
- "azure_resource_group": "string",
- "azure_subscription_id": "string",
- "azure_tenant_id": "string",
- "company_id": "0",
- "server_id": "0"
}, - "clustermembers": [
- {
- "company_id": "0",
- "id": "0",
- "primary_device": "",
- "serial_number": "",
- "server_id": "0"
}
], - "company_id": "0",
- "data_center_id": "0",
- "datacenter": {
- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}, - "gateways": [
- {
- "bandwidth": "0",
- "company_id": "0",
- "downstream": "0",
- "gateway_name": "string",
- "id": "0",
- "server_id": "0",
- "status": "0",
- "time_stamp": "string",
- "upstream": "0"
}
], - "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_api_ver": "string",
- "server_authkey": "string",
- "server_authname": "string",
- "server_authtype": "",
- "server_connect_type": 0,
- "server_fqdn": "string",
- "server_hc": "",
- "server_hc_relation": "",
- "server_id": "0",
- "server_ip_4": "string",
- "server_ip_6": "string",
- "server_ip_type": "",
- "server_name": "string",
- "server_port": "0",
- "server_sync_ctl": "",
- "server_token": "string",
- "server_type": "",
- "virtualservers": [
- {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
]
}
]
Create a new server
The server model
object (fortinet_com_db_models.CloudProviderInfo) | |
Array of objects (fortinet_com_db_models.HaCluster) | |
company_id | string |
data_center_id | string |
object (fortinet_com_db_models.DataCenter) | |
Array of objects (fortinet_com_db_models.GatewayStatus) | |
Array of objects (fortinet_com_db_models.HealthCheck) | |
server_api_ver | string |
server_authkey | string |
server_authname | string |
server_authtype | string Enum: "NONE" "TCP-MD5SIG" "Auth-Verify" "Token" |
server_connect_type | integer (types.ServerConnectType) Enum: 0 1 2 |
server_fqdn | string |
server_hc | string Enum: "disable" "enable" |
server_hc_relation | string Enum: "AND" "OR" |
server_id | string |
server_ip_4 | string |
server_ip_6 | string |
server_ip_type | string Enum: "IPv4" "IPv6" |
server_name | string |
server_port | string |
server_sync_ctl | string Enum: "null" "SD-WAN" "Virtual-Server" "SD-WAN Virtual-Server" |
server_token | string |
server_type | string Enum: "FortiADC-SLB" "Generic-Host" "FortiADC" "FortiGate" "AWS" "Azure" |
Array of objects (fortinet_com_db_models.VirtualServer) |
{- "cloudproviderinfo": {
- "aws_access_key_id": "string",
- "aws_region": "string",
- "aws_secret_access_key": "string",
- "azure_client_id": "string",
- "azure_client_secret": "string",
- "azure_location": "string",
- "azure_resource_group": "string",
- "azure_subscription_id": "string",
- "azure_tenant_id": "string",
- "company_id": "0",
- "server_id": "0"
}, - "clustermembers": [
- {
- "company_id": "0",
- "id": "0",
- "primary_device": "",
- "serial_number": "",
- "server_id": "0"
}
], - "company_id": "0",
- "data_center_id": "0",
- "datacenter": {
- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}, - "gateways": [
- {
- "bandwidth": "0",
- "company_id": "0",
- "downstream": "0",
- "gateway_name": "string",
- "id": "0",
- "server_id": "0",
- "status": "0",
- "time_stamp": "string",
- "upstream": "0"
}
], - "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_api_ver": "string",
- "server_authkey": "string",
- "server_authname": "string",
- "server_authtype": "",
- "server_connect_type": 0,
- "server_fqdn": "string",
- "server_hc": "",
- "server_hc_relation": "",
- "server_id": "0",
- "server_ip_4": "string",
- "server_ip_6": "string",
- "server_ip_type": "",
- "server_name": "string",
- "server_port": "0",
- "server_sync_ctl": "",
- "server_token": "string",
- "server_type": "",
- "virtualservers": [
- {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
]
}
"string"
Get a server by Id.
id required | string The ID of the server |
{- "cloudproviderinfo": {
- "aws_access_key_id": "string",
- "aws_region": "string",
- "aws_secret_access_key": "string",
- "azure_client_id": "string",
- "azure_client_secret": "string",
- "azure_location": "string",
- "azure_resource_group": "string",
- "azure_subscription_id": "string",
- "azure_tenant_id": "string",
- "company_id": "0",
- "server_id": "0"
}, - "clustermembers": [
- {
- "company_id": "0",
- "id": "0",
- "primary_device": "",
- "serial_number": "",
- "server_id": "0"
}
], - "company_id": "0",
- "data_center_id": "0",
- "datacenter": {
- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}, - "gateways": [
- {
- "bandwidth": "0",
- "company_id": "0",
- "downstream": "0",
- "gateway_name": "string",
- "id": "0",
- "server_id": "0",
- "status": "0",
- "time_stamp": "string",
- "upstream": "0"
}
], - "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_api_ver": "string",
- "server_authkey": "string",
- "server_authname": "string",
- "server_authtype": "",
- "server_connect_type": 0,
- "server_fqdn": "string",
- "server_hc": "",
- "server_hc_relation": "",
- "server_id": "0",
- "server_ip_4": "string",
- "server_ip_6": "string",
- "server_ip_type": "",
- "server_name": "string",
- "server_port": "0",
- "server_sync_ctl": "",
- "server_token": "string",
- "server_type": "",
- "virtualservers": [
- {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
]
}
Update a server.
id required | string The ID of the server |
The server model
object (fortinet_com_db_models.CloudProviderInfo) | |
Array of objects (fortinet_com_db_models.HaCluster) | |
company_id | string |
data_center_id | string |
object (fortinet_com_db_models.DataCenter) | |
Array of objects (fortinet_com_db_models.GatewayStatus) | |
Array of objects (fortinet_com_db_models.HealthCheck) | |
server_api_ver | string |
server_authkey | string |
server_authname | string |
server_authtype | string Enum: "NONE" "TCP-MD5SIG" "Auth-Verify" "Token" |
server_connect_type | integer (types.ServerConnectType) Enum: 0 1 2 |
server_fqdn | string |
server_hc | string Enum: "disable" "enable" |
server_hc_relation | string Enum: "AND" "OR" |
server_id | string |
server_ip_4 | string |
server_ip_6 | string |
server_ip_type | string Enum: "IPv4" "IPv6" |
server_name | string |
server_port | string |
server_sync_ctl | string Enum: "null" "SD-WAN" "Virtual-Server" "SD-WAN Virtual-Server" |
server_token | string |
server_type | string Enum: "FortiADC-SLB" "Generic-Host" "FortiADC" "FortiGate" "AWS" "Azure" |
Array of objects (fortinet_com_db_models.VirtualServer) |
{- "cloudproviderinfo": {
- "aws_access_key_id": "string",
- "aws_region": "string",
- "aws_secret_access_key": "string",
- "azure_client_id": "string",
- "azure_client_secret": "string",
- "azure_location": "string",
- "azure_resource_group": "string",
- "azure_subscription_id": "string",
- "azure_tenant_id": "string",
- "company_id": "0",
- "server_id": "0"
}, - "clustermembers": [
- {
- "company_id": "0",
- "id": "0",
- "primary_device": "",
- "serial_number": "",
- "server_id": "0"
}
], - "company_id": "0",
- "data_center_id": "0",
- "datacenter": {
- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}, - "gateways": [
- {
- "bandwidth": "0",
- "company_id": "0",
- "downstream": "0",
- "gateway_name": "string",
- "id": "0",
- "server_id": "0",
- "status": "0",
- "time_stamp": "string",
- "upstream": "0"
}
], - "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_api_ver": "string",
- "server_authkey": "string",
- "server_authname": "string",
- "server_authtype": "",
- "server_connect_type": 0,
- "server_fqdn": "string",
- "server_hc": "",
- "server_hc_relation": "",
- "server_id": "0",
- "server_ip_4": "string",
- "server_ip_6": "string",
- "server_ip_type": "",
- "server_name": "string",
- "server_port": "0",
- "server_sync_ctl": "",
- "server_token": "string",
- "server_type": "",
- "virtualservers": [
- {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
]
}
{- "cloudproviderinfo": {
- "aws_access_key_id": "string",
- "aws_region": "string",
- "aws_secret_access_key": "string",
- "azure_client_id": "string",
- "azure_client_secret": "string",
- "azure_location": "string",
- "azure_resource_group": "string",
- "azure_subscription_id": "string",
- "azure_tenant_id": "string",
- "company_id": "0",
- "server_id": "0"
}, - "clustermembers": [
- {
- "company_id": "0",
- "id": "0",
- "primary_device": "",
- "serial_number": "",
- "server_id": "0"
}
], - "company_id": "0",
- "data_center_id": "0",
- "datacenter": {
- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}, - "gateways": [
- {
- "bandwidth": "0",
- "company_id": "0",
- "downstream": "0",
- "gateway_name": "string",
- "id": "0",
- "server_id": "0",
- "status": "0",
- "time_stamp": "string",
- "upstream": "0"
}
], - "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_api_ver": "string",
- "server_authkey": "string",
- "server_authname": "string",
- "server_authtype": "",
- "server_connect_type": 0,
- "server_fqdn": "string",
- "server_hc": "",
- "server_hc_relation": "",
- "server_id": "0",
- "server_ip_4": "string",
- "server_ip_6": "string",
- "server_ip_type": "",
- "server_name": "string",
- "server_port": "0",
- "server_sync_ctl": "",
- "server_token": "string",
- "server_type": "",
- "virtualservers": [
- {
- "company_id": "0",
- "healthchecks": [
- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
], - "server_id": "0",
- "virtual_server_config_type": 0,
- "virtual_server_domainname": "string",
- "virtual_server_gatewayname": "string",
- "virtual_server_hc": "",
- "virtual_server_hc_inherit": "",
- "virtual_server_hc_relation": "",
- "virtual_server_hostname": "string",
- "virtual_server_id": "0",
- "virtual_server_ip_4": "string",
- "virtual_server_ip_6": "string",
- "virtual_server_ip_type": "",
- "virtual_server_name": "string"
}
]
}
BatchRemove Servers by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a server status list.
server_id | number |
server_name | string |
company_id | number |
status | number |
cpu_usage | number |
memory_usage | number |
server_load | number |
interval | number |
time_stamp | string |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "cpu_usage": "0",
- "interval": "0",
- "memory_usage": "0",
- "server_id": "0",
- "server_load": "0",
- "server_name": "string",
- "status": "0",
- "time_stamp": "string"
}
]
Get a server status by Id.
id required | string The ID of the server status |
{- "company_id": "0",
- "cpu_usage": "0",
- "interval": "0",
- "memory_usage": "0",
- "server_id": "0",
- "server_load": "0",
- "server_name": "string",
- "status": "0",
- "time_stamp": "string"
}
Get an addressgroup list.
addressgroup_name | string |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}
]
Create a new addressgroup
The addressgroup model
addressgroup_id | string |
addressgroup_name | string |
Array of objects (fortinet_com_db_models.Addressmember) | |
company_id | string |
{- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}
"string"
Get an addressgroup by Id.
id required | string The ID of the addressgroup |
{- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}
Update an addressgroup.
id required | string The ID of the addressgroup |
The addressgroup model
addressgroup_id | string |
addressgroup_name | string |
Array of objects (fortinet_com_db_models.Addressmember) | |
company_id | string |
{- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}
{- "addressgroup_id": "0",
- "addressgroup_name": "string",
- "addressmembers": [
- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
], - "company_id": "0"
}
BatchRemove Addressgroups by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get an addressmember list.
addressmember_type | string Enum: "AddressNet" "AddressRange" |
addressstart_ip | string |
addressend_ip | string |
addressnet_ip | string |
company_id | number |
addressgroup_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
]
Create a new addressmember
The addressmember model
addressend_ip | string |
addressgroup_id | string |
addressmember_id | string |
addressmember_type | string Enum: "AddressNet" "AddressRange" |
addressnet_ip | string |
addressstart_ip | string |
company_id | string |
{- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
"string"
Get an addressmember by Id.
id required | string The ID of the addressmember |
{- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
Update an addressmember.
id required | string The ID of the addressmember |
The addressmember model
addressend_ip | string |
addressgroup_id | string |
addressmember_id | string |
addressmember_type | string Enum: "AddressNet" "AddressRange" |
addressnet_ip | string |
addressstart_ip | string |
company_id | string |
{- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
{- "addressend_ip": "string",
- "addressgroup_id": "0",
- "addressmember_id": "0",
- "addressmember_type": "",
- "addressnet_ip": "string",
- "addressstart_ip": "string",
- "company_id": "0"
}
BatchRemove Addressmembers by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a data center list.
data_center_name | string |
data_center_dsp | string |
region_id | number |
company_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
]
Create a new data center
The data center model
company_id | string |
data_center_dsp | string |
data_center_id | string |
data_center_name | string |
object (fortinet_com_db_models.Region) | |
region_id | string |
{- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
"string"
Get a data center by Id.
id required | string The ID of the data center |
{- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
Update a data center.
id required | string The ID of the data center |
The data center model
company_id | string |
data_center_dsp | string |
data_center_id | string |
data_center_name | string |
object (fortinet_com_db_models.Region) | |
region_id | string |
{- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
{- "company_id": "0",
- "data_center_dsp": "string",
- "data_center_id": "0",
- "data_center_name": "string",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
BatchRemove DataCenters by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a region list.
region_short | string |
region_dsp | string |
region_continent | string |
longitude | string |
latitude | string |
country_id | string |
state_id | string |
city_id | string |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
]
Get a region by Id.
id required | string The ID of the region |
{- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}
Get a health check list.
health_check_name | string |
health_check_type | string Enum: "icmp" "tcp" "tcp-echo" "http" "https" "dns" "udp" |
health_check_interval | number |
health_check_timeout | number |
health_check_retry | number |
health_check_upretry | number |
health_check_port | number |
health_check_ip_type | string Enum: "IPv4" "IPv6" |
health_check_ip_4 | string |
health_check_ip_6 | string |
health_check_http_connect_type | string Enum: "no_connect" "local_connect" "remote_connect" |
health_check_http_method_type | string Enum: "http_get" "http_head" |
health_check_hostname | string |
health_check_remote_host | string |
health_check_remote_port | number |
health_check_remote_username | string |
health_check_remote_password | string |
health_check_http_sendstring | string |
health_check_http_receivestring | string |
health_check_http_statuscode | number |
health_check_http_matchtype | string Enum: "match_string" "match_status" "match_all" |
health_check_dns_domainname | string |
health_check_dns_ip_type | string Enum: "IPv4" "IPv6" |
health_check_dnsip_4 | string |
health_check_dnsip_6 | string |
health_check_username | string |
health_check_password | string |
health_check_radius_password_type | number |
health_check_radius_secretkey | string |
health_check_radius_nasip | string |
health_check_folder | string |
health_check_file | string |
health_check_snmp_cpu | number |
health_check_snmp_memory | number |
health_check_snmp_disk | number |
health_check_snmp_agent_type | number |
health_check_snmp_community | string |
health_check_snmp_version | number |
health_check_mysql_type | string |
company_id | number |
health_check_ssl_version | string |
health_check_ssl_ciphers | string |
health_check_local_cert | string |
conf_not_permit | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
]
Create a new health check
The health check model
company_id | string |
conf_not_permit | string |
health_check_dns_domainname | string |
health_check_dns_ip_type | string Enum: "IPv4" "IPv6" |
health_check_dnsip_4 | string |
health_check_dnsip_6 | string |
health_check_file | string |
health_check_folder | string |
health_check_hostname | string |
health_check_http_connect_type | string Enum: "no_connect" "local_connect" "remote_connect" |
health_check_http_matchtype | string Enum: "match_string" "match_status" "match_all" |
health_check_http_method_type | string Enum: "http_get" "http_head" |
health_check_http_receivestring | string |
health_check_http_sendstring | string |
health_check_http_statuscode | string |
health_check_id | string |
health_check_interval | string |
health_check_ip_4 | string |
health_check_ip_6 | string |
health_check_ip_type | string Enum: "IPv4" "IPv6" |
health_check_local_cert | string |
health_check_mysql_type | string |
health_check_name | string |
health_check_password | string |
health_check_port | string |
health_check_radius_nasip | string |
health_check_radius_password_type | string |
health_check_radius_secretkey | string |
health_check_remote_host | string |
health_check_remote_password | string |
health_check_remote_port | string |
health_check_remote_username | string |
health_check_retry | string |
health_check_snmp_agent_type | string |
health_check_snmp_community | string |
health_check_snmp_cpu | string |
health_check_snmp_disk | string |
health_check_snmp_memory | string |
health_check_snmp_version | string |
health_check_ssl_ciphers | string |
health_check_ssl_version | string |
health_check_timeout | string |
health_check_type | string Enum: "icmp" "tcp-echo" "tcp" "http" "https" "dns" "udp" |
health_check_upretry | string |
health_check_username | string |
{- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
"string"
Get a health check by Id.
id required | string The ID of the health check |
{- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
Update a health check.
id required | string The ID of the health check |
The health check model
company_id | string |
conf_not_permit | string |
health_check_dns_domainname | string |
health_check_dns_ip_type | string Enum: "IPv4" "IPv6" |
health_check_dnsip_4 | string |
health_check_dnsip_6 | string |
health_check_file | string |
health_check_folder | string |
health_check_hostname | string |
health_check_http_connect_type | string Enum: "no_connect" "local_connect" "remote_connect" |
health_check_http_matchtype | string Enum: "match_string" "match_status" "match_all" |
health_check_http_method_type | string Enum: "http_get" "http_head" |
health_check_http_receivestring | string |
health_check_http_sendstring | string |
health_check_http_statuscode | string |
health_check_id | string |
health_check_interval | string |
health_check_ip_4 | string |
health_check_ip_6 | string |
health_check_ip_type | string Enum: "IPv4" "IPv6" |
health_check_local_cert | string |
health_check_mysql_type | string |
health_check_name | string |
health_check_password | string |
health_check_port | string |
health_check_radius_nasip | string |
health_check_radius_password_type | string |
health_check_radius_secretkey | string |
health_check_remote_host | string |
health_check_remote_password | string |
health_check_remote_port | string |
health_check_remote_username | string |
health_check_retry | string |
health_check_snmp_agent_type | string |
health_check_snmp_community | string |
health_check_snmp_cpu | string |
health_check_snmp_disk | string |
health_check_snmp_memory | string |
health_check_snmp_version | string |
health_check_ssl_ciphers | string |
health_check_ssl_version | string |
health_check_timeout | string |
health_check_type | string Enum: "icmp" "tcp-echo" "tcp" "http" "https" "dns" "udp" |
health_check_upretry | string |
health_check_username | string |
{- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
{- "company_id": "0",
- "conf_not_permit": "0",
- "health_check_dns_domainname": "string",
- "health_check_dns_ip_type": "",
- "health_check_dnsip_4": "string",
- "health_check_dnsip_6": "string",
- "health_check_file": "string",
- "health_check_folder": "string",
- "health_check_hostname": "string",
- "health_check_http_connect_type": "",
- "health_check_http_matchtype": "",
- "health_check_http_method_type": "",
- "health_check_http_receivestring": "string",
- "health_check_http_sendstring": "string",
- "health_check_http_statuscode": "0",
- "health_check_id": "0",
- "health_check_interval": "0",
- "health_check_ip_4": "string",
- "health_check_ip_6": "string",
- "health_check_ip_type": "",
- "health_check_local_cert": "string",
- "health_check_mysql_type": "string",
- "health_check_name": "string",
- "health_check_password": "string",
- "health_check_port": "0",
- "health_check_radius_nasip": "string",
- "health_check_radius_password_type": "0",
- "health_check_radius_secretkey": "string",
- "health_check_remote_host": "string",
- "health_check_remote_password": "string",
- "health_check_remote_port": "0",
- "health_check_remote_username": "string",
- "health_check_retry": "0",
- "health_check_snmp_agent_type": "0",
- "health_check_snmp_community": "string",
- "health_check_snmp_cpu": "0",
- "health_check_snmp_disk": "0",
- "health_check_snmp_memory": "0",
- "health_check_snmp_version": "0",
- "health_check_ssl_ciphers": "string",
- "health_check_ssl_version": "string",
- "health_check_timeout": "0",
- "health_check_type": "",
- "health_check_upretry": "0",
- "health_check_username": "string"
}
BatchRemove HealthChecks by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get an account list.
account_name | string |
account_email | string |
dnsserver_id | number |
aws_customer_id | string |
aws_trial | number |
invalid_days | number |
subscribe_maint | string Enum: "disable" "enable" |
subscribe_config | string Enum: "disable" "enable" |
subscribe_system | string Enum: "disable" "enable" |
subscribe_connector | string Enum: "disable" "enable" |
subscribe_hc | string Enum: "disable" "enable" |
subscribe_ua | string Enum: "disable" "enable" |
org_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "account_email": "string",
- "account_id": "0",
- "account_name": "string",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- {
- "account_id": "0",
- "accountusers": [
- { }
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "aws_customer_id": "string",
- "aws_trial": 0,
- "companies": [
- {
- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
], - "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "fcOrganization": {
- "id": 0
}, - "invalid_days": 0,
- "licenses": [
- {
- "account_id": "0",
- "contract_number": "string",
- "expired_handle": true,
- "license_end_date": "string",
- "license_id": "0",
- "license_serial_number": "string",
- "license_sku": "string",
- "license_start_date": "string",
- "license_type": "string",
- "quantity": 0
}
], - "orgID": 0,
- "subscribe_config": "",
- "subscribe_connector": "",
- "subscribe_hc": "",
- "subscribe_maint": "",
- "subscribe_system": "",
- "subscribe_ua": ""
}
]
Get an account by Id.
id required | string The ID of the account |
{- "account_email": "string",
- "account_id": "0",
- "account_name": "string",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- {
- "account_id": "0",
- "accountusers": [
- { }
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "aws_customer_id": "string",
- "aws_trial": 0,
- "companies": [
- {
- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
], - "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "fcOrganization": {
- "id": 0
}, - "invalid_days": 0,
- "licenses": [
- {
- "account_id": "0",
- "contract_number": "string",
- "expired_handle": true,
- "license_end_date": "string",
- "license_id": "0",
- "license_serial_number": "string",
- "license_sku": "string",
- "license_start_date": "string",
- "license_type": "string",
- "quantity": 0
}
], - "orgID": 0,
- "subscribe_config": "",
- "subscribe_connector": "",
- "subscribe_hc": "",
- "subscribe_maint": "",
- "subscribe_system": "",
- "subscribe_ua": ""
}
Get an account user list.
account_user_name | string |
account_user_email | string |
is_iam_user | boolean |
account_id | number |
forticare_user_id | number |
permission | string |
is_ou_admin | boolean |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- {
- "account_id": "0",
- "accountusers": [
- { }
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
]
Get an account user by Id.
id required | string The ID of the account user |
{- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- {
- "account_id": "0",
- "accountusers": [
- { }
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
Get a company list.
company_name | string |
company_address | string |
company_phone | string |
company_type | string Enum: "Regular" "OneClick" "Other" |
company_description | string |
region_id | number |
dnsserver_id | number |
account_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
]
Create a new company
The company model
account_id | string |
Array of objects (fortinet_com_db_models.AccountUser) | |
company_address | string |
company_description | string |
company_id | string |
company_name | string |
company_phone | string |
company_type | string Enum: "Regular" "OneClick" "Other" |
object (fortinet_com_db_models.Dnsserver) | |
dnsserver_id | string |
object (fortinet_com_db_models.Region) | |
region_id | string |
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
"string"
Get a company by Id.
id required | string The ID of the company |
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
Update a company.
id required | string The ID of the company |
The company model
account_id | string |
Array of objects (fortinet_com_db_models.AccountUser) | |
company_address | string |
company_description | string |
company_id | string |
company_name | string |
company_phone | string |
company_type | string Enum: "Regular" "OneClick" "Other" |
object (fortinet_com_db_models.Dnsserver) | |
dnsserver_id | string |
object (fortinet_com_db_models.Region) | |
region_id | string |
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
BatchRemove Companies by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a license list.
license_serial_number | string |
contract_number | string |
quantity | number |
license_sku | string |
license_type | string |
license_start_date | string |
license_end_date | string |
expired_handle | boolean |
account_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "account_id": "0",
- "contract_number": "string",
- "expired_handle": true,
- "license_end_date": "string",
- "license_id": "0",
- "license_serial_number": "string",
- "license_sku": "string",
- "license_start_date": "string",
- "license_type": "string",
- "quantity": 0
}
]
Get a license by Id.
id required | string The ID of the license |
{- "account_id": "0",
- "contract_number": "string",
- "expired_handle": true,
- "license_end_date": "string",
- "license_id": "0",
- "license_serial_number": "string",
- "license_sku": "string",
- "license_start_date": "string",
- "license_type": "string",
- "quantity": 0
}
Get a license status list.
type | string Enum: "data-center" "location" "virtual-server" "server" "pool" "fqdn" "zone" "company" "health-check" "syslog" "application" "addressgroup" |
status | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "id": "0",
- "status": "0",
- "type": ""
}
]
Get a fc organization list.
root_account_id | number |
license_model | string |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "id": 0
}
]
Update a fc organization.
id required | string The ID of the fc organization |
The fc organization model
id | integer |
{- "id": 0
}
{- "id": 0
}
BatchRemove FcOrganizations by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}
Get a company list.
company_name | string |
company_address | string |
company_phone | string |
company_type | string Enum: "Regular" "OneClick" "Other" |
company_description | string |
region_id | number |
dnsserver_id | number |
account_id | number |
sort | string This specifies the record fields to be used for sorting. In this notation, a minus sign (-) signifies descending order, while the absence of a minus sign indicates ascending order. You can specify multiple fields by separating them with commas, as demonstrated here: -field1,field2 |
last_id | number The offset of the current model based on its ID. |
limit | string The number of records to be returned. |
order | string The ordering of records by ID combined with the limit and last_id parameters. This value can be either asc or desc. |
fields | string The fields of records to be returned. If not specified, all fields will be included. For example: field1,field2 |
[- {
- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
]
Create a new company
The company model
account_id | string |
Array of objects (fortinet_com_db_models.AccountUser) | |
company_address | string |
company_description | string |
company_id | string |
company_name | string |
company_phone | string |
company_type | string Enum: "Regular" "OneClick" "Other" |
object (fortinet_com_db_models.Dnsserver) | |
dnsserver_id | string |
object (fortinet_com_db_models.Region) | |
region_id | string |
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
"string"
Get a company by Id.
id required | string The ID of the company |
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
Update a company.
id required | string The ID of the company |
The company model
account_id | string |
Array of objects (fortinet_com_db_models.AccountUser) | |
company_address | string |
company_description | string |
company_id | string |
company_name | string |
company_phone | string |
company_type | string Enum: "Regular" "OneClick" "Other" |
object (fortinet_com_db_models.Dnsserver) | |
dnsserver_id | string |
object (fortinet_com_db_models.Region) | |
region_id | string |
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
{- "account_id": "0",
- "accountusers": [
- {
- "account_id": "0",
- "account_user_email": "string",
- "account_user_id": "0",
- "account_user_name": "string",
- "companies": [
- { }
], - "forticare_user_id": "0",
- "is_iam_user": true,
- "is_ou_admin": true,
- "permission": "string"
}
], - "company_address": "string",
- "company_description": "string",
- "company_id": "0",
- "company_name": "string",
- "company_phone": "string",
- "company_type": "",
- "dnsserver": {
- "dnsserver_anycast_primary_ip": "string",
- "dnsserver_anycast_secondary_ip": "string",
- "dnsserver_hostname": "string",
- "dnsserver_id": "0",
- "dnsserver_ip": "string",
- "dnsserver_type": ""
}, - "dnsserver_id": "0",
- "region": {
- "city_id": "string",
- "country_id": "string",
- "latitude": "string",
- "longitude": "string",
- "region_continent": "string",
- "region_dsp": "string",
- "region_id": "0",
- "region_short": "string",
- "state_id": "string"
}, - "region_id": "0"
}
BatchRemove Companies by mkeys
mkeys for the batch removal
mkeys | Array of strings |
{- "mkeys": [
- "111",
- "222"
]
}
{- "error": "error message"
}